Pull request #513 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 Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b5fd43aa6b4e8069e65248caa2e7d6db03f961ef rather than 430a52259ff05b1f26229401cb908c2cd1e2e6b9 Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef 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-ssh16983285636690463150.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh6557386339939673604.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 f3350a1713306dce7682ed7e37d5774890d03277 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-513/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-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14798071131601849205.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh13803057618805453317.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-513/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-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15760256400494979450.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-10689 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [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-513 # 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 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 430a52259ff05b1f26229401cb908c2cd1e2e6b9 Merge succeeded, producing 430a52259ff05b1f26229401cb908c2cd1e2e6b9 Checking out Revision 430a52259ff05b1f26229401cb908c2cd1e2e6b9 (PR-513) > 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/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 430a52259ff05b1f26229401cb908c2cd1e2e6b9 # 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 b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 430a52259ff05b1f26229401cb908c2cd1e2e6b9 # timeout=10 Commit message: "feat: Update topic naming for discovery publishing" > git rev-list --no-walk a7499e878299238b3c73abbb4e3a48a5a6fed8f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-19T14:09:02.813Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-19T14:09:02.882Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-19T14:09:02.906Z] ========================================================= [2024-09-19T14:09:02.906Z] EdgeX Global Pipelines Version Info [2024-09-19T14:09:02.906Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:09:07.743Z] ------------------- [2024-09-19T14:09:07.743Z] stable info: [2024-09-19T14:09:07.743Z] ------------------- [2024-09-19T14:09:07.743Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T14:09:07.743Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T14:09:07.743Z] Message: update stable to v1.0.263 [2024-09-19T14:09:10.311Z] ------------------- [2024-09-19T14:09:10.311Z] experimental info: [2024-09-19T14:09:10.311Z] ------------------- [2024-09-19T14:09:10.311Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T14:09:10.311Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T14:09:10.311Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-19T14:09:10.391Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-19T14:09:10.414Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-19T14:09:10.433Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-19T14:09:10.452Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-19T14:09:10.474Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-19T14:09:10.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-19T14:09:10.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-19T14:09:10.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-19T14:09:10.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-19T14:09:10.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-19T14:09:10.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-19T14:09:10.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-19T14:09:10.668Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-19T14:09:10.687Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-19T14:09:10.710Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-19T14:09:10.731Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-19T14:09:10.753Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-19T14:09:10.779Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2024-09-19T14:09:10.807Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2024-09-19T14:09:10.835Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2024-09-19T14:09:10.859Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [Pipeline] echo [2024-09-19T14:09:10.882Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 430a522 [Pipeline] echo [2024-09-19T14:09:10.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:09:10.965Z] provisioning config files... [2024-09-19T14:09:10.978Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config16355504715730078453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:09:11.313Z] ---> ****-login.sh [2024-09-19T14:09:11.314Z] nexus3.edgexfoundry.org:10001 [2024-09-19T14:09:11.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:09:11.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:09:11.585Z] Configure a credential helper to remove this warning. See [2024-09-19T14:09:11.585Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:09:11.585Z] [2024-09-19T14:09:11.585Z] Login Succeeded [2024-09-19T14:09:11.585Z] nexus3.edgexfoundry.org:10002 [2024-09-19T14:09:11.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:09:11.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:09:11.585Z] Configure a credential helper to remove this warning. See [2024-09-19T14:09:11.585Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:09:11.585Z] [2024-09-19T14:09:11.585Z] Login Succeeded [2024-09-19T14:09:11.585Z] nexus3.edgexfoundry.org:10003 [2024-09-19T14:09:11.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:09:11.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:09:11.850Z] Configure a credential helper to remove this warning. See [2024-09-19T14:09:11.850Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:09:11.850Z] [2024-09-19T14:09:11.850Z] Login Succeeded [2024-09-19T14:09:11.850Z] nexus3.edgexfoundry.org:10004 [2024-09-19T14:09:11.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:09:11.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:09:11.850Z] Configure a credential helper to remove this warning. See [2024-09-19T14:09:11.850Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:09:11.850Z] [2024-09-19T14:09:11.850Z] Login Succeeded [2024-09-19T14:09:11.850Z] ****.io [2024-09-19T14:09:12.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:09:12.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:09:12.112Z] Configure a credential helper to remove this warning. See [2024-09-19T14:09:12.112Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:09:12.112Z] [2024-09-19T14:09:12.112Z] Login Succeeded [2024-09-19T14:09:12.112Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T14:09:12.120Z] 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-09-19T14:09:12.531Z] + git rev-list -1 --merges 430a52259ff05b1f26229401cb908c2cd1e2e6b9~1..430a52259ff05b1f26229401cb908c2cd1e2e6b9 [Pipeline] echo [2024-09-19T14:09:12.562Z] -----------> git rev-list -1 --merges 430a52259ff05b1f26229401cb908c2cd1e2e6b9~1..430a52259ff05b1f26229401cb908c2cd1e2e6b9 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [false] [Pipeline] sh [2024-09-19T14:09:12.855Z] + git log --format=format:%s -1 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [Pipeline] echo [2024-09-19T14:09:12.873Z] ========================================================= [2024-09-19T14:09:12.873Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T14:09:12.873Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-19T14:09:13.300Z] + git rev-list -1 --merges 430a52259ff05b1f26229401cb908c2cd1e2e6b9~1..430a52259ff05b1f26229401cb908c2cd1e2e6b9 [Pipeline] echo [2024-09-19T14:09:13.312Z] -----------> git rev-list -1 --merges 430a52259ff05b1f26229401cb908c2cd1e2e6b9~1..430a52259ff05b1f26229401cb908c2cd1e2e6b9 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [false] [Pipeline] sh [2024-09-19T14:09:13.605Z] + git log --format=format:%s -1 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [Pipeline] echo [2024-09-19T14:09:13.619Z] ========================================================= [2024-09-19T14:09:13.619Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T14:09:13.619Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-19T14:09:14.063Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-19T14:09:14.063Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-19T14:09:14.063Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-19T14:09:14.063Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-19T14:09:14.063Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-19T14:09:14.063Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-19T14:09:14.063Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:09:14.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:09:14.509Z] [2024-09-19T14:09:14.509Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:09:14.818Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:09:14.818Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-19T14:09:14.818Z] b85a868b505f: Pulling fs layer [2024-09-19T14:09:14.818Z] e2be974225ed: Pulling fs layer [2024-09-19T14:09:14.818Z] 339a4e72a1f5: Pulling fs layer [2024-09-19T14:09:14.818Z] 988bab9f4d93: Pulling fs layer [2024-09-19T14:09:14.818Z] 1469e6f7b9e6: Pulling fs layer [2024-09-19T14:09:14.818Z] eaf3925da568: Pulling fs layer [2024-09-19T14:09:14.818Z] bab4dde63d76: Pulling fs layer [2024-09-19T14:09:14.818Z] bde34c3a00c8: Pulling fs layer [2024-09-19T14:09:14.818Z] b352a97aabf1: Pulling fs layer [2024-09-19T14:09:14.818Z] 4872d77fe225: Pulling fs layer [2024-09-19T14:09:14.818Z] 5851b861e8e6: Pulling fs layer [2024-09-19T14:09:14.818Z] 988bab9f4d93: Waiting [2024-09-19T14:09:14.818Z] eaf3925da568: Waiting [2024-09-19T14:09:14.818Z] bab4dde63d76: Waiting [2024-09-19T14:09:14.818Z] bde34c3a00c8: Waiting [2024-09-19T14:09:14.818Z] 5851b861e8e6: Waiting [2024-09-19T14:09:14.818Z] b352a97aabf1: Waiting [2024-09-19T14:09:14.818Z] 4872d77fe225: Waiting [2024-09-19T14:09:14.818Z] 1469e6f7b9e6: Waiting [2024-09-19T14:09:14.818Z] e2be974225ed: Verifying Checksum [2024-09-19T14:09:14.818Z] e2be974225ed: Download complete [2024-09-19T14:09:14.818Z] 988bab9f4d93: Download complete [2024-09-19T14:09:14.818Z] 339a4e72a1f5: Download complete [2024-09-19T14:09:15.083Z] 1469e6f7b9e6: Verifying Checksum [2024-09-19T14:09:15.083Z] 1469e6f7b9e6: Download complete [2024-09-19T14:09:15.083Z] eaf3925da568: Verifying Checksum [2024-09-19T14:09:15.083Z] eaf3925da568: Download complete [2024-09-19T14:09:15.083Z] bde34c3a00c8: Verifying Checksum [2024-09-19T14:09:15.083Z] bde34c3a00c8: Download complete [2024-09-19T14:09:15.083Z] b352a97aabf1: Verifying Checksum [2024-09-19T14:09:15.083Z] b352a97aabf1: Download complete [2024-09-19T14:09:15.083Z] 4872d77fe225: Download complete [2024-09-19T14:09:15.083Z] 5851b861e8e6: Verifying Checksum [2024-09-19T14:09:15.083Z] 5851b861e8e6: Download complete [2024-09-19T14:09:15.083Z] b85a868b505f: Verifying Checksum [2024-09-19T14:09:15.083Z] b85a868b505f: Download complete [2024-09-19T14:09:15.345Z] bab4dde63d76: Verifying Checksum [2024-09-19T14:09:15.345Z] bab4dde63d76: Download complete [2024-09-19T14:09:16.285Z] b85a868b505f: Pull complete [2024-09-19T14:09:16.285Z] e2be974225ed: Pull complete [2024-09-19T14:09:16.852Z] 339a4e72a1f5: Pull complete [2024-09-19T14:09:16.852Z] 988bab9f4d93: Pull complete [2024-09-19T14:09:17.113Z] 1469e6f7b9e6: Pull complete [2024-09-19T14:09:17.113Z] eaf3925da568: Pull complete [2024-09-19T14:09:19.018Z] bab4dde63d76: Pull complete [2024-09-19T14:09:19.018Z] bde34c3a00c8: Pull complete [2024-09-19T14:09:19.018Z] b352a97aabf1: Pull complete [2024-09-19T14:09:19.018Z] 4872d77fe225: Pull complete [2024-09-19T14:09:19.018Z] 5851b861e8e6: Pull complete [2024-09-19T14:09:19.019Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-19T14:09:19.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T14:09:19.280Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:09:19.412Z] prd-ubuntu20.04-docker-8c-8g-10689 does not seem to be running inside a container [2024-09-19T14:09:19.442Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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-09-19T14:09:22.702Z] $ docker top 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 -eo pid,comm [2024-09-19T14:09:22.761Z] 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-09-19T14:09:22.761Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-19T14:09:22.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T14:09:22.823Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T14:09:22.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T14:09:22.914Z] $ docker exec 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 ssh-agent [2024-09-19T14:09:23.031Z] SSH_AUTH_SOCK=/tmp/ssh-Z60wMk3DUeyA/agent.32 [2024-09-19T14:09:23.031Z] SSH_AGENT_PID=38 [2024-09-19T14:09:23.035Z] Running ssh-add (command line suppressed) [2024-09-19T14:09:23.140Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_18317534519233797663.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_18317534519233797663.key) [2024-09-19T14:09:23.156Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T14:09:23.447Z] + git tag --points-at HEAD [Pipeline] } [2024-09-19T14:09:23.459Z] $ docker exec --env ******** --env ******** 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 ssh-agent -k [2024-09-19T14:09:23.558Z] unset SSH_AUTH_SOCK; [2024-09-19T14:09:23.559Z] unset SSH_AGENT_PID; [2024-09-19T14:09:23.559Z] echo Agent pid 38 killed; [2024-09-19T14:09:23.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-19T14:09:23.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T14:09:23.642Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T14:09:23.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T14:09:23.746Z] $ docker exec 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 ssh-agent [2024-09-19T14:09:23.848Z] SSH_AUTH_SOCK=/tmp/ssh-OVuZeZnxh4Nr/agent.72 [2024-09-19T14:09:23.848Z] SSH_AGENT_PID=78 [2024-09-19T14:09:23.853Z] Running ssh-add (command line suppressed) [2024-09-19T14:09:23.948Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_6448904998342654879.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_6448904998342654879.key) [2024-09-19T14:09:23.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T14:09:24.250Z] + git semver init [2024-09-19T14:09:24.515Z] 2024-09-19 14:09:24,427 [run_init] DEBUG init version:0.0.0 force:False [2024-09-19T14:09:24.515Z] 2024-09-19 14:09:24,427 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-19T14:09:24.515Z] 2024-09-19 14:09:24,428 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-19T14:09:24.515Z] 2024-09-19 14:09:24,428 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513, universal_newlines=False, shell=None, istream=None) [2024-09-19T14:09:25.455Z] 2024-09-19 14:09:25,202 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude [2024-09-19T14:09:25.455Z] 2024-09-19 14:09:25,203 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False [2024-09-19T14:09:25.455Z] 2024-09-19 14:09:25,203 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-19T14:09:25.455Z] 2024-09-19 14:09:25,207 [execute] INFO git cat-file --batch-check [2024-09-19T14:09:25.455Z] 2024-09-19 14:09:25,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-19T14:09:25.455Z] 2024-09-19 14:09:25,215 [execute] INFO git cat-file --batch [2024-09-19T14:09:25.455Z] 2024-09-19 14:09:25,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-19T14:09:25.455Z] 2024-09-19 14:09:25,221 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-19T14:09:25.455Z] 0.0.0 [Pipeline] } [2024-09-19T14:09:25.464Z] $ docker exec --env ******** --env ******** 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 ssh-agent -k [2024-09-19T14:09:25.557Z] unset SSH_AUTH_SOCK; [2024-09-19T14:09:25.557Z] unset SSH_AGENT_PID; [2024-09-19T14:09:25.557Z] echo Agent pid 78 killed; [2024-09-19T14:09:25.567Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-19T14:09:25.889Z] + git semver [Pipeline] } [2024-09-19T14:09:26.160Z] $ docker stop --time=1 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 [2024-09-19T14:09:27.440Z] $ docker rm -f --volumes 072488cd14d2e33412d8aa4f74e1aa2f8a1874a1c741c739a54ab7d9fe1710b0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-19T14:09:27.784Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-19T14:09:27.999Z] Stashed 1 file(s) [Pipeline] echo [2024-09-19T14:09:28.004Z] [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-09-19T14:09:28.202Z] provisioning config files... [2024-09-19T14:09:28.213Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config9654229440333710452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:09:28.599Z] ---> ****-login.sh [2024-09-19T14:09:28.599Z] nexus3.edgexfoundry.org:10001 [2024-09-19T14:09:28.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:09:28.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:09:28.600Z] Configure a credential helper to remove this warning. See [2024-09-19T14:09:28.600Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:09:28.600Z] [2024-09-19T14:09:28.600Z] Login Succeeded [2024-09-19T14:09:28.600Z] nexus3.edgexfoundry.org:10002 [2024-09-19T14:09:28.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:09:28.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:09:28.600Z] Configure a credential helper to remove this warning. See [2024-09-19T14:09:28.600Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:09:28.600Z] [2024-09-19T14:09:28.600Z] Login Succeeded [2024-09-19T14:09:28.600Z] nexus3.edgexfoundry.org:10003 [2024-09-19T14:09:28.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:09:28.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:09:28.860Z] Configure a credential helper to remove this warning. See [2024-09-19T14:09:28.860Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:09:28.860Z] [2024-09-19T14:09:28.860Z] Login Succeeded [2024-09-19T14:09:28.860Z] nexus3.edgexfoundry.org:10004 [2024-09-19T14:09:28.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:09:28.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:09:28.860Z] Configure a credential helper to remove this warning. See [2024-09-19T14:09:28.860Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:09:28.860Z] [2024-09-19T14:09:28.860Z] Login Succeeded [2024-09-19T14:09:28.860Z] ****.io [2024-09-19T14:09:28.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:09:29.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:09:29.120Z] Configure a credential helper to remove this warning. See [2024-09-19T14:09:29.120Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:09:29.120Z] [2024-09-19T14:09:29.120Z] Login Succeeded [2024-09-19T14:09:29.120Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T14:09:29.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T14:09:29.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:09:29.289Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-19T14:09:29.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:09:29.329Z] ========================================================= [2024-09-19T14:09:29.329Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-19T14:09:29.329Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:09:29.644Z] + 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-09-19T14:09:29.644Z] Sending build context to Docker daemon 5.311MB [2024-09-19T14:09:29.644Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T14:09:29.644Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T14:09:29.644Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-19T14:09:29.644Z] 96526aa774ef: Pulling fs layer [2024-09-19T14:09:29.644Z] da60e534fd72: Pulling fs layer [2024-09-19T14:09:29.903Z] 96526aa774ef: Verifying Checksum [2024-09-19T14:09:29.903Z] 96526aa774ef: Download complete [2024-09-19T14:09:29.903Z] 96526aa774ef: Pull complete [2024-09-19T14:09:30.472Z] da60e534fd72: Download complete [2024-09-19T14:09:33.757Z] da60e534fd72: Pull complete [2024-09-19T14:09:33.757Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-19T14:09:33.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-19T14:09:33.757Z] ---> 6605166a5db4 [2024-09-19T14:09:33.757Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:09:35.663Z] ---> Running in a3e3c3072275 [2024-09-19T14:09:35.663Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-19T14:09:36.230Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:09:36.230Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:09:36.230Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:09:36.490Z] Removing intermediate container a3e3c3072275 [2024-09-19T14:09:36.490Z] ---> aab8f824f8ab [2024-09-19T14:09:36.490Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:09:36.490Z] ---> Running in f51178c0a014 [2024-09-19T14:09:37.060Z] Removing intermediate container f51178c0a014 [2024-09-19T14:09:37.060Z] ---> f97ff9b3046e [2024-09-19T14:09:37.060Z] Step 5/22 : 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-09-19T14:09:37.060Z] ---> Running in 248ec28bec7f [2024-09-19T14:09:37.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:09:37.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:09:37.578Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:09:38.146Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:09:38.146Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T14:09:38.146Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:09:38.146Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T14:09:38.146Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:09:38.716Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:09:38.716Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:09:38.975Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:09:38.975Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:09:38.975Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:09:38.975Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:09:38.975Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:09:38.975Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T14:09:38.975Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T14:09:38.975Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T14:09:38.975Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T14:09:38.975Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:09:38.975Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:09:38.975Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:09:38.975Z] OK: 336 MiB in 99 packages [2024-09-19T14:09:39.913Z] Removing intermediate container 248ec28bec7f [2024-09-19T14:09:39.913Z] ---> fc8c254c0f74 [2024-09-19T14:09:39.913Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T14:09:39.913Z] ---> Running in 3443693d329f [2024-09-19T14:09:40.480Z] Removing intermediate container 3443693d329f [2024-09-19T14:09:40.481Z] ---> 3d6b30f42134 [2024-09-19T14:09:40.481Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T14:09:40.481Z] ---> 54f0b2fffde1 [2024-09-19T14:09:40.481Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T14:09:40.741Z] ---> 79095efe6c50 [2024-09-19T14:09:40.741Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T14:09:41.001Z] ---> bf1b6e71b495 [2024-09-19T14:09:41.001Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T14:09:41.001Z] ---> 612b0c430997 [2024-09-19T14:09:41.001Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T14:09:41.260Z] ---> e499cb106d1a [2024-09-19T14:09:41.260Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T14:09:41.260Z] ---> 519822ec4f5e [2024-09-19T14:09:41.260Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T14:09:41.260Z] ---> Running in e09941948a55 [2024-09-19T14:09:41.520Z] + CPPCHECK=false [2024-09-19T14:09:41.520Z] + DOCGEN=false [2024-09-19T14:09:41.520Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T14:09:41.520Z] + '[' 0 -gt 0 ] [2024-09-19T14:09:41.520Z] + readlink -f ./scripts/build.sh [2024-09-19T14:09:41.520Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T14:09:41.520Z] + dirname /tmp/sdk/scripts [2024-09-19T14:09:41.520Z] + ROOT=/tmp/sdk [2024-09-19T14:09:41.520Z] + cd /tmp/sdk [2024-09-19T14:09:41.520Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T14:09:41.520Z] + cd /tmp/sdk/build/release [2024-09-19T14:09:41.520Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T14:09:41.780Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:09:41.780Z] -- Detecting C compiler ABI info [2024-09-19T14:09:41.780Z] -- Detecting C compiler ABI info - done [2024-09-19T14:09:41.780Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:09:41.780Z] -- Detecting C compile features [2024-09-19T14:09:41.780Z] -- Detecting C compile features - done [2024-09-19T14:09:41.780Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:09:41.780Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:09:41.780Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:09:41.780Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:09:41.780Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:09:41.780Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:09:41.780Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:09:41.780Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:09:41.780Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:09:41.780Z] -- C SDK 0.0.0 for Linux [2024-09-19T14:09:41.780Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:09:42.043Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:09:42.043Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:09:42.043Z] -- Configuring done (0.4s) [2024-09-19T14:09:42.043Z] -- Generating done (0.0s) [2024-09-19T14:09:42.043Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T14:09:42.043Z] + make all package [2024-09-19T14:09:42.043Z] + tee release.log [2024-09-19T14:09:42.043Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:09:42.303Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:09:42.303Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:09:42.561Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:09:42.561Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:09:42.561Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:09:43.128Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:09:43.128Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T14:09:43.128Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:09:43.128Z] 294 | while (privateConfig) [2024-09-19T14:09:43.128Z] | ^~~~~~~~~~~~~ [2024-09-19T14:09:43.128Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T14:09:43.128Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:09:43.128Z] | ^~~~~~~~~~~~~ [2024-09-19T14:09:43.128Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:09:43.128Z] 271 | while (result) [2024-09-19T14:09:43.129Z] | ^~~~~~ [2024-09-19T14:09:43.129Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T14:09:43.129Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:09:43.129Z] | ^~~~~~ [2024-09-19T14:09:43.129Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:09:43.129Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:09:43.143Z] Still waiting to schedule task [2024-09-19T14:09:43.144Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-19T14:09:43.388Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:09:43.647Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:09:43.647Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:09:43.906Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:09:43.906Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:09:44.167Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:09:44.167Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:09:44.167Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:09:44.737Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:09:44.737Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:09:44.737Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:09:44.996Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:09:45.934Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:09:45.934Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:09:46.194Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:09:46.194Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:09:46.194Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:09:46.452Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:09:46.711Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:09:46.969Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:09:46.969Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:09:47.235Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:09:47.235Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:09:47.235Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:09:47.235Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:09:47.235Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:09:47.235Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:09:47.235Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:09:47.235Z] | ^ [2024-09-19T14:09:47.497Z] /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:09:47.497Z] 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T14:09:47.497Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:09:47.497Z] /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here [2024-09-19T14:09:47.497Z] 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T14:09:47.497Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:09:47.497Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:09:47.756Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:09:47.756Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:09:47.756Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:09:47.756Z] [ 68%] Built target csdk [2024-09-19T14:09:47.756Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:09:48.015Z] [ 72%] Linking C executable template [2024-09-19T14:09:48.015Z] [ 72%] Built target template [2024-09-19T14:09:48.015Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:09:48.274Z] [ 76%] Linking C executable device-counter [2024-09-19T14:09:48.274Z] [ 76%] Built target device-counter [2024-09-19T14:09:48.274Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:09:48.274Z] [ 80%] Linking C executable device-random [2024-09-19T14:09:48.535Z] [ 80%] Built target device-random [2024-09-19T14:09:48.535Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:09:48.535Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:09:48.535Z] [ 84%] Built target device-gyro [2024-09-19T14:09:48.535Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:09:48.801Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:09:48.801Z] [ 88%] Built target device-bitfields [2024-09-19T14:09:48.801Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:09:48.801Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:09:49.074Z] [ 92%] Built target template-discovery [2024-09-19T14:09:49.074Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:09:49.074Z] [ 96%] Linking C executable device-file [2024-09-19T14:09:49.074Z] [ 96%] Built target device-file [2024-09-19T14:09:49.338Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:09:49.338Z] [100%] Linking C executable device-terminal [2024-09-19T14:09:49.338Z] [100%] Built target device-terminal [2024-09-19T14:09:49.338Z] Run CPack packaging tool... [2024-09-19T14:09:49.338Z] CPack: Create package using TGZ [2024-09-19T14:09:49.338Z] CPack: Install projects [2024-09-19T14:09:49.338Z] CPack: - Run preinstall target for: Csdk [2024-09-19T14:09:49.599Z] CPack: - Install project: Csdk [] [2024-09-19T14:09:49.599Z] CPack: Create package [2024-09-19T14:09:49.599Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-19T14:09:49.599Z] + '[' false '=' true ] [2024-09-19T14:09:49.599Z] + '[' false '=' true ] [2024-09-19T14:09:49.599Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T14:09:49.599Z] + cd /tmp/sdk/build/debug [2024-09-19T14:09:49.599Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T14:09:49.859Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:09:49.859Z] -- Detecting C compiler ABI info [2024-09-19T14:09:49.859Z] -- Detecting C compiler ABI info - done [2024-09-19T14:09:49.859Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:09:49.859Z] -- Detecting C compile features [2024-09-19T14:09:49.859Z] -- Detecting C compile features - done [2024-09-19T14:09:49.859Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:09:49.859Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:09:49.859Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:09:49.859Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:09:49.859Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:09:49.859Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:09:49.859Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:09:49.859Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:09:49.859Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:09:49.859Z] -- C SDK 0.0.0 for Linux [2024-09-19T14:09:49.859Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:09:50.123Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:09:50.123Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:09:50.123Z] -- Configuring done (0.4s) [2024-09-19T14:09:50.123Z] -- Generating done (0.0s) [2024-09-19T14:09:50.123Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T14:09:50.123Z] + make [2024-09-19T14:09:50.123Z] + tee debug.log [2024-09-19T14:09:50.123Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:09:50.123Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:09:50.383Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:09:50.383Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:09:50.383Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:09:50.645Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:09:50.645Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:09:50.645Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:09:50.904Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:09:50.904Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:09:50.904Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:09:51.161Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:09:51.161Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:09:51.161Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:09:51.161Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:09:51.419Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:09:51.419Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:09:51.419Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:09:51.683Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:09:51.683Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:09:51.683Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:09:51.944Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:09:51.944Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:09:51.944Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:09:52.204Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:09:52.204Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:09:52.204Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:09:52.475Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:09:52.475Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:09:52.475Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:09:52.740Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:09:52.740Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:09:52.740Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:09:52.740Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:09:52.740Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:09:52.740Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:09:52.740Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:09:52.740Z] | ^ [2024-09-19T14:09:52.740Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:09:53.000Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:09:53.000Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:09:53.000Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:09:53.000Z] [ 68%] Built target csdk [2024-09-19T14:09:53.000Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:09:53.259Z] [ 72%] Linking C executable template [2024-09-19T14:09:53.259Z] [ 72%] Built target template [2024-09-19T14:09:53.259Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:09:53.259Z] [ 76%] Linking C executable device-counter [2024-09-19T14:09:53.259Z] [ 76%] Built target device-counter [2024-09-19T14:09:53.259Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:09:53.521Z] [ 80%] Linking C executable device-random [2024-09-19T14:09:53.521Z] [ 80%] Built target device-random [2024-09-19T14:09:53.521Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:09:53.521Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:09:53.521Z] [ 84%] Built target device-gyro [2024-09-19T14:09:53.521Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:09:53.782Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:09:53.782Z] [ 88%] Built target device-bitfields [2024-09-19T14:09:53.782Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:09:53.782Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:09:53.782Z] [ 92%] Built target template-discovery [2024-09-19T14:09:54.041Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:09:54.041Z] [ 96%] Linking C executable device-file [2024-09-19T14:09:54.041Z] [ 96%] Built target device-file [2024-09-19T14:09:54.041Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:09:54.041Z] [100%] Linking C executable device-terminal [2024-09-19T14:09:54.303Z] [100%] Built target device-terminal [2024-09-19T14:09:54.303Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T14:09:54.303Z] [ 68%] Built target csdk [2024-09-19T14:09:54.303Z] [ 72%] Built target template [2024-09-19T14:09:54.303Z] [ 76%] Built target device-counter [2024-09-19T14:09:54.303Z] [ 80%] Built target device-random [2024-09-19T14:09:54.303Z] [ 84%] Built target device-gyro [2024-09-19T14:09:54.303Z] [ 88%] Built target device-bitfields [2024-09-19T14:09:54.303Z] [ 92%] Built target template-discovery [2024-09-19T14:09:54.303Z] [ 96%] Built target device-file [2024-09-19T14:09:54.629Z] [100%] Built target device-terminal [2024-09-19T14:09:54.629Z] Install the project... [2024-09-19T14:09:54.629Z] -- Install configuration: "Release" [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T14:09:54.629Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include/devsdk [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include/edgex [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T14:09:54.629Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T14:09:54.629Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T14:09:55.197Z] Removing intermediate container e09941948a55 [2024-09-19T14:09:55.197Z] ---> c0b327a2593b [2024-09-19T14:09:55.197Z] Step 14/22 : FROM ${BASE} [2024-09-19T14:09:55.197Z] ---> 6605166a5db4 [2024-09-19T14:09:55.197Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T14:09:55.197Z] ---> Running in c62567e602ba [2024-09-19T14:09:55.457Z] Removing intermediate container c62567e602ba [2024-09-19T14:09:55.457Z] ---> 7c0b86c517ac [2024-09-19T14:09:55.457Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:09:55.457Z] ---> Running in 89ff9525da13 [2024-09-19T14:09:55.717Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-19T14:09:55.978Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:09:55.978Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:09:55.978Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:09:56.237Z] Removing intermediate container 89ff9525da13 [2024-09-19T14:09:56.237Z] ---> d452b9ba2fda [2024-09-19T14:09:56.237Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:09:56.495Z] ---> Running in f6dda65c54aa [2024-09-19T14:09:56.758Z] Removing intermediate container f6dda65c54aa [2024-09-19T14:09:56.758Z] ---> 83eeb19c7abc [2024-09-19T14:09:56.758Z] Step 18/22 : 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 dumb-init [2024-09-19T14:09:57.018Z] ---> Running in cce6e4a82cd3 [2024-09-19T14:09:57.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:09:57.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:09:57.537Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:09:58.105Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:09:58.105Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:09:58.105Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T14:09:58.105Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:09:58.105Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T14:09:58.105Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T14:09:58.105Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:09:58.105Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T14:09:58.105Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:09:58.675Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:09:58.937Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T14:09:58.937Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:09:58.937Z] OK: 331 MiB in 90 packages [2024-09-19T14:09:59.511Z] Removing intermediate container cce6e4a82cd3 [2024-09-19T14:09:59.511Z] ---> 77c61aaecd2e [2024-09-19T14:09:59.511Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T14:09:59.511Z] ---> Running in 9cd3e17db03e [2024-09-19T14:09:59.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:09:59.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:00.029Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:00.600Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:10:00.600Z] Upgrading critical system libraries and apk-tools: [2024-09-19T14:10:00.600Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T14:10:00.600Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:10:00.600Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T14:10:00.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:00.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:00.600Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:01.187Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:10:01.187Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:10:01.187Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T14:10:01.187Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:10:01.187Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T14:10:01.187Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:10:01.187Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:10:01.187Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:10:01.187Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T14:10:01.187Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T14:10:01.187Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T14:10:01.187Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:10:01.447Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T14:10:01.447Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:10:01.447Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:10:01.447Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:10:01.447Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:10:01.447Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T14:10:01.447Z] OK: 331 MiB in 90 packages [2024-09-19T14:10:02.383Z] Removing intermediate container 9cd3e17db03e [2024-09-19T14:10:02.383Z] ---> 101c8f4baa9f [2024-09-19T14:10:02.383Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T14:10:02.641Z] ---> 968a40c73300 [2024-09-19T14:10:02.641Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T14:10:02.641Z] ---> 58830cacb04f [2024-09-19T14:10:02.641Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T14:10:02.641Z] ---> 0e2d5eaa617b [2024-09-19T14:10:02.899Z] Successfully built 0e2d5eaa617b [2024-09-19T14:10:02.899Z] 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-09-19T14:10:03.297Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-19T14:10:03.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:10:03.377Z] prd-ubuntu20.04-docker-8c-8g-10689 does not seem to be running inside a container [2024-09-19T14:10:03.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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-09-19T14:10:03.734Z] $ docker top 6020249f5032a2c35030813b53a81bad8a1cf29725384af223d7ba06369cbf9d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T14:10:04.084Z] + make test [2024-09-19T14:10:04.084Z] echo "make test" [2024-09-19T14:10:04.084Z] make test [Pipeline] } [2024-09-19T14:10:04.093Z] $ docker stop --time=1 6020249f5032a2c35030813b53a81bad8a1cf29725384af223d7ba06369cbf9d [2024-09-19T14:10:05.381Z] $ docker rm -f --volumes 6020249f5032a2c35030813b53a81bad8a1cf29725384af223d7ba06369cbf9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T14:10:06.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T14:10:06.302Z] + ls -al . [2024-09-19T14:10:06.302Z] total 212 [2024-09-19T14:10:06.302Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 14:09 . [2024-09-19T14:10:06.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:08 .. [2024-09-19T14:10:06.302Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:09 .git [2024-09-19T14:10:06.302Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 14:08 .github [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 14:08 .gitignore [2024-09-19T14:10:06.302Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:09 .semver [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 14:08 Attribution.txt [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 14:08 CHANGELOG.md [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 14:08 Doxyfile [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 14:08 GOVERNANCE.md [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 14:08 Jenkinsfile [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 14:08 LICENSE [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 14:08 Makefile [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 14:08 OWNERS.md [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 14:08 README.IOT.md [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 14:08 README.md [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 14:08 README.v3.md [2024-09-19T14:10:06.302Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 14:09 VERSION [2024-09-19T14:10:06.302Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:08 docs [2024-09-19T14:10:06.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:08 include [2024-09-19T14:10:06.302Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:08 scripts [2024-09-19T14:10:06.302Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:08 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:10:06.617Z] + 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=430a52259ff05b1f26229401cb908c2cd1e2e6b9 --label arch=amd64 --label version=0.0.0 . [2024-09-19T14:10:06.617Z] Sending build context to Docker daemon 5.311MB [2024-09-19T14:10:06.617Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T14:10:06.617Z] Step 2/18 : FROM ${BASE} [2024-09-19T14:10:06.617Z] ---> 0e2d5eaa617b [2024-09-19T14:10:06.617Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T14:10:06.617Z] ---> Running in 0e189ca3b0f8 [2024-09-19T14:10:06.876Z] Removing intermediate container 0e189ca3b0f8 [2024-09-19T14:10:06.876Z] ---> a4be00e88c9f [2024-09-19T14:10:06.876Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:10:06.876Z] ---> Running in fb379d556a7b [2024-09-19T14:10:07.135Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-19T14:10:07.397Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:10:07.397Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:10:07.397Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:10:07.655Z] Removing intermediate container fb379d556a7b [2024-09-19T14:10:07.655Z] ---> 247c87b82d24 [2024-09-19T14:10:07.655Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:10:07.655Z] ---> Running in dac7fd931cf3 [2024-09-19T14:10:08.226Z] Removing intermediate container dac7fd931cf3 [2024-09-19T14:10:08.226Z] ---> 114a40db46fd [2024-09-19T14:10:08.226Z] Step 6/18 : 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 dumb-init && mkdir -p /edgex-c-sdk/build [2024-09-19T14:10:08.226Z] ---> Running in ef84adb8c3ee [2024-09-19T14:10:08.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:08.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:08.743Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:09.309Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:10:09.309Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:10:09.569Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:10:09.569Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:10:09.569Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:10:09.569Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:10:09.569Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:10:09.569Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T14:10:09.569Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T14:10:09.569Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T14:10:09.569Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:10:09.569Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:10:09.569Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:10:09.569Z] OK: 337 MiB in 101 packages [2024-09-19T14:10:10.135Z] Removing intermediate container ef84adb8c3ee [2024-09-19T14:10:10.135Z] ---> 06af5f180478 [2024-09-19T14:10:10.135Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T14:10:10.135Z] ---> Running in 5d42ba0f7093 [2024-09-19T14:10:10.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:10.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:10.652Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T14:10:11.221Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:10:11.221Z] OK: 337 MiB in 101 packages [2024-09-19T14:10:11.481Z] Removing intermediate container 5d42ba0f7093 [2024-09-19T14:10:11.481Z] ---> f8791456e97f [2024-09-19T14:10:11.481Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T14:10:11.481Z] ---> 8018d37f60e9 [2024-09-19T14:10:11.481Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T14:10:11.741Z] ---> 02ceee155b02 [2024-09-19T14:10:11.741Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T14:10:11.999Z] ---> dc36c6e23813 [2024-09-19T14:10:11.999Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T14:10:11.999Z] ---> 7fd1a435f707 [2024-09-19T14:10:11.999Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T14:10:11.999Z] ---> 54b340ef07aa [2024-09-19T14:10:11.999Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T14:10:12.258Z] ---> cf00d6778d93 [2024-09-19T14:10:12.258Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T14:10:12.258Z] ---> Running in a61a08676c94 [2024-09-19T14:10:12.258Z] Removing intermediate container a61a08676c94 [2024-09-19T14:10:12.258Z] ---> 5d410b85993a [2024-09-19T14:10:12.258Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T14:10:12.258Z] ---> Running in 8843edd8ecfe [2024-09-19T14:10:12.517Z] Removing intermediate container 8843edd8ecfe [2024-09-19T14:10:12.517Z] ---> 421841635432 [2024-09-19T14:10:12.517Z] Step 16/18 : LABEL arch=amd64 [2024-09-19T14:10:12.517Z] ---> Running in 120bf4b058b9 [2024-09-19T14:10:12.517Z] Removing intermediate container 120bf4b058b9 [2024-09-19T14:10:12.517Z] ---> 065ecd0a92ff [2024-09-19T14:10:12.517Z] Step 17/18 : LABEL git_sha=430a52259ff05b1f26229401cb908c2cd1e2e6b9 [2024-09-19T14:10:12.517Z] ---> Running in a621ef74b077 [2024-09-19T14:10:12.517Z] Removing intermediate container a621ef74b077 [2024-09-19T14:10:12.517Z] ---> a9efadd35509 [2024-09-19T14:10:12.517Z] Step 18/18 : LABEL version=0.0.0 [2024-09-19T14:10:12.517Z] ---> Running in 87860ada147d [2024-09-19T14:10:12.776Z] Removing intermediate container 87860ada147d [2024-09-19T14:10:12.776Z] ---> 525a6941fe30 [2024-09-19T14:10:12.776Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-09-19T14:10:12.776Z] Successfully built 525a6941fe30 [2024-09-19T14:10:12.776Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:10:13.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:10:13.270Z] [2024-09-19T14:10:13.270Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:10:13.571Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:10:13.571Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-19T14:10:13.571Z] 5eb5b503b376: Pulling fs layer [2024-09-19T14:10:13.571Z] 5c69ac0246d0: Pulling fs layer [2024-09-19T14:10:13.571Z] ec43610c2a17: Pulling fs layer [2024-09-19T14:10:13.571Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-19T14:10:13.571Z] 33b1e0a273af: Pulling fs layer [2024-09-19T14:10:13.571Z] 5d3b04190fa2: Pulling fs layer [2024-09-19T14:10:13.571Z] 2f39f015ded8: Pulling fs layer [2024-09-19T14:10:13.571Z] 3a2ae6a8a46f: Waiting [2024-09-19T14:10:13.571Z] 33b1e0a273af: Waiting [2024-09-19T14:10:13.571Z] 5d3b04190fa2: Waiting [2024-09-19T14:10:13.571Z] 2f39f015ded8: Waiting [2024-09-19T14:10:13.571Z] 5c69ac0246d0: Verifying Checksum [2024-09-19T14:10:13.571Z] 5c69ac0246d0: Download complete [2024-09-19T14:10:13.571Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-19T14:10:13.571Z] 3a2ae6a8a46f: Download complete [2024-09-19T14:10:13.571Z] 33b1e0a273af: Verifying Checksum [2024-09-19T14:10:13.571Z] 33b1e0a273af: Download complete [2024-09-19T14:10:13.571Z] 5d3b04190fa2: Verifying Checksum [2024-09-19T14:10:13.571Z] 5d3b04190fa2: Download complete [2024-09-19T14:10:13.571Z] ec43610c2a17: Verifying Checksum [2024-09-19T14:10:13.571Z] ec43610c2a17: Download complete [2024-09-19T14:10:13.831Z] 5eb5b503b376: Verifying Checksum [2024-09-19T14:10:13.831Z] 5eb5b503b376: Download complete [2024-09-19T14:10:14.398Z] 2f39f015ded8: Download complete [2024-09-19T14:10:14.966Z] 5eb5b503b376: Pull complete [2024-09-19T14:10:14.966Z] 5c69ac0246d0: Pull complete [2024-09-19T14:10:15.539Z] ec43610c2a17: Pull complete [2024-09-19T14:10:15.539Z] 3a2ae6a8a46f: Pull complete [2024-09-19T14:10:15.797Z] 33b1e0a273af: Pull complete [2024-09-19T14:10:15.797Z] 5d3b04190fa2: Pull complete [2024-09-19T14:10:19.986Z] 2f39f015ded8: Pull complete [2024-09-19T14:10:19.986Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-19T14:10:19.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:10:19.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:10:20.077Z] prd-ubuntu20.04-docker-8c-8g-10689 does not seem to be running inside a container [2024-09-19T14:10:20.105Z] $ 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-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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-09-19T14:10:24.200Z] $ docker top 3fddd12848da0d34c46984dbcf02e87d8bd02bfe184507d2fe09eb92d48f4948 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:10:24.604Z] ---> job-cost.sh [2024-09-19T14:10:24.604Z] lf-activate-venv: SKIPPING [2024-09-19T14:10:24.604Z] INFO: No Stack... [2024-09-19T14:10:27.056Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T14:10:27.056Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T14:10:28.348Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv [2024-09-19T14:10:28.348Z] + cut -d, -f6 [Pipeline] lock [2024-09-19T14:10:28.359Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] [2024-09-19T14:10:30.670Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] did not exist. Created. [2024-09-19T14:10:35.290Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T14:10:36.526Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-19T14:10:39.248Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T14:10:40.291Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T14:10:40.327Z] $ docker stop --time=1 3fddd12848da0d34c46984dbcf02e87d8bd02bfe184507d2fe09eb92d48f4948 [2024-09-19T14:10:43.419Z] $ docker rm -f --volumes 3fddd12848da0d34c46984dbcf02e87d8bd02bfe184507d2fe09eb92d48f4948 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-19T14:11:21.556Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10690 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws [2024-09-19T14:11:21.572Z] Running in /w/workspace/device-sdk-c/9 [Pipeline] { [Pipeline] checkout [2024-09-19T14:11:21.617Z] Selected Git installation does not exist. Using Default [2024-09-19T14:11:21.617Z] The recommended git tool is: NONE [2024-09-19T14:11:27.968Z] using credential edgex-jenkins-ssh [2024-09-19T14:11:27.999Z] Cloning the remote Git repository [2024-09-19T14:11:28.045Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T14:11:28.153Z] > git init /w/workspace/device-sdk-c/9 # timeout=10 [2024-09-19T14:11:28.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T14:11:28.350Z] > git --version # timeout=10 [2024-09-19T14:11:28.380Z] > git --version # 'git version 2.25.1' [2024-09-19T14:11:28.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T14:11:28.565Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T14:11:29.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T14:11:29.634Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T14:11:31.340Z] Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [2024-09-19T14:11:31.859Z] Merge succeeded, producing 430a52259ff05b1f26229401cb908c2cd1e2e6b9 [2024-09-19T14:11:31.860Z] Checking out Revision 430a52259ff05b1f26229401cb908c2cd1e2e6b9 (PR-513) [2024-09-19T14:11:30.647Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T14:11:30.696Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T14:11:30.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T14:11:30.722Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-19T14:11:31.358Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T14:11:31.441Z] > git checkout -f 430a52259ff05b1f26229401cb908c2cd1e2e6b9 # timeout=10 [2024-09-19T14:11:31.637Z] > git remote # timeout=10 [2024-09-19T14:11:31.693Z] > git config --get remote.origin.url # timeout=10 [2024-09-19T14:11:31.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T14:11:31.767Z] > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 [2024-09-19T14:11:31.831Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-19T14:11:31.866Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T14:11:31.889Z] > git checkout -f 430a52259ff05b1f26229401cb908c2cd1e2e6b9 # timeout=10 [2024-09-19T14:11:35.698Z] Commit message: "feat: Update topic naming for discovery publishing" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T14:11:38.273Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-19T14:11:38.545Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-19T14:11:38.545Z] Dload Upload Total Spent Left Speed [2024-09-19T14:11:38.545Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2024-09-19T14:11:38.934Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-19T14:11:39.270Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-19T14:11:39.270Z] + sudo tee /etc/docker/daemon.new [2024-09-19T14:11:39.270Z] { [2024-09-19T14:11:39.270Z] "registry-mirrors": [ [2024-09-19T14:11:39.270Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-19T14:11:39.270Z] ], [2024-09-19T14:11:39.270Z] "bip": "10.250.0.254/24", [2024-09-19T14:11:39.270Z] "hosts": [ [2024-09-19T14:11:39.270Z] "tcp://0.0.0.0:5555", [2024-09-19T14:11:39.270Z] "unix:///var/run/docker.sock" [2024-09-19T14:11:39.270Z] ], [2024-09-19T14:11:39.270Z] "mtu": 1458, [2024-09-19T14:11:39.270Z] "selinux-enabled": true, [2024-09-19T14:11:39.270Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-19T14:11:39.270Z] } [Pipeline] sh [2024-09-19T14:11:39.595Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-19T14:11:39.935Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:11:58.198Z] provisioning config files... [2024-09-19T14:11:58.318Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/9@tmp/config9361221402672465560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:11:58.747Z] ---> ****-login.sh [2024-09-19T14:11:58.747Z] nexus3.edgexfoundry.org:10001 [2024-09-19T14:11:59.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:11:59.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:11:59.331Z] Configure a credential helper to remove this warning. See [2024-09-19T14:11:59.331Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:11:59.331Z] [2024-09-19T14:11:59.331Z] Login Succeeded [2024-09-19T14:11:59.331Z] nexus3.edgexfoundry.org:10002 [2024-09-19T14:11:59.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:11:59.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:11:59.599Z] Configure a credential helper to remove this warning. See [2024-09-19T14:11:59.599Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:11:59.599Z] [2024-09-19T14:11:59.599Z] Login Succeeded [2024-09-19T14:11:59.599Z] nexus3.edgexfoundry.org:10003 [2024-09-19T14:11:59.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:12:00.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:12:00.140Z] Configure a credential helper to remove this warning. See [2024-09-19T14:12:00.140Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:12:00.140Z] [2024-09-19T14:12:00.140Z] Login Succeeded [2024-09-19T14:12:00.140Z] nexus3.edgexfoundry.org:10004 [2024-09-19T14:12:00.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:12:00.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:12:00.408Z] Configure a credential helper to remove this warning. See [2024-09-19T14:12:00.408Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:12:00.408Z] [2024-09-19T14:12:00.408Z] Login Succeeded [2024-09-19T14:12:00.408Z] ****.io [2024-09-19T14:12:00.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T14:12:00.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T14:12:00.946Z] Configure a credential helper to remove this warning. See [2024-09-19T14:12:00.946Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T14:12:00.946Z] [2024-09-19T14:12:00.946Z] Login Succeeded [2024-09-19T14:12:00.946Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T14:12:00.959Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T14:12:01.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:12:01.286Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-19T14:12:01.302Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T14:12:01.321Z] ========================================================= [2024-09-19T14:12:01.321Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-19T14:12:01.321Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:12:01.660Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2024-09-19T14:12:02.250Z] Sending build context to Docker daemon 3.284MB [2024-09-19T14:12:02.250Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T14:12:02.250Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T14:12:02.250Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-19T14:12:02.250Z] 579b34f0a95b: Pulling fs layer [2024-09-19T14:12:02.250Z] e71477ac5e1b: Pulling fs layer [2024-09-19T14:12:02.523Z] 579b34f0a95b: Download complete [2024-09-19T14:12:03.115Z] 579b34f0a95b: Pull complete [2024-09-19T14:12:05.056Z] e71477ac5e1b: Verifying Checksum [2024-09-19T14:12:05.056Z] e71477ac5e1b: Download complete [2024-09-19T14:12:17.357Z] e71477ac5e1b: Pull complete [2024-09-19T14:12:17.357Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-19T14:12:17.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-19T14:12:17.357Z] ---> 2b552cad5dd9 [2024-09-19T14:12:17.357Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:12:17.357Z] ---> Running in 683d7f7ce308 [2024-09-19T14:12:17.936Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T14:12:18.521Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:12:18.521Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:12:18.521Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:12:19.127Z] Removing intermediate container 683d7f7ce308 [2024-09-19T14:12:19.127Z] ---> a6041b8fbf5c [2024-09-19T14:12:19.127Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:12:19.127Z] ---> Running in 9e5d9f21c43c [2024-09-19T14:12:21.079Z] Removing intermediate container 9e5d9f21c43c [2024-09-19T14:12:21.079Z] ---> 695a12e07e9b [2024-09-19T14:12:21.079Z] Step 5/22 : 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-09-19T14:12:21.079Z] ---> Running in 4583a0615be7 [2024-09-19T14:12:21.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:12:22.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:12:22.840Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:12:23.831Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:12:23.831Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T14:12:23.831Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:12:23.831Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T14:12:23.831Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:12:24.412Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:12:24.681Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:12:24.948Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:12:24.948Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:12:24.948Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:12:24.948Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:12:24.948Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:12:24.948Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T14:12:24.948Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T14:12:24.948Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T14:12:24.948Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T14:12:24.948Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:12:24.948Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:12:24.948Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:12:25.219Z] OK: 333 MiB in 99 packages [2024-09-19T14:12:26.650Z] Removing intermediate container 4583a0615be7 [2024-09-19T14:12:26.650Z] ---> b0b59772836d [2024-09-19T14:12:26.650Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T14:12:26.650Z] ---> Running in 9127021ade1d [2024-09-19T14:12:28.069Z] Removing intermediate container 9127021ade1d [2024-09-19T14:12:28.069Z] ---> 228c2fd22fc9 [2024-09-19T14:12:28.069Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T14:12:28.654Z] ---> 87a132aea157 [2024-09-19T14:12:28.654Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T14:12:29.240Z] ---> c4ee4a2138c5 [2024-09-19T14:12:29.240Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T14:12:29.830Z] ---> 040173df2f21 [2024-09-19T14:12:29.830Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T14:12:30.416Z] ---> c1cbb13f8b17 [2024-09-19T14:12:30.416Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T14:12:30.685Z] ---> 18ef6090148f [2024-09-19T14:12:30.685Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T14:12:31.269Z] ---> 471edd8b5ca0 [2024-09-19T14:12:31.269Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T14:12:31.269Z] ---> Running in 1683f75f33d9 [2024-09-19T14:12:32.232Z] + CPPCHECK=false [2024-09-19T14:12:32.232Z] + DOCGEN=false [2024-09-19T14:12:32.232Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T14:12:32.232Z] + '[' 0 -gt 0 ] [2024-09-19T14:12:32.232Z] + readlink -f ./scripts/build.sh [2024-09-19T14:12:32.232Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T14:12:32.233Z] + dirname /tmp/sdk/scripts [2024-09-19T14:12:32.233Z] + ROOT=/tmp/sdk [2024-09-19T14:12:32.233Z] + cd /tmp/sdk [2024-09-19T14:12:32.233Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T14:12:32.233Z] + cd /tmp/sdk/build/release [2024-09-19T14:12:32.233Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T14:12:32.504Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:12:32.772Z] -- Detecting C compiler ABI info [2024-09-19T14:12:33.057Z] -- Detecting C compiler ABI info - done [2024-09-19T14:12:33.057Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:12:33.057Z] -- Detecting C compile features [2024-09-19T14:12:33.057Z] -- Detecting C compile features - done [2024-09-19T14:12:33.057Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:12:33.327Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:12:33.327Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:12:33.327Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:12:33.327Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:12:33.327Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:12:33.327Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:12:33.327Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:12:33.327Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:12:33.327Z] -- C SDK 0.0.0 for Linux [2024-09-19T14:12:33.327Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:12:33.915Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:12:33.915Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:12:33.915Z] -- Configuring done (1.7s) [2024-09-19T14:12:34.184Z] -- Generating done (0.2s) [2024-09-19T14:12:34.184Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T14:12:34.184Z] + + teemake release.log all [2024-09-19T14:12:34.184Z] package [2024-09-19T14:12:34.453Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:12:35.038Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:12:35.999Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:12:36.582Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:12:37.542Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:12:38.125Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:12:40.069Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:12:41.029Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T14:12:41.029Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:12:41.029Z] 294 | while (privateConfig) [2024-09-19T14:12:41.029Z] | ^~~~~~~~~~~~~ [2024-09-19T14:12:41.029Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T14:12:41.029Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:12:41.029Z] | ^~~~~~~~~~~~~ [2024-09-19T14:12:41.029Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:12:41.029Z] 271 | while (result) [2024-09-19T14:12:41.029Z] | ^~~~~~ [2024-09-19T14:12:41.029Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T14:12:41.029Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T14:12:41.029Z] | ^~~~~~ [2024-09-19T14:12:41.297Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:12:41.297Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:12:42.257Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:12:44.201Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:12:44.785Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:12:45.371Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:12:46.334Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:12:46.917Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:12:47.876Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:12:48.459Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:12:51.039Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:12:51.039Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:12:51.622Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:12:53.032Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:12:59.676Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:12:59.943Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:13:00.211Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:13:00.793Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:13:01.061Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:13:02.476Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:13:05.054Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:13:05.054Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:13:06.011Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:13:06.594Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:13:06.862Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:13:06.862Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:13:06.862Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:13:06.862Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:13:06.862Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:13:06.862Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:13:06.862Z] | ^ [2024-09-19T14:13:08.265Z] /tmp/sdk/src/c/service.c:1069:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T14:13:08.265Z] 1069 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T14:13:08.265Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:13:08.265Z] /tmp/sdk/src/c/service.c:881:68: note: 'deviceservices_config' was declared here [2024-09-19T14:13:08.265Z] 881 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T14:13:08.265Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:13:09.231Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:13:10.192Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:13:10.459Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:13:11.044Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:13:11.310Z] [ 68%] Built target csdk [2024-09-19T14:13:11.310Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:13:12.266Z] [ 72%] Linking C executable template [2024-09-19T14:13:12.534Z] [ 72%] Built target template [2024-09-19T14:13:12.534Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:13:13.117Z] [ 76%] Linking C executable device-counter [2024-09-19T14:13:13.382Z] [ 76%] Built target device-counter [2024-09-19T14:13:13.382Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:13:13.961Z] [ 80%] Linking C executable device-random [2024-09-19T14:13:14.227Z] [ 80%] Built target device-random [2024-09-19T14:13:14.227Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:13:14.808Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:13:15.073Z] [ 84%] Built target device-gyro [2024-09-19T14:13:15.073Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:13:15.656Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:13:15.922Z] [ 88%] Built target device-bitfields [2024-09-19T14:13:16.200Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:13:17.159Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:13:17.425Z] [ 92%] Built target template-discovery [2024-09-19T14:13:17.425Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:13:18.005Z] [ 96%] Linking C executable device-file [2024-09-19T14:13:18.586Z] [ 96%] Built target device-file [2024-09-19T14:13:18.587Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:13:19.168Z] [100%] Linking C executable device-terminal [2024-09-19T14:13:19.433Z] [100%] Built target device-terminal [2024-09-19T14:13:19.433Z] Run CPack packaging tool... [2024-09-19T14:13:19.700Z] CPack: Create package using TGZ [2024-09-19T14:13:19.700Z] CPack: Install projects [2024-09-19T14:13:19.700Z] CPack: - Run preinstall target for: Csdk [2024-09-19T14:13:20.281Z] CPack: - Install project: Csdk [] [2024-09-19T14:13:20.550Z] CPack: Create package [2024-09-19T14:13:20.550Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-19T14:13:20.550Z] + '[' false '=' true ] [2024-09-19T14:13:20.550Z] + '[' false '=' true ] [2024-09-19T14:13:20.550Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T14:13:20.550Z] + cd /tmp/sdk/build/debug [2024-09-19T14:13:20.550Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T14:13:20.823Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T14:13:20.823Z] -- Detecting C compiler ABI info [2024-09-19T14:13:21.405Z] -- Detecting C compiler ABI info - done [2024-09-19T14:13:21.405Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T14:13:21.405Z] -- Detecting C compile features [2024-09-19T14:13:21.405Z] -- Detecting C compile features - done [2024-09-19T14:13:21.405Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T14:13:21.671Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T14:13:21.671Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T14:13:21.671Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T14:13:21.671Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T14:13:21.671Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T14:13:21.671Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T14:13:21.671Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T14:13:21.671Z] -- /opt/iotech/iot/1.5/include [2024-09-19T14:13:21.671Z] -- C SDK 0.0.0 for Linux [2024-09-19T14:13:21.671Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T14:13:21.938Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T14:13:22.204Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T14:13:22.204Z] -- Configuring done (1.7s) [2024-09-19T14:13:22.471Z] -- Generating done (0.2s) [2024-09-19T14:13:22.471Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T14:13:22.471Z] + + maketee [2024-09-19T14:13:22.471Z] debug.log [2024-09-19T14:13:22.736Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T14:13:23.006Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T14:13:23.271Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T14:13:23.857Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T14:13:24.123Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T14:13:24.388Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T14:13:24.976Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T14:13:25.556Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T14:13:25.556Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T14:13:26.136Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T14:13:26.721Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T14:13:26.986Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T14:13:27.566Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T14:13:27.832Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T14:13:28.096Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T14:13:28.361Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T14:13:28.627Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T14:13:29.596Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T14:13:29.596Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T14:13:29.862Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T14:13:30.450Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T14:13:31.424Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T14:13:32.009Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T14:13:32.009Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T14:13:32.590Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T14:13:32.590Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T14:13:33.174Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T14:13:34.592Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T14:13:34.859Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T14:13:35.299Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T14:13:35.608Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T14:13:35.877Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T14:13:35.877Z] /tmp/sdk/src/c/service.c:914:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:13:35.877Z] 914 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T14:13:35.877Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T14:13:35.877Z] /tmp/sdk/src/c/service.c:915:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T14:13:35.877Z] 915 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T14:13:35.877Z] | ^ [2024-09-19T14:13:36.467Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T14:13:36.743Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T14:13:37.010Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T14:13:37.279Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T14:13:37.548Z] [ 68%] Built target csdk [2024-09-19T14:13:37.548Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T14:13:37.819Z] [ 72%] Linking C executable template [2024-09-19T14:13:38.091Z] [ 72%] Built target template [2024-09-19T14:13:38.361Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T14:13:38.631Z] [ 76%] Linking C executable device-counter [2024-09-19T14:13:38.903Z] [ 76%] Built target device-counter [2024-09-19T14:13:38.903Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T14:13:39.169Z] [ 80%] Linking C executable device-random [2024-09-19T14:13:39.435Z] [ 80%] Built target device-random [2024-09-19T14:13:39.435Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T14:13:39.700Z] [ 84%] Linking C executable device-gyro [2024-09-19T14:13:40.282Z] [ 84%] Built target device-gyro [2024-09-19T14:13:40.282Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T14:13:40.547Z] [ 88%] Linking C executable device-bitfields [2024-09-19T14:13:40.812Z] [ 88%] Built target device-bitfields [2024-09-19T14:13:40.812Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T14:13:41.077Z] [ 92%] Linking C executable template-discovery [2024-09-19T14:13:41.342Z] [ 92%] Built target template-discovery [2024-09-19T14:13:41.608Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T14:13:41.872Z] [ 96%] Linking C executable device-file [2024-09-19T14:13:42.137Z] [ 96%] Built target device-file [2024-09-19T14:13:42.137Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T14:13:42.718Z] [100%] Linking C executable device-terminal [2024-09-19T14:13:42.985Z] [100%] Built target device-terminal [2024-09-19T14:13:42.985Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T14:13:42.985Z] [ 68%] Built target csdk [2024-09-19T14:13:42.985Z] [ 72%] Built target template [2024-09-19T14:13:43.259Z] [ 76%] Built target device-counter [2024-09-19T14:13:43.259Z] [ 80%] Built target device-random [2024-09-19T14:13:43.259Z] [ 84%] Built target device-gyro [2024-09-19T14:13:43.259Z] [ 88%] Built target device-bitfields [2024-09-19T14:13:43.259Z] [ 92%] Built target template-discovery [2024-09-19T14:13:43.530Z] [ 96%] Built target device-file [2024-09-19T14:13:43.530Z] [100%] Built target device-terminal [2024-09-19T14:13:43.530Z] Install the project... [2024-09-19T14:13:43.530Z] -- Install configuration: "Release" [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T14:13:43.530Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include/devsdk [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include/edgex [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T14:13:43.530Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T14:13:43.530Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T14:13:44.938Z] Removing intermediate container 1683f75f33d9 [2024-09-19T14:13:44.938Z] ---> 607fe58087ae [2024-09-19T14:13:44.938Z] Step 14/22 : FROM ${BASE} [2024-09-19T14:13:44.938Z] ---> 2b552cad5dd9 [2024-09-19T14:13:44.938Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T14:13:44.938Z] ---> Running in bf99faa5b6a3 [2024-09-19T14:13:45.206Z] Removing intermediate container bf99faa5b6a3 [2024-09-19T14:13:45.206Z] ---> f6b80bc754a4 [2024-09-19T14:13:45.206Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:13:45.473Z] ---> Running in f567b4492474 [2024-09-19T14:13:46.427Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-19T14:13:46.691Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:13:46.691Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:13:46.691Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:13:47.273Z] Removing intermediate container f567b4492474 [2024-09-19T14:13:47.273Z] ---> 3fa8b68317e8 [2024-09-19T14:13:47.273Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:13:47.273Z] ---> Running in 7f8973fc0005 [2024-09-19T14:13:48.674Z] Removing intermediate container 7f8973fc0005 [2024-09-19T14:13:48.674Z] ---> 63144e21e3b8 [2024-09-19T14:13:48.674Z] Step 18/22 : 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 dumb-init [2024-09-19T14:13:48.941Z] ---> Running in 0fb6481b7e06 [2024-09-19T14:13:49.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:13:50.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:13:50.753Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:13:51.711Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:13:51.711Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:13:51.711Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T14:13:51.711Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T14:13:51.711Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T14:13:51.711Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T14:13:51.711Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T14:13:51.711Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T14:13:51.711Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T14:13:52.293Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T14:13:52.568Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T14:13:52.568Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:13:52.568Z] OK: 328 MiB in 90 packages [2024-09-19T14:13:53.985Z] Removing intermediate container 0fb6481b7e06 [2024-09-19T14:13:53.985Z] ---> 3940400b1079 [2024-09-19T14:13:53.985Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T14:13:53.985Z] ---> Running in bc31767a95fa [2024-09-19T14:13:54.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:13:55.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:13:55.486Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:13:56.444Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:13:56.444Z] Upgrading critical system libraries and apk-tools: [2024-09-19T14:13:56.444Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T14:13:56.444Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T14:13:56.709Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T14:13:56.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:13:57.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:13:57.553Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:13:58.505Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:13:58.505Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:13:58.505Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T14:13:58.505Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:13:58.505Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T14:13:58.505Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:13:58.505Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:13:58.505Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T14:13:58.505Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T14:13:58.505Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T14:13:58.770Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T14:13:58.770Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T14:13:58.770Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T14:13:59.036Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:13:59.036Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:13:59.036Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T14:13:59.036Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:13:59.036Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T14:13:59.301Z] OK: 328 MiB in 90 packages [2024-09-19T14:14:01.240Z] Removing intermediate container bc31767a95fa [2024-09-19T14:14:01.240Z] ---> a5bdd12730ac [2024-09-19T14:14:01.240Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T14:14:01.504Z] ---> cfebb7d7919f [2024-09-19T14:14:01.504Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T14:14:02.083Z] ---> 09ebffbaa33b [2024-09-19T14:14:02.083Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T14:14:02.662Z] ---> 0b06fe810f50 [2024-09-19T14:14:02.662Z] Successfully built 0b06fe810f50 [2024-09-19T14:14:02.926Z] Successfully tagged ci-base-image-arm64: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-09-19T14:14:03.358Z] + docker inspect -f . ci-base-image-arm64 [2024-09-19T14:14:03.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:14:03.553Z] prd-ubuntu20.04-docker-arm64-4c-16g-10690 does not seem to be running inside a container [2024-09-19T14:14:03.614Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/9 -v /w/workspace/device-sdk-c/9:/w/workspace/device-sdk-c/9:rw,z -v /w/workspace/device-sdk-c/9@tmp:/w/workspace/device-sdk-c/9@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-arm64 cat [2024-09-19T14:14:04.742Z] $ docker top 02e245e15eaf40f269f0ab30ccc3802a8cab237ff004967cfb1ad3b3ee27879a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T14:14:05.558Z] + make test [2024-09-19T14:14:05.558Z] echo "make test" [2024-09-19T14:14:05.558Z] make test [Pipeline] } [2024-09-19T14:14:05.575Z] $ docker stop --time=1 02e245e15eaf40f269f0ab30ccc3802a8cab237ff004967cfb1ad3b3ee27879a [2024-09-19T14:14:07.160Z] $ docker rm -f --volumes 02e245e15eaf40f269f0ab30ccc3802a8cab237ff004967cfb1ad3b3ee27879a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T14:14:07.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T14:14:08.030Z] + ls -al . [2024-09-19T14:14:08.030Z] total 208 [2024-09-19T14:14:08.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:11 . [2024-09-19T14:14:08.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:11 .. [2024-09-19T14:14:08.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 14:11 .git [2024-09-19T14:14:08.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 14:11 .github [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 14:11 .gitignore [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 14:11 Attribution.txt [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 14:11 CHANGELOG.md [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 14:11 Doxyfile [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 14:11 GOVERNANCE.md [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 14:11 Jenkinsfile [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 14:11 LICENSE [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 14:11 Makefile [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 14:11 OWNERS.md [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 14:11 README.IOT.md [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 14:11 README.md [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 14:11 README.v3.md [2024-09-19T14:14:08.030Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 14:09 VERSION [2024-09-19T14:14:08.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:11 docs [2024-09-19T14:14:08.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:11 include [2024-09-19T14:14:08.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 14:11 scripts [2024-09-19T14:14:08.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 14:11 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:14:08.374Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=430a52259ff05b1f26229401cb908c2cd1e2e6b9 --label arch=arm64 --label version=0.0.0 . [2024-09-19T14:14:08.951Z] Sending build context to Docker daemon 3.284MB [2024-09-19T14:14:08.951Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T14:14:08.951Z] Step 2/18 : FROM ${BASE} [2024-09-19T14:14:08.951Z] ---> 0b06fe810f50 [2024-09-19T14:14:08.951Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T14:14:08.951Z] ---> Running in 373ef8ae172d [2024-09-19T14:14:09.217Z] Removing intermediate container 373ef8ae172d [2024-09-19T14:14:09.217Z] ---> b817070d541a [2024-09-19T14:14:09.217Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-09-19T14:14:09.217Z] ---> Running in 1c2a3b0a7a5a [2024-09-19T14:14:10.174Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-19T14:14:10.757Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T14:14:10.757Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T14:14:10.757Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T14:14:11.337Z] Removing intermediate container 1c2a3b0a7a5a [2024-09-19T14:14:11.337Z] ---> f10808750259 [2024-09-19T14:14:11.337Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T14:14:11.337Z] ---> Running in 3f11d27594a4 [2024-09-19T14:14:13.267Z] Removing intermediate container 3f11d27594a4 [2024-09-19T14:14:13.267Z] ---> b2c701cdab14 [2024-09-19T14:14:13.267Z] Step 6/18 : 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 dumb-init && mkdir -p /edgex-c-sdk/build [2024-09-19T14:14:13.267Z] ---> Running in ae66f9b9fce7 [2024-09-19T14:14:13.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:14:14.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:14:15.009Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:14:15.592Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:14:15.592Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T14:14:15.857Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T14:14:15.857Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T14:14:15.857Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T14:14:15.857Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T14:14:15.857Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T14:14:15.857Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T14:14:15.857Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T14:14:16.122Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T14:14:16.122Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T14:14:16.122Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T14:14:16.122Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T14:14:16.122Z] OK: 334 MiB in 101 packages [2024-09-19T14:14:17.519Z] Removing intermediate container ae66f9b9fce7 [2024-09-19T14:14:17.519Z] ---> be1b029395fd [2024-09-19T14:14:17.519Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T14:14:17.519Z] ---> Running in 713c4d17f458 [2024-09-19T14:14:18.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:14:18.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T14:14:19.055Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T14:14:19.635Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T14:14:19.901Z] OK: 334 MiB in 101 packages [2024-09-19T14:14:20.489Z] Removing intermediate container 713c4d17f458 [2024-09-19T14:14:20.489Z] ---> d7a21ac0a7f8 [2024-09-19T14:14:20.489Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T14:14:21.078Z] ---> bff55b552503 [2024-09-19T14:14:21.078Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T14:14:22.039Z] ---> e21ee8f7b3e1 [2024-09-19T14:14:22.039Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T14:14:22.307Z] ---> e70e428e0d21 [2024-09-19T14:14:22.307Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T14:14:22.885Z] ---> 3ae1eea07ae3 [2024-09-19T14:14:22.885Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T14:14:23.151Z] ---> a331b01be80b [2024-09-19T14:14:23.151Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T14:14:23.733Z] ---> ff20311c5c0c [2024-09-19T14:14:23.733Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T14:14:23.733Z] ---> Running in 60fe0d58bc51 [2024-09-19T14:14:24.311Z] Removing intermediate container 60fe0d58bc51 [2024-09-19T14:14:24.311Z] ---> aab18cc6be51 [2024-09-19T14:14:24.311Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T14:14:24.311Z] ---> Running in 19c42a08e5c3 [2024-09-19T14:14:24.579Z] Removing intermediate container 19c42a08e5c3 [2024-09-19T14:14:24.579Z] ---> 145057a82e3f [2024-09-19T14:14:24.579Z] Step 16/18 : LABEL arch=arm64 [2024-09-19T14:14:24.579Z] ---> Running in 7e72d1b4b600 [2024-09-19T14:14:24.847Z] Removing intermediate container 7e72d1b4b600 [2024-09-19T14:14:24.847Z] ---> 2d7cd13353c3 [2024-09-19T14:14:24.847Z] Step 17/18 : LABEL git_sha=430a52259ff05b1f26229401cb908c2cd1e2e6b9 [2024-09-19T14:14:25.115Z] ---> Running in 4f2fc36d0a67 [2024-09-19T14:14:25.381Z] Removing intermediate container 4f2fc36d0a67 [2024-09-19T14:14:25.381Z] ---> 807afb857ba9 [2024-09-19T14:14:25.381Z] Step 18/18 : LABEL version=0.0.0 [2024-09-19T14:14:25.381Z] ---> Running in fe5e61b13d46 [2024-09-19T14:14:25.647Z] Removing intermediate container fe5e61b13d46 [2024-09-19T14:14:25.647Z] ---> a12ad568d108 [2024-09-19T14:14:25.647Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T14:14:25.647Z] Successfully built a12ad568d108 [2024-09-19T14:14:25.647Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:14:26.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T14:14:26.133Z] [2024-09-19T14:14:26.133Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:14:26.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T14:14:27.047Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-19T14:14:27.047Z] 8998bd30e6a1: Pulling fs layer [2024-09-19T14:14:27.047Z] 04944245beec: Pulling fs layer [2024-09-19T14:14:27.047Z] 699f458cf7ca: Pulling fs layer [2024-09-19T14:14:27.047Z] 765212b225bb: Pulling fs layer [2024-09-19T14:14:27.047Z] f23df028b6ca: Pulling fs layer [2024-09-19T14:14:27.047Z] d65c8cfc05b1: Pulling fs layer [2024-09-19T14:14:27.047Z] 2437ff75d9bd: Pulling fs layer [2024-09-19T14:14:27.047Z] 765212b225bb: Waiting [2024-09-19T14:14:27.047Z] f23df028b6ca: Waiting [2024-09-19T14:14:27.047Z] d65c8cfc05b1: Waiting [2024-09-19T14:14:27.047Z] 2437ff75d9bd: Waiting [2024-09-19T14:14:27.047Z] 04944245beec: Verifying Checksum [2024-09-19T14:14:27.047Z] 04944245beec: Download complete [2024-09-19T14:14:27.047Z] 765212b225bb: Verifying Checksum [2024-09-19T14:14:27.047Z] 765212b225bb: Download complete [2024-09-19T14:14:27.047Z] f23df028b6ca: Verifying Checksum [2024-09-19T14:14:27.047Z] f23df028b6ca: Download complete [2024-09-19T14:14:27.047Z] d65c8cfc05b1: Verifying Checksum [2024-09-19T14:14:27.047Z] d65c8cfc05b1: Download complete [2024-09-19T14:14:27.047Z] 699f458cf7ca: Verifying Checksum [2024-09-19T14:14:27.047Z] 699f458cf7ca: Download complete [2024-09-19T14:14:27.630Z] 8998bd30e6a1: Verifying Checksum [2024-09-19T14:14:27.630Z] 8998bd30e6a1: Download complete [2024-09-19T14:14:30.205Z] 2437ff75d9bd: Verifying Checksum [2024-09-19T14:14:30.205Z] 2437ff75d9bd: Download complete [2024-09-19T14:14:32.143Z] 8998bd30e6a1: Pull complete [2024-09-19T14:14:32.408Z] 04944245beec: Pull complete [2024-09-19T14:14:34.346Z] 699f458cf7ca: Pull complete [2024-09-19T14:14:34.346Z] 765212b225bb: Pull complete [2024-09-19T14:14:34.925Z] f23df028b6ca: Pull complete [2024-09-19T14:14:35.188Z] d65c8cfc05b1: Pull complete [2024-09-19T14:14:53.363Z] 2437ff75d9bd: Pull complete [2024-09-19T14:14:53.363Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-19T14:14:53.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T14:14:53.363Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:14:53.554Z] prd-ubuntu20.04-docker-arm64-4c-16g-10690 does not seem to be running inside a container [2024-09-19T14:14:53.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/9 -v /w/workspace/device-sdk-c/9:/w/workspace/device-sdk-c/9:rw,z -v /w/workspace/device-sdk-c/9@tmp:/w/workspace/device-sdk-c/9@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:arm64 cat [2024-09-19T14:14:56.066Z] $ docker top 26498a16d3c08dbeee1ee4f6e43b908cba183a4ae8a76f00a6524f6ff5022cde -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:14:56.885Z] ---> job-cost.sh [2024-09-19T14:14:56.885Z] lf-activate-venv: SKIPPING [2024-09-19T14:14:56.885Z] INFO: No Stack... [2024-09-19T14:14:57.472Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-19T14:14:58.056Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T14:14:58.690Z] + cat /w/workspace/device-sdk-c/9/archives/cost.csv [2024-09-19T14:14:58.690Z] + cut -d, -f6 [Pipeline] lock [2024-09-19T14:14:58.749Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] [2024-09-19T14:14:58.764Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] did not exist. Created. [2024-09-19T14:14:58.772Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T14:14:59.504Z] /w/workspace/device-sdk-c/9@tmp/durable-c3da9a17/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-19T14:14:59.880Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-19T14:14:59.902Z] Warning: overwriting stash ‘stack-cost’ [2024-09-19T14:15:00.436Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T14:15:00.448Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-9-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T14:15:00.480Z] $ docker stop --time=1 26498a16d3c08dbeee1ee4f6e43b908cba183a4ae8a76f00a6524f6ff5022cde [2024-09-19T14:15:02.001Z] $ docker rm -f --volumes 26498a16d3c08dbeee1ee4f6e43b908cba183a4ae8a76f00a6524f6ff5022cde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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-09-19T14:15:02.875Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] [2024-09-19T14:15:02.875Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T14:15:02.875Z] total 16 [2024-09-19T14:15:02.875Z] drwxr-xr-x 3 root root 4096 Sep 19 14:10 . [2024-09-19T14:15:02.875Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 14:10 .. [2024-09-19T14:15:02.875Z] drwxr-xr-x 2 root root 4096 Sep 19 14:10 cost [2024-09-19T14:15:02.875Z] -rw-r--r-- 1 root root 84 Sep 19 14:10 cost.csv [2024-09-19T14:15:02.875Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T14:15:02.875Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T14:15:02.875Z] total 16 [2024-09-19T14:15:02.875Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 14:10 . [2024-09-19T14:15:02.875Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 14:10 .. [2024-09-19T14:15:02.875Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 14:10 cost [2024-09-19T14:15:02.875Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 19 14:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:15:03.167Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:15:04.027Z] ---> package-listing.sh [2024-09-19T14:15:04.027Z] ++ facter osfamily [2024-09-19T14:15:04.027Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-19T14:15:04.286Z] + OS_FAMILY=debian [2024-09-19T14:15:04.286Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 [2024-09-19T14:15:04.286Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-19T14:15:04.286Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-19T14:15:04.286Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-19T14:15:04.286Z] + PACKAGES=/tmp/packages_start.txt [2024-09-19T14:15:04.286Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-19T14:15:04.286Z] + PACKAGES=/tmp/packages_end.txt [2024-09-19T14:15:04.286Z] + case "${OS_FAMILY}" in [2024-09-19T14:15:04.286Z] + dpkg -l [2024-09-19T14:15:04.286Z] + grep '^ii' [2024-09-19T14:15:04.286Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-19T14:15:04.286Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-19T14:15:04.286Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-19T14:15:04.286Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-19T14:15:04.286Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [2024-09-19T14:15:04.286Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [Pipeline] echo [2024-09-19T14:15:04.299Z] 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-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-19T14:15:04.580Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T14:15:05.151Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T14:15:05.151Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T14:15:05.232Z] prd-ubuntu20.04-docker-8c-8g-10689 does not seem to be running inside a container [2024-09-19T14:15:05.268Z] $ 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-513/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-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@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-09-19T14:15:05.441Z] $ docker top 4a284c20e54e2b983e6246dfbc46f366c29087ac9d092fa2ac4cf67d3bc89a70 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T14:15:05.797Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-19T14:15:06.084Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-19T14:15:06.369Z] + ls /var/log/sa-host [2024-09-19T14:15:06.369Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T14:15:06.524Z] provisioning config files... [2024-09-19T14:15:06.537Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config14239883721520341243tmp [Pipeline] { [Pipeline] echo [2024-09-19T14:15:06.557Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:15:06.842Z] ---> create-netrc.sh [Pipeline] } [2024-09-19T14:15:06.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:15:07.189Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-19T14:15:07.199Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:15:07.485Z] ---> sudo-logs.sh [2024-09-19T14:15:07.485Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-19T14:15:07.508Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:15:07.787Z] ---> job-cost.sh [2024-09-19T14:15:07.787Z] lf-activate-venv: SKIPPING [2024-09-19T14:15:07.787Z] DEBUG: total: 0.2199999988079071 [2024-09-19T14:15:07.787Z] INFO: Retrieving Stack Cost... [2024-09-19T14:15:08.045Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T14:15:08.303Z] INFO: Archiving Costs [Pipeline] echo [2024-09-19T14:15:08.317Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T14:15:08.599Z] ---> logs-deploy.sh [2024-09-19T14:15:08.599Z] lf-activate-venv: SKIPPING [2024-09-19T14:15:08.599Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/9 [2024-09-19T14:15:08.599Z] INFO: archiving workspace using pattern(s): [2024-09-19T14:15:09.537Z] Archives upload complete. [2024-09-19T14:15:09.537Z] INFO: archiving logs to Nexus