Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 88225b2b2af007b234a268bddf4c2374904aaf88+cc49468877935c119f35277098ef123672d1c8b2 (3bbefa0e962a2c487947dcc9534b3a2ac27fedeb) 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-ssh5310569158449000797.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-ssh17346114587514330134.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11383643864437817911.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-ssh17991082241506634026.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-500/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3516550566041791094.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-26785 in /w/workspace/edgexfoundry_device-sdk-c_PR-500 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-500 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cc49468877935c119f35277098ef123672d1c8b2 into PR head commit 88225b2b2af007b234a268bddf4c2374904aaf88 Merge succeeded, producing 57a2b1448e450a24b214ac7469d3a5865c461bfc Checking out Revision 57a2b1448e450a24b214ac7469d3a5865c461bfc (PR-500) > git config core.sparsecheckout # timeout=10 > git checkout -f 88225b2b2af007b234a268bddf4c2374904aaf88 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cc49468877935c119f35277098ef123672d1c8b2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57a2b1448e450a24b214ac7469d3a5865c461bfc # timeout=10 Commit message: "Merge commit 'cc49468877935c119f35277098ef123672d1c8b2' into HEAD" > git rev-list --no-walk 88225b2b2af007b234a268bddf4c2374904aaf88 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-05T18:56:01.900Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-05T18:56:01.974Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-05T18:56:02.003Z] ========================================================= [2024-01-05T18:56:02.003Z] EdgeX Global Pipelines Version Info [2024-01-05T18:56:02.003Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:56:02.740Z] ------------------- [2024-01-05T18:56:02.741Z] stable info: [2024-01-05T18:56:02.741Z] ------------------- [2024-01-05T18:56:02.741Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-05T18:56:02.741Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-05T18:56:02.741Z] Message: update stable to v1.0.258 [2024-01-05T18:56:03.312Z] ------------------- [2024-01-05T18:56:03.312Z] experimental info: [2024-01-05T18:56:03.312Z] ------------------- [2024-01-05T18:56:03.312Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-05T18:56:03.312Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-05T18:56:03.312Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-05T18:56:03.402Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-05T18:56:03.431Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-05T18:56:03.460Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-05T18:56:03.486Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-05T18:56:03.509Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-05T18:56:03.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-05T18:56:03.569Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-05T18:56:03.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-05T18:56:03.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-05T18:56:03.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-05T18:56:03.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-05T18:56:03.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-05T18:56:03.760Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-05T18:56:03.789Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-05T18:56:03.826Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-05T18:56:03.862Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-05T18:56:03.895Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-05T18:56:03.928Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-500 [Pipeline] echo [2024-01-05T18:56:03.959Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-500 [Pipeline] echo [2024-01-05T18:56:03.996Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-500 [Pipeline] echo [2024-01-05T18:56:04.042Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57a2b1448e450a24b214ac7469d3a5865c461bfc [Pipeline] echo [2024-01-05T18:56:04.075Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57a2b14 [Pipeline] echo [2024-01-05T18:56:04.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T18:56:04.245Z] provisioning config files... [2024-01-05T18:56:04.258Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config610683792477299663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:56:04.588Z] ---> ****-login.sh [2024-01-05T18:56:04.588Z] nexus3.edgexfoundry.org:10001 [2024-01-05T18:56:04.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:56:04.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:56:04.849Z] Configure a credential helper to remove this warning. See [2024-01-05T18:56:04.849Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:56:04.849Z] [2024-01-05T18:56:04.849Z] Login Succeeded [2024-01-05T18:56:04.849Z] nexus3.edgexfoundry.org:10002 [2024-01-05T18:56:04.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:56:04.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:56:04.849Z] Configure a credential helper to remove this warning. See [2024-01-05T18:56:04.849Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:56:04.849Z] [2024-01-05T18:56:04.849Z] Login Succeeded [2024-01-05T18:56:04.849Z] nexus3.edgexfoundry.org:10003 [2024-01-05T18:56:04.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:56:05.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:56:05.113Z] Configure a credential helper to remove this warning. See [2024-01-05T18:56:05.113Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:56:05.113Z] [2024-01-05T18:56:05.113Z] Login Succeeded [2024-01-05T18:56:05.114Z] nexus3.edgexfoundry.org:10004 [2024-01-05T18:56:05.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:56:05.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:56:05.114Z] Configure a credential helper to remove this warning. See [2024-01-05T18:56:05.114Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:56:05.114Z] [2024-01-05T18:56:05.114Z] Login Succeeded [2024-01-05T18:56:05.114Z] ****.io [2024-01-05T18:56:05.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:56:05.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:56:05.684Z] Configure a credential helper to remove this warning. See [2024-01-05T18:56:05.684Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:56:05.684Z] [2024-01-05T18:56:05.684Z] Login Succeeded [2024-01-05T18:56:05.684Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T18:56:05.692Z] 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:56:06.179Z] + git rev-list -1 --merges 57a2b1448e450a24b214ac7469d3a5865c461bfc~1..57a2b1448e450a24b214ac7469d3a5865c461bfc [Pipeline] echo [2024-01-05T18:56:06.206Z] -----------> git rev-list -1 --merges 57a2b1448e450a24b214ac7469d3a5865c461bfc~1..57a2b1448e450a24b214ac7469d3a5865c461bfc 57a2b1448e450a24b214ac7469d3a5865c461bfc [2024-01-05T18:56:06.206Z] 57a2b1448e450a24b214ac7469d3a5865c461bfc [false] [Pipeline] sh [2024-01-05T18:56:06.511Z] + git log --format=format:%s -1 57a2b1448e450a24b214ac7469d3a5865c461bfc [Pipeline] echo [2024-01-05T18:56:06.527Z] ========================================================= [2024-01-05T18:56:06.527Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-05T18:56:06.527Z] ========================================================= 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:56:07.061Z] + git rev-list -1 --merges 57a2b1448e450a24b214ac7469d3a5865c461bfc~1..57a2b1448e450a24b214ac7469d3a5865c461bfc [Pipeline] echo [2024-01-05T18:56:07.072Z] -----------> git rev-list -1 --merges 57a2b1448e450a24b214ac7469d3a5865c461bfc~1..57a2b1448e450a24b214ac7469d3a5865c461bfc 57a2b1448e450a24b214ac7469d3a5865c461bfc [2024-01-05T18:56:07.072Z] 57a2b1448e450a24b214ac7469d3a5865c461bfc [false] [Pipeline] sh [2024-01-05T18:56:07.369Z] + git log --format=format:%s -1 57a2b1448e450a24b214ac7469d3a5865c461bfc [Pipeline] echo [2024-01-05T18:56:07.385Z] ========================================================= [2024-01-05T18:56:07.385Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-05T18:56:07.385Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-05T18:56:07.787Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-05T18:56:07.788Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-05T18:56:07.788Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-05T18:56:07.788Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-05T18:56:07.788Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-05T18:56:07.788Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-05T18:56:07.788Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:56:08.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T18:56:08.165Z] [2024-01-05T18:56:08.165Z] 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:56:08.475Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T18:56:08.475Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-05T18:56:08.475Z] b85a868b505f: Pulling fs layer [2024-01-05T18:56:08.475Z] e2be974225ed: Pulling fs layer [2024-01-05T18:56:08.475Z] 339a4e72a1f5: Pulling fs layer [2024-01-05T18:56:08.475Z] 988bab9f4d93: Pulling fs layer [2024-01-05T18:56:08.475Z] 1469e6f7b9e6: Pulling fs layer [2024-01-05T18:56:08.475Z] eaf3925da568: Pulling fs layer [2024-01-05T18:56:08.475Z] bab4dde63d76: Pulling fs layer [2024-01-05T18:56:08.475Z] bde34c3a00c8: Pulling fs layer [2024-01-05T18:56:08.475Z] b352a97aabf1: Pulling fs layer [2024-01-05T18:56:08.475Z] 4872d77fe225: Pulling fs layer [2024-01-05T18:56:08.475Z] 5851b861e8e6: Pulling fs layer [2024-01-05T18:56:08.475Z] bab4dde63d76: Waiting [2024-01-05T18:56:08.475Z] b352a97aabf1: Waiting [2024-01-05T18:56:08.475Z] 4872d77fe225: Waiting [2024-01-05T18:56:08.475Z] bde34c3a00c8: Waiting [2024-01-05T18:56:08.475Z] 988bab9f4d93: Waiting [2024-01-05T18:56:08.475Z] eaf3925da568: Waiting [2024-01-05T18:56:08.475Z] 1469e6f7b9e6: Waiting [2024-01-05T18:56:08.475Z] e2be974225ed: Download complete [2024-01-05T18:56:08.475Z] 988bab9f4d93: Verifying Checksum [2024-01-05T18:56:08.475Z] 988bab9f4d93: Download complete [2024-01-05T18:56:08.475Z] 1469e6f7b9e6: Verifying Checksum [2024-01-05T18:56:08.475Z] 1469e6f7b9e6: Download complete [2024-01-05T18:56:08.475Z] 339a4e72a1f5: Verifying Checksum [2024-01-05T18:56:08.475Z] 339a4e72a1f5: Download complete [2024-01-05T18:56:08.475Z] eaf3925da568: Download complete [2024-01-05T18:56:08.734Z] bde34c3a00c8: Verifying Checksum [2024-01-05T18:56:08.734Z] bde34c3a00c8: Download complete [2024-01-05T18:56:08.734Z] b352a97aabf1: Verifying Checksum [2024-01-05T18:56:08.734Z] b352a97aabf1: Download complete [2024-01-05T18:56:08.734Z] 4872d77fe225: Verifying Checksum [2024-01-05T18:56:08.734Z] 4872d77fe225: Download complete [2024-01-05T18:56:08.734Z] 5851b861e8e6: Verifying Checksum [2024-01-05T18:56:08.734Z] 5851b861e8e6: Download complete [2024-01-05T18:56:08.734Z] b85a868b505f: Verifying Checksum [2024-01-05T18:56:08.734Z] b85a868b505f: Download complete [2024-01-05T18:56:08.994Z] bab4dde63d76: Verifying Checksum [2024-01-05T18:56:08.994Z] bab4dde63d76: Download complete [2024-01-05T18:56:09.934Z] b85a868b505f: Pull complete [2024-01-05T18:56:09.934Z] e2be974225ed: Pull complete [2024-01-05T18:56:10.523Z] 339a4e72a1f5: Pull complete [2024-01-05T18:56:10.523Z] 988bab9f4d93: Pull complete [2024-01-05T18:56:11.095Z] 1469e6f7b9e6: Pull complete [2024-01-05T18:56:11.095Z] eaf3925da568: Pull complete [2024-01-05T18:56:13.039Z] bab4dde63d76: Pull complete [2024-01-05T18:56:13.039Z] bde34c3a00c8: Pull complete [2024-01-05T18:56:13.039Z] b352a97aabf1: Pull complete [2024-01-05T18:56:13.039Z] 4872d77fe225: Pull complete [2024-01-05T18:56:13.301Z] 5851b861e8e6: Pull complete [2024-01-05T18:56:13.301Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-05T18:56:13.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-05T18:56:13.301Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T18:56:13.499Z] prd-ubuntu20.04-docker-8c-8g-26785 does not seem to be running inside a container [2024-01-05T18:56:13.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-05T18:56:16.392Z] $ docker top 7eeead3846d1f0dd8693b2fadbcda004520a6d731f789feb6a236973feb14219 -eo pid,comm [2024-01-05T18:56:16.445Z] 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:56:16.445Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-05T18:56:16.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T18:56:16.530Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T18:56:16.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T18:56:16.650Z] $ docker exec 7eeead3846d1f0dd8693b2fadbcda004520a6d731f789feb6a236973feb14219 ssh-agent [2024-01-05T18:56:16.749Z] SSH_AUTH_SOCK=/tmp/ssh-B3ko7jOkz5XS/agent.33 [2024-01-05T18:56:16.749Z] SSH_AGENT_PID=39 [2024-01-05T18:56:16.755Z] Running ssh-add (command line suppressed) [2024-01-05T18:56:16.858Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_10155733002931366753.key (/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_10155733002931366753.key) [2024-01-05T18:56:16.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T18:56:17.185Z] + git tag --points-at HEAD [Pipeline] } [2024-01-05T18:56:17.200Z] $ docker exec --env ******** --env ******** 7eeead3846d1f0dd8693b2fadbcda004520a6d731f789feb6a236973feb14219 ssh-agent -k [2024-01-05T18:56:17.304Z] unset SSH_AUTH_SOCK; [2024-01-05T18:56:17.305Z] unset SSH_AGENT_PID; [2024-01-05T18:56:17.305Z] echo Agent pid 39 killed; [2024-01-05T18:56:17.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-05T18:56:17.376Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-05T18:56:17.376Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-05T18:56:17.491Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-05T18:56:17.496Z] $ docker exec 7eeead3846d1f0dd8693b2fadbcda004520a6d731f789feb6a236973feb14219 ssh-agent [2024-01-05T18:56:17.615Z] SSH_AUTH_SOCK=/tmp/ssh-R3ekK97j5L6G/agent.71 [2024-01-05T18:56:17.615Z] SSH_AGENT_PID=77 [2024-01-05T18:56:17.620Z] Running ssh-add (command line suppressed) [2024-01-05T18:56:17.733Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_4102170035645282707.key (/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/private_key_4102170035645282707.key) [2024-01-05T18:56:17.744Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-05T18:56:18.045Z] + git semver init [2024-01-05T18:56:18.307Z] 2024-01-05 18:56:18,236 [run_init] DEBUG init version:0.0.0 force:False [2024-01-05T18:56:18.307Z] 2024-01-05 18:56:18,237 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver [2024-01-05T18:56:18.307Z] 2024-01-05 18:56:18,237 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver [2024-01-05T18:56:18.307Z] 2024-01-05 18:56:18,237 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500, universal_newlines=False, shell=None, istream=None) [2024-01-05T18:56:19.247Z] 2024-01-05 18:56:19,143 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.git/info/exclude [2024-01-05T18:56:19.248Z] 2024-01-05 18:56:19,144 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 with force:False [2024-01-05T18:56:19.248Z] 2024-01-05 18:56:19,144 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 [2024-01-05T18:56:19.248Z] 2024-01-05 18:56:19,148 [execute] INFO git cat-file --batch-check [2024-01-05T18:56:19.248Z] 2024-01-05 18:56:19,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2024-01-05T18:56:19.248Z] 2024-01-05 18:56:19,154 [execute] INFO git cat-file --batch [2024-01-05T18:56:19.248Z] 2024-01-05 18:56:19,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver, universal_newlines=False, shell=None, istream=) [2024-01-05T18:56:19.248Z] 2024-01-05 18:56:19,160 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-500/.semver/PR-500 [2024-01-05T18:56:19.248Z] 0.0.0 [Pipeline] } [2024-01-05T18:56:19.259Z] $ docker exec --env ******** --env ******** 7eeead3846d1f0dd8693b2fadbcda004520a6d731f789feb6a236973feb14219 ssh-agent -k [2024-01-05T18:56:19.357Z] unset SSH_AUTH_SOCK; [2024-01-05T18:56:19.358Z] unset SSH_AGENT_PID; [2024-01-05T18:56:19.358Z] echo Agent pid 77 killed; [2024-01-05T18:56:19.366Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-05T18:56:19.743Z] + git semver [Pipeline] } [2024-01-05T18:56:20.018Z] $ docker stop --time=1 7eeead3846d1f0dd8693b2fadbcda004520a6d731f789feb6a236973feb14219 [2024-01-05T18:56:21.323Z] $ docker rm -f --volumes 7eeead3846d1f0dd8693b2fadbcda004520a6d731f789feb6a236973feb14219 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-05T18:56:21.690Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-05T18:56:21.956Z] Stashed 1 file(s) [Pipeline] echo [2024-01-05T18:56:21.960Z] [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:56:22.288Z] provisioning config files... [2024-01-05T18:56:22.299Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config1548087713026564788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:56:22.634Z] ---> ****-login.sh [2024-01-05T18:56:22.634Z] nexus3.edgexfoundry.org:10001 [2024-01-05T18:56:22.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:56:22.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:56:22.635Z] Configure a credential helper to remove this warning. See [2024-01-05T18:56:22.635Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:56:22.635Z] [2024-01-05T18:56:22.635Z] Login Succeeded [2024-01-05T18:56:22.635Z] nexus3.edgexfoundry.org:10002 [2024-01-05T18:56:22.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:56:22.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:56:22.635Z] Configure a credential helper to remove this warning. See [2024-01-05T18:56:22.635Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:56:22.635Z] [2024-01-05T18:56:22.635Z] Login Succeeded [2024-01-05T18:56:22.635Z] nexus3.edgexfoundry.org:10003 [2024-01-05T18:56:22.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:56:22.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:56:22.896Z] Configure a credential helper to remove this warning. See [2024-01-05T18:56:22.896Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:56:22.896Z] [2024-01-05T18:56:22.896Z] Login Succeeded [2024-01-05T18:56:22.896Z] nexus3.edgexfoundry.org:10004 [2024-01-05T18:56:22.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:56:22.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:56:22.896Z] Configure a credential helper to remove this warning. See [2024-01-05T18:56:22.896Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:56:22.896Z] [2024-01-05T18:56:22.896Z] Login Succeeded [2024-01-05T18:56:22.896Z] ****.io [2024-01-05T18:56:22.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T18:56:23.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T18:56:23.157Z] Configure a credential helper to remove this warning. See [2024-01-05T18:56:23.157Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T18:56:23.157Z] [2024-01-05T18:56:23.157Z] Login Succeeded [2024-01-05T18:56:23.157Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T18:56:23.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-05T18:56:23.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T18:56:23.340Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-05T18:56:23.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T18:56:23.402Z] ========================================================= [2024-01-05T18:56:23.402Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-05T18:56:23.402Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:56:23.770Z] + 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:56:23.770Z] Sending build context to Docker daemon 4.974MB [2024-01-05T18:56:23.770Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-05T18:56:23.770Z] Step 2/21 : FROM ${BASE} as builder [2024-01-05T18:56:23.770Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-05T18:56:23.770Z] 96526aa774ef: Pulling fs layer [2024-01-05T18:56:23.770Z] da60e534fd72: Pulling fs layer [2024-01-05T18:56:23.770Z] 96526aa774ef: Verifying Checksum [2024-01-05T18:56:23.770Z] 96526aa774ef: Download complete [2024-01-05T18:56:24.030Z] 96526aa774ef: Pull complete [2024-01-05T18:56:24.600Z] da60e534fd72: Verifying Checksum [2024-01-05T18:56:24.600Z] da60e534fd72: Download complete [2024-01-05T18:56:27.891Z] da60e534fd72: Pull complete [2024-01-05T18:56:27.891Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-05T18:56:27.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-05T18:56:27.891Z] ---> 6605166a5db4 [2024-01-05T18:56:27.891Z] 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:29.892Z] ---> Running in ae320b9e942a [2024-01-05T18:56:29.892Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-05T18:56:30.459Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T18:56:30.459Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T18:56:30.459Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T18:56:30.721Z] Removing intermediate container ae320b9e942a [2024-01-05T18:56:30.721Z] ---> 56705e3ae09d [2024-01-05T18:56:30.721Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T18:56:30.721Z] ---> Running in 839bb24e136a [2024-01-05T18:56:31.291Z] Removing intermediate container 839bb24e136a [2024-01-05T18:56:31.291Z] ---> 9eca04aed7fb [2024-01-05T18:56:31.291Z] 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:31.291Z] ---> Running in eb6d623c125b [2024-01-05T18:56:31.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:31.813Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:31.813Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:32.382Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:56:32.382Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-05T18:56:32.382Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-05T18:56:32.382Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T18:56:33.325Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T18:56:33.325Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T18:56:33.584Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-05T18:56:33.584Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-05T18:56:33.584Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T18:56:33.584Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T18:56:33.584Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T18:56:33.584Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T18:56:33.584Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-05T18:56:33.584Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-05T18:56:33.584Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-05T18:56:33.584Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-05T18:56:33.584Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-05T18:56:33.584Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-05T18:56:33.584Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T18:56:33.584Z] OK: 336 MiB in 99 packages [2024-01-05T18:56:34.525Z] Removing intermediate container eb6d623c125b [2024-01-05T18:56:34.525Z] ---> 2c3826f01a72 [2024-01-05T18:56:34.525Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-05T18:56:34.525Z] ---> Running in 137197f72f00 [2024-01-05T18:56:34.784Z] Removing intermediate container 137197f72f00 [2024-01-05T18:56:34.784Z] ---> 6953e2457fa6 [2024-01-05T18:56:34.784Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-05T18:56:35.042Z] ---> 922a460f385b [2024-01-05T18:56:35.042Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-05T18:56:35.319Z] ---> ce5a543ed2b9 [2024-01-05T18:56:35.319Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-05T18:56:35.581Z] ---> accf5cd40159 [2024-01-05T18:56:35.581Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-05T18:56:35.581Z] ---> 722b9db9a237 [2024-01-05T18:56:35.581Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-05T18:56:35.840Z] ---> 4bb03a5bcdb8 [2024-01-05T18:56:35.840Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-05T18:56:35.840Z] ---> bbbe0c3f6288 [2024-01-05T18:56:35.840Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-05T18:56:35.840Z] ---> Running in f2c94402a141 [2024-01-05T18:56:36.100Z] + CPPCHECK=false [2024-01-05T18:56:36.100Z] + DOCGEN=false [2024-01-05T18:56:36.100Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-05T18:56:36.100Z] + '[' 0 -gt 0 ] [2024-01-05T18:56:36.100Z] + readlink -f ./scripts/build.sh [2024-01-05T18:56:36.100Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-05T18:56:36.100Z] + dirname /tmp/sdk/scripts [2024-01-05T18:56:36.100Z] + ROOT=/tmp/sdk [2024-01-05T18:56:36.100Z] + cd /tmp/sdk [2024-01-05T18:56:36.100Z] + mkdir -p /tmp/sdk/build/release [2024-01-05T18:56:36.100Z] + cd /tmp/sdk/build/release [2024-01-05T18:56:36.100Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-05T18:56:36.100Z] -- The C compiler identification is GNU 12.2.1 [2024-01-05T18:56:36.360Z] -- Detecting C compiler ABI info [2024-01-05T18:56:36.360Z] -- Detecting C compiler ABI info - done [2024-01-05T18:56:36.360Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T18:56:36.360Z] -- Detecting C compile features [2024-01-05T18:56:36.360Z] -- Detecting C compile features - done [2024-01-05T18:56:36.360Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T18:56:36.360Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T18:56:36.360Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T18:56:36.360Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T18:56:36.360Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T18:56:36.360Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T18:56:36.360Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T18:56:36.360Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T18:56:36.360Z] -- /opt/iotech/iot/1.5/include [2024-01-05T18:56:36.360Z] -- C SDK 0.0.0 for Linux [2024-01-05T18:56:36.360Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T18:56:36.622Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T18:56:36.622Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-05T18:56:36.622Z] -- Configuring done (0.4s) [2024-01-05T18:56:36.622Z] -- Generating done (0.0s) [2024-01-05T18:56:36.622Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-05T18:56:36.622Z] + make all package [2024-01-05T18:56:36.622Z] + tee release.log [2024-01-05T18:56:36.622Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T18:56:36.622Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T18:56:36.883Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T18:56:36.883Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T18:56:37.144Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T18:56:37.144Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T18:56:37.181Z] Still waiting to schedule task [2024-01-05T18:56:37.181Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-05T18:56:37.411Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T18:56:37.670Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-05T18:56:37.670Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:56:37.670Z] 294 | while (privateConfig) [2024-01-05T18:56:37.670Z] | ^~~~~~~~~~~~~ [2024-01-05T18:56:37.670Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-05T18:56:37.670Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T18:56:37.670Z] | ^~~~~~~~~~~~~ [2024-01-05T18:56:37.670Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:56:37.670Z] 271 | while (result) [2024-01-05T18:56:37.670Z] | ^~~~~~ [2024-01-05T18:56:37.670Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-05T18:56:37.670Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T18:56:37.670Z] | ^~~~~~ [2024-01-05T18:56:37.670Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T18:56:37.670Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T18:56:37.928Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T18:56:38.188Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T18:56:38.188Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T18:56:38.458Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T18:56:38.458Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T18:56:38.458Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T18:56:38.723Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T18:56:38.723Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T18:56:38.982Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T18:56:39.241Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T18:56:39.241Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T18:56:39.500Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T18:56:40.441Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T18:56:40.441Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T18:56:40.700Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T18:56:40.700Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T18:56:40.700Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T18:56:40.960Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T18:56:41.219Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T18:56:41.219Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T18:56:41.478Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T18:56:41.478Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T18:56:41.478Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T18:56:41.478Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:56:41.478Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T18:56:41.478Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:56:41.478Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:56:41.478Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T18:56:41.478Z] | ^ [2024-01-05T18:56:41.738Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T18:56:41.738Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-05T18:56:41.738Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:56:41.738Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-05T18:56:41.738Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-05T18:56:41.738Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:56:41.997Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T18:56:41.997Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T18:56:41.997Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T18:56:42.255Z] [ 68%] Linking C shared library libcsdk.so [2024-01-05T18:56:42.255Z] [ 68%] Built target csdk [2024-01-05T18:56:42.255Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T18:56:42.514Z] [ 72%] Linking C executable template [2024-01-05T18:56:42.515Z] [ 72%] Built target template [2024-01-05T18:56:42.515Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T18:56:42.515Z] [ 76%] Linking C executable device-counter [2024-01-05T18:56:42.772Z] [ 76%] Built target device-counter [2024-01-05T18:56:42.772Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T18:56:42.772Z] [ 80%] Linking C executable device-random [2024-01-05T18:56:42.772Z] [ 80%] Built target device-random [2024-01-05T18:56:42.772Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T18:56:43.031Z] [ 84%] Linking C executable device-gyro [2024-01-05T18:56:43.031Z] [ 84%] Built target device-gyro [2024-01-05T18:56:43.031Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T18:56:43.031Z] [ 88%] Linking C executable device-bitfields [2024-01-05T18:56:43.290Z] [ 88%] Built target device-bitfields [2024-01-05T18:56:43.290Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T18:56:43.290Z] [ 92%] Linking C executable template-discovery [2024-01-05T18:56:43.290Z] [ 92%] Built target template-discovery [2024-01-05T18:56:43.549Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T18:56:43.549Z] [ 96%] Linking C executable device-file [2024-01-05T18:56:43.549Z] [ 96%] Built target device-file [2024-01-05T18:56:43.549Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T18:56:43.809Z] [100%] Linking C executable device-terminal [2024-01-05T18:56:43.810Z] [100%] Built target device-terminal [2024-01-05T18:56:43.810Z] Run CPack packaging tool... [2024-01-05T18:56:43.810Z] CPack: Create package using TGZ [2024-01-05T18:56:43.810Z] CPack: Install projects [2024-01-05T18:56:43.810Z] CPack: - Run preinstall target for: Csdk [2024-01-05T18:56:44.069Z] CPack: - Install project: Csdk [] [2024-01-05T18:56:44.069Z] CPack: Create package [2024-01-05T18:56:44.069Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-05T18:56:44.069Z] + '[' false '=' true ] [2024-01-05T18:56:44.069Z] + '[' false '=' true ] [2024-01-05T18:56:44.069Z] + mkdir -p /tmp/sdk/build/debug [2024-01-05T18:56:44.069Z] + cd /tmp/sdk/build/debug [2024-01-05T18:56:44.069Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-05T18:56:44.069Z] -- The C compiler identification is GNU 12.2.1 [2024-01-05T18:56:44.069Z] -- Detecting C compiler ABI info [2024-01-05T18:56:44.328Z] -- Detecting C compiler ABI info - done [2024-01-05T18:56:44.328Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T18:56:44.328Z] -- Detecting C compile features [2024-01-05T18:56:44.328Z] -- Detecting C compile features - done [2024-01-05T18:56:44.328Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T18:56:44.328Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T18:56:44.328Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T18:56:44.328Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T18:56:44.328Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T18:56:44.328Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T18:56:44.328Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T18:56:44.328Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T18:56:44.328Z] -- /opt/iotech/iot/1.5/include [2024-01-05T18:56:44.328Z] -- C SDK 0.0.0 for Linux [2024-01-05T18:56:44.328Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T18:56:44.593Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T18:56:44.593Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-05T18:56:44.593Z] -- Configuring done (0.4s) [2024-01-05T18:56:44.593Z] -- Generating done (0.0s) [2024-01-05T18:56:44.593Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-05T18:56:44.593Z] + make [2024-01-05T18:56:44.593Z] + tee debug.log [2024-01-05T18:56:44.593Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T18:56:44.593Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T18:56:44.853Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T18:56:44.853Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T18:56:44.853Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T18:56:44.853Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T18:56:45.113Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T18:56:45.113Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T18:56:45.113Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T18:56:45.372Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T18:56:45.372Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T18:56:45.372Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T18:56:45.632Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T18:56:45.632Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T18:56:45.632Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T18:56:45.891Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T18:56:45.891Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T18:56:45.891Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T18:56:45.891Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T18:56:46.149Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T18:56:46.149Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T18:56:46.409Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T18:56:46.409Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T18:56:46.409Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T18:56:46.668Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T18:56:46.668Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T18:56:46.668Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T18:56:46.927Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T18:56:46.927Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T18:56:46.927Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T18:56:47.186Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T18:56:47.186Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T18:56:47.186Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:56:47.187Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T18:56:47.187Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T18:56:47.187Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T18:56:47.187Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T18:56:47.187Z] | ^ [2024-01-05T18:56:47.187Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T18:56:47.448Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T18:56:47.448Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T18:56:47.448Z] [ 68%] Linking C shared library libcsdk.so [2024-01-05T18:56:47.448Z] [ 68%] Built target csdk [2024-01-05T18:56:47.448Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T18:56:47.707Z] [ 72%] Linking C executable template [2024-01-05T18:56:47.707Z] [ 72%] Built target template [2024-01-05T18:56:47.707Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T18:56:47.707Z] [ 76%] Linking C executable device-counter [2024-01-05T18:56:47.966Z] [ 76%] Built target device-counter [2024-01-05T18:56:47.966Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T18:56:47.966Z] [ 80%] Linking C executable device-random [2024-01-05T18:56:47.966Z] [ 80%] Built target device-random [2024-01-05T18:56:47.966Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T18:56:47.966Z] [ 84%] Linking C executable device-gyro [2024-01-05T18:56:48.224Z] [ 84%] Built target device-gyro [2024-01-05T18:56:48.224Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T18:56:48.224Z] [ 88%] Linking C executable device-bitfields [2024-01-05T18:56:48.224Z] [ 88%] Built target device-bitfields [2024-01-05T18:56:48.224Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T18:56:48.482Z] [ 92%] Linking C executable template-discovery [2024-01-05T18:56:48.482Z] [ 92%] Built target template-discovery [2024-01-05T18:56:48.482Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T18:56:48.482Z] [ 96%] Linking C executable device-file [2024-01-05T18:56:48.742Z] [ 96%] Built target device-file [2024-01-05T18:56:48.742Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T18:56:48.742Z] [100%] Linking C executable device-terminal [2024-01-05T18:56:48.742Z] [100%] Built target device-terminal [2024-01-05T18:56:48.742Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-05T18:56:48.742Z] [ 68%] Built target csdk [2024-01-05T18:56:48.742Z] [ 72%] Built target template [2024-01-05T18:56:49.003Z] [ 76%] Built target device-counter [2024-01-05T18:56:49.003Z] [ 80%] Built target device-random [2024-01-05T18:56:49.003Z] [ 84%] Built target device-gyro [2024-01-05T18:56:49.003Z] [ 88%] Built target device-bitfields [2024-01-05T18:56:49.003Z] [ 92%] Built target template-discovery [2024-01-05T18:56:49.003Z] [ 96%] Built target device-file [2024-01-05T18:56:49.003Z] [100%] Built target device-terminal [2024-01-05T18:56:49.003Z] Install the project... [2024-01-05T18:56:49.003Z] -- Install configuration: "Release" [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-05T18:56:49.003Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include/devsdk [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include/edgex [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-05T18:56:49.003Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-05T18:56:49.003Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-05T18:56:49.952Z] Removing intermediate container f2c94402a141 [2024-01-05T18:56:49.952Z] ---> f6bb80185606 [2024-01-05T18:56:49.952Z] Step 14/21 : FROM ${BASE} [2024-01-05T18:56:49.952Z] ---> 6605166a5db4 [2024-01-05T18:56:49.952Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-05T18:56:49.952Z] ---> Running in 4563cfa2bc2c [2024-01-05T18:56:49.952Z] Removing intermediate container 4563cfa2bc2c [2024-01-05T18:56:49.952Z] ---> 0faf6e0f9ec0 [2024-01-05T18:56:49.952Z] 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:49.952Z] ---> Running in 8455ec6ea92e [2024-01-05T18:56:50.224Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-05T18:56:50.794Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T18:56:50.794Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T18:56:50.794Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T18:56:51.054Z] Removing intermediate container 8455ec6ea92e [2024-01-05T18:56:51.054Z] ---> a8d083f9778f [2024-01-05T18:56:51.054Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T18:56:51.054Z] ---> Running in e81adb66e558 [2024-01-05T18:56:51.625Z] Removing intermediate container e81adb66e558 [2024-01-05T18:56:51.625Z] ---> 9bb743fc1324 [2024-01-05T18:56:51.625Z] 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:51.625Z] ---> Running in 1a68a3cf8840 [2024-01-05T18:56:51.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:51.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:52.155Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:56:52.416Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:56:52.416Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T18:56:52.416Z] (2/9) Installing curl (8.5.0-r0) [2024-01-05T18:56:52.416Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T18:56:52.416Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-05T18:56:52.674Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-05T18:56:52.674Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T18:56:53.247Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T18:56:53.508Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-05T18:56:53.508Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-05T18:56:53.508Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T18:56:53.508Z] OK: 331 MiB in 89 packages [2024-01-05T18:56:54.090Z] Removing intermediate container 1a68a3cf8840 [2024-01-05T18:56:54.090Z] ---> 9858c0cfde4e [2024-01-05T18:56:54.090Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-05T18:56:54.090Z] ---> 914dc2290b0f [2024-01-05T18:56:54.090Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-05T18:56:54.349Z] ---> 74ffdb7791df [2024-01-05T18:56:54.349Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-05T18:56:54.350Z] ---> 18c8901ca913 [2024-01-05T18:56:54.350Z] Successfully built 18c8901ca913 [2024-01-05T18:56:54.350Z] 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:54.911Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-05T18:56:54.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T18:56:55.031Z] prd-ubuntu20.04-docker-8c-8g-26785 does not seem to be running inside a container [2024-01-05T18:56:55.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-05T18:56:55.376Z] $ docker top 1eff7e5cdf385a3a339ccde70a4e391fb15c5f76a127c5b29da046cb211c4047 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T18:56:55.764Z] + make test [2024-01-05T18:56:55.764Z] echo "make test" [2024-01-05T18:56:55.764Z] make test [Pipeline] } [2024-01-05T18:56:55.778Z] $ docker stop --time=1 1eff7e5cdf385a3a339ccde70a4e391fb15c5f76a127c5b29da046cb211c4047 [2024-01-05T18:56:57.056Z] $ docker rm -f --volumes 1eff7e5cdf385a3a339ccde70a4e391fb15c5f76a127c5b29da046cb211c4047 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T18:56:57.711Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-05T18:56:57.997Z] + ls -al . [2024-01-05T18:56:57.997Z] total 212 [2024-01-05T18:56:57.997Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 5 18:56 . [2024-01-05T18:56:57.997Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:55 .. [2024-01-05T18:56:57.997Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 18:56 .git [2024-01-05T18:56:57.997Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 18:55 .github [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 5 18:55 .gitignore [2024-01-05T18:56:57.997Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 5 18:56 .semver [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 5 18:55 Attribution.txt [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 5 18:55 CHANGELOG.md [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 5 18:55 Doxyfile [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 18:55 GOVERNANCE.md [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 5 18:55 Jenkinsfile [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 5 18:55 LICENSE [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 5 18:55 Makefile [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 5 18:55 OWNERS.md [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 5 18:55 README.IOT.md [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 5 18:55 README.md [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 5 18:55 README.v3.md [2024-01-05T18:56:57.997Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 18:56 VERSION [2024-01-05T18:56:57.997Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 18:55 docs [2024-01-05T18:56:57.997Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:55 include [2024-01-05T18:56:57.997Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 18:55 scripts [2024-01-05T18:56:57.997Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:56:58.345Z] + 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=57a2b1448e450a24b214ac7469d3a5865c461bfc --label arch=amd64 --label version=0.0.0 . [2024-01-05T18:56:58.345Z] Sending build context to Docker daemon 4.974MB [2024-01-05T18:56:58.345Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-05T18:56:58.345Z] Step 2/17 : FROM ${BASE} [2024-01-05T18:56:58.345Z] ---> 18c8901ca913 [2024-01-05T18:56:58.345Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-05T18:56:58.345Z] ---> Running in 61193011e70a [2024-01-05T18:56:58.604Z] Removing intermediate container 61193011e70a [2024-01-05T18:56:58.604Z] ---> a99bf8c59961 [2024-01-05T18:56:58.604Z] 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:58.604Z] ---> Running in 1959e44454f6 [2024-01-05T18:56:58.865Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-05T18:56:59.435Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T18:56:59.435Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T18:56:59.435Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T18:56:59.435Z] Removing intermediate container 1959e44454f6 [2024-01-05T18:56:59.435Z] ---> bc4f9f84bfac [2024-01-05T18:56:59.435Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T18:56:59.435Z] ---> Running in 0199487daceb [2024-01-05T18:57:00.004Z] Removing intermediate container 0199487daceb [2024-01-05T18:57:00.004Z] ---> 6f8df08e6e94 [2024-01-05T18:57:00.004Z] 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:57:00.004Z] ---> Running in e2167d54ed9f [2024-01-05T18:57:00.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:57:00.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-05T18:57:00.523Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-05T18:57:01.093Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T18:57:01.093Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T18:57:01.353Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-05T18:57:01.353Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T18:57:01.353Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T18:57:01.353Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T18:57:01.353Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T18:57:01.353Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-05T18:57:01.353Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-05T18:57:01.353Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-05T18:57:01.353Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-05T18:57:01.353Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-05T18:57:01.353Z] Executing busybox-1.36.1-r4.trigger [2024-01-05T18:57:01.353Z] OK: 336 MiB in 100 packages [2024-01-05T18:57:01.938Z] Removing intermediate container e2167d54ed9f [2024-01-05T18:57:01.938Z] ---> 33f5d21e086b [2024-01-05T18:57:01.938Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-05T18:57:02.219Z] ---> 415d2798bb41 [2024-01-05T18:57:02.219Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-05T18:57:02.478Z] ---> ddb13308d375 [2024-01-05T18:57:02.478Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-05T18:57:02.478Z] ---> e8b29d6cf3d7 [2024-01-05T18:57:02.478Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-05T18:57:02.478Z] ---> 71d713727a54 [2024-01-05T18:57:02.478Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-05T18:57:02.740Z] ---> 3a3d3d3e6d04 [2024-01-05T18:57:02.740Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-05T18:57:02.740Z] ---> 37cc808dd619 [2024-01-05T18:57:02.740Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-05T18:57:02.740Z] ---> Running in b42e8f090587 [2024-01-05T18:57:03.001Z] Removing intermediate container b42e8f090587 [2024-01-05T18:57:03.001Z] ---> f78a4fa02cbc [2024-01-05T18:57:03.001Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-05T18:57:03.001Z] ---> Running in 504c3cb205aa [2024-01-05T18:57:03.001Z] Removing intermediate container 504c3cb205aa [2024-01-05T18:57:03.001Z] ---> 7cfb00ed2ef0 [2024-01-05T18:57:03.001Z] Step 15/17 : LABEL arch=amd64 [2024-01-05T18:57:03.001Z] ---> Running in 5f4abf5373a4 [2024-01-05T18:57:03.001Z] Removing intermediate container 5f4abf5373a4 [2024-01-05T18:57:03.001Z] ---> db34a988e3f9 [2024-01-05T18:57:03.001Z] Step 16/17 : LABEL git_sha=57a2b1448e450a24b214ac7469d3a5865c461bfc [2024-01-05T18:57:03.001Z] ---> Running in 73c1390417b4 [2024-01-05T18:57:03.261Z] Removing intermediate container 73c1390417b4 [2024-01-05T18:57:03.261Z] ---> 675f41406981 [2024-01-05T18:57:03.261Z] Step 17/17 : LABEL version=0.0.0 [2024-01-05T18:57:03.261Z] ---> Running in b4b30495213c [2024-01-05T18:57:03.261Z] Removing intermediate container b4b30495213c [2024-01-05T18:57:03.261Z] ---> 7e95d00ba386 [2024-01-05T18:57:03.261Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-05T18:57:03.261Z] Successfully built 7e95d00ba386 [2024-01-05T18:57:03.261Z] 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:57:04.018Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T18:57:04.019Z] [2024-01-05T18:57:04.019Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T18:57:04.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T18:57:04.336Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-05T18:57:04.336Z] 5eb5b503b376: Pulling fs layer [2024-01-05T18:57:04.336Z] 5c69ac0246d0: Pulling fs layer [2024-01-05T18:57:04.336Z] ec43610c2a17: Pulling fs layer [2024-01-05T18:57:04.336Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-05T18:57:04.336Z] 33b1e0a273af: Pulling fs layer [2024-01-05T18:57:04.336Z] 5d3b04190fa2: Pulling fs layer [2024-01-05T18:57:04.336Z] 2f39f015ded8: Pulling fs layer [2024-01-05T18:57:04.336Z] 3a2ae6a8a46f: Waiting [2024-01-05T18:57:04.336Z] 33b1e0a273af: Waiting [2024-01-05T18:57:04.336Z] 5d3b04190fa2: Waiting [2024-01-05T18:57:04.336Z] 2f39f015ded8: Waiting [2024-01-05T18:57:04.336Z] 5c69ac0246d0: Download complete [2024-01-05T18:57:04.336Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-05T18:57:04.336Z] 3a2ae6a8a46f: Download complete [2024-01-05T18:57:04.336Z] 33b1e0a273af: Verifying Checksum [2024-01-05T18:57:04.336Z] 33b1e0a273af: Download complete [2024-01-05T18:57:04.336Z] 5d3b04190fa2: Download complete [2024-01-05T18:57:04.336Z] ec43610c2a17: Verifying Checksum [2024-01-05T18:57:04.336Z] ec43610c2a17: Download complete [2024-01-05T18:57:04.595Z] 5eb5b503b376: Verifying Checksum [2024-01-05T18:57:04.595Z] 5eb5b503b376: Download complete [2024-01-05T18:57:05.163Z] 2f39f015ded8: Download complete [2024-01-05T18:57:05.744Z] 5eb5b503b376: Pull complete [2024-01-05T18:57:05.744Z] 5c69ac0246d0: Pull complete [2024-01-05T18:57:06.309Z] ec43610c2a17: Pull complete [2024-01-05T18:57:06.309Z] 3a2ae6a8a46f: Pull complete [2024-01-05T18:57:06.567Z] 33b1e0a273af: Pull complete [2024-01-05T18:57:06.567Z] 5d3b04190fa2: Pull complete [2024-01-05T18:57:10.766Z] 2f39f015ded8: Pull complete [2024-01-05T18:57:10.766Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-05T18:57:10.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T18:57:10.766Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T18:57:10.964Z] prd-ubuntu20.04-docker-8c-8g-26785 does not seem to be running inside a container [2024-01-05T18:57:11.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-05T18:57:15.808Z] $ docker top 51b23be716ec00b180daac6b1b48e2e7d635857bb4c46403517e1f0ae352b2f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T18:57:16.231Z] ---> job-cost.sh [2024-01-05T18:57:16.231Z] lf-activate-venv: SKIPPING [2024-01-05T18:57:16.231Z] INFO: No Stack... [2024-01-05T18:57:16.493Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T18:57:16.753Z] INFO: Archiving Costs [Pipeline] sh [2024-01-05T18:57:17.043Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/cost.csv [2024-01-05T18:57:17.043Z] + cut -d, -f6 [Pipeline] lock [2024-01-05T18:57:17.059Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-500-2-stack-cost] [2024-01-05T18:57:17.067Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-500-2-stack-cost] did not exist. Created. [2024-01-05T18:57:17.067Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-500-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-05T18:57:17.419Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-05T18:57:17.454Z] Stashed 1 file(s) [Pipeline] } [2024-01-05T18:57:17.468Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-500-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-05T18:57:17.536Z] $ docker stop --time=1 51b23be716ec00b180daac6b1b48e2e7d635857bb4c46403517e1f0ae352b2f6 [2024-01-05T18:57:18.682Z] $ docker rm -f --volumes 51b23be716ec00b180daac6b1b48e2e7d635857bb4c46403517e1f0ae352b2f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-05T18:59:19.291Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26788 in /w/workspace/edgexfoundry_device-sdk-c_PR-500 [Pipeline] { [Pipeline] ws [2024-01-05T18:59:19.322Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2024-01-05T18:59:19.383Z] Selected Git installation does not exist. Using Default [2024-01-05T18:59:19.383Z] The recommended git tool is: NONE [2024-01-05T18:59:28.218Z] using credential edgex-jenkins-ssh [2024-01-05T18:59:28.239Z] Cloning the remote Git repository [2024-01-05T18:59:28.319Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T18:59:28.457Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2024-01-05T18:59:28.619Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T18:59:28.620Z] > git --version # timeout=10 [2024-01-05T18:59:28.639Z] > git --version # 'git version 2.25.1' [2024-01-05T18:59:28.641Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-05T18:59:28.802Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-05T18:59:29.974Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-05T18:59:29.995Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-05T18:59:31.599Z] Merging remotes/origin/main commit cc49468877935c119f35277098ef123672d1c8b2 into PR head commit 88225b2b2af007b234a268bddf4c2374904aaf88 [2024-01-05T18:59:30.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-05T18:59:30.964Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-05T18:59:30.965Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-05T18:59:30.981Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/500/head:refs/remotes/origin/PR-500 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-05T18:59:31.617Z] > git config core.sparsecheckout # timeout=10 [2024-01-05T18:59:31.681Z] > git checkout -f 88225b2b2af007b234a268bddf4c2374904aaf88 # timeout=10 [2024-01-05T18:59:31.814Z] > git remote # timeout=10 [2024-01-05T18:59:31.839Z] > git config --get remote.origin.url # timeout=10 [2024-01-05T18:59:31.856Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-05T18:59:31.869Z] > git merge cc49468877935c119f35277098ef123672d1c8b2 # timeout=10 [2024-01-05T18:59:32.018Z] Merge succeeded, producing 12e0f42a3f89eea410549ef3c2de7e7be7d17ed7 [2024-01-05T18:59:32.019Z] Checking out Revision 12e0f42a3f89eea410549ef3c2de7e7be7d17ed7 (PR-500) [2024-01-05T18:59:31.999Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-05T18:59:32.024Z] > git config core.sparsecheckout # timeout=10 [2024-01-05T18:59:32.037Z] > git checkout -f 12e0f42a3f89eea410549ef3c2de7e7be7d17ed7 # timeout=10 [2024-01-05T18:59:35.626Z] Commit message: "Merge commit 'cc49468877935c119f35277098ef123672d1c8b2' into HEAD" [2024-01-05T18:59:35.631Z] > git rev-list --no-walk 88225b2b2af007b234a268bddf4c2374904aaf88 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T18:59:36.941Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-05T18:59:36.941Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-05T18:59:36.941Z] Dload Upload Total Spent Left Speed [2024-01-05T18:59:36.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 217k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh [2024-01-05T18:59:37.403Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-05T18:59:37.726Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-05T18:59:37.726Z] + sudo tee /etc/docker/daemon.new [2024-01-05T18:59:37.726Z] { [2024-01-05T18:59:37.726Z] "registry-mirrors": [ [2024-01-05T18:59:37.726Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-05T18:59:37.726Z] ], [2024-01-05T18:59:37.726Z] "bip": "10.250.0.254/24", [2024-01-05T18:59:37.726Z] "hosts": [ [2024-01-05T18:59:37.726Z] "tcp://0.0.0.0:5555", [2024-01-05T18:59:37.726Z] "unix:///var/run/docker.sock" [2024-01-05T18:59:37.727Z] ], [2024-01-05T18:59:37.727Z] "mtu": 1458, [2024-01-05T18:59:37.727Z] "selinux-enabled": true, [2024-01-05T18:59:37.727Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-05T18:59:37.727Z] } [Pipeline] sh [2024-01-05T18:59:38.058Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-05T18:59:38.382Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T19:00:00.523Z] provisioning config files... [2024-01-05T19:00:00.555Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config14547130986575570862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:00:01.009Z] ---> ****-login.sh [2024-01-05T19:00:01.009Z] nexus3.edgexfoundry.org:10001 [2024-01-05T19:00:01.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T19:00:01.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T19:00:01.558Z] Configure a credential helper to remove this warning. See [2024-01-05T19:00:01.558Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T19:00:01.558Z] [2024-01-05T19:00:01.558Z] Login Succeeded [2024-01-05T19:00:01.558Z] nexus3.edgexfoundry.org:10002 [2024-01-05T19:00:01.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T19:00:01.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T19:00:01.828Z] Configure a credential helper to remove this warning. See [2024-01-05T19:00:01.828Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T19:00:01.828Z] [2024-01-05T19:00:01.828Z] Login Succeeded [2024-01-05T19:00:01.828Z] nexus3.edgexfoundry.org:10003 [2024-01-05T19:00:01.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T19:00:02.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T19:00:02.099Z] Configure a credential helper to remove this warning. See [2024-01-05T19:00:02.099Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T19:00:02.099Z] [2024-01-05T19:00:02.099Z] Login Succeeded [2024-01-05T19:00:02.099Z] nexus3.edgexfoundry.org:10004 [2024-01-05T19:00:02.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T19:00:02.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T19:00:02.372Z] Configure a credential helper to remove this warning. See [2024-01-05T19:00:02.372Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T19:00:02.372Z] [2024-01-05T19:00:02.372Z] Login Succeeded [2024-01-05T19:00:02.372Z] ****.io [2024-01-05T19:00:02.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-05T19:00:04.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-05T19:00:04.594Z] Configure a credential helper to remove this warning. See [2024-01-05T19:00:04.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-05T19:00:04.595Z] [2024-01-05T19:00:04.595Z] Login Succeeded [2024-01-05T19:00:04.595Z] ---> ****-login.sh ends [Pipeline] } [2024-01-05T19:00:04.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-05T19:00:05.018Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T19:00:05.056Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-05T19:00:05.097Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-05T19:00:05.135Z] ========================================================= [2024-01-05T19:00:05.135Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-05T19:00:05.135Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:00:05.548Z] + 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-05T19:00:06.516Z] #0 building with "default" instance using docker driver [2024-01-05T19:00:06.516Z] [2024-01-05T19:00:06.516Z] #1 [internal] load .dockerignore [2024-01-05T19:00:06.516Z] #1 transferring context: 2B 0.0s done [2024-01-05T19:00:06.516Z] #1 DONE 0.1s [2024-01-05T19:00:06.516Z] [2024-01-05T19:00:06.516Z] #2 [internal] load build definition from Dockerfile.alpine-base [2024-01-05T19:00:06.517Z] #2 transferring dockerfile: 2.04kB 0.0s done [2024-01-05T19:00:06.788Z] #2 DONE 0.1s [2024-01-05T19:00:06.788Z] [2024-01-05T19:00:06.788Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-05T19:00:06.788Z] #3 DONE 0.1s [2024-01-05T19:00:06.788Z] [2024-01-05T19:00:06.788Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-05T19:00:06.788Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-05T19:00:07.059Z] #4 ... [2024-01-05T19:00:07.059Z] [2024-01-05T19:00:07.059Z] #5 [internal] load build context [2024-01-05T19:00:07.059Z] #5 transferring context: 627.84kB 0.1s done [2024-01-05T19:00:07.059Z] #5 DONE 0.2s [2024-01-05T19:00:07.059Z] [2024-01-05T19:00:07.059Z] #4 [builder 1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-05T19:00:07.059Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-05T19:00:07.059Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-05T19:00:07.059Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 962.56kB / 3.33MB 0.1s [2024-01-05T19:00:07.059Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2024-01-05T19:00:07.059Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-05T19:00:07.059Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 7.59MB / 109.51MB 0.3s [2024-01-05T19:00:07.059Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-05T19:00:07.329Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 16.78MB / 109.51MB 0.5s [2024-01-05T19:00:07.329Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-05T19:00:07.602Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 22.53MB / 109.51MB 0.6s [2024-01-05T19:00:07.602Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 33.30MB / 109.51MB 0.8s [2024-01-05T19:00:07.870Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 38.80MB / 109.51MB 0.9s [2024-01-05T19:00:07.870Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 50.33MB / 109.51MB 1.1s [2024-01-05T19:00:08.138Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 56.62MB / 109.51MB 1.2s [2024-01-05T19:00:08.138Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 68.86MB / 109.51MB 1.4s [2024-01-05T19:00:08.407Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 74.58MB / 109.51MB 1.5s [2024-01-05T19:00:08.407Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 80.74MB / 109.51MB 1.6s [2024-01-05T19:00:08.674Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 93.25MB / 109.51MB 1.8s [2024-01-05T19:00:08.942Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s [2024-01-05T19:00:10.887Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 3.6s done [2024-01-05T19:00:10.887Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-05T19:00:16.237Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.2s [2024-01-05T19:00:21.609Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 10.5s [2024-01-05T19:00:24.965Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.7s done [2024-01-05T19:00:25.552Z] #4 DONE 18.8s [2024-01-05T19:00:25.824Z] [2024-01-05T19:00:25.824Z] #6 [builder 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-05T19:00:26.412Z] #6 0.744 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-05T19:00:27.001Z] #6 1.279 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T19:00:27.001Z] #6 1.279 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T19:00:27.001Z] #6 1.279 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T19:00:27.988Z] #6 DONE 2.2s [2024-01-05T19:00:27.988Z] [2024-01-05T19:00:27.988Z] #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T19:00:28.581Z] #7 DONE 0.8s [2024-01-05T19:00:28.581Z] [2024-01-05T19:00:28.581Z] #8 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-05T19:00:29.596Z] #8 1.080 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:00:30.195Z] #8 1.490 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T19:00:30.779Z] #8 2.128 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:00:31.743Z] #8 3.112 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T19:00:31.743Z] #8 3.166 (1/17) Installing hiredis (1.1.0-r2) [2024-01-05T19:00:31.743Z] #8 3.176 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-05T19:00:31.743Z] #8 3.200 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T19:00:32.707Z] #8 3.991 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T19:00:32.707Z] #8 4.127 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T19:00:32.979Z] #8 4.378 (6/17) Installing libcbor (0.10.2-r1) [2024-01-05T19:00:32.979Z] #8 4.386 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-05T19:00:32.979Z] #8 4.405 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T19:00:32.979Z] #8 4.415 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T19:00:32.979Z] #8 4.423 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T19:00:32.979Z] #8 4.439 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T19:00:32.979Z] #8 4.475 (12/17) Installing libblkid (2.38.1-r8) [2024-01-05T19:00:32.979Z] #8 4.490 (13/17) Installing libuuid (2.38.1-r8) [2024-01-05T19:00:33.251Z] #8 4.498 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-05T19:00:33.251Z] #8 4.516 (15/17) Installing libmount (2.38.1-r8) [2024-01-05T19:00:33.251Z] #8 4.535 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-05T19:00:33.252Z] #8 4.551 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-05T19:00:33.252Z] #8 ... [2024-01-05T19:00:33.252Z] [2024-01-05T19:00:33.252Z] #9 [stage-1 4/7] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-05T19:00:33.252Z] #9 1.086 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:00:33.252Z] #9 1.490 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T19:00:33.252Z] #9 2.102 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:00:33.252Z] #9 3.085 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T19:00:33.252Z] #9 3.134 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T19:00:33.252Z] #9 3.161 (2/9) Installing curl (8.5.0-r0) [2024-01-05T19:00:33.252Z] #9 3.176 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-05T19:00:33.252Z] #9 3.193 (4/9) Installing hiredis (1.1.0-r2) [2024-01-05T19:00:33.252Z] #9 3.200 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-05T19:00:33.252Z] #9 3.226 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2024-01-05T19:00:33.252Z] #9 4.018 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-05T19:00:33.252Z] #9 4.261 (8/9) Installing libcbor (0.10.2-r1) [2024-01-05T19:00:33.252Z] #9 4.268 (9/9) Installing libuuid (2.38.1-r8) [2024-01-05T19:00:33.252Z] #9 4.276 Executing busybox-1.36.1-r4.trigger [2024-01-05T19:00:33.252Z] #9 4.328 OK: 327 MiB in 89 packages [2024-01-05T19:00:33.252Z] #9 DONE 4.8s [2024-01-05T19:00:33.252Z] [2024-01-05T19:00:33.252Z] #8 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-05T19:00:33.252Z] #8 4.649 Executing busybox-1.36.1-r4.trigger [2024-01-05T19:00:33.252Z] #8 4.694 OK: 333 MiB in 99 packages [2024-01-05T19:00:33.842Z] #8 DONE 5.1s [2024-01-05T19:00:33.842Z] [2024-01-05T19:00:33.842Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-05T19:00:35.806Z] #10 DONE 1.9s [2024-01-05T19:00:35.806Z] [2024-01-05T19:00:35.806Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-05T19:00:35.806Z] #11 DONE 0.1s [2024-01-05T19:00:35.806Z] [2024-01-05T19:00:35.806Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-05T19:00:36.074Z] #12 DONE 0.2s [2024-01-05T19:00:36.074Z] [2024-01-05T19:00:36.074Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-05T19:00:36.074Z] #13 DONE 0.1s [2024-01-05T19:00:36.074Z] [2024-01-05T19:00:36.074Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-05T19:00:36.074Z] #14 DONE 0.1s [2024-01-05T19:00:36.074Z] [2024-01-05T19:00:36.074Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-05T19:00:36.343Z] #15 DONE 0.1s [2024-01-05T19:00:36.343Z] [2024-01-05T19:00:36.343Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-05T19:00:36.343Z] #16 DONE 0.1s [2024-01-05T19:00:36.343Z] [2024-01-05T19:00:36.343Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-05T19:00:36.929Z] #17 0.638 + CPPCHECK=false [2024-01-05T19:00:36.929Z] #17 0.638 + DOCGEN=false [2024-01-05T19:00:36.929Z] #17 0.638 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-05T19:00:36.929Z] #17 0.638 + '[' 0 -gt 0 ] [2024-01-05T19:00:36.929Z] #17 0.641 + readlink -f ./scripts/build.sh [2024-01-05T19:00:36.929Z] #17 0.643 + dirname /tmp/sdk/scripts/build.sh [2024-01-05T19:00:36.929Z] #17 0.644 + dirname /tmp/sdk/scripts [2024-01-05T19:00:36.929Z] #17 0.646 + ROOT=/tmp/sdk [2024-01-05T19:00:36.929Z] #17 0.646 + cd /tmp/sdk [2024-01-05T19:00:36.929Z] #17 0.646 + mkdir -p /tmp/sdk/build/release [2024-01-05T19:00:36.929Z] #17 0.649 + cd /tmp/sdk/build/release [2024-01-05T19:00:36.929Z] #17 0.649 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-05T19:00:37.197Z] #17 0.997 -- The C compiler identification is GNU 12.2.1 [2024-01-05T19:00:37.466Z] #17 1.059 -- Detecting C compiler ABI info [2024-01-05T19:00:37.734Z] #17 1.393 -- Detecting C compiler ABI info - done [2024-01-05T19:00:37.734Z] #17 1.475 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T19:00:37.734Z] #17 1.478 -- Detecting C compile features [2024-01-05T19:00:37.734Z] #17 1.481 -- Detecting C compile features - done [2024-01-05T19:00:37.734Z] #17 1.505 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T19:00:38.001Z] #17 1.682 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T19:00:38.001Z] #17 1.699 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T19:00:38.001Z] #17 1.715 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T19:00:38.001Z] #17 1.730 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T19:00:38.001Z] #17 1.745 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T19:00:38.001Z] #17 1.760 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T19:00:38.001Z] #17 1.776 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T19:00:38.001Z] #17 1.777 -- /opt/iotech/iot/1.5/include [2024-01-05T19:00:38.001Z] #17 1.778 -- C SDK 0.0.0 for Linux [2024-01-05T19:00:38.001Z] #17 1.791 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T19:00:38.587Z] #17 2.110 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T19:00:38.587Z] #17 2.272 -- Found Curses: /usr/lib/libcurses.so [2024-01-05T19:00:38.587Z] #17 2.378 -- Configuring done (1.7s) [2024-01-05T19:00:38.856Z] #17 2.632 -- Generating done (0.2s) [2024-01-05T19:00:39.124Z] #17 2.650 -- Build files have been written to: /tmp/sdk/build/release [2024-01-05T19:00:39.124Z] #17 2.674 + make all package [2024-01-05T19:00:39.124Z] #17 2.675 + tee release.log [2024-01-05T19:00:39.124Z] #17 2.795 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T19:00:39.709Z] #17 3.456 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T19:00:41.121Z] #17 4.459 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T19:00:41.708Z] #17 5.231 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T19:00:42.670Z] #17 6.131 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T19:00:43.260Z] #17 6.863 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T19:00:46.043Z] #17 9.492 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T19:00:47.018Z] #17 10.54 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-05T19:00:47.019Z] #17 10.55 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T19:00:47.019Z] #17 10.55 294 | while (privateConfig) [2024-01-05T19:00:47.019Z] #17 10.55 | ^~~~~~~~~~~~~ [2024-01-05T19:00:47.019Z] #17 10.55 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-05T19:00:47.019Z] #17 10.55 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T19:00:47.019Z] #17 10.55 | ^~~~~~~~~~~~~ [2024-01-05T19:00:47.019Z] #17 10.55 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T19:00:47.019Z] #17 10.55 271 | while (result) [2024-01-05T19:00:47.019Z] #17 10.55 | ^~~~~~ [2024-01-05T19:00:47.019Z] #17 10.55 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-05T19:00:47.019Z] #17 10.55 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-05T19:00:47.019Z] #17 10.55 | ^~~~~~ [2024-01-05T19:00:47.284Z] #17 10.95 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T19:00:47.551Z] #17 11.22 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T19:00:48.512Z] #17 12.27 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T19:00:51.090Z] #17 14.49 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T19:00:51.674Z] #17 15.17 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T19:00:52.633Z] #17 16.09 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T19:00:53.216Z] #17 16.83 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T19:00:53.482Z] #17 17.32 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T19:00:54.895Z] #17 18.42 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T19:00:55.161Z] #17 18.74 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T19:00:57.739Z] #17 21.11 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T19:00:57.739Z] #17 21.51 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T19:00:58.698Z] #17 22.17 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T19:01:00.115Z] #17 23.65 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T19:01:08.337Z] #17 31.77 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T19:01:08.605Z] #17 32.46 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T19:01:09.191Z] #17 32.92 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T19:01:10.156Z] #17 33.55 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T19:01:10.156Z] #17 33.95 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T19:01:12.105Z] #17 35.86 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T19:01:15.460Z] #17 38.84 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T19:01:15.729Z] #17 39.42 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T19:01:17.143Z] #17 40.58 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T19:01:17.729Z] #17 41.25 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T19:01:17.997Z] #17 41.62 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T19:01:17.997Z] #17 41.62 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T19:01:17.997Z] #17 41.62 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T19:01:17.997Z] #17 41.62 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T19:01:17.997Z] #17 41.62 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T19:01:17.997Z] #17 41.62 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T19:01:17.997Z] #17 41.62 | ^ [2024-01-05T19:01:19.940Z] #17 43.28 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-05T19:01:19.940Z] #17 43.28 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-05T19:01:19.940Z] #17 43.28 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T19:01:19.940Z] #17 43.28 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-05T19:01:19.940Z] #17 43.28 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-05T19:01:19.940Z] #17 43.28 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-05T19:01:20.902Z] #17 44.65 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T19:01:21.862Z] #17 45.49 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T19:01:22.130Z] #17 45.89 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T19:01:23.092Z] #17 46.47 [ 68%] Linking C shared library libcsdk.so [2024-01-05T19:01:23.092Z] #17 46.69 [ 68%] Built target csdk [2024-01-05T19:01:23.092Z] #17 46.75 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T19:01:24.051Z] #17 47.61 [ 72%] Linking C executable template [2024-01-05T19:01:24.316Z] #17 48.02 [ 72%] Built target template [2024-01-05T19:01:24.316Z] #17 48.08 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T19:01:24.909Z] #17 48.62 [ 76%] Linking C executable device-counter [2024-01-05T19:01:25.493Z] #17 48.95 [ 76%] Built target device-counter [2024-01-05T19:01:25.493Z] #17 49.01 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T19:01:26.076Z] #17 49.57 [ 80%] Linking C executable device-random [2024-01-05T19:01:26.076Z] #17 49.89 [ 80%] Built target device-random [2024-01-05T19:01:26.076Z] #17 49.95 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T19:01:27.034Z] #17 50.43 [ 84%] Linking C executable device-gyro [2024-01-05T19:01:27.035Z] #17 50.76 [ 84%] Built target device-gyro [2024-01-05T19:01:27.035Z] #17 50.82 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T19:01:27.618Z] #17 51.33 [ 88%] Linking C executable device-bitfields [2024-01-05T19:01:27.886Z] #17 51.67 [ 88%] Built target device-bitfields [2024-01-05T19:01:28.153Z] #17 51.73 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T19:01:29.112Z] #17 52.58 [ 92%] Linking C executable template-discovery [2024-01-05T19:01:29.381Z] #17 52.90 [ 92%] Built target template-discovery [2024-01-05T19:01:29.381Z] #17 52.96 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T19:01:29.963Z] #17 53.73 [ 96%] Linking C executable device-file [2024-01-05T19:01:30.236Z] #17 54.05 [ 96%] Built target device-file [2024-01-05T19:01:30.506Z] #17 54.11 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T19:01:31.118Z] #17 54.78 [100%] Linking C executable device-terminal [2024-01-05T19:01:31.386Z] #17 55.12 [100%] Built target device-terminal [2024-01-05T19:01:31.386Z] #17 55.18 Run CPack packaging tool... [2024-01-05T19:01:31.386Z] #17 55.22 CPack: Create package using TGZ [2024-01-05T19:01:31.654Z] #17 55.22 CPack: Install projects [2024-01-05T19:01:31.654Z] #17 55.23 CPack: - Run preinstall target for: Csdk [2024-01-05T19:01:32.239Z] #17 55.99 CPack: - Install project: Csdk [] [2024-01-05T19:01:32.239Z] #17 56.02 CPack: Create package [2024-01-05T19:01:32.239Z] #17 56.11 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-05T19:01:32.507Z] #17 56.12 + '[' false '=' true ] [2024-01-05T19:01:32.507Z] #17 56.12 + '[' false '=' true ] [2024-01-05T19:01:32.507Z] #17 56.12 + mkdir -p /tmp/sdk/build/debug [2024-01-05T19:01:32.507Z] #17 56.12 + cd /tmp/sdk/build/debug [2024-01-05T19:01:32.507Z] #17 56.12 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-05T19:01:32.775Z] #17 56.44 -- The C compiler identification is GNU 12.2.1 [2024-01-05T19:01:32.775Z] #17 56.51 -- Detecting C compiler ABI info [2024-01-05T19:01:33.044Z] #17 56.84 -- Detecting C compiler ABI info - done [2024-01-05T19:01:33.312Z] #17 56.92 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-05T19:01:33.312Z] #17 56.92 -- Detecting C compile features [2024-01-05T19:01:33.312Z] #17 56.93 -- Detecting C compile features - done [2024-01-05T19:01:33.312Z] #17 56.95 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-05T19:01:33.585Z] #17 57.14 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-05T19:01:33.585Z] #17 57.16 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-05T19:01:33.585Z] #17 57.17 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-05T19:01:33.585Z] #17 57.19 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-05T19:01:33.585Z] #17 57.21 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-05T19:01:33.585Z] #17 57.22 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-05T19:01:33.585Z] #17 57.24 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-05T19:01:33.585Z] #17 57.24 -- /opt/iotech/iot/1.5/include [2024-01-05T19:01:33.585Z] #17 57.24 -- C SDK 0.0.0 for Linux [2024-01-05T19:01:33.585Z] #17 57.26 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-05T19:01:33.852Z] #17 57.60 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-05T19:01:34.133Z] #17 57.78 -- Found Curses: /usr/lib/libcurses.so [2024-01-05T19:01:34.133Z] #17 57.89 -- Configuring done (1.7s) [2024-01-05T19:01:34.401Z] #17 58.14 -- Generating done (0.2s) [2024-01-05T19:01:34.667Z] #17 58.16 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-05T19:01:34.667Z] #17 58.18 + make [2024-01-05T19:01:34.667Z] #17 58.18 + tee debug.log [2024-01-05T19:01:34.667Z] #17 58.31 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-05T19:01:34.934Z] #17 58.70 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-05T19:01:35.516Z] #17 59.18 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-05T19:01:35.785Z] #17 59.52 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-05T19:01:36.054Z] #17 59.88 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-05T19:01:36.652Z] #17 60.24 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-05T19:01:37.236Z] #17 60.89 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-05T19:01:37.510Z] #17 61.32 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-05T19:01:37.778Z] #17 61.49 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-05T19:01:38.045Z] #17 61.90 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-05T19:01:39.003Z] #17 62.51 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-05T19:01:39.269Z] #17 62.82 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-05T19:01:39.537Z] #17 63.22 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-05T19:01:39.802Z] #17 63.57 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-05T19:01:40.399Z] #17 63.88 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-05T19:01:40.399Z] #17 64.24 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-05T19:01:40.666Z] #17 64.46 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-05T19:01:41.623Z] #17 65.18 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-05T19:01:41.623Z] #17 65.40 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-05T19:01:41.890Z] #17 65.61 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-05T19:01:42.491Z] #17 66.22 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-05T19:01:43.894Z] #17 67.33 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-05T19:01:44.161Z] #17 67.67 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-05T19:01:44.161Z] #17 67.93 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-05T19:01:44.743Z] #17 68.24 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-05T19:01:44.743Z] #17 68.50 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-05T19:01:45.323Z] #17 68.99 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-05T19:01:46.729Z] #17 70.26 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-05T19:01:46.729Z] #17 70.52 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-05T19:01:47.310Z] #17 70.90 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-05T19:01:47.576Z] #17 71.25 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-05T19:01:47.843Z] #17 71.51 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-05T19:01:47.843Z] #17 71.51 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T19:01:47.843Z] #17 71.51 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-05T19:01:47.843Z] #17 71.51 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-05T19:01:47.843Z] #17 71.51 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-05T19:01:47.843Z] #17 71.51 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-05T19:01:47.843Z] #17 71.51 | ^ [2024-01-05T19:01:48.422Z] #17 72.03 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-05T19:01:48.687Z] #17 72.38 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-05T19:01:48.952Z] #17 72.66 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-05T19:01:49.218Z] #17 72.93 [ 68%] Linking C shared library libcsdk.so [2024-01-05T19:01:49.483Z] #17 73.18 [ 68%] Built target csdk [2024-01-05T19:01:49.483Z] #17 73.23 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-05T19:01:50.069Z] #17 73.57 [ 72%] Linking C executable template [2024-01-05T19:01:50.069Z] #17 73.88 [ 72%] Built target template [2024-01-05T19:01:50.069Z] #17 73.93 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-05T19:01:50.651Z] #17 74.22 [ 76%] Linking C executable device-counter [2024-01-05T19:01:50.919Z] #17 74.60 [ 76%] Built target device-counter [2024-01-05T19:01:50.919Z] #17 74.67 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-05T19:01:51.185Z] #17 74.95 [ 80%] Linking C executable device-random [2024-01-05T19:01:51.766Z] #17 75.32 [ 80%] Built target device-random [2024-01-05T19:01:51.766Z] #17 75.38 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-05T19:01:52.032Z] #17 75.67 [ 84%] Linking C executable device-gyro [2024-01-05T19:01:52.298Z] #17 75.99 [ 84%] Built target device-gyro [2024-01-05T19:01:52.298Z] #17 76.05 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-05T19:01:52.564Z] #17 76.40 [ 88%] Linking C executable device-bitfields [2024-01-05T19:01:53.144Z] #17 76.72 [ 88%] Built target device-bitfields [2024-01-05T19:01:53.144Z] #17 76.79 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-05T19:01:53.727Z] #17 77.15 [ 92%] Linking C executable template-discovery [2024-01-05T19:01:53.727Z] #17 77.56 [ 92%] Built target template-discovery [2024-01-05T19:01:53.993Z] #17 77.63 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-05T19:01:54.259Z] #17 77.99 [ 96%] Linking C executable device-file [2024-01-05T19:01:54.841Z] #17 78.37 [ 96%] Built target device-file [2024-01-05T19:01:54.841Z] #17 78.43 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-05T19:01:55.107Z] #17 78.85 [100%] Linking C executable device-terminal [2024-01-05T19:01:55.690Z] #17 79.26 [100%] Built target device-terminal [2024-01-05T19:01:55.690Z] #17 79.30 make: Entering directory '/tmp/sdk/build/release' [2024-01-05T19:01:55.690Z] #17 79.47 [ 68%] Built target csdk [2024-01-05T19:01:55.690Z] #17 79.54 [ 72%] Built target template [2024-01-05T19:01:55.958Z] #17 79.60 [ 76%] Built target device-counter [2024-01-05T19:01:55.958Z] #17 79.66 [ 80%] Built target device-random [2024-01-05T19:01:55.958Z] #17 79.72 [ 84%] Built target device-gyro [2024-01-05T19:01:55.958Z] #17 79.79 [ 88%] Built target device-bitfields [2024-01-05T19:01:56.225Z] #17 79.85 [ 92%] Built target template-discovery [2024-01-05T19:01:56.225Z] #17 79.91 [ 96%] Built target device-file [2024-01-05T19:01:56.225Z] #17 79.98 [100%] Built target device-terminal [2024-01-05T19:01:56.225Z] #17 80.04 Install the project... [2024-01-05T19:01:56.493Z] #17 80.06 -- Install configuration: "Release" [2024-01-05T19:01:56.493Z] #17 80.07 -- Installing: /usr/local/lib/libcsdk.so [2024-01-05T19:01:56.493Z] #17 80.08 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-05T19:01:56.493Z] #17 80.08 -- Installing: /usr/local/include [2024-01-05T19:01:56.493Z] #17 80.08 -- Installing: /usr/local/include/devsdk [2024-01-05T19:01:56.493Z] #17 80.08 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-05T19:01:56.493Z] #17 80.08 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-05T19:01:56.493Z] #17 80.08 -- Installing: /usr/local/include/edgex [2024-01-05T19:01:56.493Z] #17 80.08 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-05T19:01:56.493Z] #17 80.08 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-05T19:01:56.493Z] #17 80.08 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-05T19:01:56.493Z] #17 80.08 -- Installing: /usr/local/include/edgex/devices.h [2024-01-05T19:01:56.493Z] #17 80.09 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-05T19:01:56.493Z] #17 80.09 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-05T19:01:56.493Z] #17 80.09 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-05T19:01:56.493Z] #17 80.09 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-05T19:01:56.493Z] #17 80.10 make: Leaving directory '/tmp/sdk/build/release' [2024-01-05T19:01:56.493Z] #17 DONE 80.2s [2024-01-05T19:01:56.493Z] [2024-01-05T19:01:56.493Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-05T19:01:56.761Z] #18 DONE 0.2s [2024-01-05T19:01:56.761Z] [2024-01-05T19:01:56.761Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-05T19:01:56.761Z] #19 DONE 0.1s [2024-01-05T19:01:56.761Z] [2024-01-05T19:01:56.761Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-05T19:01:56.761Z] #20 DONE 0.1s [2024-01-05T19:01:57.028Z] [2024-01-05T19:01:57.028Z] #21 exporting to image [2024-01-05T19:01:57.028Z] #21 exporting layers [2024-01-05T19:01:57.028Z] #21 exporting layers 0.2s done [2024-01-05T19:01:57.028Z] #21 writing image sha256:804ac4b0030e514725ed02f0281ac72e65108555342ef0d9f3cdf84c4dcd4529 done [2024-01-05T19:01:57.028Z] #21 naming to docker.io/library/ci-base-image-arm64 [2024-01-05T19:01:57.295Z] #21 naming to docker.io/library/ci-base-image-arm64 done [2024-01-05T19:01:57.295Z] #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:01:57.938Z] + docker inspect -f . ci-base-image-arm64 [2024-01-05T19:01:57.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T19:01:58.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-26788 does not seem to be running inside a container [2024-01-05T19:01:58.244Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-05T19:01:59.321Z] $ docker top 0cf2e7d02d52c925fc8da48c7233155351c3b919d674796fe568110ca47e7e14 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T19:01:59.846Z] + make test [2024-01-05T19:02:00.113Z] echo "make test" [2024-01-05T19:02:00.113Z] make test [Pipeline] } [2024-01-05T19:02:00.129Z] $ docker stop --time=1 0cf2e7d02d52c925fc8da48c7233155351c3b919d674796fe568110ca47e7e14 [2024-01-05T19:02:01.672Z] $ docker rm -f --volumes 0cf2e7d02d52c925fc8da48c7233155351c3b919d674796fe568110ca47e7e14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-05T19:02:02.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-05T19:02:02.730Z] + ls -al . [2024-01-05T19:02:02.730Z] total 208 [2024-01-05T19:02:02.730Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 18:59 . [2024-01-05T19:02:02.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:59 .. [2024-01-05T19:02:02.730Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 5 18:59 .git [2024-01-05T19:02:02.730Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 5 18:59 .github [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 5 18:59 .gitignore [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 5 18:59 Attribution.txt [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 5 18:59 CHANGELOG.md [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 5 18:59 Doxyfile [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 5 18:59 GOVERNANCE.md [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 5 18:59 Jenkinsfile [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 5 18:59 LICENSE [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 5 18:59 Makefile [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 5 18:59 OWNERS.md [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 5 18:59 README.IOT.md [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 5 18:59 README.md [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 5 18:59 README.v3.md [2024-01-05T19:02:02.730Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 5 18:56 VERSION [2024-01-05T19:02:02.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 18:59 docs [2024-01-05T19:02:02.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:59 include [2024-01-05T19:02:02.730Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 5 18:59 scripts [2024-01-05T19:02:02.730Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 5 18:59 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:02:03.128Z] + 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=12e0f42a3f89eea410549ef3c2de7e7be7d17ed7 --label arch=arm64 --label version=0.0.0 . [2024-01-05T19:02:03.715Z] #0 building with "default" instance using docker driver [2024-01-05T19:02:03.715Z] [2024-01-05T19:02:03.715Z] #1 [internal] load .dockerignore [2024-01-05T19:02:03.715Z] #1 transferring context: [2024-01-05T19:02:03.983Z] #1 transferring context: 2B done [2024-01-05T19:02:03.983Z] #1 DONE 0.0s [2024-01-05T19:02:03.983Z] [2024-01-05T19:02:03.983Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-05T19:02:03.983Z] #2 transferring dockerfile: 1.44kB 0.0s done [2024-01-05T19:02:03.983Z] #2 DONE 0.0s [2024-01-05T19:02:03.983Z] [2024-01-05T19:02:03.983Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-05T19:02:03.983Z] #3 DONE 0.0s [2024-01-05T19:02:03.983Z] [2024-01-05T19:02:03.983Z] #4 [internal] load build context [2024-01-05T19:02:03.983Z] #4 transferring context: 8.55kB 0.1s done [2024-01-05T19:02:03.983Z] #4 DONE 0.1s [2024-01-05T19:02:03.983Z] [2024-01-05T19:02:03.983Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-05T19:02:03.983Z] #5 DONE 0.2s [2024-01-05T19:02:04.250Z] [2024-01-05T19:02:04.250Z] #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:02:04.517Z] #6 0.595 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-05T19:02:05.099Z] #6 1.111 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-05T19:02:05.099Z] #6 1.111 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-05T19:02:05.099Z] #6 1.111 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-05T19:02:06.507Z] #6 DONE 2.4s [2024-01-05T19:02:06.507Z] [2024-01-05T19:02:06.507Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-05T19:02:07.475Z] #7 DONE 0.8s [2024-01-05T19:02:07.475Z] [2024-01-05T19:02:07.475Z] #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:02:08.057Z] #8 0.801 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:08.639Z] #8 1.204 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:09.220Z] #8 1.829 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-05T19:02:10.174Z] #8 2.780 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-05T19:02:10.174Z] #8 2.820 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2024-01-05T19:02:10.450Z] #8 3.139 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-05T19:02:10.450Z] #8 3.158 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-05T19:02:10.450Z] #8 3.165 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-05T19:02:10.450Z] #8 3.171 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-05T19:02:10.450Z] #8 3.179 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-05T19:02:10.450Z] #8 3.206 (7/11) Installing libblkid (2.38.1-r8) [2024-01-05T19:02:10.450Z] #8 3.221 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-05T19:02:10.450Z] #8 3.238 (9/11) Installing libmount (2.38.1-r8) [2024-01-05T19:02:10.450Z] #8 3.253 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-05T19:02:10.450Z] #8 3.265 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-05T19:02:10.450Z] #8 3.342 Executing busybox-1.36.1-r4.trigger [2024-01-05T19:02:10.716Z] #8 3.386 OK: 333 MiB in 100 packages [2024-01-05T19:02:10.987Z] #8 DONE 3.7s [2024-01-05T19:02:10.987Z] [2024-01-05T19:02:10.987Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-05T19:02:11.254Z] #9 DONE 0.1s [2024-01-05T19:02:11.254Z] [2024-01-05T19:02:11.254Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-05T19:02:11.254Z] #10 DONE 0.2s [2024-01-05T19:02:11.254Z] [2024-01-05T19:02:11.254Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-05T19:02:11.522Z] #11 DONE 0.1s [2024-01-05T19:02:11.522Z] [2024-01-05T19:02:11.522Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-05T19:02:11.522Z] #12 DONE 0.1s [2024-01-05T19:02:11.522Z] [2024-01-05T19:02:11.522Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-05T19:02:11.522Z] #13 DONE 0.1s [2024-01-05T19:02:11.522Z] [2024-01-05T19:02:11.522Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-05T19:02:11.792Z] #14 DONE 0.1s [2024-01-05T19:02:11.792Z] [2024-01-05T19:02:11.792Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-05T19:02:11.792Z] #15 DONE 0.1s [2024-01-05T19:02:11.792Z] [2024-01-05T19:02:11.792Z] #16 exporting to image [2024-01-05T19:02:11.792Z] #16 exporting layers [2024-01-05T19:02:12.058Z] #16 exporting layers 0.4s done [2024-01-05T19:02:12.058Z] #16 writing image sha256:f75fb432b67ea438fad359fd8ba1d982e883c2c94de9354cfc4c225bfa3105ec done [2024-01-05T19:02:12.058Z] #16 naming to docker.io/library/device-sdk-arm64 done [2024-01-05T19:02:12.058Z] #16 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:02:12.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T19:02:12.812Z] [2024-01-05T19:02:12.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:02:13.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T19:02:13.444Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-05T19:02:13.444Z] 8998bd30e6a1: Pulling fs layer [2024-01-05T19:02:13.444Z] 04944245beec: Pulling fs layer [2024-01-05T19:02:13.444Z] 699f458cf7ca: Pulling fs layer [2024-01-05T19:02:13.444Z] 765212b225bb: Pulling fs layer [2024-01-05T19:02:13.444Z] f23df028b6ca: Pulling fs layer [2024-01-05T19:02:13.444Z] d65c8cfc05b1: Pulling fs layer [2024-01-05T19:02:13.444Z] 2437ff75d9bd: Pulling fs layer [2024-01-05T19:02:13.444Z] f23df028b6ca: Waiting [2024-01-05T19:02:13.444Z] 2437ff75d9bd: Waiting [2024-01-05T19:02:13.444Z] d65c8cfc05b1: Waiting [2024-01-05T19:02:13.444Z] 765212b225bb: Waiting [2024-01-05T19:02:13.444Z] 04944245beec: Verifying Checksum [2024-01-05T19:02:13.444Z] 04944245beec: Download complete [2024-01-05T19:02:13.444Z] 765212b225bb: Verifying Checksum [2024-01-05T19:02:13.444Z] 765212b225bb: Download complete [2024-01-05T19:02:13.444Z] f23df028b6ca: Verifying Checksum [2024-01-05T19:02:13.444Z] f23df028b6ca: Download complete [2024-01-05T19:02:13.444Z] d65c8cfc05b1: Download complete [2024-01-05T19:02:13.711Z] 699f458cf7ca: Verifying Checksum [2024-01-05T19:02:13.711Z] 699f458cf7ca: Download complete [2024-01-05T19:02:13.980Z] 8998bd30e6a1: Verifying Checksum [2024-01-05T19:02:13.980Z] 8998bd30e6a1: Download complete [2024-01-05T19:02:15.925Z] 2437ff75d9bd: Verifying Checksum [2024-01-05T19:02:15.925Z] 2437ff75d9bd: Download complete [2024-01-05T19:02:21.263Z] 8998bd30e6a1: Pull complete [2024-01-05T19:02:21.263Z] 04944245beec: Pull complete [2024-01-05T19:02:23.212Z] 699f458cf7ca: Pull complete [2024-01-05T19:02:23.212Z] 765212b225bb: Pull complete [2024-01-05T19:02:23.794Z] f23df028b6ca: Pull complete [2024-01-05T19:02:23.794Z] d65c8cfc05b1: Pull complete [2024-01-05T19:02:50.456Z] 2437ff75d9bd: Pull complete [2024-01-05T19:02:50.456Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-05T19:02:50.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-05T19:02:50.456Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T19:02:50.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-26788 does not seem to be running inside a container [2024-01-05T19:02:50.792Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-05T19:02:52.019Z] $ docker top 92af90b1a39e40c960f4469f2453a678e862d81e84abadbc93e1b927552135b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:02:52.545Z] ---> job-cost.sh [2024-01-05T19:02:52.810Z] lf-activate-venv: SKIPPING [2024-01-05T19:02:52.810Z] INFO: No Stack... [2024-01-05T19:02:53.077Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T19:02:54.035Z] INFO: Archiving Costs [Pipeline] sh [2024-01-05T19:02:54.355Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2024-01-05T19:02:54.356Z] + cut -d, -f6 [Pipeline] lock [2024-01-05T19:02:54.414Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-500-2-stack-cost] [2024-01-05T19:02:54.423Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-500-2-stack-cost] did not exist. Created. [2024-01-05T19:02:54.423Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-500-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-05T19:02:54.826Z] /w/workspace/device-sdk-c/2@tmp/durable-68bbdbe9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-05T19:02:55.146Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-05T19:02:55.195Z] Warning: overwriting stash ‘stack-cost’ [2024-01-05T19:02:55.643Z] Stashed 1 file(s) [Pipeline] } [2024-01-05T19:02:55.652Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-500-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-05T19:02:55.730Z] $ docker stop --time=1 92af90b1a39e40c960f4469f2453a678e862d81e84abadbc93e1b927552135b1 [2024-01-05T19:02:57.106Z] $ docker rm -f --volumes 92af90b1a39e40c960f4469f2453a678e862d81e84abadbc93e1b927552135b1 [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:02:58.806Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives ] [2024-01-05T19:02:58.806Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-01-05T19:02:58.806Z] total 16 [2024-01-05T19:02:58.806Z] drwxr-xr-x 3 root root 4096 Jan 5 18:57 . [2024-01-05T19:02:58.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 18:57 .. [2024-01-05T19:02:58.806Z] drwxr-xr-x 2 root root 4096 Jan 5 18:57 cost [2024-01-05T19:02:58.806Z] -rw-r--r-- 1 root root 84 Jan 5 18:57 cost.csv [2024-01-05T19:02:58.806Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-01-05T19:02:58.806Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives [2024-01-05T19:02:58.806Z] total 16 [2024-01-05T19:02:58.806Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 5 18:57 . [2024-01-05T19:02:58.806Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 5 18:57 .. [2024-01-05T19:02:58.806Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 5 18:57 cost [2024-01-05T19:02:58.806Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 5 18:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:02:59.102Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:02:59.961Z] ---> package-listing.sh [2024-01-05T19:02:59.961Z] ++ facter osfamily [2024-01-05T19:02:59.961Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-05T19:03:00.222Z] + OS_FAMILY=debian [2024-01-05T19:03:00.222Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-500 [2024-01-05T19:03:00.222Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-05T19:03:00.222Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-05T19:03:00.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-05T19:03:00.222Z] + PACKAGES=/tmp/packages_start.txt [2024-01-05T19:03:00.222Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-500 ']' [2024-01-05T19:03:00.222Z] + PACKAGES=/tmp/packages_end.txt [2024-01-05T19:03:00.222Z] + case "${OS_FAMILY}" in [2024-01-05T19:03:00.222Z] + dpkg -l [2024-01-05T19:03:00.222Z] + grep '^ii' [2024-01-05T19:03:00.222Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-05T19:03:00.222Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-05T19:03:00.222Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-05T19:03:00.222Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-500 ']' [2024-01-05T19:03:00.222Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/ [2024-01-05T19:03:00.222Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-500/archives/ [Pipeline] echo [2024-01-05T19:03:00.234Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-500/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-05T19:03:00.514Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-05T19:03:01.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-05T19:03:01.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-05T19:03:01.237Z] prd-ubuntu20.04-docker-8c-8g-26785 does not seem to be running inside a container [2024-01-05T19:03:01.272Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-500/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-500 -v /w/workspace/edgexfoundry_device-sdk-c_PR-500:/w/workspace/edgexfoundry_device-sdk-c_PR-500:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-05T19:03:01.445Z] $ docker top 7ea897bd2d875e53df09d5440c802ee05b6cb9dd0952896d7fda5d2fcbfa9cf6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-05T19:03:01.916Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-05T19:03:02.258Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-05T19:03:02.562Z] + ls /var/log/sa-host [2024-01-05T19:03:02.562Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-05T19:03:02.660Z] provisioning config files... [2024-01-05T19:03:02.670Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-500@tmp/config1026407562693714029tmp [Pipeline] { [Pipeline] echo [2024-01-05T19:03:02.741Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:03:03.026Z] ---> create-netrc.sh [Pipeline] } [2024-01-05T19:03:03.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:03:03.428Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-05T19:03:03.439Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:03:03.725Z] ---> sudo-logs.sh [2024-01-05T19:03:03.725Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-05T19:03:03.783Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:03:04.072Z] ---> job-cost.sh [2024-01-05T19:03:04.072Z] lf-activate-venv: SKIPPING [2024-01-05T19:03:04.072Z] DEBUG: total: 0.2199999988079071 [2024-01-05T19:03:04.072Z] INFO: Retrieving Stack Cost... [2024-01-05T19:03:04.332Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-05T19:03:04.901Z] INFO: Archiving Costs [Pipeline] echo [2024-01-05T19:03:04.914Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-05T19:03:05.201Z] ---> logs-deploy.sh [2024-01-05T19:03:05.201Z] lf-activate-venv: SKIPPING [2024-01-05T19:03:05.201Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-500/2 [2024-01-05T19:03:05.201Z] INFO: archiving workspace using pattern(s): [2024-01-05T19:03:06.140Z] Archives upload complete. [2024-01-05T19:03:06.140Z] INFO: archiving logs to Nexus