Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ych988 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at cc49468877935c119f35277098ef123672d1c8b2 rather than cc6030f98c33a14dda0a6095f4ce0474184eaaa8 Obtained Jenkinsfile from cc49468877935c119f35277098ef123672d1c8b2 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-ssh14226000829628798777.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-ssh16863172561959525737.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4777508122698286998.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-ssh10884820361113663045.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13400330508820053546.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-26784 in /w/workspace/edgexfoundry_device-sdk-c_PR-506 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-506 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cc49468877935c119f35277098ef123672d1c8b2 into PR head commit cc6030f98c33a14dda0a6095f4ce0474184eaaa8 Merge succeeded, producing 0f06ee722825ae8c08f1f75992d93b7cc7286083 Checking out Revision 0f06ee722825ae8c08f1f75992d93b7cc7286083 (PR-506) > git config core.sparsecheckout # timeout=10 > git checkout -f cc6030f98c33a14dda0a6095f4ce0474184eaaa8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cc49468877935c119f35277098ef123672d1c8b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f06ee722825ae8c08f1f75992d93b7cc7286083 # timeout=10 Commit message: "Merge commit 'cc49468877935c119f35277098ef123672d1c8b2' into HEAD" > git rev-list --no-walk cc6030f98c33a14dda0a6095f4ce0474184eaaa8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-05T18:55:32.859Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-05T18:55:32.944Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-05T18:55:32.979Z] ========================================================= [2024-01-05T18:55:32.979Z] EdgeX Global Pipelines Version Info [2024-01-05T18:55:32.979Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:55:33.734Z] ------------------- [2024-01-05T18:55:33.734Z] stable info: [2024-01-05T18:55:33.734Z] ------------------- [2024-01-05T18:55:33.734Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-05T18:55:33.734Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-05T18:55:33.734Z] Message: update stable to v1.0.258 [2024-01-05T18:55:34.303Z] ------------------- [2024-01-05T18:55:34.303Z] experimental info: [2024-01-05T18:55:34.303Z] ------------------- [2024-01-05T18:55:34.303Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-05T18:55:34.303Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-05T18:55:34.303Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-05T18:55:34.390Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-05T18:55:34.419Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-05T18:55:34.443Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-05T18:55:34.467Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-05T18:55:34.495Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-05T18:55:34.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-05T18:55:34.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-05T18:55:34.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-05T18:55:34.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-05T18:55:34.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-05T18:55:34.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-05T18:55:34.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-05T18:55:34.742Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-05T18:55:34.771Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-05T18:55:34.808Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-05T18:55:34.838Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-05T18:55:34.870Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-05T18:55:34.901Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-506 [Pipeline] echo [2024-01-05T18:55:34.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-506 [Pipeline] echo [2024-01-05T18:55:34.965Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-506 [Pipeline] echo [2024-01-05T18:55:35.000Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f06ee722825ae8c08f1f75992d93b7cc7286083 [Pipeline] echo [2024-01-05T18:55:35.035Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f06ee7 [Pipeline] echo [2024-01-05T18:55:35.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T18:55:35.160Z] provisioning config files... [2024-01-05T18:55:35.175Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config15403308316236070740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:55:35.526Z] ---> ****-login.sh [2024-01-05T18:55:35.526Z] nexus3.edgexfoundry.org:10001 [2024-01-05T18:55:35.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:55:37.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:55:37.167Z] Configure a credential helper to remove this warning. See [2024-01-05T18:55:37.167Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:55:37.167Z] [2024-01-05T18:55:37.167Z] Login Succeeded [2024-01-05T18:55:37.167Z] nexus3.edgexfoundry.org:10002 [2024-01-05T18:55:37.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:55:37.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:55:37.167Z] Configure a credential helper to remove this warning. See [2024-01-05T18:55:37.167Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:55:37.167Z] [2024-01-05T18:55:37.167Z] Login Succeeded [2024-01-05T18:55:37.167Z] nexus3.edgexfoundry.org:10003 [2024-01-05T18:55:37.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:55:37.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:55:37.167Z] Configure a credential helper to remove this warning. See [2024-01-05T18:55:37.167Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:55:37.167Z] [2024-01-05T18:55:37.167Z] Login Succeeded [2024-01-05T18:55:37.168Z] nexus3.edgexfoundry.org:10004 [2024-01-05T18:55:37.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:55:37.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:55:37.168Z] Configure a credential helper to remove this warning. See [2024-01-05T18:55:37.168Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:55:37.168Z] [2024-01-05T18:55:37.168Z] Login Succeeded [2024-01-05T18:55:37.168Z] ****.io [2024-01-05T18:55:37.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:55:37.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:55:37.695Z] Configure a credential helper to remove this warning. See [2024-01-05T18:55:37.695Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:55:37.695Z] [2024-01-05T18:55:37.695Z] Login Succeeded [2024-01-05T18:55:37.695Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T18:55:37.705Z] 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-05T18:55:38.232Z] + git rev-list -1 --merges 0f06ee722825ae8c08f1f75992d93b7cc7286083~1..0f06ee722825ae8c08f1f75992d93b7cc7286083 [Pipeline] echo [2024-01-05T18:55:38.265Z] -----------> git rev-list -1 --merges 0f06ee722825ae8c08f1f75992d93b7cc7286083~1..0f06ee722825ae8c08f1f75992d93b7cc7286083 0f06ee722825ae8c08f1f75992d93b7cc7286083 [2024-01-05T18:55:38.265Z] 0f06ee722825ae8c08f1f75992d93b7cc7286083 [false] [Pipeline] sh [2024-01-05T18:55:38.568Z] + git log --format=format:%s -1 0f06ee722825ae8c08f1f75992d93b7cc7286083 [Pipeline] echo [2024-01-05T18:55:38.586Z] ========================================================= [2024-01-05T18:55:38.586Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-05T18:55:38.586Z] ========================================================= 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-05T18:55:39.140Z] + git rev-list -1 --merges 0f06ee722825ae8c08f1f75992d93b7cc7286083~1..0f06ee722825ae8c08f1f75992d93b7cc7286083 [Pipeline] echo [2024-01-05T18:55:39.151Z] -----------> git rev-list -1 --merges 0f06ee722825ae8c08f1f75992d93b7cc7286083~1..0f06ee722825ae8c08f1f75992d93b7cc7286083 0f06ee722825ae8c08f1f75992d93b7cc7286083 [2024-01-05T18:55:39.151Z] 0f06ee722825ae8c08f1f75992d93b7cc7286083 [false] [Pipeline] sh [2024-01-05T18:55:39.454Z] + git log --format=format:%s -1 0f06ee722825ae8c08f1f75992d93b7cc7286083 [Pipeline] echo [2024-01-05T18:55:39.470Z] ========================================================= [2024-01-05T18:55:39.470Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-05T18:55:39.470Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-05T18:55:39.930Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-05T18:55:39.930Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-05T18:55:39.930Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-05T18:55:39.930Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-05T18:55:39.930Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-05T18:55:39.930Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-05T18:55:39.930Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:55:40.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T18:55:40.369Z] [2024-01-05T18:55:40.369Z] 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-05T18:55:40.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T18:55:40.689Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-05T18:55:40.689Z] b85a868b505f: Pulling fs layer [2024-01-05T18:55:40.689Z] e2be974225ed: Pulling fs layer [2024-01-05T18:55:40.689Z] 339a4e72a1f5: Pulling fs layer [2024-01-05T18:55:40.689Z] 988bab9f4d93: Pulling fs layer [2024-01-05T18:55:40.689Z] 1469e6f7b9e6: Pulling fs layer [2024-01-05T18:55:40.689Z] eaf3925da568: Pulling fs layer [2024-01-05T18:55:40.689Z] bab4dde63d76: Pulling fs layer [2024-01-05T18:55:40.689Z] bde34c3a00c8: Pulling fs layer [2024-01-05T18:55:40.689Z] b352a97aabf1: Pulling fs layer [2024-01-05T18:55:40.689Z] 4872d77fe225: Pulling fs layer [2024-01-05T18:55:40.689Z] 5851b861e8e6: Pulling fs layer [2024-01-05T18:55:40.689Z] 988bab9f4d93: Waiting [2024-01-05T18:55:40.689Z] bab4dde63d76: Waiting [2024-01-05T18:55:40.689Z] b352a97aabf1: Waiting [2024-01-05T18:55:40.689Z] bde34c3a00c8: Waiting [2024-01-05T18:55:40.689Z] eaf3925da568: Waiting [2024-01-05T18:55:40.689Z] 5851b861e8e6: Waiting [2024-01-05T18:55:40.689Z] 4872d77fe225: Waiting [2024-01-05T18:55:40.689Z] 1469e6f7b9e6: Waiting [2024-01-05T18:55:40.689Z] e2be974225ed: Verifying Checksum [2024-01-05T18:55:40.689Z] e2be974225ed: Download complete [2024-01-05T18:55:40.689Z] 988bab9f4d93: Download complete [2024-01-05T18:55:40.689Z] 1469e6f7b9e6: Verifying Checksum [2024-01-05T18:55:40.689Z] 1469e6f7b9e6: Download complete [2024-01-05T18:55:40.689Z] 339a4e72a1f5: Verifying Checksum [2024-01-05T18:55:40.689Z] 339a4e72a1f5: Download complete [2024-01-05T18:55:40.689Z] eaf3925da568: Download complete [2024-01-05T18:55:40.689Z] bde34c3a00c8: Verifying Checksum [2024-01-05T18:55:40.689Z] bde34c3a00c8: Download complete [2024-01-05T18:55:40.949Z] b352a97aabf1: Verifying Checksum [2024-01-05T18:55:40.949Z] b352a97aabf1: Download complete [2024-01-05T18:55:40.949Z] 4872d77fe225: Verifying Checksum [2024-01-05T18:55:40.949Z] 4872d77fe225: Download complete [2024-01-05T18:55:40.949Z] 5851b861e8e6: Verifying Checksum [2024-01-05T18:55:40.949Z] 5851b861e8e6: Download complete [2024-01-05T18:55:40.949Z] b85a868b505f: Verifying Checksum [2024-01-05T18:55:40.949Z] b85a868b505f: Download complete [2024-01-05T18:55:41.209Z] bab4dde63d76: Verifying Checksum [2024-01-05T18:55:41.209Z] bab4dde63d76: Download complete [2024-01-05T18:55:42.146Z] b85a868b505f: Pull complete [2024-01-05T18:55:42.407Z] e2be974225ed: Pull complete [2024-01-05T18:55:42.666Z] 339a4e72a1f5: Pull complete [2024-01-05T18:55:42.929Z] 988bab9f4d93: Pull complete [2024-01-05T18:55:43.188Z] 1469e6f7b9e6: Pull complete [2024-01-05T18:55:43.188Z] eaf3925da568: Pull complete [2024-01-05T18:55:45.091Z] bab4dde63d76: Pull complete [2024-01-05T18:55:45.091Z] bde34c3a00c8: Pull complete [2024-01-05T18:55:45.091Z] b352a97aabf1: Pull complete [2024-01-05T18:55:45.351Z] 4872d77fe225: Pull complete [2024-01-05T18:55:45.351Z] 5851b861e8e6: Pull complete [2024-01-05T18:55:45.351Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-05T18:55:45.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T18:55:45.351Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T18:55:45.544Z] prd-ubuntu20.04-docker-8c-8g-26784 does not seem to be running inside a container [2024-01-05T18:55:45.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-05T18:55:49.261Z] $ docker top bfaec3647a7925f7873adc8588a6da184ac072676b5dc97d16270c519766c84f -eo pid,comm [2024-01-05T18:55:49.317Z] 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-05T18:55:49.317Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-05T18:55:49.409Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T18:55:49.409Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T18:55:49.510Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T18:55:49.511Z] $ docker exec bfaec3647a7925f7873adc8588a6da184ac072676b5dc97d16270c519766c84f ssh-agent [2024-01-05T18:55:49.629Z] SSH_AUTH_SOCK=/tmp/ssh-kY4l6faE8Bve/agent.32 [2024-01-05T18:55:49.630Z] SSH_AGENT_PID=38 [2024-01-05T18:55:49.636Z] Running ssh-add (command line suppressed) [2024-01-05T18:55:49.742Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_14837074365508458433.key (/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_14837074365508458433.key) [2024-01-05T18:55:49.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T18:55:50.059Z] + git tag --points-at HEAD [Pipeline] } [2024-01-05T18:55:50.066Z] $ docker exec --env ******** --env ******** bfaec3647a7925f7873adc8588a6da184ac072676b5dc97d16270c519766c84f ssh-agent -k [2024-01-05T18:55:50.153Z] unset SSH_AUTH_SOCK; [2024-01-05T18:55:50.154Z] unset SSH_AGENT_PID; [2024-01-05T18:55:50.154Z] echo Agent pid 38 killed; [2024-01-05T18:55:50.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-05T18:55:50.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T18:55:50.229Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T18:55:50.333Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T18:55:50.335Z] $ docker exec bfaec3647a7925f7873adc8588a6da184ac072676b5dc97d16270c519766c84f ssh-agent [2024-01-05T18:55:50.432Z] SSH_AUTH_SOCK=/tmp/ssh-4lMRwBlwOznQ/agent.70 [2024-01-05T18:55:50.432Z] SSH_AGENT_PID=76 [2024-01-05T18:55:50.436Z] Running ssh-add (command line suppressed) [2024-01-05T18:55:50.537Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_15830688801712243136.key (/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/private_key_15830688801712243136.key) [2024-01-05T18:55:50.552Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T18:55:50.851Z] + git semver init [2024-01-05T18:55:51.110Z] 2024-01-05 18:55:51,041 [run_init] DEBUG init version:0.0.0 force:False [2024-01-05T18:55:51.110Z] 2024-01-05 18:55:51,041 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver [2024-01-05T18:55:51.110Z] 2024-01-05 18:55:51,042 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver [2024-01-05T18:55:51.110Z] 2024-01-05 18:55:51,042 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506, universal_newlines=False, shell=None, istream=None) [2024-01-05T18:55:52.048Z] 2024-01-05 18:55:51,906 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.git/info/exclude [2024-01-05T18:55:52.048Z] 2024-01-05 18:55:51,907 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 with force:False [2024-01-05T18:55:52.048Z] 2024-01-05 18:55:51,907 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 [2024-01-05T18:55:52.048Z] 2024-01-05 18:55:51,911 [execute] INFO git cat-file --batch-check [2024-01-05T18:55:52.048Z] 2024-01-05 18:55:51,911 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver, universal_newlines=False, shell=None, istream=) [2024-01-05T18:55:52.048Z] 2024-01-05 18:55:51,917 [execute] INFO git cat-file --batch [2024-01-05T18:55:52.048Z] 2024-01-05 18:55:51,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver, universal_newlines=False, shell=None, istream=) [2024-01-05T18:55:52.048Z] 2024-01-05 18:55:51,923 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-506/.semver/PR-506 [2024-01-05T18:55:52.048Z] 0.0.0 [Pipeline] } [2024-01-05T18:55:52.056Z] $ docker exec --env ******** --env ******** bfaec3647a7925f7873adc8588a6da184ac072676b5dc97d16270c519766c84f ssh-agent -k [2024-01-05T18:55:52.165Z] unset SSH_AUTH_SOCK; [2024-01-05T18:55:52.166Z] unset SSH_AGENT_PID; [2024-01-05T18:55:52.166Z] echo Agent pid 76 killed; [2024-01-05T18:55:52.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-05T18:55:52.552Z] + git semver [Pipeline] } [2024-01-05T18:55:52.825Z] $ docker stop --time=1 bfaec3647a7925f7873adc8588a6da184ac072676b5dc97d16270c519766c84f [2024-01-05T18:55:54.095Z] $ docker rm -f --volumes bfaec3647a7925f7873adc8588a6da184ac072676b5dc97d16270c519766c84f [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-05T18:55:54.463Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-05T18:55:54.716Z] Stashed 1 file(s) [Pipeline] echo [2024-01-05T18:55:54.719Z] [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-05T18:55:55.023Z] provisioning config files... [2024-01-05T18:55:55.032Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config1340975430775807270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:55:55.347Z] ---> ****-login.sh [2024-01-05T18:55:55.347Z] nexus3.edgexfoundry.org:10001 [2024-01-05T18:55:55.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:55:55.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:55:55.347Z] Configure a credential helper to remove this warning. See [2024-01-05T18:55:55.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:55:55.347Z] [2024-01-05T18:55:55.347Z] Login Succeeded [2024-01-05T18:55:55.347Z] nexus3.edgexfoundry.org:10002 [2024-01-05T18:55:55.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:55:55.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:55:55.347Z] Configure a credential helper to remove this warning. See [2024-01-05T18:55:55.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:55:55.347Z] [2024-01-05T18:55:55.347Z] Login Succeeded [2024-01-05T18:55:55.347Z] nexus3.edgexfoundry.org:10003 [2024-01-05T18:55:55.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:55:55.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:55:55.662Z] Configure a credential helper to remove this warning. See [2024-01-05T18:55:55.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:55:55.662Z] [2024-01-05T18:55:55.662Z] Login Succeeded [2024-01-05T18:55:55.662Z] nexus3.edgexfoundry.org:10004 [2024-01-05T18:55:55.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:55:55.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:55:55.662Z] Configure a credential helper to remove this warning. See [2024-01-05T18:55:55.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:55:55.662Z] [2024-01-05T18:55:55.662Z] Login Succeeded [2024-01-05T18:55:55.662Z] ****.io [2024-01-05T18:55:55.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:55:55.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:55:55.920Z] Configure a credential helper to remove this warning. See [2024-01-05T18:55:55.921Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:55:55.921Z] [2024-01-05T18:55:55.921Z] Login Succeeded [2024-01-05T18:55:55.921Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T18:55:55.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-05T18:55:56.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T18:55:56.095Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-05T18:55:56.130Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T18:55:56.161Z] ========================================================= [2024-01-05T18:55:56.161Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-05T18:55:56.161Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:55:56.536Z] + 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-05T18:55:56.536Z] Sending build context to Docker daemon 4.985MB [2024-01-05T18:55:56.536Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-05T18:55:56.536Z] Step 2/21 : FROM ${BASE} as builder [2024-01-05T18:55:56.536Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-05T18:55:56.536Z] 96526aa774ef: Pulling fs layer [2024-01-05T18:55:56.536Z] da60e534fd72: Pulling fs layer [2024-01-05T18:55:56.796Z] 96526aa774ef: Verifying Checksum [2024-01-05T18:55:56.796Z] 96526aa774ef: Download complete [2024-01-05T18:55:56.796Z] 96526aa774ef: Pull complete [2024-01-05T18:55:57.731Z] da60e534fd72: Verifying Checksum [2024-01-05T18:55:57.731Z] da60e534fd72: Download complete [2024-01-05T18:56:01.037Z] da60e534fd72: Pull complete [2024-01-05T18:56:01.037Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-05T18:56:01.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-05T18:56:01.038Z] ---> 6605166a5db4 [2024-01-05T18:56:01.038Z] 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-05T18:56:02.945Z] ---> Running in 5ef67fa379b3 [2024-01-05T18:56:03.205Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-05T18:56:03.774Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T18:56:03.774Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T18:56:03.774Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T18:56:04.035Z] Removing intermediate container 5ef67fa379b3 [2024-01-05T18:56:04.035Z] ---> 521aa42f434e [2024-01-05T18:56:04.035Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T18:56:04.035Z] ---> Running in 18b172dcdcc3 [2024-01-05T18:56:04.606Z] Removing intermediate container 18b172dcdcc3 [2024-01-05T18:56:04.606Z] ---> 8b018a68f8d8 [2024-01-05T18:56:04.606Z] 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-05T18:56:04.606Z] ---> Running in 87870e405bcc [2024-01-05T18:56:04.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:05.433Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:05.433Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:05.999Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:56:05.999Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-05T18:56:05.999Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-05T18:56:05.999Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T18:56:06.569Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T18:56:06.830Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T18:56:07.090Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-05T18:56:07.090Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-05T18:56:07.090Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T18:56:07.090Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T18:56:07.090Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T18:56:07.090Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T18:56:07.090Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-05T18:56:07.090Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-05T18:56:07.090Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-05T18:56:07.090Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-05T18:56:07.090Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-05T18:56:07.090Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-05T18:56:07.090Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T18:56:07.090Z] OK: 336 MiB in 99 packages [2024-01-05T18:56:07.659Z] Removing intermediate container 87870e405bcc [2024-01-05T18:56:07.659Z] ---> cb8fcc5b38bb [2024-01-05T18:56:07.659Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-05T18:56:07.917Z] ---> Running in e6ce4bf11b50 [2024-01-05T18:56:08.489Z] Removing intermediate container e6ce4bf11b50 [2024-01-05T18:56:08.489Z] ---> dcc7fd320e9b [2024-01-05T18:56:08.489Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-05T18:56:08.752Z] ---> 8944cd2c6346 [2024-01-05T18:56:08.752Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-05T18:56:09.011Z] ---> 1aab4271c85e [2024-01-05T18:56:09.011Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-05T18:56:09.011Z] ---> 0485f7097223 [2024-01-05T18:56:09.011Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-05T18:56:09.270Z] ---> 426b1ff36310 [2024-01-05T18:56:09.270Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-05T18:56:09.270Z] ---> 60adb97673d2 [2024-01-05T18:56:09.270Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-05T18:56:09.528Z] ---> e5abced8b904 [2024-01-05T18:56:09.528Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-05T18:56:09.528Z] ---> Running in 591b4fead654 [2024-01-05T18:56:09.788Z] + CPPCHECK=false [2024-01-05T18:56:09.788Z] + DOCGEN=false [2024-01-05T18:56:09.788Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-05T18:56:09.788Z] + '[' 0 -gt 0 ] [2024-01-05T18:56:09.788Z] + readlink -f ./scripts/build.sh [2024-01-05T18:56:09.788Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-05T18:56:09.788Z] + dirname /tmp/sdk/scripts [2024-01-05T18:56:09.788Z] + ROOT=/tmp/sdk [2024-01-05T18:56:09.788Z] + cd /tmp/sdk [2024-01-05T18:56:09.788Z] + mkdir -p /tmp/sdk/build/release [2024-01-05T18:56:09.788Z] + cd /tmp/sdk/build/release [2024-01-05T18:56:09.788Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-05T18:56:09.788Z] -- The C compiler identification is GNU 12.2.1 [2024-01-05T18:56:09.788Z] -- Detecting C compiler ABI info [2024-01-05T18:56:09.914Z] Still waiting to schedule task [2024-01-05T18:56:09.914Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-05T18:56:10.051Z] -- Detecting C compiler ABI info - done [2024-01-05T18:56:10.052Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T18:56:10.052Z] -- Detecting C compile features [2024-01-05T18:56:10.052Z] -- Detecting C compile features - done [2024-01-05T18:56:10.052Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T18:56:10.052Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T18:56:10.052Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T18:56:10.052Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T18:56:10.052Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T18:56:10.052Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T18:56:10.052Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T18:56:10.052Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T18:56:10.052Z] -- /opt/iotech/iot/1.5/include [2024-01-05T18:56:10.052Z] -- C SDK 0.0.0 for Linux [2024-01-05T18:56:10.052Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T18:56:10.052Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T18:56:10.052Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-05T18:56:10.315Z] -- Configuring done (0.4s) [2024-01-05T18:56:10.315Z] -- Generating done (0.0s) [2024-01-05T18:56:10.315Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-05T18:56:10.315Z] + make all package [2024-01-05T18:56:10.315Z] + tee release.log [2024-01-05T18:56:10.315Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T18:56:10.315Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T18:56:10.576Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T18:56:10.576Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T18:56:10.837Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T18:56:10.837Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T18:56:11.099Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T18:56:11.358Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-05T18:56:11.358Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:56:11.358Z] 294 | while (privateConfig) [2024-01-05T18:56:11.358Z] | ^~~~~~~~~~~~~ [2024-01-05T18:56:11.358Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-05T18:56:11.358Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T18:56:11.358Z] | ^~~~~~~~~~~~~ [2024-01-05T18:56:11.358Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:56:11.358Z] 271 | while (result) [2024-01-05T18:56:11.358Z] | ^~~~~~ [2024-01-05T18:56:11.358Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-05T18:56:11.358Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T18:56:11.358Z] | ^~~~~~ [2024-01-05T18:56:11.358Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T18:56:11.358Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T18:56:11.358Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T18:56:11.927Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T18:56:11.927Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T18:56:11.927Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T18:56:12.186Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T18:56:12.186Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T18:56:12.445Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T18:56:12.445Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T18:56:12.705Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T18:56:12.705Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T18:56:13.016Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T18:56:13.016Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T18:56:14.392Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T18:56:14.392Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T18:56:14.392Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T18:56:14.392Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T18:56:14.392Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T18:56:14.652Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T18:56:15.220Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T18:56:15.220Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T18:56:15.220Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T18:56:15.480Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T18:56:15.480Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T18:56:15.480Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:56:15.480Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T18:56:15.480Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:56:15.480Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:56:15.480Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T18:56:15.480Z] | ^ [2024-01-05T18:56:15.739Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:56:15.739Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-05T18:56:15.739Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:56:15.739Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-05T18:56:15.739Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-05T18:56:15.739Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:56:15.739Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T18:56:15.997Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T18:56:15.997Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T18:56:15.997Z] [ 68%] Linking C shared library libcsdk.so [2024-01-05T18:56:15.997Z] [ 68%] Built target csdk [2024-01-05T18:56:15.997Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T18:56:16.255Z] [ 72%] Linking C executable template [2024-01-05T18:56:16.255Z] [ 72%] Built target template [2024-01-05T18:56:16.255Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T18:56:16.515Z] [ 76%] Linking C executable device-counter [2024-01-05T18:56:16.515Z] [ 76%] Built target device-counter [2024-01-05T18:56:16.515Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T18:56:16.515Z] [ 80%] Linking C executable device-random [2024-01-05T18:56:16.773Z] [ 80%] Built target device-random [2024-01-05T18:56:16.773Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T18:56:16.773Z] [ 84%] Linking C executable device-gyro [2024-01-05T18:56:16.773Z] [ 84%] Built target device-gyro [2024-01-05T18:56:16.773Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T18:56:17.033Z] [ 88%] Linking C executable device-bitfields [2024-01-05T18:56:17.033Z] [ 88%] Built target device-bitfields [2024-01-05T18:56:17.033Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T18:56:17.293Z] [ 92%] Linking C executable template-discovery [2024-01-05T18:56:17.293Z] [ 92%] Built target template-discovery [2024-01-05T18:56:17.293Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T18:56:17.293Z] [ 96%] Linking C executable device-file [2024-01-05T18:56:17.552Z] [ 96%] Built target device-file [2024-01-05T18:56:17.552Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T18:56:17.552Z] [100%] Linking C executable device-terminal [2024-01-05T18:56:17.552Z] [100%] Built target device-terminal [2024-01-05T18:56:17.812Z] Run CPack packaging tool... [2024-01-05T18:56:17.812Z] CPack: Create package using TGZ [2024-01-05T18:56:17.812Z] CPack: Install projects [2024-01-05T18:56:17.812Z] CPack: - Run preinstall target for: Csdk [2024-01-05T18:56:18.070Z] CPack: - Install project: Csdk [] [2024-01-05T18:56:18.071Z] CPack: Create package [2024-01-05T18:56:18.071Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-05T18:56:18.071Z] + '[' false '=' true ] [2024-01-05T18:56:18.071Z] + '[' false '=' true ] [2024-01-05T18:56:18.071Z] + mkdir -p /tmp/sdk/build/debug [2024-01-05T18:56:18.071Z] + cd /tmp/sdk/build/debug [2024-01-05T18:56:18.071Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-05T18:56:18.071Z] -- The C compiler identification is GNU 12.2.1 [2024-01-05T18:56:18.071Z] -- Detecting C compiler ABI info [2024-01-05T18:56:18.071Z] -- Detecting C compiler ABI info - done [2024-01-05T18:56:18.071Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T18:56:18.071Z] -- Detecting C compile features [2024-01-05T18:56:18.071Z] -- Detecting C compile features - done [2024-01-05T18:56:18.329Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T18:56:18.329Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T18:56:18.329Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T18:56:18.329Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T18:56:18.329Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T18:56:18.329Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T18:56:18.329Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T18:56:18.329Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T18:56:18.329Z] -- /opt/iotech/iot/1.5/include [2024-01-05T18:56:18.329Z] -- C SDK 0.0.0 for Linux [2024-01-05T18:56:18.329Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T18:56:18.329Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T18:56:18.329Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-05T18:56:18.329Z] -- Configuring done (0.5s) [2024-01-05T18:56:18.587Z] -- Generating done (0.0s) [2024-01-05T18:56:18.587Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-05T18:56:18.587Z] + make [2024-01-05T18:56:18.587Z] + tee debug.log [2024-01-05T18:56:18.587Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T18:56:18.587Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T18:56:18.587Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T18:56:18.846Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T18:56:18.846Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T18:56:18.846Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T18:56:19.104Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T18:56:19.105Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T18:56:19.105Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T18:56:19.364Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T18:56:19.364Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T18:56:19.364Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T18:56:19.622Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T18:56:19.622Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T18:56:19.622Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T18:56:19.622Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T18:56:19.881Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T18:56:19.881Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T18:56:19.881Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T18:56:19.881Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T18:56:20.141Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T18:56:20.400Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T18:56:20.400Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T18:56:20.400Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T18:56:20.400Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T18:56:20.658Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T18:56:20.658Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T18:56:20.917Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T18:56:20.917Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T18:56:20.917Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T18:56:21.177Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T18:56:21.177Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T18:56:21.177Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:56:21.177Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T18:56:21.177Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:56:21.177Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:56:21.177Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T18:56:21.177Z] | ^ [2024-01-05T18:56:21.177Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T18:56:21.434Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T18:56:21.434Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T18:56:21.434Z] [ 68%] Linking C shared library libcsdk.so [2024-01-05T18:56:21.434Z] [ 68%] Built target csdk [2024-01-05T18:56:21.434Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T18:56:21.693Z] [ 72%] Linking C executable template [2024-01-05T18:56:21.693Z] [ 72%] Built target template [2024-01-05T18:56:21.693Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T18:56:21.693Z] [ 76%] Linking C executable device-counter [2024-01-05T18:56:21.693Z] [ 76%] Built target device-counter [2024-01-05T18:56:21.693Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T18:56:21.952Z] [ 80%] Linking C executable device-random [2024-01-05T18:56:21.952Z] [ 80%] Built target device-random [2024-01-05T18:56:21.952Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T18:56:21.952Z] [ 84%] Linking C executable device-gyro [2024-01-05T18:56:21.952Z] [ 84%] Built target device-gyro [2024-01-05T18:56:22.210Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T18:56:22.210Z] [ 88%] Linking C executable device-bitfields [2024-01-05T18:56:22.210Z] [ 88%] Built target device-bitfields [2024-01-05T18:56:22.210Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T18:56:22.210Z] [ 92%] Linking C executable template-discovery [2024-01-05T18:56:22.469Z] [ 92%] Built target template-discovery [2024-01-05T18:56:22.469Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T18:56:22.469Z] [ 96%] Linking C executable device-file [2024-01-05T18:56:22.469Z] [ 96%] Built target device-file [2024-01-05T18:56:22.469Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T18:56:22.729Z] [100%] Linking C executable device-terminal [2024-01-05T18:56:22.729Z] [100%] Built target device-terminal [2024-01-05T18:56:22.729Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-05T18:56:22.729Z] [ 68%] Built target csdk [2024-01-05T18:56:22.729Z] [ 72%] Built target template [2024-01-05T18:56:22.729Z] [ 76%] Built target device-counter [2024-01-05T18:56:22.729Z] [ 80%] Built target device-random [2024-01-05T18:56:22.729Z] [ 84%] Built target device-gyro [2024-01-05T18:56:22.729Z] [ 88%] Built target device-bitfields [2024-01-05T18:56:23.058Z] [ 92%] Built target template-discovery [2024-01-05T18:56:23.058Z] [ 96%] Built target device-file [2024-01-05T18:56:23.058Z] [100%] Built target device-terminal [2024-01-05T18:56:23.058Z] Install the project... [2024-01-05T18:56:23.058Z] -- Install configuration: "Release" [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-05T18:56:23.058Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include/devsdk [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include/edgex [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-05T18:56:23.058Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-05T18:56:23.058Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-05T18:56:23.629Z] Removing intermediate container 591b4fead654 [2024-01-05T18:56:23.629Z] ---> 6590b2996676 [2024-01-05T18:56:23.629Z] Step 14/21 : FROM ${BASE} [2024-01-05T18:56:23.629Z] ---> 6605166a5db4 [2024-01-05T18:56:23.629Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-05T18:56:23.629Z] ---> Running in ab9c59802082 [2024-01-05T18:56:23.629Z] Removing intermediate container ab9c59802082 [2024-01-05T18:56:23.629Z] ---> b063f6f34059 [2024-01-05T18:56:23.629Z] 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-05T18:56:23.629Z] ---> Running in 729928042e47 [2024-01-05T18:56:23.887Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-05T18:56:24.456Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T18:56:24.456Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T18:56:24.456Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T18:56:24.715Z] Removing intermediate container 729928042e47 [2024-01-05T18:56:24.715Z] ---> 0523a7e24481 [2024-01-05T18:56:24.715Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T18:56:24.715Z] ---> Running in 8213a0d80905 [2024-01-05T18:56:25.284Z] Removing intermediate container 8213a0d80905 [2024-01-05T18:56:25.284Z] ---> 85073b6850c2 [2024-01-05T18:56:25.284Z] 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-05T18:56:25.284Z] ---> Running in 9d08805ba065 [2024-01-05T18:56:25.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:25.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:25.543Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:26.113Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:56:26.113Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T18:56:26.113Z] (2/9) Installing curl (8.5.0-r0) [2024-01-05T18:56:26.113Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T18:56:26.113Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-05T18:56:26.113Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-05T18:56:26.113Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T18:56:27.050Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T18:56:27.050Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-05T18:56:27.050Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-05T18:56:27.050Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T18:56:27.050Z] OK: 331 MiB in 89 packages [2024-01-05T18:56:27.618Z] Removing intermediate container 9d08805ba065 [2024-01-05T18:56:27.618Z] ---> 6113b313c011 [2024-01-05T18:56:27.618Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-05T18:56:27.618Z] ---> 1ccef3132978 [2024-01-05T18:56:27.618Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-05T18:56:27.876Z] ---> bac3fbc8a0c3 [2024-01-05T18:56:27.877Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-05T18:56:27.877Z] ---> 7fc8752ae8fb [2024-01-05T18:56:27.877Z] Successfully built 7fc8752ae8fb [2024-01-05T18:56:27.877Z] 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-05T18:56:28.419Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-05T18:56:28.419Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T18:56:28.532Z] prd-ubuntu20.04-docker-8c-8g-26784 does not seem to be running inside a container [2024-01-05T18:56:28.564Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-05T18:56:28.930Z] $ docker top d8ea278438078c3b5801a4b5607cf25c3eb10fdc257a5b03735cd69b2a9e3ec6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T18:56:29.307Z] + make test [2024-01-05T18:56:29.307Z] echo "make test" [2024-01-05T18:56:29.307Z] make test [Pipeline] } [2024-01-05T18:56:29.320Z] $ docker stop --time=1 d8ea278438078c3b5801a4b5607cf25c3eb10fdc257a5b03735cd69b2a9e3ec6 [2024-01-05T18:56:30.606Z] $ docker rm -f --volumes d8ea278438078c3b5801a4b5607cf25c3eb10fdc257a5b03735cd69b2a9e3ec6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T18:56:31.410Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-05T18:56:31.699Z] + ls -al . [2024-01-05T18:56:31.700Z] total 212 [2024-01-05T18:56:31.700Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 5 18:55 . [2024-01-05T18:56:31.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:55 .. [2024-01-05T18:56:31.700Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 18:55 .git [2024-01-05T18:56:31.700Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 18:55 .github [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 5 18:55 .gitignore [2024-01-05T18:56:31.700Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 5 18:55 .semver [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 5 18:55 Attribution.txt [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 5 18:55 CHANGELOG.md [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 5 18:55 Doxyfile [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 18:55 GOVERNANCE.md [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 5 18:55 Jenkinsfile [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 5 18:55 LICENSE [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 5 18:55 Makefile [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 5 18:55 OWNERS.md [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 5 18:55 README.IOT.md [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 5 18:55 README.md [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 5 18:55 README.v3.md [2024-01-05T18:56:31.700Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 18:55 VERSION [2024-01-05T18:56:31.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 18:55 docs [2024-01-05T18:56:31.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:55 include [2024-01-05T18:56:31.700Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 18:55 scripts [2024-01-05T18:56:31.700Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:56:32.054Z] + 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=0f06ee722825ae8c08f1f75992d93b7cc7286083 --label arch=amd64 --label version=0.0.0 . [2024-01-05T18:56:32.054Z] Sending build context to Docker daemon 4.985MB [2024-01-05T18:56:32.054Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-05T18:56:32.054Z] Step 2/17 : FROM ${BASE} [2024-01-05T18:56:32.054Z] ---> 7fc8752ae8fb [2024-01-05T18:56:32.054Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-05T18:56:32.054Z] ---> Running in 427910b9e9f6 [2024-01-05T18:56:32.315Z] Removing intermediate container 427910b9e9f6 [2024-01-05T18:56:32.315Z] ---> 4ac9c2cfffeb [2024-01-05T18:56:32.315Z] 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-05T18:56:32.315Z] ---> Running in a7ef6c03a51c [2024-01-05T18:56:32.574Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-05T18:56:32.834Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T18:56:32.834Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T18:56:32.834Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T18:56:33.094Z] Removing intermediate container a7ef6c03a51c [2024-01-05T18:56:33.094Z] ---> 38dd56eadd53 [2024-01-05T18:56:33.094Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T18:56:33.354Z] ---> Running in c167d23abc94 [2024-01-05T18:56:33.921Z] Removing intermediate container c167d23abc94 [2024-01-05T18:56:33.921Z] ---> b310797a8fd8 [2024-01-05T18:56:33.921Z] 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-05T18:56:33.921Z] ---> Running in a29603514bb7 [2024-01-05T18:56:34.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:34.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:34.180Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:34.749Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:56:34.749Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T18:56:35.007Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-05T18:56:35.007Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T18:56:35.007Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T18:56:35.007Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T18:56:35.007Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T18:56:35.007Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-05T18:56:35.007Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-05T18:56:35.007Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-05T18:56:35.007Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-05T18:56:35.007Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-05T18:56:35.409Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T18:56:35.409Z] OK: 336 MiB in 100 packages [2024-01-05T18:56:35.978Z] Removing intermediate container a29603514bb7 [2024-01-05T18:56:35.978Z] ---> ab7d9147f7aa [2024-01-05T18:56:35.978Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-05T18:56:35.978Z] ---> 989a4e7e4c9c [2024-01-05T18:56:35.978Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-05T18:56:36.237Z] ---> df981be6f5ef [2024-01-05T18:56:36.237Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-05T18:56:36.237Z] ---> f0020c2b0ba2 [2024-01-05T18:56:36.237Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-05T18:56:36.496Z] ---> d284080f2558 [2024-01-05T18:56:36.496Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-05T18:56:36.496Z] ---> 7b584ff1a357 [2024-01-05T18:56:36.496Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-05T18:56:36.757Z] ---> bca3c8106ac0 [2024-01-05T18:56:36.757Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-05T18:56:36.757Z] ---> Running in 0fef33ad260f [2024-01-05T18:56:36.757Z] Removing intermediate container 0fef33ad260f [2024-01-05T18:56:36.757Z] ---> 8b675e10c740 [2024-01-05T18:56:36.757Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-05T18:56:36.757Z] ---> Running in 833067dbcb45 [2024-01-05T18:56:36.757Z] Removing intermediate container 833067dbcb45 [2024-01-05T18:56:36.757Z] ---> c4b9869c4d9e [2024-01-05T18:56:36.757Z] Step 15/17 : LABEL arch=amd64 [2024-01-05T18:56:36.757Z] ---> Running in c4c07028c64c [2024-01-05T18:56:37.016Z] Removing intermediate container c4c07028c64c [2024-01-05T18:56:37.016Z] ---> 71f33067dd09 [2024-01-05T18:56:37.016Z] Step 16/17 : LABEL git_sha=0f06ee722825ae8c08f1f75992d93b7cc7286083 [2024-01-05T18:56:37.016Z] ---> Running in cbc8b80f1df1 [2024-01-05T18:56:37.016Z] Removing intermediate container cbc8b80f1df1 [2024-01-05T18:56:37.016Z] ---> e03f345dc5e8 [2024-01-05T18:56:37.016Z] Step 17/17 : LABEL version=0.0.0 [2024-01-05T18:56:37.016Z] ---> Running in a9da4c251182 [2024-01-05T18:56:37.016Z] Removing intermediate container a9da4c251182 [2024-01-05T18:56:37.016Z] ---> d6af00a100f2 [2024-01-05T18:56:37.016Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-05T18:56:37.016Z] Successfully built d6af00a100f2 [2024-01-05T18:56:37.016Z] 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-05T18:56:37.763Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T18:56:37.763Z] [2024-01-05T18:56:37.763Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:56:38.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T18:56:38.082Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-05T18:56:38.082Z] 5eb5b503b376: Pulling fs layer [2024-01-05T18:56:38.082Z] 5c69ac0246d0: Pulling fs layer [2024-01-05T18:56:38.082Z] ec43610c2a17: Pulling fs layer [2024-01-05T18:56:38.082Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-05T18:56:38.082Z] 33b1e0a273af: Pulling fs layer [2024-01-05T18:56:38.082Z] 5d3b04190fa2: Pulling fs layer [2024-01-05T18:56:38.082Z] 2f39f015ded8: Pulling fs layer [2024-01-05T18:56:38.082Z] 33b1e0a273af: Waiting [2024-01-05T18:56:38.082Z] 5d3b04190fa2: Waiting [2024-01-05T18:56:38.082Z] 2f39f015ded8: Waiting [2024-01-05T18:56:38.082Z] 3a2ae6a8a46f: Waiting [2024-01-05T18:56:38.082Z] 5c69ac0246d0: Verifying Checksum [2024-01-05T18:56:38.082Z] 5c69ac0246d0: Download complete [2024-01-05T18:56:38.082Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-05T18:56:38.082Z] 3a2ae6a8a46f: Download complete [2024-01-05T18:56:38.082Z] 33b1e0a273af: Verifying Checksum [2024-01-05T18:56:38.082Z] 33b1e0a273af: Download complete [2024-01-05T18:56:38.082Z] 5d3b04190fa2: Verifying Checksum [2024-01-05T18:56:38.082Z] 5d3b04190fa2: Download complete [2024-01-05T18:56:38.082Z] ec43610c2a17: Verifying Checksum [2024-01-05T18:56:38.082Z] ec43610c2a17: Download complete [2024-01-05T18:56:38.340Z] 5eb5b503b376: Verifying Checksum [2024-01-05T18:56:38.340Z] 5eb5b503b376: Download complete [2024-01-05T18:56:38.908Z] 2f39f015ded8: Download complete [2024-01-05T18:56:39.473Z] 5eb5b503b376: Pull complete [2024-01-05T18:56:39.473Z] 5c69ac0246d0: Pull complete [2024-01-05T18:56:40.038Z] ec43610c2a17: Pull complete [2024-01-05T18:56:40.038Z] 3a2ae6a8a46f: Pull complete [2024-01-05T18:56:40.296Z] 33b1e0a273af: Pull complete [2024-01-05T18:56:40.296Z] 5d3b04190fa2: Pull complete [2024-01-05T18:56:44.478Z] 2f39f015ded8: Pull complete [2024-01-05T18:56:44.478Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-05T18:56:44.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T18:56:44.478Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T18:56:44.662Z] prd-ubuntu20.04-docker-8c-8g-26784 does not seem to be running inside a container [2024-01-05T18:56:44.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-05T18:56:50.371Z] $ docker top 15dada1d6deeed3227bac1353779daf2829d420cf44e99d07eb308ec3f413ca0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:56:50.823Z] ---> job-cost.sh [2024-01-05T18:56:50.823Z] lf-activate-venv: SKIPPING [2024-01-05T18:56:50.823Z] INFO: No Stack... [2024-01-05T18:56:51.081Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T18:56:51.340Z] INFO: Archiving Costs [Pipeline] sh [2024-01-05T18:56:51.633Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/cost.csv [2024-01-05T18:56:51.633Z] + cut -d, -f6 [Pipeline] lock [2024-01-05T18:56:51.649Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-506-5-stack-cost] [2024-01-05T18:56:51.658Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-506-5-stack-cost] did not exist. Created. [2024-01-05T18:56:51.658Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-506-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-05T18:56:52.015Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-05T18:56:52.057Z] Stashed 1 file(s) [Pipeline] } [2024-01-05T18:56:52.067Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-506-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-05T18:56:52.200Z] $ docker stop --time=1 15dada1d6deeed3227bac1353779daf2829d420cf44e99d07eb308ec3f413ca0 [2024-01-05T18:56:53.337Z] $ docker rm -f --volumes 15dada1d6deeed3227bac1353779daf2829d420cf44e99d07eb308ec3f413ca0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-05T18:57:49.708Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26787 in /w/workspace/edgexfoundry_device-sdk-c_PR-506 [Pipeline] { [Pipeline] ws [2024-01-05T18:57:49.745Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2024-01-05T18:57:52.822Z] Selected Git installation does not exist. Using Default [2024-01-05T18:57:52.822Z] The recommended git tool is: NONE [2024-01-05T18:57:59.170Z] using credential edgex-jenkins-ssh [2024-01-05T18:57:59.192Z] Cloning the remote Git repository [2024-01-05T18:57:59.243Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T18:57:59.348Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2024-01-05T18:57:59.512Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T18:57:59.513Z] > git --version # timeout=10 [2024-01-05T18:57:59.532Z] > git --version # 'git version 2.25.1' [2024-01-05T18:57:59.535Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-05T18:57:59.690Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-05T18:58:01.703Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-05T18:58:01.723Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-05T18:58:02.566Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-05T18:58:02.605Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T18:58:02.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-05T18:58:02.621Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/506/head:refs/remotes/origin/PR-506 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-05T18:58:03.266Z] Merging remotes/origin/main commit cc49468877935c119f35277098ef123672d1c8b2 into PR head commit cc6030f98c33a14dda0a6095f4ce0474184eaaa8 [2024-01-05T18:58:03.671Z] Merge succeeded, producing 67257d9d0af9a4fbe37f633fcec41ef2b3845acb [2024-01-05T18:58:03.671Z] Checking out Revision 67257d9d0af9a4fbe37f633fcec41ef2b3845acb (PR-506) [2024-01-05T18:58:03.285Z] > git config core.sparsecheckout # timeout=10 [2024-01-05T18:58:03.354Z] > git checkout -f cc6030f98c33a14dda0a6095f4ce0474184eaaa8 # timeout=10 [2024-01-05T18:58:03.470Z] > git remote # timeout=10 [2024-01-05T18:58:03.487Z] > git config --get remote.origin.url # timeout=10 [2024-01-05T18:58:03.500Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-05T18:58:03.512Z] > git merge cc49468877935c119f35277098ef123672d1c8b2 # timeout=10 [2024-01-05T18:58:03.655Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-05T18:58:03.678Z] > git config core.sparsecheckout # timeout=10 [2024-01-05T18:58:03.692Z] > git checkout -f 67257d9d0af9a4fbe37f633fcec41ef2b3845acb # timeout=10 [2024-01-05T18:58:07.234Z] Commit message: "Merge commit 'cc49468877935c119f35277098ef123672d1c8b2' into HEAD" [2024-01-05T18:58:07.242Z] > git rev-list --no-walk cc6030f98c33a14dda0a6095f4ce0474184eaaa8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T18:58:08.482Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-05T18:58:08.482Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-05T18:58:08.482Z] Dload Upload Total Spent Left Speed [2024-01-05T18:58:08.482Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 83434 0 --:--:-- --:--:-- --:--:-- 83434 [Pipeline] sh [2024-01-05T18:58:08.933Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-05T18:58:09.254Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2024-01-05T18:58:09.255Z] /etc/docker/daemon.new [2024-01-05T18:58:09.255Z] { [2024-01-05T18:58:09.255Z] "registry-mirrors": [ [2024-01-05T18:58:09.255Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-05T18:58:09.255Z] ], [2024-01-05T18:58:09.255Z] "bip": "10.250.0.254/24", [2024-01-05T18:58:09.255Z] "hosts": [ [2024-01-05T18:58:09.255Z] "tcp://0.0.0.0:5555", [2024-01-05T18:58:09.255Z] "unix:///var/run/docker.sock" [2024-01-05T18:58:09.255Z] ], [2024-01-05T18:58:09.255Z] "mtu": 1458, [2024-01-05T18:58:09.255Z] "selinux-enabled": true, [2024-01-05T18:58:09.255Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-05T18:58:09.255Z] } [Pipeline] sh [2024-01-05T18:58:09.573Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-05T18:58:09.898Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T18:58:28.209Z] provisioning config files... [2024-01-05T18:58:28.236Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config7114159927407887000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:58:28.660Z] ---> ****-login.sh [2024-01-05T18:58:28.660Z] nexus3.edgexfoundry.org:10001 [2024-01-05T18:58:28.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:58:29.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:58:29.195Z] Configure a credential helper to remove this warning. See [2024-01-05T18:58:29.195Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:58:29.195Z] [2024-01-05T18:58:29.195Z] Login Succeeded [2024-01-05T18:58:29.195Z] nexus3.edgexfoundry.org:10002 [2024-01-05T18:58:29.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:58:29.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:58:29.462Z] Configure a credential helper to remove this warning. See [2024-01-05T18:58:29.462Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:58:29.462Z] [2024-01-05T18:58:29.462Z] Login Succeeded [2024-01-05T18:58:29.462Z] nexus3.edgexfoundry.org:10003 [2024-01-05T18:58:29.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:58:29.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:58:29.731Z] Configure a credential helper to remove this warning. See [2024-01-05T18:58:29.731Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:58:29.731Z] [2024-01-05T18:58:29.731Z] Login Succeeded [2024-01-05T18:58:29.731Z] nexus3.edgexfoundry.org:10004 [2024-01-05T18:58:30.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:58:30.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:58:30.000Z] Configure a credential helper to remove this warning. See [2024-01-05T18:58:30.000Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:58:30.000Z] [2024-01-05T18:58:30.000Z] Login Succeeded [2024-01-05T18:58:30.000Z] ****.io [2024-01-05T18:58:30.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:58:30.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:58:30.540Z] Configure a credential helper to remove this warning. See [2024-01-05T18:58:30.540Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:58:30.540Z] [2024-01-05T18:58:30.540Z] Login Succeeded [2024-01-05T18:58:30.540Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T18:58:30.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-05T18:58:30.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T18:58:30.966Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-05T18:58:31.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T18:58:31.035Z] ========================================================= [2024-01-05T18:58:31.035Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-05T18:58:31.035Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:58:31.455Z] + 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-05T18:58:32.419Z] #0 building with "default" instance using docker driver [2024-01-05T18:58:32.419Z] [2024-01-05T18:58:32.419Z] #1 [internal] load .dockerignore [2024-01-05T18:58:32.419Z] #1 transferring context: 2B done [2024-01-05T18:58:32.419Z] #1 DONE 0.1s [2024-01-05T18:58:32.419Z] [2024-01-05T18:58:32.419Z] #2 [internal] load build definition from Dockerfile.alpine-base [2024-01-05T18:58:32.419Z] #2 transferring dockerfile: 2.04kB done [2024-01-05T18:58:32.419Z] #2 DONE 0.1s [2024-01-05T18:58:32.691Z] [2024-01-05T18:58:32.691Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-05T18:58:32.691Z] #3 DONE 0.1s [2024-01-05T18:58:32.691Z] [2024-01-05T18:58:32.691Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-05T18:58:32.691Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-05T18:58:32.960Z] #4 ... [2024-01-05T18:58:32.960Z] [2024-01-05T18:58:32.960Z] #5 [internal] load build context [2024-01-05T18:58:32.960Z] #5 transferring context: 627.84kB 0.1s done [2024-01-05T18:58:32.960Z] #5 DONE 0.2s [2024-01-05T18:58:32.960Z] [2024-01-05T18:58:32.960Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-05T18:58:32.960Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-05T18:58:32.960Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-05T18:58:32.960Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-05T18:58:32.960Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 3.32MB / 109.51MB 0.2s [2024-01-05T18:58:32.960Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-05T18:58:33.232Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.31MB / 109.51MB 0.4s [2024-01-05T18:58:33.232Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 18.87MB / 109.51MB 0.5s [2024-01-05T18:58:33.232Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-05T18:58:33.501Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 25.17MB / 109.51MB 0.6s [2024-01-05T18:58:33.501Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 35.62MB / 109.51MB 0.8s [2024-01-05T18:58:33.501Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 41.37MB / 109.51MB 0.9s [2024-01-05T18:58:33.770Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 47.19MB / 109.51MB 1.0s [2024-01-05T18:58:34.038Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 58.72MB / 109.51MB 1.2s [2024-01-05T18:58:34.038Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 65.01MB / 109.51MB 1.3s [2024-01-05T18:58:34.305Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 82.84MB / 109.51MB 1.6s [2024-01-05T18:58:34.571Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 99.61MB / 109.51MB 1.9s [2024-01-05T18:58:34.841Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 105.91MB / 109.51MB 2.0s [2024-01-05T18:58:35.109Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.2s done [2024-01-05T18:58:35.109Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-05T18:58:40.458Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s [2024-01-05T18:58:45.800Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 10.2s [2024-01-05T18:58:48.379Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.2s done [2024-01-05T18:58:48.650Z] #4 DONE 15.8s [2024-01-05T18:58:48.650Z] [2024-01-05T18:58:48.650Z] #6 [stage-1 2/7] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-05T18:58:49.236Z] #6 0.640 Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-05T18:58:49.821Z] #6 1.157 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T18:58:49.821Z] #6 1.157 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T18:58:49.821Z] #6 1.157 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T18:58:50.414Z] #6 DONE 1.9s [2024-01-05T18:58:50.414Z] [2024-01-05T18:58:50.414Z] #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T18:58:51.392Z] #7 DONE 0.9s [2024-01-05T18:58:51.392Z] [2024-01-05T18:58:51.392Z] #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-05T18:58:52.818Z] #8 1.119 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T18:58:53.087Z] #8 1.523 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T18:58:53.674Z] #8 2.110 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T18:58:54.638Z] #8 3.056 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:58:54.638Z] #8 3.102 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T18:58:54.638Z] #8 3.143 (2/9) Installing curl (8.5.0-r0) [2024-01-05T18:58:54.638Z] #8 3.162 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T18:58:54.638Z] #8 3.184 (4/9) Installing hiredis (1.1.0-r2) [2024-01-05T18:58:54.638Z] #8 3.195 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-05T18:58:54.638Z] #8 3.223 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T18:58:55.604Z] #8 4.038 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T18:58:55.604Z] #8 4.275 (8/9) Installing libcbor (0.10.2-r1) [2024-01-05T18:58:55.604Z] #8 4.284 (9/9) Installing libuuid (2.38.1-r8) [2024-01-05T18:58:55.604Z] #8 4.292 Executing busybox-1.36.1-r4.trigger [2024-01-05T18:58:55.875Z] #8 4.345 OK: 327 MiB in 89 packages [2024-01-05T18:58:59.277Z] #8 DONE 7.5s [2024-01-05T18:58:59.277Z] [2024-01-05T18:58:59.277Z] #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-05T18:58:59.277Z] #9 1.081 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T18:58:59.277Z] #9 1.519 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T18:58:59.277Z] #9 2.164 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T18:58:59.277Z] #9 3.092 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:58:59.277Z] #9 3.123 (1/17) Installing hiredis (1.1.0-r2) [2024-01-05T18:58:59.277Z] #9 3.133 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-05T18:58:59.277Z] #9 3.164 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T18:58:59.277Z] #9 3.959 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T18:58:59.277Z] #9 4.080 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T18:58:59.277Z] #9 4.307 (6/17) Installing libcbor (0.10.2-r1) [2024-01-05T18:58:59.277Z] #9 4.314 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-05T18:58:59.277Z] #9 4.332 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T18:58:59.277Z] #9 4.340 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T18:58:59.277Z] #9 4.346 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T18:58:59.277Z] #9 4.355 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T18:58:59.277Z] #9 4.397 (12/17) Installing libblkid (2.38.1-r8) [2024-01-05T18:58:59.277Z] #9 4.413 (13/17) Installing libuuid (2.38.1-r8) [2024-01-05T18:58:59.277Z] #9 4.420 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-05T18:58:59.277Z] #9 4.439 (15/17) Installing libmount (2.38.1-r8) [2024-01-05T18:58:59.277Z] #9 4.460 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-05T18:58:59.277Z] #9 4.475 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-05T18:58:59.277Z] #9 4.562 Executing busybox-1.36.1-r4.trigger [2024-01-05T18:58:59.277Z] #9 4.610 OK: 333 MiB in 99 packages [2024-01-05T18:58:59.277Z] #9 DONE 7.5s [2024-01-05T18:58:59.277Z] [2024-01-05T18:58:59.277Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-05T18:58:59.864Z] #10 DONE 1.0s [2024-01-05T18:58:59.864Z] [2024-01-05T18:58:59.864Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-05T18:58:59.864Z] #11 DONE 0.1s [2024-01-05T18:59:00.143Z] [2024-01-05T18:59:00.143Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-05T18:59:00.143Z] #12 DONE 0.2s [2024-01-05T18:59:00.143Z] [2024-01-05T18:59:00.143Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-05T18:59:00.412Z] #13 DONE 0.1s [2024-01-05T18:59:00.412Z] [2024-01-05T18:59:00.412Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-05T18:59:00.412Z] #14 DONE 0.1s [2024-01-05T18:59:00.412Z] [2024-01-05T18:59:00.412Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-05T18:59:00.412Z] #15 DONE 0.1s [2024-01-05T18:59:00.412Z] [2024-01-05T18:59:00.412Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-05T18:59:00.684Z] #16 DONE 0.1s [2024-01-05T18:59:00.685Z] [2024-01-05T18:59:00.685Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-05T18:59:01.272Z] #17 0.572 + CPPCHECK=false [2024-01-05T18:59:01.272Z] #17 0.572 + DOCGEN=false [2024-01-05T18:59:01.272Z] #17 0.572 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-05T18:59:01.272Z] #17 0.572 + '[' 0 -gt 0 ] [2024-01-05T18:59:01.272Z] #17 0.575 + readlink -f ./scripts/build.sh [2024-01-05T18:59:01.272Z] #17 0.577 + dirname /tmp/sdk/scripts/build.sh [2024-01-05T18:59:01.272Z] #17 0.578 + dirname /tmp/sdk/scripts [2024-01-05T18:59:01.272Z] #17 0.580 + ROOT=/tmp/sdk [2024-01-05T18:59:01.272Z] #17 0.580 + cd /tmp/sdk [2024-01-05T18:59:01.272Z] #17 0.580 + mkdir -p /tmp/sdk/build/release [2024-01-05T18:59:01.272Z] #17 0.584 + cd /tmp/sdk/build/release [2024-01-05T18:59:01.272Z] #17 0.584 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-05T18:59:01.541Z] #17 0.930 -- The C compiler identification is GNU 12.2.1 [2024-01-05T18:59:01.541Z] #17 1.013 -- Detecting C compiler ABI info [2024-01-05T18:59:02.129Z] #17 1.369 -- Detecting C compiler ABI info - done [2024-01-05T18:59:02.129Z] #17 1.482 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T18:59:02.129Z] #17 1.484 -- Detecting C compile features [2024-01-05T18:59:02.129Z] #17 1.488 -- Detecting C compile features - done [2024-01-05T18:59:02.129Z] #17 1.512 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T18:59:02.397Z] #17 1.701 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T18:59:02.397Z] #17 1.718 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T18:59:02.397Z] #17 1.734 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T18:59:02.397Z] #17 1.750 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T18:59:02.397Z] #17 1.765 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T18:59:02.397Z] #17 1.780 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T18:59:02.397Z] #17 1.797 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T18:59:02.397Z] #17 1.797 -- /opt/iotech/iot/1.5/include [2024-01-05T18:59:02.397Z] #17 1.797 -- C SDK 0.0.0 for Linux [2024-01-05T18:59:02.397Z] #17 1.810 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T18:59:02.666Z] #17 2.147 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T18:59:02.934Z] #17 2.315 -- Found Curses: /usr/lib/libcurses.so [2024-01-05T18:59:02.934Z] #17 2.430 -- Configuring done (1.8s) [2024-01-05T18:59:03.216Z] #17 2.694 -- Generating done (0.2s) [2024-01-05T18:59:03.483Z] #17 2.712 -- Build files have been written to: /tmp/sdk/build/release [2024-01-05T18:59:03.483Z] #17 2.736 + make all package [2024-01-05T18:59:03.483Z] #17 2.737 + tee release.log [2024-01-05T18:59:03.483Z] #17 2.867 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T18:59:04.069Z] #17 3.595 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T18:59:05.493Z] #17 4.516 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T18:59:06.076Z] #17 5.323 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T18:59:06.659Z] #17 6.135 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T18:59:07.687Z] #17 6.766 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T18:59:09.637Z] #17 9.094 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T18:59:10.604Z] #17 9.979 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-05T18:59:10.604Z] #17 9.979 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:59:10.604Z] #17 9.979 294 | while (privateConfig) [2024-01-05T18:59:10.604Z] #17 9.979 | ^~~~~~~~~~~~~ [2024-01-05T18:59:10.604Z] #17 9.979 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-05T18:59:10.604Z] #17 9.979 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T18:59:10.604Z] #17 9.979 | ^~~~~~~~~~~~~ [2024-01-05T18:59:10.604Z] #17 9.979 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:59:10.604Z] #17 9.979 271 | while (result) [2024-01-05T18:59:10.604Z] #17 9.979 | ^~~~~~ [2024-01-05T18:59:10.604Z] #17 9.979 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-05T18:59:10.604Z] #17 9.979 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T18:59:10.604Z] #17 9.979 | ^~~~~~ [2024-01-05T18:59:10.874Z] #17 10.29 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T18:59:11.141Z] #17 10.52 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T18:59:12.105Z] #17 11.35 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T18:59:14.056Z] #17 13.20 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T18:59:14.642Z] #17 13.89 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T18:59:15.607Z] #17 14.83 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T18:59:16.212Z] #17 15.70 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T18:59:16.825Z] #17 16.22 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T18:59:18.238Z] #17 17.28 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T18:59:18.238Z] #17 17.64 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T18:59:20.826Z] #17 20.08 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T18:59:21.413Z] #17 20.52 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T18:59:22.002Z] #17 21.15 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T18:59:23.514Z] #17 22.62 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T18:59:31.737Z] #17 30.13 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T18:59:31.737Z] #17 30.80 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T18:59:32.005Z] #17 31.23 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T18:59:32.596Z] #17 31.83 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T18:59:32.865Z] #17 32.17 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T18:59:34.276Z] #17 33.73 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T18:59:36.859Z] #17 35.91 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T18:59:37.126Z] #17 36.38 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T18:59:38.086Z] #17 37.31 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T18:59:38.672Z] #17 37.94 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T18:59:38.940Z] #17 38.22 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T18:59:38.940Z] #17 38.23 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:59:38.940Z] #17 38.23 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T18:59:38.940Z] #17 38.23 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:59:38.940Z] #17 38.23 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:59:38.940Z] #17 38.23 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T18:59:38.940Z] #17 38.23 | ^ [2024-01-05T18:59:40.355Z] #17 39.71 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:59:40.355Z] #17 39.71 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-05T18:59:40.355Z] #17 39.71 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:59:40.355Z] #17 39.71 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-05T18:59:40.355Z] #17 39.71 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-05T18:59:40.355Z] #17 39.71 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:59:41.315Z] #17 40.73 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T18:59:42.278Z] #17 41.48 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T18:59:42.546Z] #17 41.82 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T18:59:42.813Z] #17 42.34 [ 68%] Linking C shared library libcsdk.so [2024-01-05T18:59:43.081Z] #17 42.54 [ 68%] Built target csdk [2024-01-05T18:59:43.081Z] #17 42.60 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T18:59:44.044Z] #17 43.41 [ 72%] Linking C executable template [2024-01-05T18:59:44.311Z] #17 43.77 [ 72%] Built target template [2024-01-05T18:59:44.579Z] #17 43.83 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T18:59:44.848Z] #17 44.36 [ 76%] Linking C executable device-counter [2024-01-05T18:59:45.431Z] #17 44.84 [ 76%] Built target device-counter [2024-01-05T18:59:45.431Z] #17 44.90 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T18:59:46.015Z] #17 45.39 [ 80%] Linking C executable device-random [2024-01-05T18:59:46.601Z] #17 45.72 [ 80%] Built target device-random [2024-01-05T18:59:46.601Z] #17 45.78 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T18:59:46.872Z] #17 46.27 [ 84%] Linking C executable device-gyro [2024-01-05T18:59:47.454Z] #17 46.61 [ 84%] Built target device-gyro [2024-01-05T18:59:47.454Z] #17 46.66 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T18:59:47.722Z] #17 47.16 [ 88%] Linking C executable device-bitfields [2024-01-05T18:59:48.395Z] #17 47.47 [ 88%] Built target device-bitfields [2024-01-05T18:59:48.395Z] #17 47.53 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T18:59:48.993Z] #17 48.45 [ 92%] Linking C executable template-discovery [2024-01-05T18:59:49.592Z] #17 48.98 [ 92%] Built target template-discovery [2024-01-05T18:59:49.592Z] #17 49.04 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T18:59:50.575Z] #17 49.83 [ 96%] Linking C executable device-file [2024-01-05T18:59:50.851Z] #17 50.21 [ 96%] Built target device-file [2024-01-05T18:59:50.851Z] #17 50.27 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T18:59:51.442Z] #17 50.97 [100%] Linking C executable device-terminal [2024-01-05T18:59:52.030Z] #17 51.40 [100%] Built target device-terminal [2024-01-05T18:59:52.030Z] #17 51.46 Run CPack packaging tool... [2024-01-05T18:59:52.030Z] #17 51.51 CPack: Create package using TGZ [2024-01-05T18:59:52.300Z] #17 51.51 CPack: Install projects [2024-01-05T18:59:52.300Z] #17 51.51 CPack: - Run preinstall target for: Csdk [2024-01-05T18:59:53.267Z] #17 52.48 CPack: - Install project: Csdk [] [2024-01-05T18:59:53.267Z] #17 52.52 CPack: Create package [2024-01-05T18:59:53.267Z] #17 52.62 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-05T18:59:53.267Z] #17 52.63 + '[' false '=' true ] [2024-01-05T18:59:53.267Z] #17 52.63 + '[' false '=' true ] [2024-01-05T18:59:53.267Z] #17 52.63 + mkdir -p /tmp/sdk/build/debug [2024-01-05T18:59:53.267Z] #17 52.63 + cd /tmp/sdk/build/debug [2024-01-05T18:59:53.267Z] #17 52.63 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-05T18:59:53.537Z] #17 53.05 -- The C compiler identification is GNU 12.2.1 [2024-01-05T18:59:53.811Z] #17 53.15 -- Detecting C compiler ABI info [2024-01-05T18:59:54.403Z] #17 53.58 -- Detecting C compiler ABI info - done [2024-01-05T18:59:54.403Z] #17 53.71 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T18:59:54.403Z] #17 53.72 -- Detecting C compile features [2024-01-05T18:59:54.403Z] #17 53.72 -- Detecting C compile features - done [2024-01-05T18:59:54.403Z] #17 53.75 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T18:59:54.672Z] #17 53.94 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T18:59:54.672Z] #17 53.96 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T18:59:54.672Z] #17 53.98 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T18:59:54.672Z] #17 54.00 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T18:59:54.672Z] #17 54.02 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T18:59:54.672Z] #17 54.04 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T18:59:54.672Z] #17 54.06 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T18:59:54.672Z] #17 54.06 -- /opt/iotech/iot/1.5/include [2024-01-05T18:59:54.672Z] #17 54.06 -- C SDK 0.0.0 for Linux [2024-01-05T18:59:54.672Z] #17 54.07 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T18:59:54.941Z] #17 54.45 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T18:59:55.211Z] #17 54.65 -- Found Curses: /usr/lib/libcurses.so [2024-01-05T18:59:55.483Z] #17 54.82 -- Configuring done (2.2s) [2024-01-05T18:59:55.755Z] #17 55.17 -- Generating done (0.3s) [2024-01-05T18:59:56.033Z] #17 55.19 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-05T18:59:56.033Z] #17 55.22 + make [2024-01-05T18:59:56.033Z] #17 55.22 + tee debug.log [2024-01-05T18:59:56.033Z] #17 55.38 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T18:59:56.621Z] #17 55.96 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T18:59:57.209Z] #17 56.54 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T18:59:57.796Z] #17 57.05 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T18:59:58.514Z] #17 57.58 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T18:59:58.786Z] #17 58.12 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T18:59:59.750Z] #17 59.09 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T19:00:00.335Z] #17 59.73 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T19:00:00.603Z] #17 59.90 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T19:00:01.188Z] #17 60.35 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T19:00:01.774Z] #17 61.06 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T19:00:02.045Z] #17 61.43 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T19:00:02.629Z] #17 61.89 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T19:00:02.895Z] #17 62.27 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T19:00:03.162Z] #17 62.60 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T19:00:03.751Z] #17 62.99 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T19:00:03.751Z] #17 63.21 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T19:00:04.710Z] #17 64.06 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T19:00:04.977Z] #17 64.34 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T19:00:05.243Z] #17 64.57 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T19:00:05.825Z] #17 65.21 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T19:00:07.236Z] #17 66.47 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T19:00:07.505Z] #17 66.87 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T19:00:07.776Z] #17 67.17 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T19:00:08.361Z] #17 67.50 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T19:00:08.628Z] #17 67.78 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T19:00:08.896Z] #17 68.31 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T19:00:10.314Z] #17 69.62 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T19:00:10.583Z] #17 69.91 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T19:00:11.166Z] #17 70.35 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T19:00:11.433Z] #17 70.76 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T19:00:11.701Z] #17 71.09 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T19:00:11.701Z] #17 71.09 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T19:00:11.701Z] #17 71.09 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T19:00:11.701Z] #17 71.09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T19:00:11.701Z] #17 71.09 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T19:00:11.701Z] #17 71.09 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T19:00:11.701Z] #17 71.09 | ^ [2024-01-05T19:00:12.286Z] #17 71.73 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T19:00:12.869Z] #17 72.14 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T19:00:13.135Z] #17 72.47 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T19:00:13.402Z] #17 72.79 [ 68%] Linking C shared library libcsdk.so [2024-01-05T19:00:13.670Z] #17 73.05 [ 68%] Built target csdk [2024-01-05T19:00:13.670Z] #17 73.10 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T19:00:14.255Z] #17 73.51 [ 72%] Linking C executable template [2024-01-05T19:00:14.525Z] #17 73.92 [ 72%] Built target template [2024-01-05T19:00:14.793Z] #17 73.98 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T19:00:15.061Z] #17 74.39 [ 76%] Linking C executable device-counter [2024-01-05T19:00:15.331Z] #17 74.78 [ 76%] Built target device-counter [2024-01-05T19:00:15.601Z] #17 74.84 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T19:00:15.868Z] #17 75.25 [ 80%] Linking C executable device-random [2024-01-05T19:00:16.455Z] #17 75.63 [ 80%] Built target device-random [2024-01-05T19:00:16.455Z] #17 75.69 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T19:00:16.724Z] #17 76.02 [ 84%] Linking C executable device-gyro [2024-01-05T19:00:16.993Z] #17 76.37 [ 84%] Built target device-gyro [2024-01-05T19:00:16.993Z] #17 76.43 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T19:00:17.581Z] #17 76.77 [ 88%] Linking C executable device-bitfields [2024-01-05T19:00:17.849Z] #17 77.10 [ 88%] Built target device-bitfields [2024-01-05T19:00:17.849Z] #17 77.16 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T19:00:18.118Z] #17 77.57 [ 92%] Linking C executable template-discovery [2024-01-05T19:00:18.706Z] #17 77.91 [ 92%] Built target template-discovery [2024-01-05T19:00:18.706Z] #17 77.97 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T19:00:18.975Z] #17 78.36 [ 96%] Linking C executable device-file [2024-01-05T19:00:19.243Z] #17 78.74 [ 96%] Built target device-file [2024-01-05T19:00:19.511Z] #17 78.80 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T19:00:20.096Z] #17 79.28 [100%] Linking C executable device-terminal [2024-01-05T19:00:20.365Z] #17 79.64 [100%] Built target device-terminal [2024-01-05T19:00:20.365Z] #17 79.69 make: Entering directory '/tmp/sdk/build/release' [2024-01-05T19:00:20.632Z] #17 79.86 [ 68%] Built target csdk [2024-01-05T19:00:20.632Z] #17 79.93 [ 72%] Built target template [2024-01-05T19:00:20.632Z] #17 80.00 [ 76%] Built target device-counter [2024-01-05T19:00:20.632Z] #17 80.07 [ 80%] Built target device-random [2024-01-05T19:00:20.900Z] #17 80.13 [ 84%] Built target device-gyro [2024-01-05T19:00:20.900Z] #17 80.20 [ 88%] Built target device-bitfields [2024-01-05T19:00:20.900Z] #17 80.27 [ 92%] Built target template-discovery [2024-01-05T19:00:20.900Z] #17 80.34 [ 96%] Built target device-file [2024-01-05T19:00:21.170Z] #17 80.41 [100%] Built target device-terminal [2024-01-05T19:00:21.170Z] #17 80.47 Install the project... [2024-01-05T19:00:21.170Z] #17 80.50 -- Install configuration: "Release" [2024-01-05T19:00:21.170Z] #17 80.50 -- Installing: /usr/local/lib/libcsdk.so [2024-01-05T19:00:21.170Z] #17 80.51 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-05T19:00:21.170Z] #17 80.51 -- Installing: /usr/local/include [2024-01-05T19:00:21.170Z] #17 80.51 -- Installing: /usr/local/include/devsdk [2024-01-05T19:00:21.170Z] #17 80.51 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-05T19:00:21.170Z] #17 80.51 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-05T19:00:21.170Z] #17 80.52 -- Installing: /usr/local/include/edgex [2024-01-05T19:00:21.170Z] #17 80.52 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-05T19:00:21.170Z] #17 80.52 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-05T19:00:21.170Z] #17 80.52 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-05T19:00:21.170Z] #17 80.52 -- Installing: /usr/local/include/edgex/devices.h [2024-01-05T19:00:21.170Z] #17 80.52 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-05T19:00:21.170Z] #17 80.52 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-05T19:00:21.170Z] #17 80.52 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-05T19:00:21.170Z] #17 80.53 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-05T19:00:21.170Z] #17 80.54 make: Leaving directory '/tmp/sdk/build/release' [2024-01-05T19:00:21.444Z] #17 DONE 80.7s [2024-01-05T19:00:21.444Z] [2024-01-05T19:00:21.444Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-05T19:00:21.716Z] #18 DONE 0.2s [2024-01-05T19:00:21.716Z] [2024-01-05T19:00:21.716Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-05T19:00:21.716Z] #19 DONE 0.1s [2024-01-05T19:00:21.716Z] [2024-01-05T19:00:21.716Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-05T19:00:21.716Z] #20 DONE 0.1s [2024-01-05T19:00:21.984Z] [2024-01-05T19:00:21.984Z] #21 exporting to image [2024-01-05T19:00:21.984Z] #21 exporting layers [2024-01-05T19:00:22.251Z] #21 exporting layers 0.3s done [2024-01-05T19:00:22.251Z] #21 writing image sha256:ea6257b81b2c5837b655b3390e20798fe282eb733d7b8ad0cc84d4660ac691b5 done [2024-01-05T19:00:22.251Z] #21 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-05T19:00:22.251Z] #21 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:00:22.890Z] + docker inspect -f . ci-base-image-arm64 [2024-01-05T19:00:22.890Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T19:00:23.154Z] prd-ubuntu20.04-docker-arm64-4c-16g-26787 does not seem to be running inside a container [2024-01-05T19:00:23.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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-05T19:00:26.381Z] $ docker top 6a6545585b189dbc56ddc6cd579d3acf72d47cd4590760c90a9f8bcbcf199095 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T19:00:27.243Z] + make test [2024-01-05T19:00:27.243Z] echo "make test" [2024-01-05T19:00:27.243Z] make test [Pipeline] } [2024-01-05T19:00:27.263Z] $ docker stop --time=1 6a6545585b189dbc56ddc6cd579d3acf72d47cd4590760c90a9f8bcbcf199095 [2024-01-05T19:00:28.872Z] $ docker rm -f --volumes 6a6545585b189dbc56ddc6cd579d3acf72d47cd4590760c90a9f8bcbcf199095 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T19:00:29.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-05T19:00:30.009Z] + ls -al . [2024-01-05T19:00:30.009Z] total 208 [2024-01-05T19:00:30.009Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 18:58 . [2024-01-05T19:00:30.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:57 .. [2024-01-05T19:00:30.009Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 18:58 .git [2024-01-05T19:00:30.009Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 18:58 .github [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 5 18:58 .gitignore [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 5 18:58 Attribution.txt [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 5 18:58 CHANGELOG.md [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 5 18:58 Doxyfile [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 18:58 GOVERNANCE.md [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 5 18:58 Jenkinsfile [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 5 18:58 LICENSE [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 5 18:58 Makefile [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 5 18:58 OWNERS.md [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 5 18:58 README.IOT.md [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 5 18:58 README.md [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 5 18:58 README.v3.md [2024-01-05T19:00:30.009Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 18:55 VERSION [2024-01-05T19:00:30.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 18:58 docs [2024-01-05T19:00:30.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:58 include [2024-01-05T19:00:30.009Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 18:58 scripts [2024-01-05T19:00:30.009Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:58 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:00:30.423Z] + 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=67257d9d0af9a4fbe37f633fcec41ef2b3845acb --label arch=arm64 --label version=0.0.0 . [2024-01-05T19:00:31.013Z] #0 building with "default" instance using docker driver [2024-01-05T19:00:31.013Z] [2024-01-05T19:00:31.013Z] #1 [internal] load build definition from Dockerfile.alpine [2024-01-05T19:00:31.013Z] #1 transferring dockerfile: 37B [2024-01-05T19:00:31.280Z] #1 transferring dockerfile: 1.44kB done [2024-01-05T19:00:31.280Z] #1 DONE 0.0s [2024-01-05T19:00:31.280Z] [2024-01-05T19:00:31.280Z] #2 [internal] load .dockerignore [2024-01-05T19:00:31.280Z] #2 transferring context: 2B done [2024-01-05T19:00:31.280Z] #2 DONE 0.0s [2024-01-05T19:00:31.280Z] [2024-01-05T19:00:31.280Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-05T19:00:31.280Z] #3 DONE 0.0s [2024-01-05T19:00:31.280Z] [2024-01-05T19:00:31.280Z] #4 [internal] load build context [2024-01-05T19:00:31.280Z] #4 transferring context: 8.55kB 0.1s done [2024-01-05T19:00:31.280Z] #4 DONE 0.1s [2024-01-05T19:00:31.280Z] [2024-01-05T19:00:31.280Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-05T19:00:31.280Z] #5 DONE 0.2s [2024-01-05T19:00:31.547Z] [2024-01-05T19:00:31.547Z] #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-05T19:00:32.129Z] #6 0.609 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-05T19:00:32.395Z] #6 1.109 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T19:00:32.395Z] #6 1.110 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T19:00:32.395Z] #6 1.110 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T19:00:32.395Z] #6 DONE 1.2s [2024-01-05T19:00:32.664Z] [2024-01-05T19:00:32.664Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T19:00:33.637Z] #7 DONE 1.0s [2024-01-05T19:00:33.637Z] [2024-01-05T19:00:33.637Z] #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-05T19:00:34.600Z] #8 0.824 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:00:34.866Z] #8 1.151 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T19:00:35.134Z] #8 1.687 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:00:36.108Z] #8 2.675 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T19:00:36.108Z] #8 2.718 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T19:00:36.694Z] #8 3.039 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-05T19:00:36.694Z] #8 3.060 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T19:00:36.694Z] #8 3.066 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T19:00:36.694Z] #8 3.072 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T19:00:36.694Z] #8 3.081 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T19:00:36.694Z] #8 3.111 (7/11) Installing libblkid (2.38.1-r8) [2024-01-05T19:00:36.694Z] #8 3.125 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-05T19:00:36.694Z] #8 3.141 (9/11) Installing libmount (2.38.1-r8) [2024-01-05T19:00:36.694Z] #8 3.156 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-05T19:00:36.694Z] #8 3.169 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-05T19:00:36.694Z] #8 3.244 Executing busybox-1.36.1-r4.trigger [2024-01-05T19:00:36.968Z] #8 3.290 OK: 333 MiB in 100 packages [2024-01-05T19:00:39.547Z] #8 DONE 6.2s [2024-01-05T19:00:39.817Z] [2024-01-05T19:00:39.817Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-05T19:00:39.817Z] #9 DONE 0.1s [2024-01-05T19:00:40.084Z] [2024-01-05T19:00:40.084Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-05T19:00:40.084Z] #10 DONE 0.2s [2024-01-05T19:00:40.084Z] [2024-01-05T19:00:40.084Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-05T19:00:40.350Z] #11 DONE 0.1s [2024-01-05T19:00:40.350Z] [2024-01-05T19:00:40.350Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-05T19:00:40.350Z] #12 DONE 0.1s [2024-01-05T19:00:40.350Z] [2024-01-05T19:00:40.350Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-05T19:00:40.350Z] #13 DONE 0.1s [2024-01-05T19:00:40.350Z] [2024-01-05T19:00:40.350Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-05T19:00:40.350Z] #14 DONE 0.1s [2024-01-05T19:00:40.617Z] [2024-01-05T19:00:40.617Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-05T19:00:40.617Z] #15 DONE 0.1s [2024-01-05T19:00:40.617Z] [2024-01-05T19:00:40.617Z] #16 exporting to image [2024-01-05T19:00:40.617Z] #16 exporting layers [2024-01-05T19:00:41.202Z] #16 exporting layers 0.5s done [2024-01-05T19:00:41.203Z] #16 writing image sha256:d235ed47f068ba4c886586531de84a18260fb5e1a5abf7ecad38514a64c34a2c done [2024-01-05T19:00:41.203Z] #16 naming to docker.io/library/device-sdk-arm64 0.0s done [2024-01-05T19:00:41.203Z] #16 DONE 0.5s [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-05T19:00:41.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T19:00:41.944Z] [2024-01-05T19:00:41.944Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:00:42.316Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T19:00:42.583Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-05T19:00:42.583Z] 8998bd30e6a1: Pulling fs layer [2024-01-05T19:00:42.583Z] 04944245beec: Pulling fs layer [2024-01-05T19:00:42.583Z] 699f458cf7ca: Pulling fs layer [2024-01-05T19:00:42.583Z] 765212b225bb: Pulling fs layer [2024-01-05T19:00:42.583Z] f23df028b6ca: Pulling fs layer [2024-01-05T19:00:42.583Z] d65c8cfc05b1: Pulling fs layer [2024-01-05T19:00:42.583Z] 2437ff75d9bd: Pulling fs layer [2024-01-05T19:00:42.583Z] f23df028b6ca: Waiting [2024-01-05T19:00:42.584Z] 765212b225bb: Waiting [2024-01-05T19:00:42.584Z] 2437ff75d9bd: Waiting [2024-01-05T19:00:42.584Z] 04944245beec: Verifying Checksum [2024-01-05T19:00:42.584Z] 04944245beec: Download complete [2024-01-05T19:00:42.584Z] 765212b225bb: Verifying Checksum [2024-01-05T19:00:42.851Z] 765212b225bb: Download complete [2024-01-05T19:00:42.851Z] f23df028b6ca: Verifying Checksum [2024-01-05T19:00:42.851Z] f23df028b6ca: Download complete [2024-01-05T19:00:42.851Z] d65c8cfc05b1: Verifying Checksum [2024-01-05T19:00:42.851Z] d65c8cfc05b1: Download complete [2024-01-05T19:00:42.851Z] 699f458cf7ca: Download complete [2024-01-05T19:00:43.439Z] 8998bd30e6a1: Verifying Checksum [2024-01-05T19:00:43.439Z] 8998bd30e6a1: Download complete [2024-01-05T19:00:45.382Z] 2437ff75d9bd: Verifying Checksum [2024-01-05T19:00:45.382Z] 2437ff75d9bd: Download complete [2024-01-05T19:00:49.635Z] 8998bd30e6a1: Pull complete [2024-01-05T19:00:49.904Z] 04944245beec: Pull complete [2024-01-05T19:00:54.165Z] 699f458cf7ca: Pull complete [2024-01-05T19:00:54.165Z] 765212b225bb: Pull complete [2024-01-05T19:00:55.124Z] f23df028b6ca: Pull complete [2024-01-05T19:00:55.124Z] d65c8cfc05b1: Pull complete [2024-01-05T19:01:17.160Z] 2437ff75d9bd: Pull complete [2024-01-05T19:01:17.160Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-05T19:01:17.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T19:01:17.160Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T19:01:17.447Z] prd-ubuntu20.04-docker-arm64-4c-16g-26787 does not seem to be running inside a container [2024-01-05T19:01:17.508Z] $ 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/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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-05T19:01:18.893Z] $ docker top dee862857b057b4ec7b132108d5be0c840d64077837dddec0706747618fb5c8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:01:19.464Z] ---> job-cost.sh [2024-01-05T19:01:19.730Z] lf-activate-venv: SKIPPING [2024-01-05T19:01:19.730Z] INFO: No Stack... [2024-01-05T19:01:20.689Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T19:01:21.272Z] INFO: Archiving Costs [Pipeline] sh [2024-01-05T19:01:21.595Z] + cat /w/workspace/device-sdk-c/5/archives/cost.csv [2024-01-05T19:01:21.595Z] + cut -d, -f6 [Pipeline] lock [2024-01-05T19:01:21.658Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-506-5-stack-cost] [2024-01-05T19:01:21.667Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-506-5-stack-cost] did not exist. Created. [2024-01-05T19:01:21.667Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-506-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-05T19:01:22.083Z] /w/workspace/device-sdk-c/5@tmp/durable-1b9770f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-05T19:01:22.409Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-05T19:01:22.427Z] Warning: overwriting stash ‘stack-cost’ [2024-01-05T19:01:22.935Z] Stashed 1 file(s) [Pipeline] } [2024-01-05T19:01:22.943Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-506-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-05T19:01:23.026Z] $ docker stop --time=1 dee862857b057b4ec7b132108d5be0c840d64077837dddec0706747618fb5c8a [2024-01-05T19:01:25.166Z] $ docker rm -f --volumes dee862857b057b4ec7b132108d5be0c840d64077837dddec0706747618fb5c8a [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-05T19:01:26.918Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives ] [2024-01-05T19:01:26.918Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives [2024-01-05T19:01:26.918Z] total 16 [2024-01-05T19:01:26.918Z] drwxr-xr-x 3 root root 4096 Jan 5 18:56 . [2024-01-05T19:01:26.918Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 18:56 .. [2024-01-05T19:01:26.918Z] drwxr-xr-x 2 root root 4096 Jan 5 18:56 cost [2024-01-05T19:01:26.918Z] -rw-r--r-- 1 root root 84 Jan 5 18:56 cost.csv [2024-01-05T19:01:26.918Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives [2024-01-05T19:01:26.918Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives [2024-01-05T19:01:26.918Z] total 16 [2024-01-05T19:01:26.918Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 5 18:56 . [2024-01-05T19:01:26.918Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 18:56 .. [2024-01-05T19:01:26.918Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 5 18:56 cost [2024-01-05T19:01:26.918Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 5 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:01:27.212Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:01:28.070Z] ---> package-listing.sh [2024-01-05T19:01:28.070Z] ++ facter osfamily [2024-01-05T19:01:28.070Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-05T19:01:28.329Z] + OS_FAMILY=debian [2024-01-05T19:01:28.329Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-506 [2024-01-05T19:01:28.329Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-05T19:01:28.329Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-05T19:01:28.329Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-05T19:01:28.329Z] + PACKAGES=/tmp/packages_start.txt [2024-01-05T19:01:28.329Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-506 ']' [2024-01-05T19:01:28.329Z] + PACKAGES=/tmp/packages_end.txt [2024-01-05T19:01:28.329Z] + case "${OS_FAMILY}" in [2024-01-05T19:01:28.329Z] + dpkg -l [2024-01-05T19:01:28.329Z] + grep '^ii' [2024-01-05T19:01:28.329Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-05T19:01:28.329Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-05T19:01:28.329Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-05T19:01:28.329Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-506 ']' [2024-01-05T19:01:28.329Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/ [2024-01-05T19:01:28.329Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-506/archives/ [Pipeline] echo [2024-01-05T19:01:28.341Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-05T19:01:28.619Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:01:29.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T19:01:29.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T19:01:29.351Z] prd-ubuntu20.04-docker-8c-8g-26784 does not seem to be running inside a container [2024-01-05T19:01:29.387Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-506 -v /w/workspace/edgexfoundry_device-sdk-c_PR-506:/w/workspace/edgexfoundry_device-sdk-c_PR-506:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-05T19:01:29.550Z] $ docker top 0040bd162a329eb996f567e75756ea835f5175a2a83b15ffe77bf5d8182673c7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T19:01:30.022Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-05T19:01:30.358Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-05T19:01:30.655Z] + ls /var/log/sa-host [2024-01-05T19:01:30.655Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T19:01:30.930Z] provisioning config files... [2024-01-05T19:01:30.939Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-506@tmp/config4374525256734043969tmp [Pipeline] { [Pipeline] echo [2024-01-05T19:01:31.010Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:01:31.291Z] ---> create-netrc.sh [Pipeline] } [2024-01-05T19:01:31.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:01:31.707Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-05T19:01:31.715Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:01:31.999Z] ---> sudo-logs.sh [2024-01-05T19:01:31.999Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-05T19:01:32.076Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:01:32.362Z] ---> job-cost.sh [2024-01-05T19:01:32.362Z] lf-activate-venv: SKIPPING [2024-01-05T19:01:32.362Z] DEBUG: total: 0.2199999988079071 [2024-01-05T19:01:32.362Z] INFO: Retrieving Stack Cost... [2024-01-05T19:01:32.622Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T19:01:32.883Z] INFO: Archiving Costs [Pipeline] echo [2024-01-05T19:01:32.896Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:01:33.183Z] ---> logs-deploy.sh [2024-01-05T19:01:33.183Z] lf-activate-venv: SKIPPING [2024-01-05T19:01:33.183Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-506/5 [2024-01-05T19:01:33.183Z] INFO: archiving workspace using pattern(s): [2024-01-05T19:01:34.118Z] Archives upload complete. [2024-01-05T19:01:34.118Z] INFO: archiving logs to Nexus