Pull request #505 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ych988 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 1a776ee907d08e39928eb07fc2284b30a6e0a694 rather than fd46e9e60c32ba487b2e2c66f64027456f520892 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-ssh9596833288628895425.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-ssh9814198669400936936.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7396146903862307029.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-ssh17100793508238119983.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-505/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13737230128135714767.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 ‘prd-ubuntu20.04-docker-8c-8g-26690’ is offline Running on prd-ubuntu20.04-docker-8c-8g-26693 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-505 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit fd46e9e60c32ba487b2e2c66f64027456f520892 Merge succeeded, producing fd46e9e60c32ba487b2e2c66f64027456f520892 Checking out Revision fd46e9e60c32ba487b2e2c66f64027456f520892 (PR-505) > git config core.sparsecheckout # timeout=10 > git checkout -f fd46e9e60c32ba487b2e2c66f64027456f520892 # 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 fd46e9e60c32ba487b2e2c66f64027456f520892 # timeout=10 Commit message: "fix:The slash of a string cannot be removed using json_serialize_to_string" First time build. Skipping changelog. > git rev-list --no-walk 0a3a2c435bfe856fc53d9f432e18122a0e1cd38c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-03T10:04:21.742Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-03T10:04:21.808Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-03T10:04:21.825Z] ========================================================= [2024-01-03T10:04:21.825Z] EdgeX Global Pipelines Version Info [2024-01-03T10:04:21.825Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:04:22.544Z] ------------------- [2024-01-03T10:04:22.544Z] stable info: [2024-01-03T10:04:22.544Z] ------------------- [2024-01-03T10:04:22.544Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-03T10:04:22.544Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-03T10:04:22.544Z] Message: update stable to v1.0.258 [2024-01-03T10:04:23.114Z] ------------------- [2024-01-03T10:04:23.114Z] experimental info: [2024-01-03T10:04:23.114Z] ------------------- [2024-01-03T10:04:23.114Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-03T10:04:23.114Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-03T10:04:23.114Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-03T10:04:23.196Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-03T10:04:23.218Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-03T10:04:23.247Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-03T10:04:23.271Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-03T10:04:23.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-03T10:04:23.320Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-03T10:04:23.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-03T10:04:23.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-03T10:04:23.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-03T10:04:23.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-03T10:04:23.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-03T10:04:23.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-03T10:04:23.484Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-03T10:04:23.505Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-03T10:04:23.529Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-03T10:04:23.560Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-03T10:04:23.591Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-03T10:04:23.624Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-505 [Pipeline] echo [2024-01-03T10:04:23.660Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-505 [Pipeline] echo [2024-01-03T10:04:23.698Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-505 [Pipeline] echo [2024-01-03T10:04:23.731Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fd46e9e60c32ba487b2e2c66f64027456f520892 [Pipeline] echo [2024-01-03T10:04:23.768Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fd46e9e [Pipeline] echo [2024-01-03T10:04:23.801Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T10:04:23.883Z] provisioning config files... [2024-01-03T10:04:23.897Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config5277184209347385368tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:04:24.231Z] ---> ****-login.sh [2024-01-03T10:04:24.231Z] nexus3.edgexfoundry.org:10001 [2024-01-03T10:04:24.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:04:24.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:04:24.752Z] Configure a credential helper to remove this warning. See [2024-01-03T10:04:24.752Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:04:24.752Z] [2024-01-03T10:04:24.752Z] Login Succeeded [2024-01-03T10:04:24.752Z] nexus3.edgexfoundry.org:10002 [2024-01-03T10:04:24.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:04:24.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:04:24.752Z] Configure a credential helper to remove this warning. See [2024-01-03T10:04:24.753Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:04:24.753Z] [2024-01-03T10:04:24.753Z] Login Succeeded [2024-01-03T10:04:24.753Z] nexus3.edgexfoundry.org:10003 [2024-01-03T10:04:24.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:04:24.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:04:24.753Z] Configure a credential helper to remove this warning. See [2024-01-03T10:04:24.753Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:04:24.753Z] [2024-01-03T10:04:24.753Z] Login Succeeded [2024-01-03T10:04:24.753Z] nexus3.edgexfoundry.org:10004 [2024-01-03T10:04:25.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:04:25.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:04:25.016Z] Configure a credential helper to remove this warning. See [2024-01-03T10:04:25.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:04:25.016Z] [2024-01-03T10:04:25.016Z] Login Succeeded [2024-01-03T10:04:25.016Z] ****.io [2024-01-03T10:04:25.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:04:25.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:04:25.277Z] Configure a credential helper to remove this warning. See [2024-01-03T10:04:25.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:04:25.277Z] [2024-01-03T10:04:25.277Z] Login Succeeded [2024-01-03T10:04:25.277Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T10:04:25.286Z] 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-03T10:04:25.750Z] + git rev-list -1 --merges fd46e9e60c32ba487b2e2c66f64027456f520892~1..fd46e9e60c32ba487b2e2c66f64027456f520892 [Pipeline] echo [2024-01-03T10:04:25.778Z] -----------> git rev-list -1 --merges fd46e9e60c32ba487b2e2c66f64027456f520892~1..fd46e9e60c32ba487b2e2c66f64027456f520892 fd46e9e60c32ba487b2e2c66f64027456f520892 [false] [Pipeline] sh [2024-01-03T10:04:26.146Z] + git log --format=format:%s -1 fd46e9e60c32ba487b2e2c66f64027456f520892 [Pipeline] echo [2024-01-03T10:04:26.159Z] ========================================================= [2024-01-03T10:04:26.159Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-03T10:04:26.159Z] ========================================================= 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-03T10:04:26.684Z] + git rev-list -1 --merges fd46e9e60c32ba487b2e2c66f64027456f520892~1..fd46e9e60c32ba487b2e2c66f64027456f520892 [Pipeline] echo [2024-01-03T10:04:26.696Z] -----------> git rev-list -1 --merges fd46e9e60c32ba487b2e2c66f64027456f520892~1..fd46e9e60c32ba487b2e2c66f64027456f520892 fd46e9e60c32ba487b2e2c66f64027456f520892 [false] [Pipeline] sh [2024-01-03T10:04:27.010Z] + git log --format=format:%s -1 fd46e9e60c32ba487b2e2c66f64027456f520892 [Pipeline] echo [2024-01-03T10:04:27.024Z] ========================================================= [2024-01-03T10:04:27.024Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-03T10:04:27.024Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-03T10:04:27.443Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-03T10:04:27.443Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-03T10:04:27.443Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-03T10:04:27.443Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-03T10:04:27.443Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-03T10:04:27.443Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-03T10:04:27.443Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:04:27.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T10:04:27.822Z] [2024-01-03T10:04:27.822Z] 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-03T10:04:28.147Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T10:04:28.147Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-03T10:04:28.147Z] b85a868b505f: Pulling fs layer [2024-01-03T10:04:28.147Z] e2be974225ed: Pulling fs layer [2024-01-03T10:04:28.147Z] 339a4e72a1f5: Pulling fs layer [2024-01-03T10:04:28.147Z] 988bab9f4d93: Pulling fs layer [2024-01-03T10:04:28.147Z] 1469e6f7b9e6: Pulling fs layer [2024-01-03T10:04:28.147Z] eaf3925da568: Pulling fs layer [2024-01-03T10:04:28.147Z] bab4dde63d76: Pulling fs layer [2024-01-03T10:04:28.147Z] bde34c3a00c8: Pulling fs layer [2024-01-03T10:04:28.147Z] b352a97aabf1: Pulling fs layer [2024-01-03T10:04:28.147Z] 4872d77fe225: Pulling fs layer [2024-01-03T10:04:28.147Z] 5851b861e8e6: Pulling fs layer [2024-01-03T10:04:28.147Z] bab4dde63d76: Waiting [2024-01-03T10:04:28.147Z] bde34c3a00c8: Waiting [2024-01-03T10:04:28.147Z] b352a97aabf1: Waiting [2024-01-03T10:04:28.147Z] 4872d77fe225: Waiting [2024-01-03T10:04:28.147Z] 5851b861e8e6: Waiting [2024-01-03T10:04:28.147Z] 988bab9f4d93: Waiting [2024-01-03T10:04:28.147Z] 1469e6f7b9e6: Waiting [2024-01-03T10:04:28.147Z] eaf3925da568: Waiting [2024-01-03T10:04:28.147Z] e2be974225ed: Download complete [2024-01-03T10:04:28.147Z] 988bab9f4d93: Download complete [2024-01-03T10:04:28.147Z] 1469e6f7b9e6: Verifying Checksum [2024-01-03T10:04:28.147Z] 1469e6f7b9e6: Download complete [2024-01-03T10:04:28.147Z] 339a4e72a1f5: Download complete [2024-01-03T10:04:28.147Z] eaf3925da568: Verifying Checksum [2024-01-03T10:04:28.147Z] eaf3925da568: Download complete [2024-01-03T10:04:28.415Z] bde34c3a00c8: Download complete [2024-01-03T10:04:28.415Z] b352a97aabf1: Verifying Checksum [2024-01-03T10:04:28.415Z] b352a97aabf1: Download complete [2024-01-03T10:04:28.415Z] 4872d77fe225: Verifying Checksum [2024-01-03T10:04:28.415Z] 4872d77fe225: Download complete [2024-01-03T10:04:28.415Z] 5851b861e8e6: Verifying Checksum [2024-01-03T10:04:28.416Z] 5851b861e8e6: Download complete [2024-01-03T10:04:28.416Z] b85a868b505f: Verifying Checksum [2024-01-03T10:04:28.416Z] b85a868b505f: Download complete [2024-01-03T10:04:28.675Z] bab4dde63d76: Verifying Checksum [2024-01-03T10:04:28.675Z] bab4dde63d76: Download complete [2024-01-03T10:04:29.617Z] b85a868b505f: Pull complete [2024-01-03T10:04:29.617Z] e2be974225ed: Pull complete [2024-01-03T10:04:30.186Z] 339a4e72a1f5: Pull complete [2024-01-03T10:04:30.186Z] 988bab9f4d93: Pull complete [2024-01-03T10:04:30.753Z] 1469e6f7b9e6: Pull complete [2024-01-03T10:04:31.013Z] eaf3925da568: Pull complete [2024-01-03T10:04:32.915Z] bab4dde63d76: Pull complete [2024-01-03T10:04:33.483Z] bde34c3a00c8: Pull complete [2024-01-03T10:04:33.483Z] b352a97aabf1: Pull complete [2024-01-03T10:04:33.743Z] 4872d77fe225: Pull complete [2024-01-03T10:04:33.743Z] 5851b861e8e6: Pull complete [2024-01-03T10:04:33.743Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-03T10:04:33.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-03T10:04:33.743Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T10:04:33.921Z] prd-ubuntu20.04-docker-8c-8g-26693 does not seem to be running inside a container [2024-01-03T10:04:33.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-03T10:04:38.924Z] $ docker top f0cda91292e505faf18f2c2ad0c3d1ea340428736244a4fc1d4fcced41d6db13 -eo pid,comm [2024-01-03T10:04:38.985Z] 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-03T10:04:38.985Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-03T10:04:39.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-03T10:04:39.082Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-03T10:04:39.208Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-03T10:04:39.209Z] $ docker exec f0cda91292e505faf18f2c2ad0c3d1ea340428736244a4fc1d4fcced41d6db13 ssh-agent [2024-01-03T10:04:39.313Z] SSH_AUTH_SOCK=/tmp/ssh-hwfPL10doLBc/agent.31 [2024-01-03T10:04:39.313Z] SSH_AGENT_PID=37 [2024-01-03T10:04:39.321Z] Running ssh-add (command line suppressed) [2024-01-03T10:04:39.427Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_4942687176852757876.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_4942687176852757876.key) [2024-01-03T10:04:39.443Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-03T10:04:39.744Z] + git tag --points-at HEAD [Pipeline] } [2024-01-03T10:04:39.753Z] $ docker exec --env ******** --env ******** f0cda91292e505faf18f2c2ad0c3d1ea340428736244a4fc1d4fcced41d6db13 ssh-agent -k [2024-01-03T10:04:39.846Z] unset SSH_AUTH_SOCK; [2024-01-03T10:04:39.846Z] unset SSH_AGENT_PID; [2024-01-03T10:04:39.846Z] echo Agent pid 37 killed; [2024-01-03T10:04:39.857Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-03T10:04:39.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-03T10:04:39.922Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-03T10:04:40.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-03T10:04:40.024Z] $ docker exec f0cda91292e505faf18f2c2ad0c3d1ea340428736244a4fc1d4fcced41d6db13 ssh-agent [2024-01-03T10:04:40.142Z] SSH_AUTH_SOCK=/tmp/ssh-7xljSA2vF8Eu/agent.68 [2024-01-03T10:04:40.142Z] SSH_AGENT_PID=74 [2024-01-03T10:04:40.147Z] Running ssh-add (command line suppressed) [2024-01-03T10:04:40.238Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_2015178375134978180.key (/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/private_key_2015178375134978180.key) [2024-01-03T10:04:40.253Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-03T10:04:40.561Z] + git semver init [2024-01-03T10:04:40.819Z] 2024-01-03 10:04:40,790 [run_init] DEBUG init version:0.0.0 force:False [2024-01-03T10:04:40.819Z] 2024-01-03 10:04:40,791 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver [2024-01-03T10:04:40.819Z] 2024-01-03 10:04:40,792 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver [2024-01-03T10:04:40.819Z] 2024-01-03 10:04:40,793 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505, universal_newlines=False, shell=None, istream=None) [2024-01-03T10:04:41.756Z] 2024-01-03 10:04:41,708 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.git/info/exclude [2024-01-03T10:04:41.756Z] 2024-01-03 10:04:41,709 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 with force:False [2024-01-03T10:04:41.756Z] 2024-01-03 10:04:41,709 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 [2024-01-03T10:04:41.756Z] 2024-01-03 10:04:41,712 [execute] INFO git cat-file --batch-check [2024-01-03T10:04:41.756Z] 2024-01-03 10:04:41,713 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2024-01-03T10:04:41.756Z] 2024-01-03 10:04:41,719 [execute] INFO git cat-file --batch [2024-01-03T10:04:41.756Z] 2024-01-03 10:04:41,720 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver, universal_newlines=False, shell=None, istream=) [2024-01-03T10:04:41.756Z] 2024-01-03 10:04:41,725 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-505/.semver/PR-505 [2024-01-03T10:04:41.756Z] 0.0.0 [Pipeline] } [2024-01-03T10:04:41.765Z] $ docker exec --env ******** --env ******** f0cda91292e505faf18f2c2ad0c3d1ea340428736244a4fc1d4fcced41d6db13 ssh-agent -k [2024-01-03T10:04:41.864Z] unset SSH_AUTH_SOCK; [2024-01-03T10:04:41.864Z] unset SSH_AGENT_PID; [2024-01-03T10:04:41.865Z] echo Agent pid 74 killed; [2024-01-03T10:04:41.875Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-03T10:04:42.248Z] + git semver [Pipeline] } [2024-01-03T10:04:42.519Z] $ docker stop --time=1 f0cda91292e505faf18f2c2ad0c3d1ea340428736244a4fc1d4fcced41d6db13 [2024-01-03T10:04:43.853Z] $ docker rm -f --volumes f0cda91292e505faf18f2c2ad0c3d1ea340428736244a4fc1d4fcced41d6db13 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-03T10:04:44.225Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-03T10:04:44.531Z] Stashed 1 file(s) [Pipeline] echo [2024-01-03T10:04:44.536Z] [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-03T10:04:44.826Z] provisioning config files... [2024-01-03T10:04:44.835Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config13419790744960555706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:04:45.149Z] ---> ****-login.sh [2024-01-03T10:04:45.149Z] nexus3.edgexfoundry.org:10001 [2024-01-03T10:04:45.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:04:45.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:04:45.149Z] Configure a credential helper to remove this warning. See [2024-01-03T10:04:45.149Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:04:45.149Z] [2024-01-03T10:04:45.149Z] Login Succeeded [2024-01-03T10:04:45.149Z] nexus3.edgexfoundry.org:10002 [2024-01-03T10:04:45.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:04:45.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:04:45.149Z] Configure a credential helper to remove this warning. See [2024-01-03T10:04:45.150Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:04:45.150Z] [2024-01-03T10:04:45.150Z] Login Succeeded [2024-01-03T10:04:45.150Z] nexus3.edgexfoundry.org:10003 [2024-01-03T10:04:45.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:04:45.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:04:45.416Z] Configure a credential helper to remove this warning. See [2024-01-03T10:04:45.416Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:04:45.416Z] [2024-01-03T10:04:45.416Z] Login Succeeded [2024-01-03T10:04:45.416Z] nexus3.edgexfoundry.org:10004 [2024-01-03T10:04:45.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:04:45.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:04:45.416Z] Configure a credential helper to remove this warning. See [2024-01-03T10:04:45.416Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:04:45.416Z] [2024-01-03T10:04:45.416Z] Login Succeeded [2024-01-03T10:04:45.416Z] ****.io [2024-01-03T10:04:45.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:04:45.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:04:45.675Z] Configure a credential helper to remove this warning. See [2024-01-03T10:04:45.675Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:04:45.675Z] [2024-01-03T10:04:45.675Z] Login Succeeded [2024-01-03T10:04:45.675Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T10:04:45.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-03T10:04:45.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T10:04:45.873Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-03T10:04:45.906Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T10:04:45.937Z] ========================================================= [2024-01-03T10:04:45.937Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-03T10:04:45.937Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:04:46.281Z] + 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-03T10:04:46.281Z] Sending build context to Docker daemon 4.966MB [2024-01-03T10:04:46.281Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-03T10:04:46.281Z] Step 2/21 : FROM ${BASE} as builder [2024-01-03T10:04:46.543Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-03T10:04:46.543Z] 96526aa774ef: Pulling fs layer [2024-01-03T10:04:46.543Z] da60e534fd72: Pulling fs layer [2024-01-03T10:04:46.543Z] 96526aa774ef: Verifying Checksum [2024-01-03T10:04:46.543Z] 96526aa774ef: Download complete [2024-01-03T10:04:46.543Z] 96526aa774ef: Pull complete [2024-01-03T10:04:47.479Z] da60e534fd72: Verifying Checksum [2024-01-03T10:04:47.479Z] da60e534fd72: Download complete [2024-01-03T10:04:50.004Z] da60e534fd72: Pull complete [2024-01-03T10:04:50.004Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-03T10:04:50.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-03T10:04:50.004Z] ---> 6605166a5db4 [2024-01-03T10:04:50.004Z] 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-03T10:04:55.352Z] ---> Running in dd0eb983d502 [2024-01-03T10:04:55.352Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-03T10:04:55.352Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T10:04:55.352Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T10:04:55.352Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T10:04:55.611Z] Removing intermediate container dd0eb983d502 [2024-01-03T10:04:55.611Z] ---> a93590a2b94f [2024-01-03T10:04:55.611Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T10:04:55.611Z] ---> Running in 03bf7b5adedc [2024-01-03T10:04:56.178Z] Removing intermediate container 03bf7b5adedc [2024-01-03T10:04:56.178Z] ---> 2f8b3781406d [2024-01-03T10:04:56.178Z] 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-03T10:04:56.438Z] ---> Running in 878994848bae [2024-01-03T10:04:56.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:04:56.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T10:04:56.957Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:04:57.527Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T10:04:57.527Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-03T10:04:57.527Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-03T10:04:57.527Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T10:04:58.097Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T10:04:58.357Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T10:04:58.357Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-03T10:04:58.357Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-03T10:04:58.357Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T10:04:58.357Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T10:04:58.357Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T10:04:58.357Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T10:04:58.357Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-03T10:04:58.357Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-03T10:04:58.357Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-03T10:04:58.619Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-03T10:04:58.619Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-03T10:04:58.619Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-03T10:04:58.619Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T10:04:58.619Z] OK: 336 MiB in 99 packages [2024-01-03T10:04:59.574Z] Removing intermediate container 878994848bae [2024-01-03T10:04:59.574Z] ---> 93cb38329524 [2024-01-03T10:04:59.574Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-03T10:04:59.574Z] ---> Running in 775129296b0e [2024-01-03T10:04:59.736Z] Still waiting to schedule task [2024-01-03T10:04:59.736Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-03T10:05:00.140Z] Removing intermediate container 775129296b0e [2024-01-03T10:05:00.140Z] ---> 0e64ede77f5b [2024-01-03T10:05:00.140Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-03T10:05:00.140Z] ---> 17e7f36de842 [2024-01-03T10:05:00.140Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-03T10:05:00.404Z] ---> 903249188b49 [2024-01-03T10:05:00.404Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-03T10:05:00.662Z] ---> 3168b379a1f5 [2024-01-03T10:05:00.662Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-03T10:05:00.662Z] ---> 16438a7fad39 [2024-01-03T10:05:00.662Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-03T10:05:00.920Z] ---> c4f7f569f9ff [2024-01-03T10:05:00.920Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-03T10:05:00.920Z] ---> db96d0da7ac9 [2024-01-03T10:05:00.920Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-03T10:05:00.920Z] ---> Running in 90edd93fdb70 [2024-01-03T10:05:01.487Z] + CPPCHECK=false [2024-01-03T10:05:01.487Z] + DOCGEN=false [2024-01-03T10:05:01.487Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-03T10:05:01.487Z] + '[' 0 -gt 0 ] [2024-01-03T10:05:01.487Z] + readlink -f ./scripts/build.sh [2024-01-03T10:05:01.487Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-03T10:05:01.487Z] + dirname /tmp/sdk/scripts [2024-01-03T10:05:01.487Z] + ROOT=/tmp/sdk [2024-01-03T10:05:01.487Z] + cd /tmp/sdk [2024-01-03T10:05:01.487Z] + mkdir -p /tmp/sdk/build/release [2024-01-03T10:05:01.487Z] + cd /tmp/sdk/build/release [2024-01-03T10:05:01.487Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-03T10:05:01.487Z] -- The C compiler identification is GNU 12.2.1 [2024-01-03T10:05:01.487Z] -- Detecting C compiler ABI info [2024-01-03T10:05:01.487Z] -- Detecting C compiler ABI info - done [2024-01-03T10:05:01.749Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T10:05:01.749Z] -- Detecting C compile features [2024-01-03T10:05:01.749Z] -- Detecting C compile features - done [2024-01-03T10:05:01.749Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T10:05:01.749Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T10:05:01.749Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T10:05:01.749Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T10:05:01.749Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T10:05:01.749Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T10:05:01.749Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T10:05:01.749Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T10:05:01.749Z] -- /opt/iotech/iot/1.5/include [2024-01-03T10:05:01.749Z] -- C SDK 0.0.0 for Linux [2024-01-03T10:05:01.749Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T10:05:01.749Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T10:05:01.749Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-03T10:05:01.749Z] -- Configuring done (0.5s) [2024-01-03T10:05:02.009Z] -- Generating done (0.0s) [2024-01-03T10:05:02.009Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-03T10:05:02.009Z] + make all package [2024-01-03T10:05:02.009Z] + tee release.log [2024-01-03T10:05:02.009Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T10:05:02.009Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T10:05:02.269Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T10:05:02.269Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T10:05:02.527Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T10:05:02.527Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T10:05:02.787Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T10:05:02.787Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-03T10:05:02.787Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T10:05:02.787Z] 294 | while (privateConfig) [2024-01-03T10:05:02.787Z] | ^~~~~~~~~~~~~ [2024-01-03T10:05:02.787Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-03T10:05:02.787Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T10:05:02.787Z] | ^~~~~~~~~~~~~ [2024-01-03T10:05:02.787Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T10:05:02.787Z] 271 | while (result) [2024-01-03T10:05:02.787Z] | ^~~~~~ [2024-01-03T10:05:02.787Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-03T10:05:02.787Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T10:05:02.787Z] | ^~~~~~ [2024-01-03T10:05:03.049Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T10:05:03.049Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T10:05:03.049Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T10:05:03.309Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T10:05:03.568Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T10:05:03.568Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T10:05:03.828Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T10:05:03.828Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T10:05:04.089Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T10:05:04.089Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T10:05:04.348Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T10:05:04.348Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T10:05:04.611Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T10:05:04.611Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T10:05:05.559Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T10:05:05.819Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T10:05:05.819Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T10:05:05.819Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T10:05:06.079Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T10:05:06.338Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T10:05:06.595Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T10:05:06.595Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T10:05:06.855Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T10:05:06.855Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T10:05:06.855Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T10:05:06.855Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:05:06.855Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T10:05:06.855Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:05:06.855Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:05:06.855Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T10:05:06.855Z] | ^ [2024-01-03T10:05:07.114Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T10:05:07.114Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-03T10:05:07.114Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:05:07.114Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-03T10:05:07.114Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-03T10:05:07.114Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:05:07.114Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T10:05:07.372Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T10:05:07.372Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T10:05:07.372Z] [ 68%] Linking C shared library libcsdk.so [2024-01-03T10:05:07.631Z] [ 68%] Built target csdk [2024-01-03T10:05:07.631Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T10:05:07.631Z] [ 72%] Linking C executable template [2024-01-03T10:05:07.631Z] [ 72%] Built target template [2024-01-03T10:05:07.889Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T10:05:07.889Z] [ 76%] Linking C executable device-counter [2024-01-03T10:05:07.889Z] [ 76%] Built target device-counter [2024-01-03T10:05:07.889Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T10:05:08.148Z] [ 80%] Linking C executable device-random [2024-01-03T10:05:08.148Z] [ 80%] Built target device-random [2024-01-03T10:05:08.148Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T10:05:08.148Z] [ 84%] Linking C executable device-gyro [2024-01-03T10:05:08.148Z] [ 84%] Built target device-gyro [2024-01-03T10:05:08.148Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T10:05:08.407Z] [ 88%] Linking C executable device-bitfields [2024-01-03T10:05:08.407Z] [ 88%] Built target device-bitfields [2024-01-03T10:05:08.407Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T10:05:08.667Z] [ 92%] Linking C executable template-discovery [2024-01-03T10:05:08.667Z] [ 92%] Built target template-discovery [2024-01-03T10:05:08.667Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T10:05:08.667Z] [ 96%] Linking C executable device-file [2024-01-03T10:05:08.926Z] [ 96%] Built target device-file [2024-01-03T10:05:08.926Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T10:05:08.926Z] [100%] Linking C executable device-terminal [2024-01-03T10:05:08.926Z] [100%] Built target device-terminal [2024-01-03T10:05:09.184Z] Run CPack packaging tool... [2024-01-03T10:05:09.184Z] CPack: Create package using TGZ [2024-01-03T10:05:09.185Z] CPack: Install projects [2024-01-03T10:05:09.185Z] CPack: - Run preinstall target for: Csdk [2024-01-03T10:05:09.442Z] CPack: - Install project: Csdk [] [2024-01-03T10:05:09.442Z] CPack: Create package [2024-01-03T10:05:09.442Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-03T10:05:09.442Z] + '[' false '=' true ] [2024-01-03T10:05:09.442Z] + '[' false '=' true ] [2024-01-03T10:05:09.442Z] + mkdir -p /tmp/sdk/build/debug [2024-01-03T10:05:09.442Z] + cd /tmp/sdk/build/debug [2024-01-03T10:05:09.442Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-03T10:05:09.442Z] -- The C compiler identification is GNU 12.2.1 [2024-01-03T10:05:09.442Z] -- Detecting C compiler ABI info [2024-01-03T10:05:09.442Z] -- Detecting C compiler ABI info - done [2024-01-03T10:05:09.442Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T10:05:09.442Z] -- Detecting C compile features [2024-01-03T10:05:09.442Z] -- Detecting C compile features - done [2024-01-03T10:05:09.442Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T10:05:09.700Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T10:05:09.700Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T10:05:09.700Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T10:05:09.700Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T10:05:09.700Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T10:05:09.700Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T10:05:09.700Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T10:05:09.700Z] -- /opt/iotech/iot/1.5/include [2024-01-03T10:05:09.700Z] -- C SDK 0.0.0 for Linux [2024-01-03T10:05:09.700Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T10:05:09.700Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T10:05:09.700Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-03T10:05:09.700Z] -- Configuring done (0.4s) [2024-01-03T10:05:09.700Z] -- Generating done (0.0s) [2024-01-03T10:05:09.700Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-03T10:05:09.700Z] + make [2024-01-03T10:05:09.700Z] + tee debug.log [2024-01-03T10:05:09.960Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T10:05:09.960Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T10:05:09.960Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T10:05:09.960Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T10:05:10.220Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T10:05:10.220Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T10:05:10.220Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T10:05:10.479Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T10:05:10.479Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T10:05:10.479Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T10:05:10.738Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T10:05:10.738Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T10:05:10.738Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T10:05:10.738Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T10:05:10.997Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T10:05:10.998Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T10:05:10.998Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T10:05:11.256Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T10:05:11.256Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T10:05:11.256Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T10:05:11.256Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T10:05:11.514Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T10:05:11.774Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T10:05:11.774Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T10:05:11.774Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T10:05:11.774Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T10:05:11.774Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T10:05:12.032Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T10:05:12.032Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T10:05:12.290Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T10:05:12.290Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T10:05:12.290Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T10:05:12.290Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:05:12.290Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T10:05:12.290Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:05:12.290Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:05:12.290Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T10:05:12.290Z] | ^ [2024-01-03T10:05:12.550Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T10:05:12.550Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T10:05:12.550Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T10:05:12.550Z] [ 68%] Linking C shared library libcsdk.so [2024-01-03T10:05:12.550Z] [ 68%] Built target csdk [2024-01-03T10:05:12.808Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T10:05:12.808Z] [ 72%] Linking C executable template [2024-01-03T10:05:12.808Z] [ 72%] Built target template [2024-01-03T10:05:12.808Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T10:05:12.808Z] [ 76%] Linking C executable device-counter [2024-01-03T10:05:13.067Z] [ 76%] Built target device-counter [2024-01-03T10:05:13.067Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T10:05:13.067Z] [ 80%] Linking C executable device-random [2024-01-03T10:05:13.067Z] [ 80%] Built target device-random [2024-01-03T10:05:13.067Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T10:05:13.067Z] [ 84%] Linking C executable device-gyro [2024-01-03T10:05:13.326Z] [ 84%] Built target device-gyro [2024-01-03T10:05:13.326Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T10:05:13.326Z] [ 88%] Linking C executable device-bitfields [2024-01-03T10:05:13.326Z] [ 88%] Built target device-bitfields [2024-01-03T10:05:13.326Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T10:05:13.584Z] [ 92%] Linking C executable template-discovery [2024-01-03T10:05:13.584Z] [ 92%] Built target template-discovery [2024-01-03T10:05:13.584Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T10:05:13.584Z] [ 96%] Linking C executable device-file [2024-01-03T10:05:13.584Z] [ 96%] Built target device-file [2024-01-03T10:05:13.844Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T10:05:13.844Z] [100%] Linking C executable device-terminal [2024-01-03T10:05:13.844Z] [100%] Built target device-terminal [2024-01-03T10:05:13.844Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-03T10:05:13.844Z] [ 68%] Built target csdk [2024-01-03T10:05:13.844Z] [ 72%] Built target template [2024-01-03T10:05:13.844Z] [ 76%] Built target device-counter [2024-01-03T10:05:13.844Z] [ 80%] Built target device-random [2024-01-03T10:05:14.101Z] [ 84%] Built target device-gyro [2024-01-03T10:05:14.101Z] [ 88%] Built target device-bitfields [2024-01-03T10:05:14.101Z] [ 92%] Built target template-discovery [2024-01-03T10:05:14.101Z] [ 96%] Built target device-file [2024-01-03T10:05:14.101Z] [100%] Built target device-terminal [2024-01-03T10:05:14.101Z] Install the project... [2024-01-03T10:05:14.101Z] -- Install configuration: "Release" [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-03T10:05:14.101Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include/devsdk [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include/edgex [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-03T10:05:14.101Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-03T10:05:14.101Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-03T10:05:15.036Z] Removing intermediate container 90edd93fdb70 [2024-01-03T10:05:15.036Z] ---> 47c06050d04d [2024-01-03T10:05:15.036Z] Step 14/21 : FROM ${BASE} [2024-01-03T10:05:15.036Z] ---> 6605166a5db4 [2024-01-03T10:05:15.036Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-03T10:05:15.036Z] ---> Running in 4d0bf3dabbcc [2024-01-03T10:05:15.036Z] Removing intermediate container 4d0bf3dabbcc [2024-01-03T10:05:15.036Z] ---> b8be91ad0d87 [2024-01-03T10:05:15.036Z] 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-03T10:05:15.036Z] ---> Running in c63e1bd9cb87 [2024-01-03T10:05:15.297Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-03T10:05:15.866Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T10:05:15.866Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T10:05:15.866Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T10:05:16.125Z] Removing intermediate container c63e1bd9cb87 [2024-01-03T10:05:16.125Z] ---> 54a4555b14d8 [2024-01-03T10:05:16.125Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T10:05:16.125Z] ---> Running in dd160a24306f [2024-01-03T10:05:16.693Z] Removing intermediate container dd160a24306f [2024-01-03T10:05:16.693Z] ---> ba25d971b477 [2024-01-03T10:05:16.693Z] 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-03T10:05:16.693Z] ---> Running in 96dca216e17b [2024-01-03T10:05:16.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:05:16.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T10:05:17.213Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:05:17.782Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T10:05:17.782Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T10:05:17.782Z] (2/9) Installing curl (8.5.0-r0) [2024-01-03T10:05:17.782Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T10:05:17.782Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-03T10:05:17.782Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-03T10:05:17.782Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T10:05:18.730Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T10:05:18.730Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-03T10:05:18.730Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-03T10:05:18.730Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T10:05:18.730Z] OK: 331 MiB in 89 packages [2024-01-03T10:05:19.299Z] Removing intermediate container 96dca216e17b [2024-01-03T10:05:19.299Z] ---> c9afff77b7a5 [2024-01-03T10:05:19.299Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-03T10:05:19.563Z] ---> d1314ea43627 [2024-01-03T10:05:19.563Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-03T10:05:19.563Z] ---> 2f4fa29f5e1e [2024-01-03T10:05:19.563Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-03T10:05:19.822Z] ---> 8e2c8ddd45de [2024-01-03T10:05:19.822Z] Successfully built 8e2c8ddd45de [2024-01-03T10:05:20.081Z] 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-03T10:05:20.634Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-03T10:05:20.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T10:05:20.744Z] prd-ubuntu20.04-docker-8c-8g-26693 does not seem to be running inside a container [2024-01-03T10:05:20.774Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-03T10:05:21.114Z] $ docker top 8a86d2ce9a67c6d9484c980e605701e1d20cd653bbc4e2dea4a7d236f5cc49d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T10:05:21.511Z] + make test [2024-01-03T10:05:21.511Z] echo "make test" [2024-01-03T10:05:21.511Z] make test [Pipeline] } [2024-01-03T10:05:21.519Z] $ docker stop --time=1 8a86d2ce9a67c6d9484c980e605701e1d20cd653bbc4e2dea4a7d236f5cc49d6 [2024-01-03T10:05:22.822Z] $ docker rm -f --volumes 8a86d2ce9a67c6d9484c980e605701e1d20cd653bbc4e2dea4a7d236f5cc49d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-03T10:05:23.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-03T10:05:24.188Z] + ls -al . [2024-01-03T10:05:24.188Z] total 212 [2024-01-03T10:05:24.188Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 10:04 . [2024-01-03T10:05:24.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 10:04 .. [2024-01-03T10:05:24.188Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 10:04 .git [2024-01-03T10:05:24.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 10:04 .github [2024-01-03T10:05:24.188Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 3 10:04 .gitignore [2024-01-03T10:05:24.189Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 10:04 .semver [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 3 10:04 Attribution.txt [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 3 10:04 CHANGELOG.md [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 3 10:04 Doxyfile [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 10:04 GOVERNANCE.md [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 3 10:04 Jenkinsfile [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 3 10:04 LICENSE [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 3 10:04 Makefile [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 3 10:04 OWNERS.md [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 3 10:04 README.IOT.md [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 3 10:04 README.md [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 3 10:04 README.v3.md [2024-01-03T10:05:24.189Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 10:04 VERSION [2024-01-03T10:05:24.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 10:04 docs [2024-01-03T10:05:24.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 10:04 include [2024-01-03T10:05:24.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 10:04 scripts [2024-01-03T10:05:24.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 10:04 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:05:24.593Z] + 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=fd46e9e60c32ba487b2e2c66f64027456f520892 --label arch=amd64 --label version=0.0.0 . [2024-01-03T10:05:24.593Z] Sending build context to Docker daemon 4.966MB [2024-01-03T10:05:24.593Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-03T10:05:24.593Z] Step 2/17 : FROM ${BASE} [2024-01-03T10:05:24.593Z] ---> 8e2c8ddd45de [2024-01-03T10:05:24.593Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-03T10:05:25.308Z] ---> Running in fc4f682f80dd [2024-01-03T10:05:25.876Z] Removing intermediate container fc4f682f80dd [2024-01-03T10:05:25.876Z] ---> fe320dfe7140 [2024-01-03T10:05:25.876Z] 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-03T10:05:26.135Z] ---> Running in 6653a5e44110 [2024-01-03T10:05:26.704Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-03T10:05:26.964Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T10:05:26.964Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T10:05:26.964Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T10:05:27.535Z] Removing intermediate container 6653a5e44110 [2024-01-03T10:05:27.535Z] ---> 0acfcfd2420c [2024-01-03T10:05:27.535Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T10:05:27.535Z] ---> Running in 5640c5c2caa5 [2024-01-03T10:05:28.106Z] Removing intermediate container 5640c5c2caa5 [2024-01-03T10:05:28.106Z] ---> 544082bad7cf [2024-01-03T10:05:28.106Z] 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-03T10:05:28.106Z] ---> Running in 742c4afaa7ab [2024-01-03T10:05:28.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:05:28.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-03T10:05:28.624Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-03T10:05:29.191Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T10:05:29.191Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T10:05:29.448Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-03T10:05:29.448Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T10:05:29.448Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T10:05:29.448Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T10:05:29.448Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T10:05:29.448Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-03T10:05:29.448Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-03T10:05:29.448Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-03T10:05:29.448Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-03T10:05:29.448Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-03T10:05:29.448Z] Executing busybox-1.36.1-r4.trigger [2024-01-03T10:05:29.448Z] OK: 336 MiB in 100 packages [2024-01-03T10:05:30.013Z] Removing intermediate container 742c4afaa7ab [2024-01-03T10:05:30.013Z] ---> 3b9db492d212 [2024-01-03T10:05:30.013Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-03T10:05:30.271Z] ---> 91fe03bf5532 [2024-01-03T10:05:30.271Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-03T10:05:30.529Z] ---> 1dcdcda8ed12 [2024-01-03T10:05:30.530Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-03T10:05:30.530Z] ---> 6f5b20d23afa [2024-01-03T10:05:30.530Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-03T10:05:30.788Z] ---> f5ffabb05bb2 [2024-01-03T10:05:30.788Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-03T10:05:30.788Z] ---> 839f8932531c [2024-01-03T10:05:30.788Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-03T10:05:31.048Z] ---> ae502aa535d1 [2024-01-03T10:05:31.048Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-03T10:05:31.048Z] ---> Running in 312cd826764f [2024-01-03T10:05:31.048Z] Removing intermediate container 312cd826764f [2024-01-03T10:05:31.048Z] ---> b490be650313 [2024-01-03T10:05:31.048Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-03T10:05:31.048Z] ---> Running in ba7b6a6a4c35 [2024-01-03T10:05:31.307Z] Removing intermediate container ba7b6a6a4c35 [2024-01-03T10:05:31.307Z] ---> 308e22908814 [2024-01-03T10:05:31.307Z] Step 15/17 : LABEL arch=amd64 [2024-01-03T10:05:31.307Z] ---> Running in 1abbedada939 [2024-01-03T10:05:31.307Z] Removing intermediate container 1abbedada939 [2024-01-03T10:05:31.307Z] ---> d75a9917d1e1 [2024-01-03T10:05:31.307Z] Step 16/17 : LABEL git_sha=fd46e9e60c32ba487b2e2c66f64027456f520892 [2024-01-03T10:05:31.307Z] ---> Running in beae3003165f [2024-01-03T10:05:31.307Z] Removing intermediate container beae3003165f [2024-01-03T10:05:31.307Z] ---> bcd1a39710fa [2024-01-03T10:05:31.307Z] Step 17/17 : LABEL version=0.0.0 [2024-01-03T10:05:31.566Z] ---> Running in 858c9c64a81f [2024-01-03T10:05:31.566Z] Removing intermediate container 858c9c64a81f [2024-01-03T10:05:31.566Z] ---> 56470c17213c [2024-01-03T10:05:31.566Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-01-03T10:05:31.566Z] Successfully built 56470c17213c [2024-01-03T10:05:31.566Z] 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-03T10:05:32.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T10:05:32.305Z] [2024-01-03T10:05:32.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:05:32.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T10:05:32.639Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-03T10:05:32.639Z] 5eb5b503b376: Pulling fs layer [2024-01-03T10:05:32.639Z] 5c69ac0246d0: Pulling fs layer [2024-01-03T10:05:32.639Z] ec43610c2a17: Pulling fs layer [2024-01-03T10:05:32.639Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-03T10:05:32.639Z] 33b1e0a273af: Pulling fs layer [2024-01-03T10:05:32.639Z] 5d3b04190fa2: Pulling fs layer [2024-01-03T10:05:32.639Z] 2f39f015ded8: Pulling fs layer [2024-01-03T10:05:32.639Z] 33b1e0a273af: Waiting [2024-01-03T10:05:32.639Z] 5d3b04190fa2: Waiting [2024-01-03T10:05:32.639Z] 2f39f015ded8: Waiting [2024-01-03T10:05:32.639Z] 3a2ae6a8a46f: Waiting [2024-01-03T10:05:32.639Z] 5c69ac0246d0: Verifying Checksum [2024-01-03T10:05:32.639Z] 5c69ac0246d0: Download complete [2024-01-03T10:05:32.639Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-03T10:05:32.639Z] 3a2ae6a8a46f: Download complete [2024-01-03T10:05:32.898Z] 33b1e0a273af: Verifying Checksum [2024-01-03T10:05:32.898Z] 33b1e0a273af: Download complete [2024-01-03T10:05:32.898Z] ec43610c2a17: Verifying Checksum [2024-01-03T10:05:32.898Z] ec43610c2a17: Download complete [2024-01-03T10:05:32.898Z] 5d3b04190fa2: Download complete [2024-01-03T10:05:32.898Z] 5eb5b503b376: Verifying Checksum [2024-01-03T10:05:32.898Z] 5eb5b503b376: Download complete [2024-01-03T10:05:33.463Z] 2f39f015ded8: Download complete [2024-01-03T10:05:34.030Z] 5eb5b503b376: Pull complete [2024-01-03T10:05:34.288Z] 5c69ac0246d0: Pull complete [2024-01-03T10:05:34.854Z] ec43610c2a17: Pull complete [2024-01-03T10:05:34.854Z] 3a2ae6a8a46f: Pull complete [2024-01-03T10:05:35.112Z] 33b1e0a273af: Pull complete [2024-01-03T10:05:35.112Z] 5d3b04190fa2: Pull complete [2024-01-03T10:05:40.432Z] 2f39f015ded8: Pull complete [2024-01-03T10:05:40.432Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-03T10:05:40.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T10:05:40.432Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T10:05:40.679Z] prd-ubuntu20.04-docker-8c-8g-26693 does not seem to be running inside a container [2024-01-03T10:05:40.713Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-03T10:05:47.786Z] $ docker top fe90b6b8f8785a24e1b3f85a9d3fffb7178f8ac17c4e87c26447eda47b2ffa8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:05:48.204Z] ---> job-cost.sh [2024-01-03T10:05:48.204Z] lf-activate-venv: SKIPPING [2024-01-03T10:05:48.204Z] INFO: No Stack... [2024-01-03T10:05:48.773Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T10:05:49.031Z] INFO: Archiving Costs [Pipeline] sh [2024-01-03T10:05:49.324Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/cost.csv [2024-01-03T10:05:49.324Z] + cut -d, -f6 [Pipeline] lock [2024-01-03T10:05:49.337Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-7-stack-cost] [2024-01-03T10:05:49.347Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-7-stack-cost] did not exist. Created. [2024-01-03T10:05:49.347Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-03T10:05:49.692Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-03T10:05:49.736Z] Stashed 1 file(s) [Pipeline] } [2024-01-03T10:05:49.743Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-7-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-03T10:05:49.806Z] $ docker stop --time=1 fe90b6b8f8785a24e1b3f85a9d3fffb7178f8ac17c4e87c26447eda47b2ffa8e [2024-01-03T10:05:50.952Z] $ docker rm -f --volumes fe90b6b8f8785a24e1b3f85a9d3fffb7178f8ac17c4e87c26447eda47b2ffa8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-03T10:06:51.165Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26694 in /w/workspace/edgexfoundry_device-sdk-c_PR-505 [Pipeline] { [Pipeline] ws [2024-01-03T10:06:51.210Z] Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout [2024-01-03T10:06:51.280Z] Selected Git installation does not exist. Using Default [2024-01-03T10:06:51.280Z] The recommended git tool is: NONE [2024-01-03T10:07:01.433Z] using credential edgex-jenkins-ssh [2024-01-03T10:07:01.455Z] Cloning the remote Git repository [2024-01-03T10:07:01.538Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T10:07:01.657Z] > git init /w/workspace/device-sdk-c/7 # timeout=10 [2024-01-03T10:07:01.810Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T10:07:01.811Z] > git --version # timeout=10 [2024-01-03T10:07:01.832Z] > git --version # 'git version 2.25.1' [2024-01-03T10:07:01.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T10:07:01.986Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-03T10:07:03.142Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-03T10:07:03.161Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-03T10:07:04.767Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit fd46e9e60c32ba487b2e2c66f64027456f520892 [2024-01-03T10:07:05.092Z] Merge succeeded, producing fd46e9e60c32ba487b2e2c66f64027456f520892 [2024-01-03T10:07:05.092Z] Checking out Revision fd46e9e60c32ba487b2e2c66f64027456f520892 (PR-505) [2024-01-03T10:07:04.070Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-03T10:07:04.117Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-03T10:07:04.117Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T10:07:04.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/505/head:refs/remotes/origin/PR-505 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-03T10:07:04.785Z] > git config core.sparsecheckout # timeout=10 [2024-01-03T10:07:04.861Z] > git checkout -f fd46e9e60c32ba487b2e2c66f64027456f520892 # timeout=10 [2024-01-03T10:07:04.993Z] > git remote # timeout=10 [2024-01-03T10:07:05.011Z] > git config --get remote.origin.url # timeout=10 [2024-01-03T10:07:05.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-03T10:07:05.044Z] > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [2024-01-03T10:07:05.076Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-03T10:07:05.099Z] > git config core.sparsecheckout # timeout=10 [2024-01-03T10:07:05.112Z] > git checkout -f fd46e9e60c32ba487b2e2c66f64027456f520892 # timeout=10 [2024-01-03T10:07:08.714Z] Commit message: "fix:The slash of a string cannot be removed using json_serialize_to_string" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-03T10:07:09.864Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-03T10:07:09.864Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-03T10:07:09.864Z] Dload Upload Total Spent Left Speed [2024-01-03T10:07:09.864Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 87462 0 --:--:-- --:--:-- --:--:-- 87462 [Pipeline] sh [2024-01-03T10:07:10.210Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-03T10:07:10.572Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2024-01-03T10:07:10.572Z] tee /etc/docker/daemon.new [2024-01-03T10:07:10.572Z] { [2024-01-03T10:07:10.572Z] "registry-mirrors": [ [2024-01-03T10:07:10.572Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-03T10:07:10.572Z] ], [2024-01-03T10:07:10.572Z] "bip": "10.250.0.254/24", [2024-01-03T10:07:10.572Z] "hosts": [ [2024-01-03T10:07:10.572Z] "tcp://0.0.0.0:5555", [2024-01-03T10:07:10.572Z] "unix:///var/run/docker.sock" [2024-01-03T10:07:10.572Z] ], [2024-01-03T10:07:10.572Z] "mtu": 1458, [2024-01-03T10:07:10.572Z] "selinux-enabled": true, [2024-01-03T10:07:10.572Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-03T10:07:10.572Z] } [Pipeline] sh [2024-01-03T10:07:10.897Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-03T10:07:11.225Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T10:07:29.523Z] provisioning config files... [2024-01-03T10:07:29.553Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config2542833186620904336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:07:30.017Z] ---> ****-login.sh [2024-01-03T10:07:30.017Z] nexus3.edgexfoundry.org:10001 [2024-01-03T10:07:30.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:07:30.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:07:30.554Z] Configure a credential helper to remove this warning. See [2024-01-03T10:07:30.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:07:30.554Z] [2024-01-03T10:07:30.554Z] Login Succeeded [2024-01-03T10:07:30.554Z] nexus3.edgexfoundry.org:10002 [2024-01-03T10:07:30.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:07:30.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:07:30.824Z] Configure a credential helper to remove this warning. See [2024-01-03T10:07:30.824Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:07:30.824Z] [2024-01-03T10:07:30.824Z] Login Succeeded [2024-01-03T10:07:30.824Z] nexus3.edgexfoundry.org:10003 [2024-01-03T10:07:31.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:07:31.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:07:31.095Z] Configure a credential helper to remove this warning. See [2024-01-03T10:07:31.095Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:07:31.095Z] [2024-01-03T10:07:31.095Z] Login Succeeded [2024-01-03T10:07:31.095Z] nexus3.edgexfoundry.org:10004 [2024-01-03T10:07:31.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:07:31.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:07:31.365Z] Configure a credential helper to remove this warning. See [2024-01-03T10:07:31.365Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:07:31.365Z] [2024-01-03T10:07:31.365Z] Login Succeeded [2024-01-03T10:07:31.365Z] ****.io [2024-01-03T10:07:31.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-03T10:07:31.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-03T10:07:31.904Z] Configure a credential helper to remove this warning. See [2024-01-03T10:07:31.904Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-03T10:07:31.904Z] [2024-01-03T10:07:31.904Z] Login Succeeded [2024-01-03T10:07:31.904Z] ---> ****-login.sh ends [Pipeline] } [2024-01-03T10:07:31.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-03T10:07:32.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T10:07:32.323Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-03T10:07:32.379Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-03T10:07:32.415Z] ========================================================= [2024-01-03T10:07:32.416Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-03T10:07:32.416Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:07:32.832Z] + 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-03T10:07:33.798Z] #0 building with "default" instance using docker driver [2024-01-03T10:07:33.798Z] [2024-01-03T10:07:33.798Z] #1 [internal] load .dockerignore [2024-01-03T10:07:34.067Z] #1 transferring context: 2B done [2024-01-03T10:07:34.067Z] #1 DONE 0.1s [2024-01-03T10:07:34.067Z] [2024-01-03T10:07:34.067Z] #2 [internal] load build definition from Dockerfile.alpine-base [2024-01-03T10:07:34.067Z] #2 transferring dockerfile: 2.04kB 0.0s done [2024-01-03T10:07:34.067Z] #2 DONE 0.1s [2024-01-03T10:07:34.067Z] [2024-01-03T10:07:34.067Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-03T10:07:34.067Z] #3 DONE 0.1s [2024-01-03T10:07:34.067Z] [2024-01-03T10:07:34.067Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-03T10:07:34.067Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-03T10:07:34.067Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 1.05MB / 109.51MB 0.1s [2024-01-03T10:07:34.067Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-03T10:07:34.067Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-03T10:07:34.067Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0B / 3.33MB 0.1s [2024-01-03T10:07:34.340Z] #4 ... [2024-01-03T10:07:34.340Z] [2024-01-03T10:07:34.340Z] #5 [internal] load build context [2024-01-03T10:07:34.340Z] #5 transferring context: 628.10kB 0.2s done [2024-01-03T10:07:34.340Z] #5 DONE 0.2s [2024-01-03T10:07:34.340Z] [2024-01-03T10:07:34.340Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-03T10:07:34.340Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s [2024-01-03T10:07:34.340Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-03T10:07:34.340Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 16.78MB / 109.51MB 0.4s [2024-01-03T10:07:34.340Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-03T10:07:34.609Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-03T10:07:34.877Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 26.78MB / 109.51MB 0.6s [2024-01-03T10:07:34.877Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 38.30MB / 109.51MB 0.8s [2024-01-03T10:07:34.877Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 44.28MB / 109.51MB 0.9s [2024-01-03T10:07:35.147Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 50.33MB / 109.51MB 1.0s [2024-01-03T10:07:35.147Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 63.96MB / 109.51MB 1.2s [2024-01-03T10:07:35.415Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 70.25MB / 109.51MB 1.3s [2024-01-03T10:07:35.682Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 82.83MB / 109.51MB 1.5s [2024-01-03T10:07:35.682Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 94.37MB / 109.51MB 1.7s [2024-01-03T10:07:35.949Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 106.04MB / 109.51MB 1.9s [2024-01-03T10:07:36.217Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s done [2024-01-03T10:07:36.217Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-03T10:07:44.429Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 7.7s [2024-01-03T10:07:51.082Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 14.4s [2024-01-03T10:07:52.045Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 15.7s done [2024-01-03T10:07:52.341Z] #4 DONE 18.2s [2024-01-03T10:07:52.341Z] [2024-01-03T10:07:52.341Z] #6 [builder 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-03T10:07:52.937Z] #6 0.709 Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-03T10:07:53.525Z] #6 1.208 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T10:07:53.525Z] #6 1.208 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T10:07:53.525Z] #6 1.208 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T10:07:54.110Z] #6 DONE 2.0s [2024-01-03T10:07:54.380Z] [2024-01-03T10:07:54.380Z] #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T10:07:58.640Z] #7 DONE 3.7s [2024-01-03T10:07:58.640Z] [2024-01-03T10:07:58.640Z] #8 [stage-1 4/7] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-03T10:07:58.640Z] #8 0.798 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T10:07:59.224Z] #8 1.204 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-03T10:07:59.805Z] #8 1.793 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T10:08:00.764Z] #8 2.715 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T10:08:00.764Z] #8 2.751 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T10:08:00.764Z] #8 2.780 (2/9) Installing curl (8.5.0-r0) [2024-01-03T10:08:00.764Z] #8 2.794 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-03T10:08:00.764Z] #8 2.811 (4/9) Installing hiredis (1.1.0-r2) [2024-01-03T10:08:00.764Z] #8 2.818 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-03T10:08:00.764Z] #8 2.842 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T10:08:01.720Z] #8 3.591 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T10:08:01.720Z] #8 3.819 (8/9) Installing libcbor (0.10.2-r1) [2024-01-03T10:08:01.720Z] #8 3.826 (9/9) Installing libuuid (2.38.1-r8) [2024-01-03T10:08:01.987Z] #8 3.916 Executing busybox-1.36.1-r4.trigger [2024-01-03T10:08:01.987Z] #8 3.960 OK: 327 MiB in 89 packages [2024-01-03T10:08:02.257Z] #8 DONE 4.4s [2024-01-03T10:08:02.257Z] [2024-01-03T10:08:02.257Z] #9 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-03T10:08:02.257Z] #9 0.928 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T10:08:02.257Z] #9 1.217 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-03T10:08:02.257Z] #9 1.771 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T10:08:02.257Z] #9 2.654 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T10:08:02.257Z] #9 2.683 (1/17) Installing hiredis (1.1.0-r2) [2024-01-03T10:08:02.257Z] #9 2.692 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-03T10:08:02.257Z] #9 2.719 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-03T10:08:02.257Z] #9 3.489 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T10:08:02.257Z] #9 3.609 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-03T10:08:02.257Z] #9 3.833 (6/17) Installing libcbor (0.10.2-r1) [2024-01-03T10:08:02.257Z] #9 3.840 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-03T10:08:02.257Z] #9 4.110 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T10:08:02.257Z] #9 4.117 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T10:08:02.257Z] #9 4.125 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T10:08:02.257Z] #9 4.137 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T10:08:02.257Z] #9 4.167 (12/17) Installing libblkid (2.38.1-r8) [2024-01-03T10:08:02.257Z] #9 4.182 (13/17) Installing libuuid (2.38.1-r8) [2024-01-03T10:08:02.257Z] #9 4.189 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-03T10:08:02.257Z] #9 4.205 (15/17) Installing libmount (2.38.1-r8) [2024-01-03T10:08:02.257Z] #9 4.220 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-03T10:08:02.257Z] #9 4.236 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-03T10:08:02.257Z] #9 4.312 Executing busybox-1.36.1-r4.trigger [2024-01-03T10:08:02.257Z] #9 4.366 OK: 333 MiB in 99 packages [2024-01-03T10:08:02.847Z] #9 DONE 4.7s [2024-01-03T10:08:02.847Z] [2024-01-03T10:08:02.847Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-03T10:08:03.431Z] #10 DONE 0.8s [2024-01-03T10:08:03.431Z] [2024-01-03T10:08:03.431Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-03T10:08:03.699Z] #11 DONE 0.1s [2024-01-03T10:08:03.699Z] [2024-01-03T10:08:03.699Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-03T10:08:03.699Z] #12 DONE 0.2s [2024-01-03T10:08:03.699Z] [2024-01-03T10:08:03.699Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-03T10:08:03.967Z] #13 DONE 0.1s [2024-01-03T10:08:03.967Z] [2024-01-03T10:08:03.967Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-03T10:08:03.967Z] #14 DONE 0.1s [2024-01-03T10:08:03.967Z] [2024-01-03T10:08:03.967Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-03T10:08:03.967Z] #15 DONE 0.1s [2024-01-03T10:08:03.967Z] [2024-01-03T10:08:03.967Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-03T10:08:03.967Z] #16 DONE 0.1s [2024-01-03T10:08:03.967Z] [2024-01-03T10:08:03.967Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-03T10:08:04.550Z] #17 0.589 + CPPCHECK=false [2024-01-03T10:08:04.550Z] #17 0.589 + DOCGEN=false [2024-01-03T10:08:04.550Z] #17 0.589 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-03T10:08:04.550Z] #17 0.590 + '[' 0 -gt 0 ] [2024-01-03T10:08:04.550Z] #17 0.591 + readlink -f ./scripts/build.sh [2024-01-03T10:08:04.550Z] #17 0.593 + dirname /tmp/sdk/scripts/build.sh [2024-01-03T10:08:04.550Z] #17 0.594 + dirname /tmp/sdk/scripts [2024-01-03T10:08:04.550Z] #17 0.596 + ROOT=/tmp/sdk [2024-01-03T10:08:04.550Z] #17 0.596 + cd /tmp/sdk [2024-01-03T10:08:04.550Z] #17 0.596 + mkdir -p /tmp/sdk/build/release [2024-01-03T10:08:04.550Z] #17 0.599 + cd /tmp/sdk/build/release [2024-01-03T10:08:04.550Z] #17 0.599 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-03T10:08:04.816Z] #17 0.914 -- The C compiler identification is GNU 12.2.1 [2024-01-03T10:08:05.082Z] #17 0.979 -- Detecting C compiler ABI info [2024-01-03T10:08:05.348Z] #17 1.303 -- Detecting C compiler ABI info - done [2024-01-03T10:08:05.616Z] #17 1.384 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T10:08:05.617Z] #17 1.386 -- Detecting C compile features [2024-01-03T10:08:05.617Z] #17 1.390 -- Detecting C compile features - done [2024-01-03T10:08:05.617Z] #17 1.413 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T10:08:05.617Z] #17 1.592 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T10:08:05.617Z] #17 1.608 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T10:08:05.617Z] #17 1.624 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T10:08:05.885Z] #17 1.638 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T10:08:05.885Z] #17 1.653 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T10:08:05.885Z] #17 1.668 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T10:08:05.885Z] #17 1.683 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T10:08:05.885Z] #17 1.684 -- /opt/iotech/iot/1.5/include [2024-01-03T10:08:05.885Z] #17 1.684 -- C SDK 0.0.0 for Linux [2024-01-03T10:08:05.885Z] #17 1.697 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T10:08:06.153Z] #17 2.021 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T10:08:06.153Z] #17 2.184 -- Found Curses: /usr/lib/libcurses.so [2024-01-03T10:08:06.153Z] #17 2.289 -- Configuring done (1.7s) [2024-01-03T10:08:06.420Z] #17 2.541 -- Generating done (0.2s) [2024-01-03T10:08:06.689Z] #17 2.559 -- Build files have been written to: /tmp/sdk/build/release [2024-01-03T10:08:06.689Z] #17 2.581 + make all package [2024-01-03T10:08:06.689Z] #17 2.582 + tee release.log [2024-01-03T10:08:06.955Z] #17 2.700 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T10:08:07.537Z] #17 3.363 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T10:08:08.498Z] #17 4.203 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T10:08:09.080Z] #17 4.890 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T10:08:09.664Z] #17 5.660 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T10:08:10.248Z] #17 6.237 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T10:08:12.830Z] #17 8.267 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T10:08:13.412Z] #17 9.102 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-03T10:08:13.412Z] #17 9.102 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T10:08:13.412Z] #17 9.102 294 | while (privateConfig) [2024-01-03T10:08:13.412Z] #17 9.102 | ^~~~~~~~~~~~~ [2024-01-03T10:08:13.412Z] #17 9.102 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-03T10:08:13.412Z] #17 9.102 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T10:08:13.412Z] #17 9.102 | ^~~~~~~~~~~~~ [2024-01-03T10:08:13.412Z] #17 9.103 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T10:08:13.412Z] #17 9.103 271 | while (result) [2024-01-03T10:08:13.412Z] #17 9.103 | ^~~~~~ [2024-01-03T10:08:13.412Z] #17 9.103 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-03T10:08:13.412Z] #17 9.103 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-03T10:08:13.412Z] #17 9.103 | ^~~~~~ [2024-01-03T10:08:13.412Z] #17 9.420 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T10:08:13.679Z] #17 9.640 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T10:08:14.653Z] #17 10.49 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T10:08:16.593Z] #17 12.26 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T10:08:16.861Z] #17 12.83 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T10:08:17.823Z] #17 13.80 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T10:08:18.783Z] #17 14.60 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T10:08:19.366Z] #17 15.06 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T10:08:20.326Z] #17 16.02 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T10:08:20.326Z] #17 16.32 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T10:08:22.265Z] #17 18.24 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T10:08:22.532Z] #17 18.57 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T10:08:23.490Z] #17 19.12 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T10:08:24.450Z] #17 20.35 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T10:08:31.094Z] #17 26.70 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T10:08:31.359Z] #17 27.30 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T10:08:31.626Z] #17 27.69 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T10:08:32.207Z] #17 28.19 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T10:08:32.472Z] #17 28.50 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T10:08:33.876Z] #17 29.86 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T10:08:35.811Z] #17 31.89 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T10:08:36.390Z] #17 32.31 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T10:08:37.346Z] #17 33.15 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T10:08:37.930Z] #17 33.73 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T10:08:38.197Z] #17 34.00 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T10:08:38.197Z] #17 34.00 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:08:38.197Z] #17 34.00 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T10:08:38.197Z] #17 34.00 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:08:38.197Z] #17 34.01 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:08:38.197Z] #17 34.01 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T10:08:38.197Z] #17 34.01 | ^ [2024-01-03T10:08:39.617Z] #17 35.44 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-03T10:08:39.617Z] #17 35.44 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-03T10:08:39.617Z] #17 35.44 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:08:39.617Z] #17 35.44 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-03T10:08:39.617Z] #17 35.44 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-03T10:08:39.617Z] #17 35.44 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:08:40.572Z] #17 36.49 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T10:08:41.530Z] #17 37.24 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T10:08:41.795Z] #17 37.59 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T10:08:42.062Z] #17 38.10 [ 68%] Linking C shared library libcsdk.so [2024-01-03T10:08:42.328Z] #17 38.30 [ 68%] Built target csdk [2024-01-03T10:08:42.328Z] #17 38.36 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T10:08:43.283Z] #17 39.15 [ 72%] Linking C executable template [2024-01-03T10:08:43.549Z] #17 39.46 [ 72%] Built target template [2024-01-03T10:08:43.549Z] #17 39.52 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T10:08:44.129Z] #17 40.03 [ 76%] Linking C executable device-counter [2024-01-03T10:08:44.394Z] #17 40.33 [ 76%] Built target device-counter [2024-01-03T10:08:44.394Z] #17 40.38 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T10:08:44.974Z] #17 40.88 [ 80%] Linking C executable device-random [2024-01-03T10:08:45.243Z] #17 41.18 [ 80%] Built target device-random [2024-01-03T10:08:45.243Z] #17 41.23 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T10:08:45.824Z] #17 41.68 [ 84%] Linking C executable device-gyro [2024-01-03T10:08:46.089Z] #17 41.98 [ 84%] Built target device-gyro [2024-01-03T10:08:46.089Z] #17 42.03 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T10:08:46.670Z] #17 42.52 [ 88%] Linking C executable device-bitfields [2024-01-03T10:08:46.935Z] #17 42.81 [ 88%] Built target device-bitfields [2024-01-03T10:08:46.935Z] #17 42.87 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T10:08:47.890Z] #17 43.67 [ 92%] Linking C executable template-discovery [2024-01-03T10:08:47.890Z] #17 43.97 [ 92%] Built target template-discovery [2024-01-03T10:08:48.159Z] #17 44.03 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T10:08:48.757Z] #17 44.72 [ 96%] Linking C executable device-file [2024-01-03T10:08:49.023Z] #17 45.02 [ 96%] Built target device-file [2024-01-03T10:08:49.287Z] #17 45.07 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T10:08:49.866Z] #17 45.71 [100%] Linking C executable device-terminal [2024-01-03T10:08:50.131Z] #17 46.03 [100%] Built target device-terminal [2024-01-03T10:08:50.131Z] #17 46.09 Run CPack packaging tool... [2024-01-03T10:08:50.131Z] #17 46.14 CPack: Create package using TGZ [2024-01-03T10:08:50.396Z] #17 46.14 CPack: Install projects [2024-01-03T10:08:50.396Z] #17 46.14 CPack: - Run preinstall target for: Csdk [2024-01-03T10:08:50.977Z] #17 46.96 CPack: - Install project: Csdk [] [2024-01-03T10:08:50.977Z] #17 46.99 CPack: Create package [2024-01-03T10:08:51.242Z] #17 47.08 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-03T10:08:51.242Z] #17 47.09 + '[' false '=' true ] [2024-01-03T10:08:51.242Z] #17 47.09 + '[' false '=' true ] [2024-01-03T10:08:51.242Z] #17 47.09 + mkdir -p /tmp/sdk/build/debug [2024-01-03T10:08:51.242Z] #17 47.09 + cd /tmp/sdk/build/debug [2024-01-03T10:08:51.242Z] #17 47.09 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-03T10:08:51.507Z] #17 47.40 -- The C compiler identification is GNU 12.2.1 [2024-01-03T10:08:51.507Z] #17 47.46 -- Detecting C compiler ABI info [2024-01-03T10:08:51.773Z] #17 47.80 -- Detecting C compiler ABI info - done [2024-01-03T10:08:51.773Z] #17 47.88 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-03T10:08:51.773Z] #17 47.88 -- Detecting C compile features [2024-01-03T10:08:51.773Z] #17 47.89 -- Detecting C compile features - done [2024-01-03T10:08:51.773Z] #17 47.91 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-03T10:08:52.038Z] #17 48.10 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-03T10:08:52.038Z] #17 48.12 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-03T10:08:52.038Z] #17 48.13 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-03T10:08:52.038Z] #17 48.15 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-03T10:08:52.038Z] #17 48.16 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-03T10:08:52.306Z] #17 48.18 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-03T10:08:52.306Z] #17 48.19 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-03T10:08:52.306Z] #17 48.19 -- /opt/iotech/iot/1.5/include [2024-01-03T10:08:52.306Z] #17 48.20 -- C SDK 0.0.0 for Linux [2024-01-03T10:08:52.306Z] #17 48.21 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-03T10:08:52.573Z] #17 48.54 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-03T10:08:52.839Z] #17 48.71 -- Found Curses: /usr/lib/libcurses.so [2024-01-03T10:08:52.839Z] #17 48.82 -- Configuring done (1.7s) [2024-01-03T10:08:53.106Z] #17 49.09 -- Generating done (0.2s) [2024-01-03T10:08:53.106Z] #17 49.11 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-03T10:08:53.106Z] #17 49.13 + make [2024-01-03T10:08:53.106Z] #17 49.13 + tee debug.log [2024-01-03T10:08:53.373Z] #17 49.26 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-03T10:08:53.641Z] #17 49.64 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-03T10:08:54.228Z] #17 50.00 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-03T10:08:54.228Z] #17 50.36 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-03T10:08:54.814Z] #17 50.72 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-03T10:08:55.080Z] #17 51.07 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-03T10:08:56.041Z] #17 51.71 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-03T10:08:56.308Z] #17 52.17 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-03T10:08:56.308Z] #17 52.34 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-03T10:08:56.891Z] #17 52.75 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-03T10:08:57.473Z] #17 53.36 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-03T10:08:57.740Z] #17 53.68 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-03T10:08:58.006Z] #17 54.08 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-03T10:08:58.588Z] #17 54.42 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-03T10:08:58.854Z] #17 54.74 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-03T10:08:59.121Z] #17 55.09 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-03T10:08:59.387Z] #17 55.31 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-03T10:09:00.344Z] #17 56.03 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-03T10:09:00.344Z] #17 56.26 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-03T10:09:00.610Z] #17 56.48 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-03T10:09:01.191Z] #17 57.09 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-03T10:09:02.147Z] #17 58.20 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-03T10:09:02.731Z] #17 58.55 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-03T10:09:02.999Z] #17 58.81 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-03T10:09:03.266Z] #17 59.11 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-03T10:09:03.267Z] #17 59.38 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-03T10:09:03.849Z] #17 59.87 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-03T10:09:05.253Z] #17 61.19 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-03T10:09:05.519Z] #17 61.45 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-03T10:09:05.785Z] #17 61.83 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-03T10:09:06.053Z] #17 62.18 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-03T10:09:06.320Z] #17 62.45 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-03T10:09:06.586Z] #17 62.45 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:09:06.586Z] #17 62.45 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-03T10:09:06.586Z] #17 62.45 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-03T10:09:06.586Z] #17 62.45 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-03T10:09:06.586Z] #17 62.45 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-03T10:09:06.586Z] #17 62.45 | ^ [2024-01-03T10:09:07.170Z] #17 63.01 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-03T10:09:07.438Z] #17 63.39 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-03T10:09:07.706Z] #17 63.68 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-03T10:09:07.973Z] #17 63.97 [ 68%] Linking C shared library libcsdk.so [2024-01-03T10:09:08.240Z] #17 64.23 [ 68%] Built target csdk [2024-01-03T10:09:08.240Z] #17 64.28 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-03T10:09:08.506Z] #17 64.63 [ 72%] Linking C executable template [2024-01-03T10:09:09.089Z] #17 64.93 [ 72%] Built target template [2024-01-03T10:09:09.089Z] #17 64.99 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-03T10:09:09.355Z] #17 65.28 [ 76%] Linking C executable device-counter [2024-01-03T10:09:09.621Z] #17 65.57 [ 76%] Built target device-counter [2024-01-03T10:09:09.621Z] #17 65.63 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-03T10:09:09.888Z] #17 65.93 [ 80%] Linking C executable device-random [2024-01-03T10:09:10.472Z] #17 66.27 [ 80%] Built target device-random [2024-01-03T10:09:10.472Z] #17 66.33 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-03T10:09:10.472Z] #17 66.62 [ 84%] Linking C executable device-gyro [2024-01-03T10:09:11.057Z] #17 66.96 [ 84%] Built target device-gyro [2024-01-03T10:09:11.057Z] #17 67.01 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-03T10:09:11.324Z] #17 67.30 [ 88%] Linking C executable device-bitfields [2024-01-03T10:09:11.590Z] #17 67.61 [ 88%] Built target device-bitfields [2024-01-03T10:09:11.590Z] #17 67.66 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-03T10:09:12.172Z] #17 68.01 [ 92%] Linking C executable template-discovery [2024-01-03T10:09:12.439Z] #17 68.31 [ 92%] Built target template-discovery [2024-01-03T10:09:12.439Z] #17 68.36 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-03T10:09:12.706Z] #17 68.69 [ 96%] Linking C executable device-file [2024-01-03T10:09:13.294Z] #17 68.99 [ 96%] Built target device-file [2024-01-03T10:09:13.294Z] #17 69.05 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-03T10:09:13.294Z] #17 69.43 [100%] Linking C executable device-terminal [2024-01-03T10:09:13.884Z] #17 69.81 [100%] Built target device-terminal [2024-01-03T10:09:13.884Z] #17 69.85 make: Entering directory '/tmp/sdk/build/release' [2024-01-03T10:09:14.149Z] #17 70.00 [ 68%] Built target csdk [2024-01-03T10:09:14.149Z] #17 70.06 [ 72%] Built target template [2024-01-03T10:09:14.149Z] #17 70.12 [ 76%] Built target device-counter [2024-01-03T10:09:14.149Z] #17 70.17 [ 80%] Built target device-random [2024-01-03T10:09:14.149Z] #17 70.23 [ 84%] Built target device-gyro [2024-01-03T10:09:14.417Z] #17 70.28 [ 88%] Built target device-bitfields [2024-01-03T10:09:14.417Z] #17 70.33 [ 92%] Built target template-discovery [2024-01-03T10:09:14.417Z] #17 70.39 [ 96%] Built target device-file [2024-01-03T10:09:14.417Z] #17 70.44 [100%] Built target device-terminal [2024-01-03T10:09:14.417Z] #17 70.49 Install the project... [2024-01-03T10:09:14.417Z] #17 70.51 -- Install configuration: "Release" [2024-01-03T10:09:14.417Z] #17 70.51 -- Installing: /usr/local/lib/libcsdk.so [2024-01-03T10:09:14.417Z] #17 70.52 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-03T10:09:14.417Z] #17 70.52 -- Installing: /usr/local/include [2024-01-03T10:09:14.418Z] #17 70.52 -- Installing: /usr/local/include/devsdk [2024-01-03T10:09:14.418Z] #17 70.52 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-03T10:09:14.418Z] #17 70.52 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-03T10:09:14.418Z] #17 70.52 -- Installing: /usr/local/include/edgex [2024-01-03T10:09:14.418Z] #17 70.53 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-03T10:09:14.418Z] #17 70.53 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-03T10:09:14.418Z] #17 70.53 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-03T10:09:14.418Z] #17 70.53 -- Installing: /usr/local/include/edgex/devices.h [2024-01-03T10:09:14.418Z] #17 70.53 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-03T10:09:14.418Z] #17 70.53 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-03T10:09:14.418Z] #17 70.53 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-03T10:09:14.418Z] #17 70.53 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-03T10:09:14.418Z] #17 70.55 make: Leaving directory '/tmp/sdk/build/release' [2024-01-03T10:09:14.689Z] #17 DONE 70.6s [2024-01-03T10:09:14.689Z] [2024-01-03T10:09:14.689Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-03T10:09:14.689Z] #18 DONE 0.1s [2024-01-03T10:09:14.958Z] [2024-01-03T10:09:14.958Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-03T10:09:14.958Z] #19 DONE 0.1s [2024-01-03T10:09:14.958Z] [2024-01-03T10:09:14.958Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-03T10:09:14.958Z] #20 DONE 0.1s [2024-01-03T10:09:15.223Z] [2024-01-03T10:09:15.223Z] #21 exporting to image [2024-01-03T10:09:15.223Z] #21 exporting layers [2024-01-03T10:09:15.223Z] #21 exporting layers 0.2s done [2024-01-03T10:09:15.223Z] #21 writing image sha256:4f08427a35925bcb23c9eb470d9f17b6df106dc456c4b6739be2ab6a4a055294 done [2024-01-03T10:09:15.223Z] #21 naming to docker.io/library/ci-base-image-arm64 done [2024-01-03T10:09:15.223Z] #21 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:09:15.861Z] + docker inspect -f . ci-base-image-arm64 [2024-01-03T10:09:15.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T10:09:16.094Z] prd-ubuntu20.04-docker-arm64-4c-16g-26694 does not seem to be running inside a container [2024-01-03T10:09:16.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@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-03T10:09:17.171Z] $ docker top ce1e90b92afbab74936fb3c624a0aa5ac1f9ea9b1018d68f26bbf2a0dfb7f578 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T10:09:17.691Z] + make test [2024-01-03T10:09:17.959Z] echo "make test" [2024-01-03T10:09:17.959Z] make test [Pipeline] } [2024-01-03T10:09:17.979Z] $ docker stop --time=1 ce1e90b92afbab74936fb3c624a0aa5ac1f9ea9b1018d68f26bbf2a0dfb7f578 [2024-01-03T10:09:19.496Z] $ docker rm -f --volumes ce1e90b92afbab74936fb3c624a0aa5ac1f9ea9b1018d68f26bbf2a0dfb7f578 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-03T10:09:20.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-03T10:09:20.562Z] + ls -al . [2024-01-03T10:09:20.562Z] total 208 [2024-01-03T10:09:20.562Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 10:07 . [2024-01-03T10:09:20.562Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 10:07 .. [2024-01-03T10:09:20.562Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 10:07 .git [2024-01-03T10:09:20.562Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 10:07 .github [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 3 10:07 .gitignore [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 3 10:07 Attribution.txt [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 3 10:07 CHANGELOG.md [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 3 10:07 Doxyfile [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 10:07 GOVERNANCE.md [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 3 10:07 Jenkinsfile [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 3 10:07 LICENSE [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 3 10:07 Makefile [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 3 10:07 OWNERS.md [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 3 10:07 README.IOT.md [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 3 10:07 README.md [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 3 10:07 README.v3.md [2024-01-03T10:09:20.562Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 10:04 VERSION [2024-01-03T10:09:20.562Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 10:07 docs [2024-01-03T10:09:20.562Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 10:07 include [2024-01-03T10:09:20.562Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 10:07 scripts [2024-01-03T10:09:20.562Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 10:07 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:09:20.955Z] + 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=fd46e9e60c32ba487b2e2c66f64027456f520892 --label arch=arm64 --label version=0.0.0 . [2024-01-03T10:09:21.537Z] #0 building with "default" instance using docker driver [2024-01-03T10:09:21.537Z] [2024-01-03T10:09:21.537Z] #1 [internal] load .dockerignore [2024-01-03T10:09:21.537Z] #1 transferring context: 2B done [2024-01-03T10:09:21.537Z] #1 DONE 0.0s [2024-01-03T10:09:21.537Z] [2024-01-03T10:09:21.537Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-03T10:09:21.537Z] #2 transferring dockerfile: 1.44kB 0.0s done [2024-01-03T10:09:21.537Z] #2 DONE 0.0s [2024-01-03T10:09:21.537Z] [2024-01-03T10:09:21.537Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-03T10:09:21.537Z] #3 DONE 0.0s [2024-01-03T10:09:21.537Z] [2024-01-03T10:09:21.537Z] #4 [internal] load build context [2024-01-03T10:09:21.537Z] #4 transferring context: 8.55kB 0.1s done [2024-01-03T10:09:21.537Z] #4 DONE 0.1s [2024-01-03T10:09:21.537Z] [2024-01-03T10:09:21.537Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-03T10:09:21.811Z] #5 DONE 0.2s [2024-01-03T10:09:21.811Z] [2024-01-03T10:09:21.811Z] #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-03T10:09:22.455Z] #6 0.655 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-03T10:09:23.056Z] #6 1.162 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-03T10:09:23.056Z] #6 1.163 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-03T10:09:23.056Z] #6 1.164 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-03T10:09:26.434Z] #6 DONE 4.3s [2024-01-03T10:09:26.434Z] [2024-01-03T10:09:26.434Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-03T10:09:27.028Z] #7 DONE 0.8s [2024-01-03T10:09:27.028Z] [2024-01-03T10:09:27.029Z] #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-03T10:09:27.999Z] #8 0.787 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T10:09:27.999Z] #8 1.162 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-03T10:09:28.583Z] #8 1.701 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-03T10:09:29.541Z] #8 2.573 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-03T10:09:29.541Z] #8 2.605 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-03T10:09:29.809Z] #8 2.898 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-03T10:09:29.809Z] #8 2.917 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-03T10:09:29.809Z] #8 2.923 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-03T10:09:30.080Z] #8 2.929 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-03T10:09:30.080Z] #8 2.937 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-03T10:09:30.080Z] #8 2.964 (7/11) Installing libblkid (2.38.1-r8) [2024-01-03T10:09:30.080Z] #8 2.978 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-03T10:09:30.080Z] #8 2.994 (9/11) Installing libmount (2.38.1-r8) [2024-01-03T10:09:30.080Z] #8 3.009 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-03T10:09:30.080Z] #8 3.020 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-03T10:09:30.080Z] #8 3.097 Executing busybox-1.36.1-r4.trigger [2024-01-03T10:09:30.080Z] #8 3.140 OK: 333 MiB in 100 packages [2024-01-03T10:09:30.360Z] #8 DONE 3.5s [2024-01-03T10:09:30.360Z] [2024-01-03T10:09:30.360Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-03T10:09:30.628Z] #9 DONE 0.1s [2024-01-03T10:09:30.628Z] [2024-01-03T10:09:30.628Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-03T10:09:30.628Z] #10 DONE 0.2s [2024-01-03T10:09:30.898Z] [2024-01-03T10:09:30.898Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-03T10:09:30.898Z] #11 DONE 0.1s [2024-01-03T10:09:30.898Z] [2024-01-03T10:09:30.898Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-03T10:09:30.898Z] #12 DONE 0.1s [2024-01-03T10:09:30.898Z] [2024-01-03T10:09:30.898Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-03T10:09:30.898Z] #13 DONE 0.1s [2024-01-03T10:09:31.165Z] [2024-01-03T10:09:31.165Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-03T10:09:31.165Z] #14 DONE 0.1s [2024-01-03T10:09:31.165Z] [2024-01-03T10:09:31.165Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-03T10:09:31.165Z] #15 DONE 0.1s [2024-01-03T10:09:31.165Z] [2024-01-03T10:09:31.165Z] #16 exporting to image [2024-01-03T10:09:31.165Z] #16 exporting layers [2024-01-03T10:09:31.438Z] #16 exporting layers 0.3s done [2024-01-03T10:09:31.438Z] #16 writing image sha256:828d0233d66e54cfa1248f833986083379b7fe293c2bb30e5e71bd0edc1e8a50 done [2024-01-03T10:09:31.438Z] #16 naming to docker.io/library/device-sdk-arm64 done [2024-01-03T10:09:31.438Z] #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-03T10:09:32.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-03T10:09:32.178Z] [2024-01-03T10:09:32.178Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:09:32.538Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-03T10:09:32.538Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-03T10:09:32.538Z] 8998bd30e6a1: Pulling fs layer [2024-01-03T10:09:32.538Z] 04944245beec: Pulling fs layer [2024-01-03T10:09:32.538Z] 699f458cf7ca: Pulling fs layer [2024-01-03T10:09:32.538Z] 765212b225bb: Pulling fs layer [2024-01-03T10:09:32.538Z] f23df028b6ca: Pulling fs layer [2024-01-03T10:09:32.538Z] d65c8cfc05b1: Pulling fs layer [2024-01-03T10:09:32.538Z] 2437ff75d9bd: Pulling fs layer [2024-01-03T10:09:32.538Z] 765212b225bb: Waiting [2024-01-03T10:09:32.538Z] f23df028b6ca: Waiting [2024-01-03T10:09:32.538Z] d65c8cfc05b1: Waiting [2024-01-03T10:09:32.538Z] 2437ff75d9bd: Waiting [2024-01-03T10:09:32.807Z] 04944245beec: Verifying Checksum [2024-01-03T10:09:32.807Z] 04944245beec: Download complete [2024-01-03T10:09:32.807Z] 765212b225bb: Verifying Checksum [2024-01-03T10:09:32.807Z] 765212b225bb: Download complete [2024-01-03T10:09:32.807Z] f23df028b6ca: Download complete [2024-01-03T10:09:32.807Z] d65c8cfc05b1: Download complete [2024-01-03T10:09:33.075Z] 699f458cf7ca: Verifying Checksum [2024-01-03T10:09:33.075Z] 699f458cf7ca: Download complete [2024-01-03T10:09:33.343Z] 8998bd30e6a1: Verifying Checksum [2024-01-03T10:09:33.343Z] 8998bd30e6a1: Download complete [2024-01-03T10:09:35.296Z] 2437ff75d9bd: Verifying Checksum [2024-01-03T10:09:35.296Z] 2437ff75d9bd: Download complete [2024-01-03T10:09:40.656Z] 8998bd30e6a1: Pull complete [2024-01-03T10:09:40.656Z] 04944245beec: Pull complete [2024-01-03T10:09:42.606Z] 699f458cf7ca: Pull complete [2024-01-03T10:09:42.606Z] 765212b225bb: Pull complete [2024-01-03T10:09:43.569Z] f23df028b6ca: Pull complete [2024-01-03T10:09:43.569Z] d65c8cfc05b1: Pull complete [2024-01-03T10:10:05.635Z] 2437ff75d9bd: Pull complete [2024-01-03T10:10:05.901Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-03T10:10:05.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-03T10:10:05.901Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T10:10:06.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-26694 does not seem to be running inside a container [2024-01-03T10:10:06.245Z] $ 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/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@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-03T10:10:09.366Z] $ docker top 5f5a588c7c1b28cb790d05f7a46ae8c0f1c14bf35482360c24d1f3386d352675 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:10:09.889Z] ---> job-cost.sh [2024-01-03T10:10:10.155Z] lf-activate-venv: SKIPPING [2024-01-03T10:10:10.155Z] INFO: No Stack... [2024-01-03T10:10:10.421Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T10:10:11.002Z] INFO: Archiving Costs [Pipeline] sh [2024-01-03T10:10:11.324Z] + cat /w/workspace/device-sdk-c/7/archives/cost.csv [2024-01-03T10:10:11.324Z] + cut -d, -f6 [Pipeline] lock [2024-01-03T10:10:11.387Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-505-7-stack-cost] [2024-01-03T10:10:11.399Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-505-7-stack-cost] did not exist. Created. [2024-01-03T10:10:11.399Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-505-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-03T10:10:11.802Z] /w/workspace/device-sdk-c/7@tmp/durable-97db4ddf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-03T10:10:12.341Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-03T10:10:12.392Z] Warning: overwriting stash ‘stack-cost’ [2024-01-03T10:10:12.853Z] Stashed 1 file(s) [Pipeline] } [2024-01-03T10:10:12.865Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-505-7-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-03T10:10:12.948Z] $ docker stop --time=1 5f5a588c7c1b28cb790d05f7a46ae8c0f1c14bf35482360c24d1f3386d352675 [2024-01-03T10:10:14.337Z] $ docker rm -f --volumes 5f5a588c7c1b28cb790d05f7a46ae8c0f1c14bf35482360c24d1f3386d352675 [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-03T10:10:16.112Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives ] [2024-01-03T10:10:16.112Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-03T10:10:16.112Z] total 16 [2024-01-03T10:10:16.112Z] drwxr-xr-x 3 root root 4096 Jan 3 10:05 . [2024-01-03T10:10:16.112Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 10:05 .. [2024-01-03T10:10:16.112Z] drwxr-xr-x 2 root root 4096 Jan 3 10:05 cost [2024-01-03T10:10:16.112Z] -rw-r--r-- 1 root root 84 Jan 3 10:05 cost.csv [2024-01-03T10:10:16.112Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-03T10:10:16.112Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives [2024-01-03T10:10:16.112Z] total 16 [2024-01-03T10:10:16.112Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 10:05 . [2024-01-03T10:10:16.112Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 10:05 .. [2024-01-03T10:10:16.112Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 10:05 cost [2024-01-03T10:10:16.112Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 3 10:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:10:16.411Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:10:17.276Z] ---> package-listing.sh [2024-01-03T10:10:17.276Z] ++ facter osfamily [2024-01-03T10:10:17.276Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-03T10:10:17.276Z] + OS_FAMILY=debian [2024-01-03T10:10:17.276Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-505 [2024-01-03T10:10:17.276Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-03T10:10:17.276Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-03T10:10:17.276Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-03T10:10:17.276Z] + PACKAGES=/tmp/packages_start.txt [2024-01-03T10:10:17.276Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' [2024-01-03T10:10:17.276Z] + PACKAGES=/tmp/packages_end.txt [2024-01-03T10:10:17.276Z] + case "${OS_FAMILY}" in [2024-01-03T10:10:17.276Z] + dpkg -l [2024-01-03T10:10:17.276Z] + grep '^ii' [2024-01-03T10:10:17.536Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-03T10:10:17.536Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-03T10:10:17.536Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-03T10:10:17.536Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-505 ']' [2024-01-03T10:10:17.536Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ [2024-01-03T10:10:17.536Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-505/archives/ [Pipeline] echo [2024-01-03T10:10:17.550Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-03T10:10:17.832Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-03T10:10:18.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-03T10:10:18.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-03T10:10:18.572Z] prd-ubuntu20.04-docker-8c-8g-26693 does not seem to be running inside a container [2024-01-03T10:10:18.605Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-505/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-505 -v /w/workspace/edgexfoundry_device-sdk-c_PR-505:/w/workspace/edgexfoundry_device-sdk-c_PR-505:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-03T10:10:18.802Z] $ docker top c7f3e4344e73c014dab53542e2f121acbedcc09b65ce147c3f30bad88becdb35 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-03T10:10:19.222Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-03T10:10:19.508Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-03T10:10:19.795Z] + ls /var/log/sa-host [2024-01-03T10:10:19.795Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-03T10:10:19.894Z] provisioning config files... [2024-01-03T10:10:19.903Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-505@tmp/config14835944266442666468tmp [Pipeline] { [Pipeline] echo [2024-01-03T10:10:19.979Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:10:20.269Z] ---> create-netrc.sh [Pipeline] } [2024-01-03T10:10:20.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:10:20.685Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-03T10:10:20.696Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:10:20.980Z] ---> sudo-logs.sh [2024-01-03T10:10:20.980Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-03T10:10:21.049Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:10:21.336Z] ---> job-cost.sh [2024-01-03T10:10:21.336Z] lf-activate-venv: SKIPPING [2024-01-03T10:10:21.336Z] DEBUG: total: 0.2199999988079071 [2024-01-03T10:10:21.336Z] INFO: Retrieving Stack Cost... [2024-01-03T10:10:21.905Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-03T10:10:22.166Z] INFO: Archiving Costs [Pipeline] echo [2024-01-03T10:10:22.181Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-03T10:10:22.468Z] ---> logs-deploy.sh [2024-01-03T10:10:22.468Z] lf-activate-venv: SKIPPING [2024-01-03T10:10:22.468Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-505/7 [2024-01-03T10:10:22.468Z] INFO: archiving workspace using pattern(s): [2024-01-03T10:10:23.408Z] Archives upload complete. [2024-01-03T10:10:23.408Z] INFO: archiving logs to Nexus