Pull request #512 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 6cf0366f7c54f230287b420458dc2527694989f6+442156b10c8e48709838cfe148b6b6cf65ecf635 (1e4c189faabf119263b80a9f19a0259199405394) 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-ssh16344177822271139197.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-ssh8566111867893730909.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-512/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-512/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4147816209885963858.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-ssh1787499861871834863.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-512/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-512/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7432862276286267374.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2549’ Running on prd-ubuntu20.04-docker-8c-8g-2551 in /w/workspace/edgexfoundry_device-sdk-c_PR-512 [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-512 # 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/512/head:refs/remotes/origin/PR-512 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit 6cf0366f7c54f230287b420458dc2527694989f6 Merge succeeded, producing 6cf0366f7c54f230287b420458dc2527694989f6 Checking out Revision 6cf0366f7c54f230287b420458dc2527694989f6 (PR-512) > git config core.sparsecheckout # timeout=10 > git checkout -f 6cf0366f7c54f230287b420458dc2527694989f6 # 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 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cf0366f7c54f230287b420458dc2527694989f6 # timeout=10 Commit message: "feat: Make strdup-if-set more readable." > git rev-list --no-walk 587087fd4755ca6e0f177009ed907985d2b175db # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-16T13:38:03.955Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-16T13:38:04.017Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-16T13:38:04.039Z] ========================================================= [2024-04-16T13:38:04.040Z] EdgeX Global Pipelines Version Info [2024-04-16T13:38:04.040Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:38:04.756Z] ------------------- [2024-04-16T13:38:04.756Z] stable info: [2024-04-16T13:38:04.756Z] ------------------- [2024-04-16T13:38:04.756Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-16T13:38:04.756Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-16T13:38:04.756Z] Message: update stable to v1.0.258 [2024-04-16T13:38:05.698Z] ------------------- [2024-04-16T13:38:05.698Z] experimental info: [2024-04-16T13:38:05.698Z] ------------------- [2024-04-16T13:38:05.698Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-16T13:38:05.698Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-16T13:38:05.698Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-16T13:38:05.761Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-04-16T13:38:05.776Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-04-16T13:38:05.797Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-16T13:38:05.817Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-16T13:38:05.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-16T13:38:05.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-04-16T13:38:05.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-04-16T13:38:05.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-16T13:38:05.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-16T13:38:05.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-04-16T13:38:05.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-16T13:38:05.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-16T13:38:05.995Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-16T13:38:06.017Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-04-16T13:38:06.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-16T13:38:06.051Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-16T13:38:06.069Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-16T13:38:06.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-512 [Pipeline] echo [2024-04-16T13:38:06.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-512 [Pipeline] echo [2024-04-16T13:38:06.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-512 [Pipeline] echo [2024-04-16T13:38:06.158Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cf0366f7c54f230287b420458dc2527694989f6 [Pipeline] echo [2024-04-16T13:38:06.178Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cf0366 [Pipeline] echo [2024-04-16T13:38:06.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T13:38:06.260Z] provisioning config files... [2024-04-16T13:38:06.276Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/config14366822819600934677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:38:06.608Z] ---> ****-login.sh [2024-04-16T13:38:06.608Z] nexus3.edgexfoundry.org:10001 [2024-04-16T13:38:06.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:38:06.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:38:06.870Z] Configure a credential helper to remove this warning. See [2024-04-16T13:38:06.870Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:38:06.870Z] [2024-04-16T13:38:06.870Z] Login Succeeded [2024-04-16T13:38:06.870Z] nexus3.edgexfoundry.org:10002 [2024-04-16T13:38:06.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:38:07.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:38:07.133Z] Configure a credential helper to remove this warning. See [2024-04-16T13:38:07.133Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:38:07.133Z] [2024-04-16T13:38:07.133Z] Login Succeeded [2024-04-16T13:38:07.133Z] nexus3.edgexfoundry.org:10003 [2024-04-16T13:38:07.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:38:07.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:38:07.133Z] Configure a credential helper to remove this warning. See [2024-04-16T13:38:07.133Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:38:07.133Z] [2024-04-16T13:38:07.133Z] Login Succeeded [2024-04-16T13:38:07.133Z] nexus3.edgexfoundry.org:10004 [2024-04-16T13:38:07.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:38:07.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:38:07.134Z] Configure a credential helper to remove this warning. See [2024-04-16T13:38:07.134Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:38:07.134Z] [2024-04-16T13:38:07.134Z] Login Succeeded [2024-04-16T13:38:07.395Z] ****.io [2024-04-16T13:38:07.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:38:07.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:38:07.656Z] Configure a credential helper to remove this warning. See [2024-04-16T13:38:07.656Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:38:07.656Z] [2024-04-16T13:38:07.656Z] Login Succeeded [2024-04-16T13:38:07.656Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T13:38:07.664Z] 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-04-16T13:38:08.057Z] + git rev-list -1 --merges 6cf0366f7c54f230287b420458dc2527694989f6~1..6cf0366f7c54f230287b420458dc2527694989f6 [Pipeline] echo [2024-04-16T13:38:08.085Z] -----------> git rev-list -1 --merges 6cf0366f7c54f230287b420458dc2527694989f6~1..6cf0366f7c54f230287b420458dc2527694989f6 6cf0366f7c54f230287b420458dc2527694989f6 [false] [Pipeline] sh [2024-04-16T13:38:08.377Z] + git log --format=format:%s -1 6cf0366f7c54f230287b420458dc2527694989f6 [Pipeline] echo [2024-04-16T13:38:08.391Z] ========================================================= [2024-04-16T13:38:08.391Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-16T13:38:08.391Z] ========================================================= 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-04-16T13:38:08.832Z] + git rev-list -1 --merges 6cf0366f7c54f230287b420458dc2527694989f6~1..6cf0366f7c54f230287b420458dc2527694989f6 [Pipeline] echo [2024-04-16T13:38:08.845Z] -----------> git rev-list -1 --merges 6cf0366f7c54f230287b420458dc2527694989f6~1..6cf0366f7c54f230287b420458dc2527694989f6 6cf0366f7c54f230287b420458dc2527694989f6 [false] [Pipeline] sh [2024-04-16T13:38:09.142Z] + git log --format=format:%s -1 6cf0366f7c54f230287b420458dc2527694989f6 [Pipeline] echo [2024-04-16T13:38:09.158Z] ========================================================= [2024-04-16T13:38:09.159Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-16T13:38:09.159Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-04-16T13:38:09.588Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-16T13:38:09.588Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-16T13:38:09.588Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-16T13:38:09.588Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-16T13:38:09.588Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-16T13:38:09.588Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-16T13:38:09.588Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:38:10.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T13:38:10.014Z] [2024-04-16T13:38:10.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:38:10.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T13:38:10.318Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-16T13:38:10.318Z] b85a868b505f: Pulling fs layer [2024-04-16T13:38:10.318Z] e2be974225ed: Pulling fs layer [2024-04-16T13:38:10.318Z] 339a4e72a1f5: Pulling fs layer [2024-04-16T13:38:10.318Z] 988bab9f4d93: Pulling fs layer [2024-04-16T13:38:10.318Z] 1469e6f7b9e6: Pulling fs layer [2024-04-16T13:38:10.318Z] eaf3925da568: Pulling fs layer [2024-04-16T13:38:10.318Z] bab4dde63d76: Pulling fs layer [2024-04-16T13:38:10.318Z] bde34c3a00c8: Pulling fs layer [2024-04-16T13:38:10.318Z] b352a97aabf1: Pulling fs layer [2024-04-16T13:38:10.318Z] 4872d77fe225: Pulling fs layer [2024-04-16T13:38:10.318Z] 5851b861e8e6: Pulling fs layer [2024-04-16T13:38:10.318Z] 988bab9f4d93: Waiting [2024-04-16T13:38:10.318Z] 1469e6f7b9e6: Waiting [2024-04-16T13:38:10.318Z] bde34c3a00c8: Waiting [2024-04-16T13:38:10.318Z] b352a97aabf1: Waiting [2024-04-16T13:38:10.318Z] 5851b861e8e6: Waiting [2024-04-16T13:38:10.318Z] 4872d77fe225: Waiting [2024-04-16T13:38:10.318Z] e2be974225ed: Verifying Checksum [2024-04-16T13:38:10.318Z] e2be974225ed: Download complete [2024-04-16T13:38:10.318Z] 988bab9f4d93: Verifying Checksum [2024-04-16T13:38:10.318Z] 988bab9f4d93: Download complete [2024-04-16T13:38:10.318Z] 1469e6f7b9e6: Verifying Checksum [2024-04-16T13:38:10.318Z] 1469e6f7b9e6: Download complete [2024-04-16T13:38:10.576Z] eaf3925da568: Verifying Checksum [2024-04-16T13:38:10.576Z] eaf3925da568: Download complete [2024-04-16T13:38:10.576Z] 339a4e72a1f5: Verifying Checksum [2024-04-16T13:38:10.576Z] 339a4e72a1f5: Download complete [2024-04-16T13:38:10.576Z] bde34c3a00c8: Download complete [2024-04-16T13:38:10.576Z] b352a97aabf1: Download complete [2024-04-16T13:38:10.576Z] 4872d77fe225: Download complete [2024-04-16T13:38:10.576Z] 5851b861e8e6: Download complete [2024-04-16T13:38:10.576Z] b85a868b505f: Verifying Checksum [2024-04-16T13:38:10.576Z] b85a868b505f: Download complete [2024-04-16T13:38:10.835Z] bab4dde63d76: Verifying Checksum [2024-04-16T13:38:10.835Z] bab4dde63d76: Download complete [2024-04-16T13:38:11.773Z] b85a868b505f: Pull complete [2024-04-16T13:38:12.031Z] e2be974225ed: Pull complete [2024-04-16T13:38:12.598Z] 339a4e72a1f5: Pull complete [2024-04-16T13:38:12.598Z] 988bab9f4d93: Pull complete [2024-04-16T13:38:12.861Z] 1469e6f7b9e6: Pull complete [2024-04-16T13:38:13.120Z] eaf3925da568: Pull complete [2024-04-16T13:38:15.027Z] bab4dde63d76: Pull complete [2024-04-16T13:38:15.027Z] bde34c3a00c8: Pull complete [2024-04-16T13:38:15.027Z] b352a97aabf1: Pull complete [2024-04-16T13:38:15.027Z] 4872d77fe225: Pull complete [2024-04-16T13:38:15.027Z] 5851b861e8e6: Pull complete [2024-04-16T13:38:15.027Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-16T13:38:15.027Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T13:38:15.027Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T13:38:15.166Z] prd-ubuntu20.04-docker-8c-8g-2551 does not seem to be running inside a container [2024-04-16T13:38:15.199Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-16T13:38:18.425Z] $ docker top 641e621dde00cb1e37ecb4c81f49a70e1dbac94f6f8839b60260c014ea533af3 -eo pid,comm [2024-04-16T13:38:18.478Z] 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-04-16T13:38:18.478Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-16T13:38:18.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-16T13:38:18.531Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-16T13:38:18.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-16T13:38:18.649Z] $ docker exec 641e621dde00cb1e37ecb4c81f49a70e1dbac94f6f8839b60260c014ea533af3 ssh-agent [2024-04-16T13:38:18.756Z] SSH_AUTH_SOCK=/tmp/ssh-GDXsfylbmBso/agent.31 [2024-04-16T13:38:18.756Z] SSH_AGENT_PID=37 [2024-04-16T13:38:18.763Z] Running ssh-add (command line suppressed) [2024-04-16T13:38:18.862Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_3955876487231124626.key (/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_3955876487231124626.key) [2024-04-16T13:38:18.874Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-16T13:38:19.169Z] + git tag --points-at HEAD [Pipeline] } [2024-04-16T13:38:19.182Z] $ docker exec --env ******** --env ******** 641e621dde00cb1e37ecb4c81f49a70e1dbac94f6f8839b60260c014ea533af3 ssh-agent -k [2024-04-16T13:38:19.273Z] unset SSH_AUTH_SOCK; [2024-04-16T13:38:19.273Z] unset SSH_AGENT_PID; [2024-04-16T13:38:19.273Z] echo Agent pid 37 killed; [2024-04-16T13:38:19.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-16T13:38:19.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-16T13:38:19.320Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-16T13:38:19.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-16T13:38:19.436Z] $ docker exec 641e621dde00cb1e37ecb4c81f49a70e1dbac94f6f8839b60260c014ea533af3 ssh-agent [2024-04-16T13:38:19.553Z] SSH_AUTH_SOCK=/tmp/ssh-8J7xYptEDFLS/agent.70 [2024-04-16T13:38:19.553Z] SSH_AGENT_PID=76 [2024-04-16T13:38:19.558Z] Running ssh-add (command line suppressed) [2024-04-16T13:38:19.664Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_7237863303880028132.key (/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_7237863303880028132.key) [2024-04-16T13:38:19.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-16T13:38:19.972Z] + git semver init [2024-04-16T13:38:20.232Z] 2024-04-16 13:38:20,139 [run_init] DEBUG init version:0.0.0 force:False [2024-04-16T13:38:20.232Z] 2024-04-16 13:38:20,140 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver [2024-04-16T13:38:20.232Z] 2024-04-16 13:38:20,140 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver [2024-04-16T13:38:20.232Z] 2024-04-16 13:38:20,140 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-512, universal_newlines=False, shell=None, istream=None) [2024-04-16T13:38:21.172Z] 2024-04-16 13:38:20,980 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.git/info/exclude [2024-04-16T13:38:21.172Z] 2024-04-16 13:38:20,981 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver/PR-512 with force:False [2024-04-16T13:38:21.172Z] 2024-04-16 13:38:20,981 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver/PR-512 [2024-04-16T13:38:21.172Z] 2024-04-16 13:38:20,984 [execute] INFO git cat-file --batch-check [2024-04-16T13:38:21.172Z] 2024-04-16 13:38:20,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver, universal_newlines=False, shell=None, istream=) [2024-04-16T13:38:21.172Z] 2024-04-16 13:38:20,991 [execute] INFO git cat-file --batch [2024-04-16T13:38:21.172Z] 2024-04-16 13:38:20,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver, universal_newlines=False, shell=None, istream=) [2024-04-16T13:38:21.172Z] 2024-04-16 13:38:20,995 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver/PR-512 [2024-04-16T13:38:21.172Z] 0.0.0 [Pipeline] } [2024-04-16T13:38:21.182Z] $ docker exec --env ******** --env ******** 641e621dde00cb1e37ecb4c81f49a70e1dbac94f6f8839b60260c014ea533af3 ssh-agent -k [2024-04-16T13:38:21.280Z] unset SSH_AUTH_SOCK; [2024-04-16T13:38:21.281Z] unset SSH_AGENT_PID; [2024-04-16T13:38:21.281Z] echo Agent pid 76 killed; [2024-04-16T13:38:21.290Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-16T13:38:21.612Z] + git semver [Pipeline] } [2024-04-16T13:38:21.886Z] $ docker stop --time=1 641e621dde00cb1e37ecb4c81f49a70e1dbac94f6f8839b60260c014ea533af3 [2024-04-16T13:38:23.219Z] $ docker rm -f --volumes 641e621dde00cb1e37ecb4c81f49a70e1dbac94f6f8839b60260c014ea533af3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-16T13:38:23.560Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-16T13:38:23.785Z] Stashed 1 file(s) [Pipeline] echo [2024-04-16T13:38:23.788Z] [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-04-16T13:38:23.953Z] provisioning config files... [2024-04-16T13:38:23.963Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/config12200851974091107049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:38:24.260Z] ---> ****-login.sh [2024-04-16T13:38:24.261Z] nexus3.edgexfoundry.org:10001 [2024-04-16T13:38:24.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:38:24.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:38:24.261Z] Configure a credential helper to remove this warning. See [2024-04-16T13:38:24.261Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:38:24.261Z] [2024-04-16T13:38:24.261Z] Login Succeeded [2024-04-16T13:38:24.261Z] nexus3.edgexfoundry.org:10002 [2024-04-16T13:38:24.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:38:24.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:38:24.261Z] Configure a credential helper to remove this warning. See [2024-04-16T13:38:24.261Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:38:24.261Z] [2024-04-16T13:38:24.261Z] Login Succeeded [2024-04-16T13:38:24.261Z] nexus3.edgexfoundry.org:10003 [2024-04-16T13:38:24.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:38:24.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:38:24.522Z] Configure a credential helper to remove this warning. See [2024-04-16T13:38:24.522Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:38:24.522Z] [2024-04-16T13:38:24.522Z] Login Succeeded [2024-04-16T13:38:24.522Z] nexus3.edgexfoundry.org:10004 [2024-04-16T13:38:24.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:38:24.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:38:24.522Z] Configure a credential helper to remove this warning. See [2024-04-16T13:38:24.522Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:38:24.522Z] [2024-04-16T13:38:24.522Z] Login Succeeded [2024-04-16T13:38:24.522Z] ****.io [2024-04-16T13:38:24.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:38:24.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:38:24.782Z] Configure a credential helper to remove this warning. See [2024-04-16T13:38:24.782Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:38:24.782Z] [2024-04-16T13:38:24.782Z] Login Succeeded [2024-04-16T13:38:24.782Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T13:38:24.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-16T13:38:24.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T13:38:24.889Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-04-16T13:38:24.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T13:38:24.925Z] ========================================================= [2024-04-16T13:38:24.925Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-04-16T13:38:24.925Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:38:25.241Z] + 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-04-16T13:38:25.241Z] Sending build context to Docker daemon 5.074MB [2024-04-16T13:38:25.241Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-04-16T13:38:25.241Z] Step 2/21 : FROM ${BASE} as builder [2024-04-16T13:38:25.500Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-04-16T13:38:25.500Z] 96526aa774ef: Pulling fs layer [2024-04-16T13:38:25.500Z] da60e534fd72: Pulling fs layer [2024-04-16T13:38:25.500Z] 96526aa774ef: Verifying Checksum [2024-04-16T13:38:25.500Z] 96526aa774ef: Download complete [2024-04-16T13:38:25.759Z] 96526aa774ef: Pull complete [2024-04-16T13:38:26.324Z] da60e534fd72: Download complete [2024-04-16T13:38:29.607Z] da60e534fd72: Pull complete [2024-04-16T13:38:29.607Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-04-16T13:38:29.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-04-16T13:38:29.607Z] ---> 6605166a5db4 [2024-04-16T13:38:29.607Z] 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-04-16T13:38:31.524Z] ---> Running in dce7af5f27d1 [2024-04-16T13:38:31.784Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-04-16T13:38:32.044Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-16T13:38:32.044Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-16T13:38:32.044Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-16T13:38:32.304Z] Removing intermediate container dce7af5f27d1 [2024-04-16T13:38:32.304Z] ---> 787c7040c78b [2024-04-16T13:38:32.304Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-16T13:38:32.564Z] ---> Running in aca042dd8641 [2024-04-16T13:38:33.133Z] Removing intermediate container aca042dd8641 [2024-04-16T13:38:33.133Z] ---> c824e57a9bcc [2024-04-16T13:38:33.133Z] 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-04-16T13:38:33.133Z] ---> Running in 6120819373ff [2024-04-16T13:38:33.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:38:35.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T13:38:36.199Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:38:36.772Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-16T13:38:36.772Z] (1/17) Installing hiredis (1.1.0-r2) [2024-04-16T13:38:36.772Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-04-16T13:38:37.030Z] (3/17) Installing libcbor (0.10.2-r1) [2024-04-16T13:38:37.030Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-16T13:38:37.971Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-16T13:38:37.971Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-16T13:38:38.230Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-04-16T13:38:38.230Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-04-16T13:38:38.230Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-04-16T13:38:38.230Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-04-16T13:38:38.230Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-16T13:38:38.230Z] (12/17) Installing libblkid (2.38.1-r8) [2024-04-16T13:38:38.230Z] (13/17) Installing libuuid (2.38.1-r8) [2024-04-16T13:38:38.231Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-04-16T13:38:38.231Z] (15/17) Installing libmount (2.38.1-r8) [2024-04-16T13:38:38.491Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-04-16T13:38:38.491Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-04-16T13:38:38.491Z] Executing busybox-1.36.1-r4.trigger [2024-04-16T13:38:38.491Z] OK: 336 MiB in 99 packages [2024-04-16T13:38:38.898Z] Still waiting to schedule task [2024-04-16T13:38:38.898Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2550’ is offline [2024-04-16T13:38:39.059Z] Removing intermediate container 6120819373ff [2024-04-16T13:38:39.060Z] ---> f5ab7256be19 [2024-04-16T13:38:39.060Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-04-16T13:38:39.060Z] ---> Running in b0465d54ecb6 [2024-04-16T13:38:39.627Z] Removing intermediate container b0465d54ecb6 [2024-04-16T13:38:39.627Z] ---> 399e9b372539 [2024-04-16T13:38:39.627Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-04-16T13:38:39.627Z] ---> e7c1069b31f5 [2024-04-16T13:38:39.627Z] Step 8/21 : COPY src /tmp/sdk/src [2024-04-16T13:38:40.195Z] ---> 99da3890685f [2024-04-16T13:38:40.195Z] Step 9/21 : COPY include /tmp/sdk/include [2024-04-16T13:38:40.195Z] ---> 80757c0e2ed9 [2024-04-16T13:38:40.195Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-04-16T13:38:40.195Z] ---> 5ed7095db4e2 [2024-04-16T13:38:40.195Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-04-16T13:38:40.455Z] ---> e91975a7e64a [2024-04-16T13:38:40.455Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-04-16T13:38:40.455Z] ---> 9c38717168f0 [2024-04-16T13:38:40.455Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-04-16T13:38:40.715Z] ---> Running in 83037e43397d [2024-04-16T13:38:40.975Z] + CPPCHECK=false [2024-04-16T13:38:40.975Z] + DOCGEN=false [2024-04-16T13:38:40.975Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-04-16T13:38:40.975Z] + '[' 0 -gt 0 ] [2024-04-16T13:38:40.975Z] + readlink -f ./scripts/build.sh [2024-04-16T13:38:40.975Z] + dirname /tmp/sdk/scripts/build.sh [2024-04-16T13:38:40.975Z] + dirname /tmp/sdk/scripts [2024-04-16T13:38:40.975Z] + ROOT=/tmp/sdk [2024-04-16T13:38:40.975Z] + cd /tmp/sdk [2024-04-16T13:38:40.975Z] + mkdir -p /tmp/sdk/build/release [2024-04-16T13:38:40.975Z] + cd /tmp/sdk/build/release [2024-04-16T13:38:40.975Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-04-16T13:38:40.975Z] -- The C compiler identification is GNU 12.2.1 [2024-04-16T13:38:40.975Z] -- Detecting C compiler ABI info [2024-04-16T13:38:40.975Z] -- Detecting C compiler ABI info - done [2024-04-16T13:38:40.975Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-16T13:38:40.975Z] -- Detecting C compile features [2024-04-16T13:38:40.975Z] -- Detecting C compile features - done [2024-04-16T13:38:40.975Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-16T13:38:41.233Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-16T13:38:41.233Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-16T13:38:41.233Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-16T13:38:41.233Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-16T13:38:41.233Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-16T13:38:41.233Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-16T13:38:41.233Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-16T13:38:41.233Z] -- /opt/iotech/iot/1.5/include [2024-04-16T13:38:41.233Z] -- C SDK 0.0.0 for Linux [2024-04-16T13:38:41.233Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-16T13:38:41.233Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-16T13:38:41.233Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-16T13:38:41.233Z] -- Configuring done (0.4s) [2024-04-16T13:38:41.233Z] -- Generating done (0.0s) [2024-04-16T13:38:41.233Z] -- Build files have been written to: /tmp/sdk/build/release [2024-04-16T13:38:41.233Z] + make all package [2024-04-16T13:38:41.233Z] + tee release.log [2024-04-16T13:38:41.492Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-16T13:38:41.492Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-16T13:38:41.751Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-16T13:38:41.751Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-16T13:38:41.751Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-16T13:38:42.010Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-16T13:38:42.269Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-16T13:38:42.529Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-04-16T13:38:42.529Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-16T13:38:42.529Z] 294 | while (privateConfig) [2024-04-16T13:38:42.529Z] | ^~~~~~~~~~~~~ [2024-04-16T13:38:42.529Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-04-16T13:38:42.529Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-16T13:38:42.529Z] | ^~~~~~~~~~~~~ [2024-04-16T13:38:42.529Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-16T13:38:42.529Z] 271 | while (result) [2024-04-16T13:38:42.529Z] | ^~~~~~ [2024-04-16T13:38:42.529Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-04-16T13:38:42.529Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-16T13:38:42.529Z] | ^~~~~~ [2024-04-16T13:38:42.529Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-16T13:38:42.529Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-16T13:38:42.529Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-16T13:38:43.097Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-16T13:38:43.097Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-16T13:38:43.097Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-16T13:38:43.357Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-16T13:38:43.357Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-16T13:38:43.617Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-16T13:38:43.617Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-16T13:38:43.878Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-16T13:38:43.878Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-16T13:38:44.138Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-16T13:38:44.138Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-16T13:38:45.521Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-16T13:38:45.521Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-16T13:38:45.521Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-16T13:38:45.521Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-16T13:38:45.521Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-16T13:38:45.781Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-16T13:38:46.041Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-16T13:38:46.301Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-16T13:38:46.301Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-16T13:38:46.561Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-16T13:38:46.561Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-16T13:38:46.561Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:38:46.561Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-16T13:38:46.561Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:38:46.561Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:38:46.561Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-16T13:38:46.561Z] | ^ [2024-04-16T13:38:46.821Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-16T13:38:46.821Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-04-16T13:38:46.821Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:38:46.821Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-04-16T13:38:46.821Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-04-16T13:38:46.821Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:38:46.821Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-16T13:38:47.082Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-16T13:38:47.082Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-16T13:38:47.082Z] [ 68%] Linking C shared library libcsdk.so [2024-04-16T13:38:47.082Z] [ 68%] Built target csdk [2024-04-16T13:38:47.082Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-16T13:38:47.342Z] [ 72%] Linking C executable template [2024-04-16T13:38:47.342Z] [ 72%] Built target template [2024-04-16T13:38:47.342Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-16T13:38:47.602Z] [ 76%] Linking C executable device-counter [2024-04-16T13:38:47.602Z] [ 76%] Built target device-counter [2024-04-16T13:38:47.602Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-16T13:38:47.602Z] [ 80%] Linking C executable device-random [2024-04-16T13:38:47.602Z] [ 80%] Built target device-random [2024-04-16T13:38:47.862Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-16T13:38:47.862Z] [ 84%] Linking C executable device-gyro [2024-04-16T13:38:47.862Z] [ 84%] Built target device-gyro [2024-04-16T13:38:47.862Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-16T13:38:47.862Z] [ 88%] Linking C executable device-bitfields [2024-04-16T13:38:48.122Z] [ 88%] Built target device-bitfields [2024-04-16T13:38:48.122Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-16T13:38:48.122Z] [ 92%] Linking C executable template-discovery [2024-04-16T13:38:48.382Z] [ 92%] Built target template-discovery [2024-04-16T13:38:48.382Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-16T13:38:48.382Z] [ 96%] Linking C executable device-file [2024-04-16T13:38:48.382Z] [ 96%] Built target device-file [2024-04-16T13:38:48.382Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-16T13:38:48.642Z] [100%] Linking C executable device-terminal [2024-04-16T13:38:48.642Z] [100%] Built target device-terminal [2024-04-16T13:38:48.642Z] Run CPack packaging tool... [2024-04-16T13:38:48.642Z] CPack: Create package using TGZ [2024-04-16T13:38:48.642Z] CPack: Install projects [2024-04-16T13:38:48.642Z] CPack: - Run preinstall target for: Csdk [2024-04-16T13:38:48.901Z] CPack: - Install project: Csdk [] [2024-04-16T13:38:48.902Z] CPack: Create package [2024-04-16T13:38:48.902Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-04-16T13:38:48.902Z] + '[' false '=' true ] [2024-04-16T13:38:48.902Z] + '[' false '=' true ] [2024-04-16T13:38:48.902Z] + mkdir -p /tmp/sdk/build/debug [2024-04-16T13:38:48.902Z] + cd /tmp/sdk/build/debug [2024-04-16T13:38:48.902Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-04-16T13:38:48.902Z] -- The C compiler identification is GNU 12.2.1 [2024-04-16T13:38:49.162Z] -- Detecting C compiler ABI info [2024-04-16T13:38:49.162Z] -- Detecting C compiler ABI info - done [2024-04-16T13:38:49.162Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-16T13:38:49.162Z] -- Detecting C compile features [2024-04-16T13:38:49.163Z] -- Detecting C compile features - done [2024-04-16T13:38:49.163Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-16T13:38:49.163Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-16T13:38:49.163Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-16T13:38:49.163Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-16T13:38:49.163Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-16T13:38:49.163Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-16T13:38:49.163Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-16T13:38:49.163Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-16T13:38:49.163Z] -- /opt/iotech/iot/1.5/include [2024-04-16T13:38:49.163Z] -- C SDK 0.0.0 for Linux [2024-04-16T13:38:49.163Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-16T13:38:49.163Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-16T13:38:49.423Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-16T13:38:49.423Z] -- Configuring done (0.4s) [2024-04-16T13:38:49.423Z] -- Generating done (0.0s) [2024-04-16T13:38:49.423Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-04-16T13:38:49.423Z] + make [2024-04-16T13:38:49.423Z] + tee debug.log [2024-04-16T13:38:49.423Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-16T13:38:49.423Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-16T13:38:49.686Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-16T13:38:49.686Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-16T13:38:49.686Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-16T13:38:49.686Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-16T13:38:49.945Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-16T13:38:49.945Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-16T13:38:49.945Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-16T13:38:50.205Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-16T13:38:50.205Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-16T13:38:50.205Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-16T13:38:50.463Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-16T13:38:50.463Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-16T13:38:50.463Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-16T13:38:50.463Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-16T13:38:50.723Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-16T13:38:50.723Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-16T13:38:50.723Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-16T13:38:50.723Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-16T13:38:50.983Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-16T13:38:51.242Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-16T13:38:51.242Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-16T13:38:51.242Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-16T13:38:51.242Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-16T13:38:51.501Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-16T13:38:51.501Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-16T13:38:51.761Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-16T13:38:51.761Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-16T13:38:51.761Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-16T13:38:51.761Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-16T13:38:52.021Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-16T13:38:52.021Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:38:52.021Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-16T13:38:52.021Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:38:52.021Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:38:52.021Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-16T13:38:52.021Z] | ^ [2024-04-16T13:38:52.021Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-16T13:38:52.021Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-16T13:38:52.021Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-16T13:38:52.281Z] [ 68%] Linking C shared library libcsdk.so [2024-04-16T13:38:52.281Z] [ 68%] Built target csdk [2024-04-16T13:38:52.281Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-16T13:38:52.281Z] [ 72%] Linking C executable template [2024-04-16T13:38:52.540Z] [ 72%] Built target template [2024-04-16T13:38:52.540Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-16T13:38:52.540Z] [ 76%] Linking C executable device-counter [2024-04-16T13:38:52.540Z] [ 76%] Built target device-counter [2024-04-16T13:38:52.540Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-16T13:38:52.540Z] [ 80%] Linking C executable device-random [2024-04-16T13:38:52.799Z] [ 80%] Built target device-random [2024-04-16T13:38:52.799Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-16T13:38:52.799Z] [ 84%] Linking C executable device-gyro [2024-04-16T13:38:52.799Z] [ 84%] Built target device-gyro [2024-04-16T13:38:52.799Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-16T13:38:53.058Z] [ 88%] Linking C executable device-bitfields [2024-04-16T13:38:53.058Z] [ 88%] Built target device-bitfields [2024-04-16T13:38:53.058Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-16T13:38:53.058Z] [ 92%] Linking C executable template-discovery [2024-04-16T13:38:53.058Z] [ 92%] Built target template-discovery [2024-04-16T13:38:53.058Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-16T13:38:53.317Z] [ 96%] Linking C executable device-file [2024-04-16T13:38:53.317Z] [ 96%] Built target device-file [2024-04-16T13:38:53.317Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-16T13:38:53.317Z] [100%] Linking C executable device-terminal [2024-04-16T13:38:53.578Z] [100%] Built target device-terminal [2024-04-16T13:38:53.578Z] make: Entering directory '/tmp/sdk/build/release' [2024-04-16T13:38:53.578Z] [ 68%] Built target csdk [2024-04-16T13:38:53.578Z] [ 72%] Built target template [2024-04-16T13:38:53.578Z] [ 76%] Built target device-counter [2024-04-16T13:38:53.578Z] [ 80%] Built target device-random [2024-04-16T13:38:53.578Z] [ 84%] Built target device-gyro [2024-04-16T13:38:53.578Z] [ 88%] Built target device-bitfields [2024-04-16T13:38:53.578Z] [ 92%] Built target template-discovery [2024-04-16T13:38:53.578Z] [ 96%] Built target device-file [2024-04-16T13:38:53.578Z] [100%] Built target device-terminal [2024-04-16T13:38:53.929Z] Install the project... [2024-04-16T13:38:53.929Z] -- Install configuration: "Release" [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/lib/libcsdk.so [2024-04-16T13:38:53.929Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include/devsdk [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include/edgex [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include/edgex/devices.h [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-04-16T13:38:53.929Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-04-16T13:38:53.929Z] make: Leaving directory '/tmp/sdk/build/release' [2024-04-16T13:38:54.500Z] Removing intermediate container 83037e43397d [2024-04-16T13:38:54.500Z] ---> bf99b7e022bb [2024-04-16T13:38:54.500Z] Step 14/21 : FROM ${BASE} [2024-04-16T13:38:54.500Z] ---> 6605166a5db4 [2024-04-16T13:38:54.500Z] Step 15/21 : LABEL maintainer="IOTech " [2024-04-16T13:38:54.500Z] ---> Running in 679329ecab24 [2024-04-16T13:38:54.760Z] Removing intermediate container 679329ecab24 [2024-04-16T13:38:54.760Z] ---> e3b93b69e55f [2024-04-16T13:38:54.760Z] 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-04-16T13:38:54.760Z] ---> Running in 3a1f7de4a7e2 [2024-04-16T13:38:55.018Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-04-16T13:38:55.278Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-16T13:38:55.278Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-16T13:38:55.278Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-16T13:38:55.845Z] Removing intermediate container 3a1f7de4a7e2 [2024-04-16T13:38:55.845Z] ---> 6e1f50af3014 [2024-04-16T13:38:55.845Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-16T13:38:55.845Z] ---> Running in 6a2336bc1b9a [2024-04-16T13:38:56.105Z] Removing intermediate container 6a2336bc1b9a [2024-04-16T13:38:56.105Z] ---> bf614dd19fb4 [2024-04-16T13:38:56.105Z] 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-04-16T13:38:56.365Z] ---> Running in a52f4f7d5eac [2024-04-16T13:38:56.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:38:56.625Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T13:38:56.883Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:38:57.452Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-16T13:38:57.452Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-04-16T13:38:57.452Z] (2/9) Installing curl (8.5.0-r0) [2024-04-16T13:38:57.452Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-04-16T13:38:57.452Z] (4/9) Installing hiredis (1.1.0-r2) [2024-04-16T13:38:57.452Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-04-16T13:38:57.452Z] (6/9) Installing libcbor (0.10.2-r1) [2024-04-16T13:38:57.452Z] (7/9) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-16T13:38:58.021Z] (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-16T13:38:58.281Z] (9/9) Installing libuuid (2.38.1-r8) [2024-04-16T13:38:58.281Z] Executing busybox-1.36.1-r4.trigger [2024-04-16T13:38:58.281Z] OK: 331 MiB in 89 packages [2024-04-16T13:38:58.855Z] Removing intermediate container a52f4f7d5eac [2024-04-16T13:38:58.855Z] ---> e4a89e73cae8 [2024-04-16T13:38:58.855Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-04-16T13:38:58.855Z] ---> 9daae2d659a9 [2024-04-16T13:38:58.855Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-04-16T13:38:59.116Z] ---> f223d5ad7a1e [2024-04-16T13:38:59.116Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-04-16T13:38:59.116Z] ---> c8f02b449c2f [2024-04-16T13:38:59.116Z] Successfully built c8f02b449c2f [2024-04-16T13:38:59.116Z] 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-04-16T13:38:59.549Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-16T13:38:59.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T13:38:59.628Z] prd-ubuntu20.04-docker-8c-8g-2551 does not seem to be running inside a container [2024-04-16T13:38:59.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@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 ******** -e ******** ci-base-image-x86_64 cat [2024-04-16T13:38:59.999Z] $ docker top b9f3287cc31677c50979c27b279fb2686c31afa1b63ec5171970cc1ee4c52892 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T13:39:00.359Z] + make test [2024-04-16T13:39:00.359Z] echo "make test" [2024-04-16T13:39:00.359Z] make test [Pipeline] } [2024-04-16T13:39:00.371Z] $ docker stop --time=1 b9f3287cc31677c50979c27b279fb2686c31afa1b63ec5171970cc1ee4c52892 [2024-04-16T13:39:01.683Z] $ docker rm -f --volumes b9f3287cc31677c50979c27b279fb2686c31afa1b63ec5171970cc1ee4c52892 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-16T13:39:02.279Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-16T13:39:02.571Z] + ls -al . [2024-04-16T13:39:02.571Z] total 212 [2024-04-16T13:39:02.571Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 13:38 . [2024-04-16T13:39:02.571Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:37 .. [2024-04-16T13:39:02.571Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 13:38 .git [2024-04-16T13:39:02.571Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 13:37 .github [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 16 13:37 .gitignore [2024-04-16T13:39:02.571Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 13:38 .semver [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 16 13:37 Attribution.txt [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 11953 Apr 16 13:37 CHANGELOG.md [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 16 13:37 Doxyfile [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 13:37 GOVERNANCE.md [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 16 13:37 Jenkinsfile [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 16 13:37 LICENSE [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 13:37 Makefile [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 16 13:37 OWNERS.md [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 1651 Apr 16 13:37 README.IOT.md [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 4215 Apr 16 13:37 README.md [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 1245 Apr 16 13:37 README.v3.md [2024-04-16T13:39:02.571Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 13:38 VERSION [2024-04-16T13:39:02.571Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 13:37 docs [2024-04-16T13:39:02.571Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:37 include [2024-04-16T13:39:02.571Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 13:37 scripts [2024-04-16T13:39:02.571Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:37 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:39:02.895Z] + 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=6cf0366f7c54f230287b420458dc2527694989f6 --label arch=amd64 --label version=0.0.0 . [2024-04-16T13:39:02.895Z] Sending build context to Docker daemon 5.074MB [2024-04-16T13:39:02.895Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-04-16T13:39:02.895Z] Step 2/17 : FROM ${BASE} [2024-04-16T13:39:02.895Z] ---> c8f02b449c2f [2024-04-16T13:39:02.895Z] Step 3/17 : LABEL maintainer="IOTech " [2024-04-16T13:39:02.895Z] ---> Running in 5ff2b9e9120f [2024-04-16T13:39:03.156Z] Removing intermediate container 5ff2b9e9120f [2024-04-16T13:39:03.156Z] ---> bc9c95d455dc [2024-04-16T13:39:03.156Z] 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-04-16T13:39:03.156Z] ---> Running in 7cf0d6591864 [2024-04-16T13:39:03.415Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-04-16T13:39:03.674Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-16T13:39:03.674Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-16T13:39:03.674Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-16T13:39:03.935Z] Removing intermediate container 7cf0d6591864 [2024-04-16T13:39:03.935Z] ---> f6ba1e584297 [2024-04-16T13:39:03.935Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-16T13:39:03.935Z] ---> Running in a5e4dc629e7f [2024-04-16T13:39:04.504Z] Removing intermediate container a5e4dc629e7f [2024-04-16T13:39:04.504Z] ---> 07a5c71c08fb [2024-04-16T13:39:04.504Z] 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-04-16T13:39:04.504Z] ---> Running in 471bb6779cfc [2024-04-16T13:39:04.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:39:05.024Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T13:39:05.024Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:39:05.595Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-16T13:39:05.595Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-16T13:39:05.856Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-04-16T13:39:05.856Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-04-16T13:39:05.856Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-04-16T13:39:05.856Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-04-16T13:39:05.856Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-16T13:39:05.856Z] (7/11) Installing libblkid (2.38.1-r8) [2024-04-16T13:39:05.856Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-04-16T13:39:05.856Z] (9/11) Installing libmount (2.38.1-r8) [2024-04-16T13:39:05.856Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-04-16T13:39:05.856Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-04-16T13:39:05.856Z] Executing busybox-1.36.1-r4.trigger [2024-04-16T13:39:05.856Z] OK: 336 MiB in 100 packages [2024-04-16T13:39:06.424Z] Removing intermediate container 471bb6779cfc [2024-04-16T13:39:06.424Z] ---> 61b54e5570d9 [2024-04-16T13:39:06.424Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-04-16T13:39:06.684Z] ---> cebf80f940d7 [2024-04-16T13:39:06.684Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-04-16T13:39:06.684Z] ---> 1324bdf8b1d5 [2024-04-16T13:39:06.684Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-04-16T13:39:06.944Z] ---> a2fba75b25cf [2024-04-16T13:39:06.944Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-04-16T13:39:06.944Z] ---> 960d08fa23f0 [2024-04-16T13:39:06.944Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-04-16T13:39:07.207Z] ---> 0f7d0511ab81 [2024-04-16T13:39:07.207Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-04-16T13:39:07.207Z] ---> b4b915664859 [2024-04-16T13:39:07.207Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-04-16T13:39:07.207Z] ---> Running in cdf2a92129e5 [2024-04-16T13:39:07.467Z] Removing intermediate container cdf2a92129e5 [2024-04-16T13:39:07.467Z] ---> 36eb3789e8a1 [2024-04-16T13:39:07.467Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-04-16T13:39:07.467Z] ---> Running in c44175785510 [2024-04-16T13:39:07.467Z] Removing intermediate container c44175785510 [2024-04-16T13:39:07.467Z] ---> e4c6d51964a3 [2024-04-16T13:39:07.467Z] Step 15/17 : LABEL arch=amd64 [2024-04-16T13:39:07.467Z] ---> Running in 333a358196c6 [2024-04-16T13:39:07.467Z] Removing intermediate container 333a358196c6 [2024-04-16T13:39:07.467Z] ---> b76f6c55c9cb [2024-04-16T13:39:07.467Z] Step 16/17 : LABEL git_sha=6cf0366f7c54f230287b420458dc2527694989f6 [2024-04-16T13:39:07.727Z] ---> Running in 251e629d0b05 [2024-04-16T13:39:07.727Z] Removing intermediate container 251e629d0b05 [2024-04-16T13:39:07.727Z] ---> e55bf49cbef7 [2024-04-16T13:39:07.727Z] Step 17/17 : LABEL version=0.0.0 [2024-04-16T13:39:07.727Z] ---> Running in 5139ba8c38a5 [2024-04-16T13:39:07.727Z] Removing intermediate container 5139ba8c38a5 [2024-04-16T13:39:07.727Z] ---> e732679a1eb7 [2024-04-16T13:39:07.727Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-04-16T13:39:07.727Z] Successfully built e732679a1eb7 [2024-04-16T13:39:07.727Z] 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-04-16T13:39:08.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T13:39:08.239Z] [2024-04-16T13:39:08.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:39:08.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T13:39:08.543Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-16T13:39:08.543Z] 5eb5b503b376: Pulling fs layer [2024-04-16T13:39:08.543Z] 5c69ac0246d0: Pulling fs layer [2024-04-16T13:39:08.543Z] ec43610c2a17: Pulling fs layer [2024-04-16T13:39:08.543Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-16T13:39:08.543Z] 33b1e0a273af: Pulling fs layer [2024-04-16T13:39:08.543Z] 5d3b04190fa2: Pulling fs layer [2024-04-16T13:39:08.543Z] 2f39f015ded8: Pulling fs layer [2024-04-16T13:39:08.543Z] 33b1e0a273af: Waiting [2024-04-16T13:39:08.543Z] 5d3b04190fa2: Waiting [2024-04-16T13:39:08.543Z] 2f39f015ded8: Waiting [2024-04-16T13:39:08.543Z] 3a2ae6a8a46f: Waiting [2024-04-16T13:39:08.543Z] 5c69ac0246d0: Download complete [2024-04-16T13:39:08.543Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-16T13:39:08.543Z] 3a2ae6a8a46f: Download complete [2024-04-16T13:39:08.543Z] 33b1e0a273af: Verifying Checksum [2024-04-16T13:39:08.543Z] 33b1e0a273af: Download complete [2024-04-16T13:39:08.543Z] 5d3b04190fa2: Verifying Checksum [2024-04-16T13:39:08.543Z] 5d3b04190fa2: Download complete [2024-04-16T13:39:08.543Z] ec43610c2a17: Verifying Checksum [2024-04-16T13:39:08.543Z] ec43610c2a17: Download complete [2024-04-16T13:39:08.805Z] 5eb5b503b376: Verifying Checksum [2024-04-16T13:39:08.805Z] 5eb5b503b376: Download complete [2024-04-16T13:39:09.372Z] 2f39f015ded8: Download complete [2024-04-16T13:39:09.939Z] 5eb5b503b376: Pull complete [2024-04-16T13:39:09.939Z] 5c69ac0246d0: Pull complete [2024-04-16T13:39:10.505Z] ec43610c2a17: Pull complete [2024-04-16T13:39:10.505Z] 3a2ae6a8a46f: Pull complete [2024-04-16T13:39:10.763Z] 33b1e0a273af: Pull complete [2024-04-16T13:39:10.763Z] 5d3b04190fa2: Pull complete [2024-04-16T13:39:14.953Z] 2f39f015ded8: Pull complete [2024-04-16T13:39:15.213Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-16T13:39:15.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T13:39:15.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T13:39:15.318Z] prd-ubuntu20.04-docker-8c-8g-2551 does not seem to be running inside a container [2024-04-16T13:39:15.348Z] $ 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-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-16T13:39:19.320Z] $ docker top 78e526f8b497c01fa3335a35f3e7bb121197f619052f1f5ac77eae58fc212679 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:39:19.692Z] ---> job-cost.sh [2024-04-16T13:39:19.692Z] lf-activate-venv: SKIPPING [2024-04-16T13:39:19.692Z] INFO: No Stack... [2024-04-16T13:39:19.950Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-16T13:39:20.523Z] INFO: Archiving Costs [Pipeline] sh [2024-04-16T13:39:20.810Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives/cost.csv [2024-04-16T13:39:20.810Z] + cut -d, -f6 [Pipeline] lock [2024-04-16T13:39:20.825Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-512-2-stack-cost] [2024-04-16T13:39:20.838Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-512-2-stack-cost] did not exist. Created. [2024-04-16T13:39:20.843Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-512-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-16T13:39:21.149Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-16T13:39:21.197Z] Stashed 1 file(s) [Pipeline] } [2024-04-16T13:39:21.203Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-512-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-16T13:39:21.224Z] $ docker stop --time=1 78e526f8b497c01fa3335a35f3e7bb121197f619052f1f5ac77eae58fc212679 [2024-04-16T13:39:22.402Z] $ docker rm -f --volumes 78e526f8b497c01fa3335a35f3e7bb121197f619052f1f5ac77eae58fc212679 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-16T13:40:16.489Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2552 in /w/workspace/edgexfoundry_device-sdk-c_PR-512 [Pipeline] { [Pipeline] ws [2024-04-16T13:40:16.506Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2024-04-16T13:40:19.560Z] Selected Git installation does not exist. Using Default [2024-04-16T13:40:19.560Z] The recommended git tool is: NONE [2024-04-16T13:40:24.264Z] using credential edgex-jenkins-ssh [2024-04-16T13:40:24.293Z] Cloning the remote Git repository [2024-04-16T13:40:24.335Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-04-16T13:40:24.429Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2024-04-16T13:40:24.575Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-04-16T13:40:24.576Z] > git --version # timeout=10 [2024-04-16T13:40:24.596Z] > git --version # 'git version 2.25.1' [2024-04-16T13:40:24.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T13:40:24.759Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-16T13:40:25.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-04-16T13:40:25.853Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-16T13:40:26.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-04-16T13:40:26.695Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-04-16T13:40:26.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T13:40:26.718Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/512/head:refs/remotes/origin/PR-512 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-16T13:40:27.322Z] Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit 6cf0366f7c54f230287b420458dc2527694989f6 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-16T13:40:27.529Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [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-04-16T13:40:28.054Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives ] [2024-04-16T13:40:28.054Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives [2024-04-16T13:40:28.054Z] total 16 [2024-04-16T13:40:28.054Z] drwxr-xr-x 3 root root 4096 Apr 16 13:39 . [2024-04-16T13:40:28.054Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 13:39 .. [2024-04-16T13:40:28.054Z] drwxr-xr-x 2 root root 4096 Apr 16 13:39 cost [2024-04-16T13:40:28.054Z] -rw-r--r-- 1 root root 84 Apr 16 13:39 cost.csv [2024-04-16T13:40:28.054Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives [2024-04-16T13:40:28.054Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives [2024-04-16T13:40:28.054Z] total 16 [2024-04-16T13:40:28.054Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 13:39 . [2024-04-16T13:40:28.054Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 13:39 .. [2024-04-16T13:40:28.054Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 16 13:39 cost [2024-04-16T13:40:28.054Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 16 13:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:40:27.347Z] > git config core.sparsecheckout # timeout=10 [2024-04-16T13:40:27.422Z] > git checkout -f 6cf0366f7c54f230287b420458dc2527694989f6 # timeout=10 [2024-04-16T13:40:28.342Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:40:29.200Z] ---> package-listing.sh [2024-04-16T13:40:29.200Z] ++ facter osfamily [2024-04-16T13:40:29.200Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-16T13:40:29.459Z] + OS_FAMILY=debian [2024-04-16T13:40:29.459Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-512 [2024-04-16T13:40:29.459Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-16T13:40:29.459Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-16T13:40:29.459Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-16T13:40:29.459Z] + PACKAGES=/tmp/packages_start.txt [2024-04-16T13:40:29.459Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-512 ']' [2024-04-16T13:40:29.459Z] + PACKAGES=/tmp/packages_end.txt [2024-04-16T13:40:29.459Z] + case "${OS_FAMILY}" in [2024-04-16T13:40:29.459Z] + dpkg -l [2024-04-16T13:40:29.459Z] + grep '^ii' [2024-04-16T13:40:29.459Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-16T13:40:29.459Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-16T13:40:29.459Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-16T13:40:29.459Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-512 ']' [2024-04-16T13:40:29.459Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives/ [2024-04-16T13:40:29.459Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives/ [Pipeline] echo [2024-04-16T13:40:29.470Z] 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-512/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-16T13:40:29.744Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:40:30.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T13:40:30.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T13:40:30.376Z] prd-ubuntu20.04-docker-8c-8g-2551 does not seem to be running inside a container [2024-04-16T13:40:30.403Z] $ 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-512/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-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@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-04-16T13:40:30.611Z] $ docker top fdca3a2862a90efdee905d46bb7f3a168907f979cab137f6d0af0f4142f0a232 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T13:40:30.962Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-16T13:40:31.243Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-16T13:40:31.527Z] + ls /var/log/sa-host [2024-04-16T13:40:31.527Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T13:40:31.598Z] provisioning config files... [2024-04-16T13:40:31.608Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/config3858910955766925039tmp [Pipeline] { [Pipeline] echo [2024-04-16T13:40:31.624Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:40:31.912Z] ---> create-netrc.sh [Pipeline] } [2024-04-16T13:40:31.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:40:32.254Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-16T13:40:32.263Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:40:32.546Z] ---> sudo-logs.sh [2024-04-16T13:40:32.546Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-16T13:40:32.579Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:40:32.866Z] ---> job-cost.sh [2024-04-16T13:40:32.866Z] lf-activate-venv: SKIPPING [2024-04-16T13:40:32.866Z] DEBUG: total: 0.2199999988079071 [2024-04-16T13:40:32.866Z] INFO: Retrieving Stack Cost... [2024-04-16T13:40:33.435Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-16T13:40:33.694Z] INFO: Archiving Costs [Pipeline] echo [2024-04-16T13:40:33.706Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:40:33.990Z] ---> logs-deploy.sh [2024-04-16T13:40:33.990Z] lf-activate-venv: SKIPPING [2024-04-16T13:40:33.990Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-512/2 [2024-04-16T13:40:33.990Z] INFO: archiving workspace using pattern(s): [2024-04-16T13:40:34.927Z] Archives upload complete. [2024-04-16T13:40:34.927Z] INFO: archiving logs to Nexus