Pull request #514 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 30a24dda2410b85b52167bc1398eb9d9a2b4959b rather than 21bf2cc08973ab27e7bcd2bf83e6918120607095 Obtained Jenkinsfile from 30a24dda2410b85b52167bc1398eb9d9a2b4959b 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-ssh4183108472621990530.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh13181164003658502573.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-514/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-514/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14502632889758428902.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh9490210182698763346.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-514/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-514/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2463736077588298325.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-11681 in /w/workspace/edgexfoundry_device-sdk-c_PR-514 [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-514 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 30a24dda2410b85b52167bc1398eb9d9a2b4959b into PR head commit 21bf2cc08973ab27e7bcd2bf83e6918120607095 Merge succeeded, producing 21bf2cc08973ab27e7bcd2bf83e6918120607095 Checking out Revision 21bf2cc08973ab27e7bcd2bf83e6918120607095 (PR-514) > git config core.sparsecheckout # timeout=10 > git checkout -f 21bf2cc08973ab27e7bcd2bf83e6918120607095 # 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 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21bf2cc08973ab27e7bcd2bf83e6918120607095 # timeout=10 Commit message: "feat: Pr updates including removing describe from register delete function, remove delete function from discovery struct, fix reply.msg" > git rev-list --no-walk 26af02d3d7786a8b58640e9151a285889f530185 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-26T15:50:50.713Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-26T15:50:50.777Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-26T15:50:50.804Z] ========================================================= [2024-09-26T15:50:50.804Z] EdgeX Global Pipelines Version Info [2024-09-26T15:50:50.804Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:50:51.942Z] ------------------- [2024-09-26T15:50:51.942Z] stable info: [2024-09-26T15:50:51.942Z] ------------------- [2024-09-26T15:50:51.942Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-26T15:50:51.942Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-09-26T15:50:51.942Z] Message: update stable to v1.0.264 [2024-09-26T15:50:52.514Z] ------------------- [2024-09-26T15:50:52.514Z] experimental info: [2024-09-26T15:50:52.514Z] ------------------- [2024-09-26T15:50:52.514Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-26T15:50:52.514Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-09-26T15:50:52.514Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-26T15:50:52.596Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-26T15:50:52.615Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-26T15:50:52.640Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-26T15:50:52.659Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-26T15:50:52.676Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-26T15:50:52.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-26T15:50:52.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-26T15:50:52.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-26T15:50:52.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-26T15:50:52.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-26T15:50:52.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-26T15:50:52.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-26T15:50:52.832Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-26T15:50:52.853Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-26T15:50:52.873Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-26T15:50:52.894Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-26T15:50:52.915Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-26T15:50:52.935Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-514 [Pipeline] echo [2024-09-26T15:50:52.955Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-514 [Pipeline] echo [2024-09-26T15:50:52.979Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-514 [Pipeline] echo [2024-09-26T15:50:53.002Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21bf2cc08973ab27e7bcd2bf83e6918120607095 [Pipeline] echo [2024-09-26T15:50:53.024Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21bf2cc [Pipeline] echo [2024-09-26T15:50:53.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-26T15:50:53.113Z] provisioning config files... [2024-09-26T15:50:53.130Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config1575867515905128723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:50:53.466Z] ---> ****-login.sh [2024-09-26T15:50:53.466Z] nexus3.edgexfoundry.org:10001 [2024-09-26T15:50:53.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:50:53.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:50:53.734Z] Configure a credential helper to remove this warning. See [2024-09-26T15:50:53.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:50:53.734Z] [2024-09-26T15:50:53.734Z] Login Succeeded [2024-09-26T15:50:53.734Z] nexus3.edgexfoundry.org:10002 [2024-09-26T15:50:53.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:50:53.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:50:53.996Z] Configure a credential helper to remove this warning. See [2024-09-26T15:50:53.996Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:50:53.996Z] [2024-09-26T15:50:53.996Z] Login Succeeded [2024-09-26T15:50:53.996Z] nexus3.edgexfoundry.org:10003 [2024-09-26T15:50:53.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:50:53.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:50:53.997Z] Configure a credential helper to remove this warning. See [2024-09-26T15:50:53.997Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:50:53.997Z] [2024-09-26T15:50:53.997Z] Login Succeeded [2024-09-26T15:50:53.997Z] nexus3.edgexfoundry.org:10004 [2024-09-26T15:50:53.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:50:54.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:50:54.258Z] Configure a credential helper to remove this warning. See [2024-09-26T15:50:54.258Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:50:54.258Z] [2024-09-26T15:50:54.258Z] Login Succeeded [2024-09-26T15:50:54.258Z] ****.io [2024-09-26T15:50:54.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:50:54.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:50:54.520Z] Configure a credential helper to remove this warning. See [2024-09-26T15:50:54.520Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:50:54.520Z] [2024-09-26T15:50:54.520Z] Login Succeeded [2024-09-26T15:50:54.520Z] ---> ****-login.sh ends [Pipeline] } [2024-09-26T15:50:54.528Z] 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-26T15:50:54.942Z] + git rev-list -1 --merges 21bf2cc08973ab27e7bcd2bf83e6918120607095~1..21bf2cc08973ab27e7bcd2bf83e6918120607095 [Pipeline] echo [2024-09-26T15:50:54.972Z] -----------> git rev-list -1 --merges 21bf2cc08973ab27e7bcd2bf83e6918120607095~1..21bf2cc08973ab27e7bcd2bf83e6918120607095 21bf2cc08973ab27e7bcd2bf83e6918120607095 [false] [Pipeline] sh [2024-09-26T15:50:55.264Z] + git log --format=format:%s -1 21bf2cc08973ab27e7bcd2bf83e6918120607095 [Pipeline] echo [2024-09-26T15:50:55.279Z] ========================================================= [2024-09-26T15:50:55.279Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-26T15:50:55.279Z] ========================================================= 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-26T15:50:55.712Z] + git rev-list -1 --merges 21bf2cc08973ab27e7bcd2bf83e6918120607095~1..21bf2cc08973ab27e7bcd2bf83e6918120607095 [Pipeline] echo [2024-09-26T15:50:55.724Z] -----------> git rev-list -1 --merges 21bf2cc08973ab27e7bcd2bf83e6918120607095~1..21bf2cc08973ab27e7bcd2bf83e6918120607095 21bf2cc08973ab27e7bcd2bf83e6918120607095 [false] [Pipeline] sh [2024-09-26T15:50:56.015Z] + git log --format=format:%s -1 21bf2cc08973ab27e7bcd2bf83e6918120607095 [Pipeline] echo [2024-09-26T15:50:56.029Z] ========================================================= [2024-09-26T15:50:56.029Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-26T15:50:56.029Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-26T15:50:56.470Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-26T15:50:56.470Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-26T15:50:56.470Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-26T15:50:56.470Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-26T15:50:56.470Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-26T15:50:56.470Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-26T15:50:56.470Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T15:50:56.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T15:50:56.904Z] [2024-09-26T15:50:56.904Z] 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-26T15:50:57.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T15:50:57.209Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-26T15:50:57.209Z] b85a868b505f: Pulling fs layer [2024-09-26T15:50:57.209Z] e2be974225ed: Pulling fs layer [2024-09-26T15:50:57.209Z] 339a4e72a1f5: Pulling fs layer [2024-09-26T15:50:57.209Z] 988bab9f4d93: Pulling fs layer [2024-09-26T15:50:57.209Z] 1469e6f7b9e6: Pulling fs layer [2024-09-26T15:50:57.209Z] eaf3925da568: Pulling fs layer [2024-09-26T15:50:57.209Z] bab4dde63d76: Pulling fs layer [2024-09-26T15:50:57.209Z] bde34c3a00c8: Pulling fs layer [2024-09-26T15:50:57.209Z] b352a97aabf1: Pulling fs layer [2024-09-26T15:50:57.209Z] 4872d77fe225: Pulling fs layer [2024-09-26T15:50:57.209Z] 5851b861e8e6: Pulling fs layer [2024-09-26T15:50:57.209Z] 988bab9f4d93: Waiting [2024-09-26T15:50:57.209Z] bab4dde63d76: Waiting [2024-09-26T15:50:57.209Z] 1469e6f7b9e6: Waiting [2024-09-26T15:50:57.209Z] eaf3925da568: Waiting [2024-09-26T15:50:57.209Z] bde34c3a00c8: Waiting [2024-09-26T15:50:57.209Z] b352a97aabf1: Waiting [2024-09-26T15:50:57.209Z] 4872d77fe225: Waiting [2024-09-26T15:50:57.209Z] 5851b861e8e6: Waiting [2024-09-26T15:50:57.209Z] e2be974225ed: Download complete [2024-09-26T15:50:57.209Z] 988bab9f4d93: Verifying Checksum [2024-09-26T15:50:57.209Z] 988bab9f4d93: Download complete [2024-09-26T15:50:57.209Z] 1469e6f7b9e6: Verifying Checksum [2024-09-26T15:50:57.209Z] 1469e6f7b9e6: Download complete [2024-09-26T15:50:57.469Z] eaf3925da568: Verifying Checksum [2024-09-26T15:50:57.469Z] eaf3925da568: Download complete [2024-09-26T15:50:57.469Z] 339a4e72a1f5: Verifying Checksum [2024-09-26T15:50:57.469Z] 339a4e72a1f5: Download complete [2024-09-26T15:50:57.469Z] bde34c3a00c8: Download complete [2024-09-26T15:50:57.469Z] b352a97aabf1: Verifying Checksum [2024-09-26T15:50:57.469Z] b352a97aabf1: Download complete [2024-09-26T15:50:57.469Z] 4872d77fe225: Download complete [2024-09-26T15:50:57.469Z] 5851b861e8e6: Download complete [2024-09-26T15:50:57.469Z] b85a868b505f: Verifying Checksum [2024-09-26T15:50:57.469Z] b85a868b505f: Download complete [2024-09-26T15:50:57.731Z] bab4dde63d76: Verifying Checksum [2024-09-26T15:50:57.731Z] bab4dde63d76: Download complete [2024-09-26T15:50:59.113Z] b85a868b505f: Pull complete [2024-09-26T15:50:59.113Z] e2be974225ed: Pull complete [2024-09-26T15:50:59.373Z] 339a4e72a1f5: Pull complete [2024-09-26T15:50:59.637Z] 988bab9f4d93: Pull complete [2024-09-26T15:50:59.896Z] 1469e6f7b9e6: Pull complete [2024-09-26T15:50:59.896Z] eaf3925da568: Pull complete [2024-09-26T15:51:01.809Z] bab4dde63d76: Pull complete [2024-09-26T15:51:01.809Z] bde34c3a00c8: Pull complete [2024-09-26T15:51:02.069Z] b352a97aabf1: Pull complete [2024-09-26T15:51:02.069Z] 4872d77fe225: Pull complete [2024-09-26T15:51:02.069Z] 5851b861e8e6: Pull complete [2024-09-26T15:51:02.329Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-26T15:51:02.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-26T15:51:02.329Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T15:51:02.454Z] prd-ubuntu20.04-docker-8c-8g-11681 does not seem to be running inside a container [2024-09-26T15:51:02.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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-26T15:51:05.501Z] $ docker top ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 -eo pid,comm [2024-09-26T15:51:05.567Z] 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-26T15:51:05.567Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-26T15:51:05.623Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-26T15:51:05.623Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-26T15:51:05.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-26T15:51:05.726Z] $ docker exec ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 ssh-agent [2024-09-26T15:51:05.847Z] SSH_AUTH_SOCK=/tmp/ssh-6Svv9PB66tvQ/agent.33 [2024-09-26T15:51:05.847Z] SSH_AGENT_PID=39 [2024-09-26T15:51:05.853Z] Running ssh-add (command line suppressed) [2024-09-26T15:51:05.955Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_7571177283802373919.key (/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_7571177283802373919.key) [2024-09-26T15:51:05.978Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-26T15:51:06.269Z] + git tag --points-at HEAD [Pipeline] } [2024-09-26T15:51:06.272Z] $ docker exec --env ******** --env ******** ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 ssh-agent -k [2024-09-26T15:51:06.390Z] unset SSH_AUTH_SOCK; [2024-09-26T15:51:06.391Z] unset SSH_AGENT_PID; [2024-09-26T15:51:06.391Z] echo Agent pid 39 killed; [2024-09-26T15:51:06.411Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-26T15:51:06.456Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-26T15:51:06.456Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-26T15:51:06.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-26T15:51:06.572Z] $ docker exec ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 ssh-agent [2024-09-26T15:51:06.696Z] SSH_AUTH_SOCK=/tmp/ssh-dwAGGBYhNnFC/agent.72 [2024-09-26T15:51:06.696Z] SSH_AGENT_PID=78 [2024-09-26T15:51:06.701Z] Running ssh-add (command line suppressed) [2024-09-26T15:51:06.784Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_12124328462570307273.key (/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/private_key_12124328462570307273.key) [2024-09-26T15:51:06.808Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-26T15:51:07.103Z] + git semver init [2024-09-26T15:51:07.361Z] 2024-09-26 15:51:07,290 [run_init] DEBUG init version:0.0.0 force:False [2024-09-26T15:51:07.361Z] 2024-09-26 15:51:07,291 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver [2024-09-26T15:51:07.361Z] 2024-09-26 15:51:07,292 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver [2024-09-26T15:51:07.361Z] 2024-09-26 15:51:07,292 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514, universal_newlines=False, shell=None, istream=None) [2024-09-26T15:51:08.300Z] 2024-09-26 15:51:08,080 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.git/info/exclude [2024-09-26T15:51:08.300Z] 2024-09-26 15:51:08,080 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 with force:False [2024-09-26T15:51:08.300Z] 2024-09-26 15:51:08,081 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 [2024-09-26T15:51:08.300Z] 2024-09-26 15:51:08,085 [execute] INFO git cat-file --batch-check [2024-09-26T15:51:08.300Z] 2024-09-26 15:51:08,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver, universal_newlines=False, shell=None, istream=) [2024-09-26T15:51:08.300Z] 2024-09-26 15:51:08,093 [execute] INFO git cat-file --batch [2024-09-26T15:51:08.300Z] 2024-09-26 15:51:08,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver, universal_newlines=False, shell=None, istream=) [2024-09-26T15:51:08.300Z] 2024-09-26 15:51:08,099 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-514/.semver/PR-514 [2024-09-26T15:51:08.300Z] 0.0.0 [Pipeline] } [2024-09-26T15:51:08.300Z] $ docker exec --env ******** --env ******** ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 ssh-agent -k [2024-09-26T15:51:08.399Z] unset SSH_AUTH_SOCK; [2024-09-26T15:51:08.400Z] unset SSH_AGENT_PID; [2024-09-26T15:51:08.400Z] echo Agent pid 78 killed; [2024-09-26T15:51:08.420Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-26T15:51:08.743Z] + git semver [Pipeline] } [2024-09-26T15:51:09.009Z] $ docker stop --time=1 ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 [2024-09-26T15:51:10.280Z] $ docker rm -f --volumes ab28e0046db738c575b6c48a564bd04fbc7d778ad90bf9168ce6c592b319fb08 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-26T15:51:10.643Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-26T15:51:10.874Z] Stashed 1 file(s) [Pipeline] echo [2024-09-26T15:51:10.877Z] [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-26T15:51:11.051Z] provisioning config files... [2024-09-26T15:51:11.060Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config5718402353819465312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:51:11.367Z] ---> ****-login.sh [2024-09-26T15:51:11.367Z] nexus3.edgexfoundry.org:10001 [2024-09-26T15:51:11.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:51:11.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:51:11.368Z] Configure a credential helper to remove this warning. See [2024-09-26T15:51:11.368Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:51:11.368Z] [2024-09-26T15:51:11.368Z] Login Succeeded [2024-09-26T15:51:11.368Z] nexus3.edgexfoundry.org:10002 [2024-09-26T15:51:11.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:51:11.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:51:11.636Z] Configure a credential helper to remove this warning. See [2024-09-26T15:51:11.636Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:51:11.636Z] [2024-09-26T15:51:11.636Z] Login Succeeded [2024-09-26T15:51:11.636Z] nexus3.edgexfoundry.org:10003 [2024-09-26T15:51:11.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:51:11.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:51:11.636Z] Configure a credential helper to remove this warning. See [2024-09-26T15:51:11.636Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:51:11.636Z] [2024-09-26T15:51:11.636Z] Login Succeeded [2024-09-26T15:51:11.636Z] nexus3.edgexfoundry.org:10004 [2024-09-26T15:51:11.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:51:11.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:51:11.637Z] Configure a credential helper to remove this warning. See [2024-09-26T15:51:11.637Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:51:11.637Z] [2024-09-26T15:51:11.637Z] Login Succeeded [2024-09-26T15:51:11.637Z] ****.io [2024-09-26T15:51:11.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:51:11.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:51:11.896Z] Configure a credential helper to remove this warning. See [2024-09-26T15:51:11.896Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:51:11.896Z] [2024-09-26T15:51:11.896Z] Login Succeeded [2024-09-26T15:51:11.896Z] ---> ****-login.sh ends [Pipeline] } [2024-09-26T15:51:11.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-26T15:51:12.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T15:51:12.031Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-26T15:51:12.051Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T15:51:12.067Z] ========================================================= [2024-09-26T15:51:12.067Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-26T15:51:12.067Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T15:51:12.386Z] + 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-26T15:51:12.386Z] Sending build context to Docker daemon 5.327MB [2024-09-26T15:51:12.386Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-26T15:51:12.386Z] Step 2/22 : FROM ${BASE} as builder [2024-09-26T15:51:12.386Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-26T15:51:12.386Z] 96526aa774ef: Pulling fs layer [2024-09-26T15:51:12.386Z] da60e534fd72: Pulling fs layer [2024-09-26T15:51:12.645Z] 96526aa774ef: Verifying Checksum [2024-09-26T15:51:12.645Z] 96526aa774ef: Download complete [2024-09-26T15:51:12.646Z] 96526aa774ef: Pull complete [2024-09-26T15:51:13.584Z] da60e534fd72: Verifying Checksum [2024-09-26T15:51:13.584Z] da60e534fd72: Download complete [2024-09-26T15:51:16.875Z] da60e534fd72: Pull complete [2024-09-26T15:51:16.875Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-26T15:51:16.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-26T15:51:16.875Z] ---> 6605166a5db4 [2024-09-26T15:51:16.875Z] 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-26T15:51:18.786Z] ---> Running in 694d9d15a41f [2024-09-26T15:51:19.046Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T15:51:19.617Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T15:51:19.617Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T15:51:19.617Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T15:51:19.875Z] Removing intermediate container 694d9d15a41f [2024-09-26T15:51:19.875Z] ---> a9cbc59f27e0 [2024-09-26T15:51:19.875Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T15:51:19.875Z] ---> Running in d30b0af9f1c5 [2024-09-26T15:51:20.445Z] Removing intermediate container d30b0af9f1c5 [2024-09-26T15:51:20.445Z] ---> 7f20a5c339b6 [2024-09-26T15:51:20.445Z] 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-26T15:51:20.445Z] ---> Running in 794978b9db40 [2024-09-26T15:51:20.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:20.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:20.964Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:21.534Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:51:21.534Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-26T15:51:21.534Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-26T15:51:21.534Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-26T15:51:21.534Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T15:51:22.472Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T15:51:22.472Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T15:51:22.730Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-26T15:51:22.730Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T15:51:22.730Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T15:51:22.730Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T15:51:22.730Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T15:51:22.730Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-26T15:51:22.730Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-26T15:51:22.730Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-26T15:51:22.730Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-26T15:51:22.730Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-26T15:51:22.730Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-26T15:51:22.730Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T15:51:22.730Z] OK: 336 MiB in 99 packages [2024-09-26T15:51:23.298Z] Removing intermediate container 794978b9db40 [2024-09-26T15:51:23.298Z] ---> 09548f59bcc2 [2024-09-26T15:51:23.298Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-26T15:51:23.298Z] ---> Running in 10df069615eb [2024-09-26T15:51:23.867Z] Removing intermediate container 10df069615eb [2024-09-26T15:51:23.867Z] ---> cf56c07db771 [2024-09-26T15:51:23.867Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-26T15:51:24.127Z] ---> 2519c0ef4866 [2024-09-26T15:51:24.127Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-26T15:51:24.386Z] ---> 7d44875e1ee1 [2024-09-26T15:51:24.386Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-26T15:51:24.386Z] ---> f50895571805 [2024-09-26T15:51:24.386Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-26T15:51:24.646Z] ---> d8b1bf7d526c [2024-09-26T15:51:24.646Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-26T15:51:24.646Z] ---> 26d04e6b372d [2024-09-26T15:51:24.646Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-26T15:51:24.905Z] ---> d96eb61be9cc [2024-09-26T15:51:24.905Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-26T15:51:24.905Z] ---> Running in 244213bd28b4 [2024-09-26T15:51:25.165Z] + CPPCHECK=false [2024-09-26T15:51:25.165Z] + DOCGEN=false [2024-09-26T15:51:25.165Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-26T15:51:25.165Z] + '[' 0 -gt 0 ] [2024-09-26T15:51:25.165Z] + readlink -f ./scripts/build.sh [2024-09-26T15:51:25.165Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-26T15:51:25.165Z] + dirname /tmp/sdk/scripts [2024-09-26T15:51:25.165Z] + ROOT=/tmp/sdk [2024-09-26T15:51:25.165Z] + cd /tmp/sdk [2024-09-26T15:51:25.165Z] + mkdir -p /tmp/sdk/build/release [2024-09-26T15:51:25.165Z] + cd /tmp/sdk/build/release [2024-09-26T15:51:25.165Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-26T15:51:25.165Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T15:51:25.424Z] -- Detecting C compiler ABI info [2024-09-26T15:51:25.424Z] -- Detecting C compiler ABI info - done [2024-09-26T15:51:25.424Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T15:51:25.424Z] -- Detecting C compile features [2024-09-26T15:51:25.424Z] -- Detecting C compile features - done [2024-09-26T15:51:25.425Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T15:51:25.425Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T15:51:25.425Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T15:51:25.425Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T15:51:25.425Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T15:51:25.425Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T15:51:25.425Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T15:51:25.425Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T15:51:25.425Z] -- /opt/iotech/iot/1.5/include [2024-09-26T15:51:25.425Z] -- C SDK 0.0.0 for Linux [2024-09-26T15:51:25.425Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T15:51:25.684Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T15:51:25.684Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T15:51:25.684Z] -- Configuring done (0.4s) [2024-09-26T15:51:25.684Z] -- Generating done (0.0s) [2024-09-26T15:51:25.684Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-26T15:51:25.684Z] + make all package [2024-09-26T15:51:25.684Z] + tee release.log [2024-09-26T15:51:25.684Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T15:51:25.944Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T15:51:25.944Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T15:51:25.989Z] Still waiting to schedule task [2024-09-26T15:51:25.990Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-26T15:51:26.204Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T15:51:26.204Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T15:51:26.204Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T15:51:26.773Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T15:51:26.773Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-26T15:51:26.773Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T15:51:26.773Z] 294 | while (privateConfig) [2024-09-26T15:51:26.773Z] | ^~~~~~~~~~~~~ [2024-09-26T15:51:26.773Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-26T15:51:26.773Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T15:51:26.773Z] | ^~~~~~~~~~~~~ [2024-09-26T15:51:26.773Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T15:51:26.773Z] 271 | while (result) [2024-09-26T15:51:26.773Z] | ^~~~~~ [2024-09-26T15:51:26.773Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-26T15:51:26.773Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T15:51:26.773Z] | ^~~~~~ [2024-09-26T15:51:26.773Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T15:51:26.773Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T15:51:27.034Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T15:51:27.293Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T15:51:27.293Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T15:51:27.553Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T15:51:27.553Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T15:51:27.813Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T15:51:27.813Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T15:51:27.813Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T15:51:28.384Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T15:51:28.384Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T15:51:28.384Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T15:51:28.644Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T15:51:29.585Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T15:51:29.585Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T15:51:29.845Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T15:51:29.845Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T15:51:29.845Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T15:51:30.104Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T15:51:30.364Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T15:51:30.624Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T15:51:30.624Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T15:51:30.883Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T15:51:30.883Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T15:51:30.883Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T15:51:30.883Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T15:51:30.883Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T15:51:30.883Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T15:51:30.883Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T15:51:30.883Z] | ^ [2024-09-26T15:51:31.143Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T15:51:31.143Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-26T15:51:31.143Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T15:51:31.143Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-09-26T15:51:31.143Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-26T15:51:31.143Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-26T15:51:31.143Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T15:51:31.402Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T15:51:31.402Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T15:51:31.402Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T15:51:31.402Z] [ 68%] Built target csdk [2024-09-26T15:51:31.660Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T15:51:31.660Z] [ 72%] Linking C executable template [2024-09-26T15:51:31.660Z] [ 72%] Built target template [2024-09-26T15:51:31.660Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T15:51:31.921Z] [ 76%] Linking C executable device-counter [2024-09-26T15:51:31.921Z] [ 76%] Built target device-counter [2024-09-26T15:51:31.921Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T15:51:32.178Z] [ 80%] Linking C executable device-random [2024-09-26T15:51:32.178Z] [ 80%] Built target device-random [2024-09-26T15:51:32.178Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T15:51:32.178Z] [ 84%] Linking C executable device-gyro [2024-09-26T15:51:32.435Z] [ 84%] Built target device-gyro [2024-09-26T15:51:32.435Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T15:51:32.435Z] [ 88%] Linking C executable device-bitfields [2024-09-26T15:51:32.435Z] [ 88%] Built target device-bitfields [2024-09-26T15:51:32.435Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T15:51:32.694Z] [ 92%] Linking C executable template-discovery [2024-09-26T15:51:32.694Z] [ 92%] Built target template-discovery [2024-09-26T15:51:32.694Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T15:51:32.952Z] [ 96%] Linking C executable device-file [2024-09-26T15:51:32.952Z] [ 96%] Built target device-file [2024-09-26T15:51:32.952Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T15:51:32.952Z] [100%] Linking C executable device-terminal [2024-09-26T15:51:33.209Z] [100%] Built target device-terminal [2024-09-26T15:51:33.209Z] Run CPack packaging tool... [2024-09-26T15:51:33.209Z] CPack: Create package using TGZ [2024-09-26T15:51:33.209Z] CPack: Install projects [2024-09-26T15:51:33.209Z] CPack: - Run preinstall target for: Csdk [2024-09-26T15:51:33.467Z] CPack: - Install project: Csdk [] [2024-09-26T15:51:33.467Z] CPack: Create package [2024-09-26T15:51:33.467Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-26T15:51:33.467Z] + '[' false '=' true ] [2024-09-26T15:51:33.467Z] + '[' false '=' true ] [2024-09-26T15:51:33.467Z] + mkdir -p /tmp/sdk/build/debug [2024-09-26T15:51:33.467Z] + cd /tmp/sdk/build/debug [2024-09-26T15:51:33.467Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-26T15:51:33.467Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T15:51:33.467Z] -- Detecting C compiler ABI info [2024-09-26T15:51:33.725Z] -- Detecting C compiler ABI info - done [2024-09-26T15:51:33.725Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T15:51:33.725Z] -- Detecting C compile features [2024-09-26T15:51:33.725Z] -- Detecting C compile features - done [2024-09-26T15:51:33.725Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T15:51:33.725Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T15:51:33.725Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T15:51:33.725Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T15:51:33.725Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T15:51:33.725Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T15:51:33.725Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T15:51:33.725Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T15:51:33.725Z] -- /opt/iotech/iot/1.5/include [2024-09-26T15:51:33.725Z] -- C SDK 0.0.0 for Linux [2024-09-26T15:51:33.725Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T15:51:33.725Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T15:51:33.983Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T15:51:33.983Z] -- Configuring done (0.4s) [2024-09-26T15:51:33.983Z] -- Generating done (0.0s) [2024-09-26T15:51:33.983Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-26T15:51:33.983Z] + make [2024-09-26T15:51:33.983Z] + tee debug.log [2024-09-26T15:51:33.983Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T15:51:33.983Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T15:51:34.242Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T15:51:34.242Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T15:51:34.242Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T15:51:34.242Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T15:51:34.499Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T15:51:34.499Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T15:51:34.499Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T15:51:34.759Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T15:51:34.759Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T15:51:35.017Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T15:51:35.017Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T15:51:35.017Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T15:51:35.017Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T15:51:35.276Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T15:51:35.276Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T15:51:35.276Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T15:51:35.535Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T15:51:35.535Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T15:51:35.535Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T15:51:35.795Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T15:51:35.795Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T15:51:36.054Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T15:51:36.054Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T15:51:36.054Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T15:51:36.054Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T15:51:36.314Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T15:51:36.314Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T15:51:36.571Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T15:51:36.571Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T15:51:36.571Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T15:51:36.571Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T15:51:36.571Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T15:51:36.571Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T15:51:36.571Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T15:51:36.571Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T15:51:36.571Z] | ^ [2024-09-26T15:51:36.571Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T15:51:36.830Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T15:51:36.830Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T15:51:36.830Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T15:51:36.830Z] [ 68%] Built target csdk [2024-09-26T15:51:36.830Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T15:51:37.089Z] [ 72%] Linking C executable template [2024-09-26T15:51:37.089Z] [ 72%] Built target template [2024-09-26T15:51:37.089Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T15:51:37.089Z] [ 76%] Linking C executable device-counter [2024-09-26T15:51:37.349Z] [ 76%] Built target device-counter [2024-09-26T15:51:37.349Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T15:51:37.349Z] [ 80%] Linking C executable device-random [2024-09-26T15:51:37.349Z] [ 80%] Built target device-random [2024-09-26T15:51:37.349Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T15:51:37.349Z] [ 84%] Linking C executable device-gyro [2024-09-26T15:51:37.609Z] [ 84%] Built target device-gyro [2024-09-26T15:51:37.609Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T15:51:37.609Z] [ 88%] Linking C executable device-bitfields [2024-09-26T15:51:37.609Z] [ 88%] Built target device-bitfields [2024-09-26T15:51:37.609Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T15:51:37.869Z] [ 92%] Linking C executable template-discovery [2024-09-26T15:51:37.869Z] [ 92%] Built target template-discovery [2024-09-26T15:51:37.869Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T15:51:37.869Z] [ 96%] Linking C executable device-file [2024-09-26T15:51:38.130Z] [ 96%] Built target device-file [2024-09-26T15:51:38.130Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T15:51:38.130Z] [100%] Linking C executable device-terminal [2024-09-26T15:51:38.130Z] [100%] Built target device-terminal [2024-09-26T15:51:38.130Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-26T15:51:38.130Z] [ 68%] Built target csdk [2024-09-26T15:51:38.390Z] [ 72%] Built target template [2024-09-26T15:51:38.390Z] [ 76%] Built target device-counter [2024-09-26T15:51:38.390Z] [ 80%] Built target device-random [2024-09-26T15:51:38.390Z] [ 84%] Built target device-gyro [2024-09-26T15:51:38.390Z] [ 88%] Built target device-bitfields [2024-09-26T15:51:38.390Z] [ 92%] Built target template-discovery [2024-09-26T15:51:38.390Z] [ 96%] Built target device-file [2024-09-26T15:51:38.390Z] [100%] Built target device-terminal [2024-09-26T15:51:38.390Z] Install the project... [2024-09-26T15:51:38.390Z] -- Install configuration: "Release" [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-26T15:51:38.390Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include/devsdk [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include/edgex [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-26T15:51:38.390Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-26T15:51:38.390Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-26T15:51:39.326Z] Removing intermediate container 244213bd28b4 [2024-09-26T15:51:39.326Z] ---> ea5a970997e3 [2024-09-26T15:51:39.326Z] Step 14/22 : FROM ${BASE} [2024-09-26T15:51:39.326Z] ---> 6605166a5db4 [2024-09-26T15:51:39.326Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-26T15:51:39.326Z] ---> Running in bf1f4b87002a [2024-09-26T15:51:39.326Z] Removing intermediate container bf1f4b87002a [2024-09-26T15:51:39.326Z] ---> de35f9d2b3f4 [2024-09-26T15:51:39.326Z] 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-26T15:51:39.326Z] ---> Running in 84edb04efadc [2024-09-26T15:51:39.585Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-26T15:51:40.153Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T15:51:40.153Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T15:51:40.153Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T15:51:40.413Z] Removing intermediate container 84edb04efadc [2024-09-26T15:51:40.413Z] ---> a577c648b4ab [2024-09-26T15:51:40.413Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T15:51:40.413Z] ---> Running in b9b7c75ed00d [2024-09-26T15:51:40.980Z] Removing intermediate container b9b7c75ed00d [2024-09-26T15:51:40.980Z] ---> a8876020916b [2024-09-26T15:51:40.980Z] 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-26T15:51:40.980Z] ---> Running in 3c5cb259b1fd [2024-09-26T15:51:41.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:41.241Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:41.500Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:42.071Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:51:42.071Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T15:51:42.071Z] (2/10) Installing curl (8.9.1-r0) [2024-09-26T15:51:42.071Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T15:51:42.071Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-26T15:51:42.071Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-26T15:51:42.071Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-26T15:51:42.071Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-26T15:51:42.071Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T15:51:42.638Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T15:51:42.898Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-26T15:51:42.898Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T15:51:42.898Z] OK: 331 MiB in 90 packages [2024-09-26T15:51:43.467Z] Removing intermediate container 3c5cb259b1fd [2024-09-26T15:51:43.467Z] ---> 5219928703db [2024-09-26T15:51:43.467Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-26T15:51:43.467Z] ---> Running in b18f4944b572 [2024-09-26T15:51:43.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:43.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:43.986Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:44.555Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:51:44.555Z] Upgrading critical system libraries and apk-tools: [2024-09-26T15:51:44.555Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-26T15:51:44.555Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T15:51:44.815Z] Continuing the upgrade transaction with new apk-tools: [2024-09-26T15:51:44.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:44.815Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:44.815Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:45.383Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:51:45.383Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T15:51:45.383Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-26T15:51:45.383Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T15:51:45.383Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-26T15:51:45.383Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T15:51:45.383Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T15:51:45.383Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T15:51:45.383Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-26T15:51:45.643Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-26T15:51:45.643Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-26T15:51:45.643Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T15:51:45.643Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-26T15:51:45.643Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T15:51:45.643Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T15:51:45.643Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T15:51:45.643Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T15:51:45.643Z] Executing ca-certificates-20240226-r0.trigger [2024-09-26T15:51:45.643Z] OK: 331 MiB in 90 packages [2024-09-26T15:51:46.581Z] Removing intermediate container b18f4944b572 [2024-09-26T15:51:46.581Z] ---> a65658db3715 [2024-09-26T15:51:46.581Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-26T15:51:46.840Z] ---> 8874eb2fb390 [2024-09-26T15:51:46.840Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-26T15:51:46.840Z] ---> f2a4887856e3 [2024-09-26T15:51:46.840Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-26T15:51:47.100Z] ---> d28f6016e277 [2024-09-26T15:51:47.100Z] Successfully built d28f6016e277 [2024-09-26T15:51:47.100Z] 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-26T15:51:47.498Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-26T15:51:47.498Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T15:51:47.579Z] prd-ubuntu20.04-docker-8c-8g-11681 does not seem to be running inside a container [2024-09-26T15:51:47.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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-26T15:51:47.942Z] $ docker top f83e38adae7f926fc3a7fffb855a72f50328e2536155a0d3402182060aa05d9d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-26T15:51:48.301Z] + make test [2024-09-26T15:51:48.301Z] echo "make test" [2024-09-26T15:51:48.301Z] make test [Pipeline] } [2024-09-26T15:51:48.312Z] $ docker stop --time=1 f83e38adae7f926fc3a7fffb855a72f50328e2536155a0d3402182060aa05d9d [2024-09-26T15:51:49.594Z] $ docker rm -f --volumes f83e38adae7f926fc3a7fffb855a72f50328e2536155a0d3402182060aa05d9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-26T15:51:50.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-26T15:51:50.501Z] + ls -al . [2024-09-26T15:51:50.501Z] total 212 [2024-09-26T15:51:50.501Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 26 15:51 . [2024-09-26T15:51:50.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:50 .. [2024-09-26T15:51:50.501Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 15:51 .git [2024-09-26T15:51:50.501Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 15:50 .github [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 15:50 .gitignore [2024-09-26T15:51:50.501Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 15:51 .semver [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 15:50 Attribution.txt [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 15:50 CHANGELOG.md [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 15:50 Doxyfile [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 15:50 GOVERNANCE.md [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 15:50 Jenkinsfile [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 15:50 LICENSE [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 15:50 Makefile [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 15:50 OWNERS.md [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 15:50 README.IOT.md [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 15:50 README.md [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 15:50 README.v3.md [2024-09-26T15:51:50.501Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 15:51 VERSION [2024-09-26T15:51:50.501Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 15:50 docs [2024-09-26T15:51:50.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:50 include [2024-09-26T15:51:50.501Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 15:50 scripts [2024-09-26T15:51:50.501Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:50 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T15:51:50.841Z] + 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=21bf2cc08973ab27e7bcd2bf83e6918120607095 --label arch=amd64 --label version=0.0.0 . [2024-09-26T15:51:50.841Z] Sending build context to Docker daemon 5.327MB [2024-09-26T15:51:50.841Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-26T15:51:50.841Z] Step 2/18 : FROM ${BASE} [2024-09-26T15:51:50.841Z] ---> d28f6016e277 [2024-09-26T15:51:50.841Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-26T15:51:51.102Z] ---> Running in a91d759f1073 [2024-09-26T15:51:51.102Z] Removing intermediate container a91d759f1073 [2024-09-26T15:51:51.102Z] ---> 6e44cc812e6a [2024-09-26T15:51:51.102Z] 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-26T15:51:51.102Z] ---> Running in bcfe3292360f [2024-09-26T15:51:51.363Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T15:51:51.623Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T15:51:51.623Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T15:51:51.623Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T15:51:51.883Z] Removing intermediate container bcfe3292360f [2024-09-26T15:51:51.883Z] ---> 6b1e745a14d9 [2024-09-26T15:51:51.883Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T15:51:52.144Z] ---> Running in 91bbaf5795ef [2024-09-26T15:51:52.714Z] Removing intermediate container 91bbaf5795ef [2024-09-26T15:51:52.714Z] ---> a75cb68a4dc2 [2024-09-26T15:51:52.714Z] 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-26T15:51:52.714Z] ---> Running in c89c26787e1b [2024-09-26T15:51:52.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:52.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:52.974Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:53.547Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:51:53.547Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T15:51:53.807Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-26T15:51:53.807Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T15:51:53.807Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T15:51:53.807Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T15:51:53.807Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T15:51:53.807Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-26T15:51:53.807Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-26T15:51:53.807Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-26T15:51:53.807Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-26T15:51:53.807Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-26T15:51:53.807Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T15:51:53.807Z] OK: 337 MiB in 101 packages [2024-09-26T15:51:54.375Z] Removing intermediate container c89c26787e1b [2024-09-26T15:51:54.375Z] ---> 98dd3df9ec07 [2024-09-26T15:51:54.375Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-26T15:51:54.375Z] ---> Running in 62056d5131b4 [2024-09-26T15:51:54.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:54.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:55.153Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-26T15:51:55.724Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:51:55.724Z] OK: 337 MiB in 101 packages [2024-09-26T15:51:55.984Z] Removing intermediate container 62056d5131b4 [2024-09-26T15:51:55.984Z] ---> 74b6fb0701f5 [2024-09-26T15:51:55.984Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-26T15:51:55.984Z] ---> b44bbe364f8f [2024-09-26T15:51:55.984Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-26T15:51:56.242Z] ---> 49ad8015406d [2024-09-26T15:51:56.242Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-26T15:51:56.502Z] ---> 48086f63e4f1 [2024-09-26T15:51:56.502Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-26T15:51:56.502Z] ---> 804b7ff29265 [2024-09-26T15:51:56.502Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-26T15:51:56.765Z] ---> 0dd14f0e1806 [2024-09-26T15:51:56.765Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-26T15:51:56.765Z] ---> 11de17669981 [2024-09-26T15:51:56.765Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-26T15:51:56.765Z] ---> Running in 846b46c0ee25 [2024-09-26T15:51:57.025Z] Removing intermediate container 846b46c0ee25 [2024-09-26T15:51:57.025Z] ---> 4e384aac474c [2024-09-26T15:51:57.025Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-26T15:51:57.025Z] ---> Running in 4de71b578d06 [2024-09-26T15:51:57.025Z] Removing intermediate container 4de71b578d06 [2024-09-26T15:51:57.025Z] ---> 60d698d46c09 [2024-09-26T15:51:57.025Z] Step 16/18 : LABEL arch=amd64 [2024-09-26T15:51:57.025Z] ---> Running in 056029efd5bf [2024-09-26T15:51:57.025Z] Removing intermediate container 056029efd5bf [2024-09-26T15:51:57.025Z] ---> 05aa421cf0fc [2024-09-26T15:51:57.025Z] Step 17/18 : LABEL git_sha=21bf2cc08973ab27e7bcd2bf83e6918120607095 [2024-09-26T15:51:57.025Z] ---> Running in da1964486147 [2024-09-26T15:51:57.286Z] Removing intermediate container da1964486147 [2024-09-26T15:51:57.286Z] ---> 06e24cba731e [2024-09-26T15:51:57.286Z] Step 18/18 : LABEL version=0.0.0 [2024-09-26T15:51:57.286Z] ---> Running in e92b64ef5fbc [2024-09-26T15:51:57.286Z] Removing intermediate container e92b64ef5fbc [2024-09-26T15:51:57.286Z] ---> f6f3acf6dfdf [2024-09-26T15:51:57.286Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-26T15:51:57.286Z] Successfully built f6f3acf6dfdf [2024-09-26T15:51:57.286Z] 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-26T15:51:57.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T15:51:57.777Z] [2024-09-26T15:51:57.777Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T15:51:58.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T15:51:58.082Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-26T15:51:58.082Z] 5eb5b503b376: Pulling fs layer [2024-09-26T15:51:58.082Z] 5c69ac0246d0: Pulling fs layer [2024-09-26T15:51:58.082Z] ec43610c2a17: Pulling fs layer [2024-09-26T15:51:58.082Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-26T15:51:58.082Z] 33b1e0a273af: Pulling fs layer [2024-09-26T15:51:58.082Z] 5d3b04190fa2: Pulling fs layer [2024-09-26T15:51:58.082Z] 2f39f015ded8: Pulling fs layer [2024-09-26T15:51:58.082Z] 3a2ae6a8a46f: Waiting [2024-09-26T15:51:58.082Z] 33b1e0a273af: Waiting [2024-09-26T15:51:58.082Z] 5d3b04190fa2: Waiting [2024-09-26T15:51:58.082Z] 2f39f015ded8: Waiting [2024-09-26T15:51:58.082Z] 5c69ac0246d0: Download complete [2024-09-26T15:51:58.082Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-26T15:51:58.082Z] 3a2ae6a8a46f: Download complete [2024-09-26T15:51:58.082Z] 33b1e0a273af: Download complete [2024-09-26T15:51:58.082Z] 5d3b04190fa2: Verifying Checksum [2024-09-26T15:51:58.082Z] 5d3b04190fa2: Download complete [2024-09-26T15:51:58.082Z] ec43610c2a17: Verifying Checksum [2024-09-26T15:51:58.082Z] ec43610c2a17: Download complete [2024-09-26T15:51:58.342Z] 5eb5b503b376: Verifying Checksum [2024-09-26T15:51:58.342Z] 5eb5b503b376: Download complete [2024-09-26T15:51:59.715Z] 5eb5b503b376: Pull complete [2024-09-26T15:51:59.715Z] 5c69ac0246d0: Pull complete [2024-09-26T15:51:59.975Z] ec43610c2a17: Pull complete [2024-09-26T15:52:00.234Z] 3a2ae6a8a46f: Pull complete [2024-09-26T15:52:00.492Z] 33b1e0a273af: Pull complete [2024-09-26T15:52:00.492Z] 5d3b04190fa2: Pull complete [2024-09-26T15:52:05.757Z] 2f39f015ded8: Pull complete [2024-09-26T15:52:05.757Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-26T15:52:05.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T15:52:05.757Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T15:52:05.863Z] prd-ubuntu20.04-docker-8c-8g-11681 does not seem to be running inside a container [2024-09-26T15:52:05.901Z] $ 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-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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-26T15:52:09.950Z] $ docker top 03d9d3834f991b90253b9491fa266f075ba2271059a2bb794741378d3eabbc98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:52:10.375Z] ---> job-cost.sh [2024-09-26T15:52:10.376Z] lf-activate-venv: SKIPPING [2024-09-26T15:52:10.376Z] INFO: No Stack... [2024-09-26T15:52:10.635Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-26T15:52:11.203Z] INFO: Archiving Costs [Pipeline] sh [2024-09-26T15:52:11.497Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/cost.csv [2024-09-26T15:52:11.497Z] + cut -d, -f6 [Pipeline] lock [2024-09-26T15:52:11.513Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] [2024-09-26T15:52:11.528Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] did not exist. Created. [2024-09-26T15:52:11.535Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-26T15:52:11.839Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-26T15:52:11.890Z] Stashed 1 file(s) [Pipeline] } [2024-09-26T15:52:11.898Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-26T15:52:11.921Z] $ docker stop --time=1 03d9d3834f991b90253b9491fa266f075ba2271059a2bb794741378d3eabbc98 [2024-09-26T15:52:13.085Z] $ docker rm -f --volumes 03d9d3834f991b90253b9491fa266f075ba2271059a2bb794741378d3eabbc98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-26T15:54:19.394Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11683 in /w/workspace/edgexfoundry_device-sdk-c_PR-514 [Pipeline] { [Pipeline] ws [2024-09-26T15:54:19.411Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2024-09-26T15:54:22.470Z] Selected Git installation does not exist. Using Default [2024-09-26T15:54:22.470Z] The recommended git tool is: NONE [2024-09-26T15:54:29.935Z] using credential edgex-jenkins-ssh [2024-09-26T15:54:29.958Z] Cloning the remote Git repository [2024-09-26T15:54:30.002Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-26T15:54:30.112Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2024-09-26T15:54:30.370Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-26T15:54:30.371Z] > git --version # timeout=10 [2024-09-26T15:54:30.395Z] > git --version # 'git version 2.25.1' [2024-09-26T15:54:30.397Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-26T15:54:30.674Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-26T15:54:31.876Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-26T15:54:31.902Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-26T15:54:33.165Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-26T15:54:33.229Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-26T15:54:33.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-26T15:54:33.926Z] Merging remotes/origin/main commit 30a24dda2410b85b52167bc1398eb9d9a2b4959b into PR head commit 21bf2cc08973ab27e7bcd2bf83e6918120607095 [2024-09-26T15:54:34.330Z] Merge succeeded, producing 21bf2cc08973ab27e7bcd2bf83e6918120607095 [2024-09-26T15:54:34.331Z] Checking out Revision 21bf2cc08973ab27e7bcd2bf83e6918120607095 (PR-514) [2024-09-26T15:54:33.260Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/514/head:refs/remotes/origin/PR-514 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-26T15:54:33.938Z] > git config core.sparsecheckout # timeout=10 [2024-09-26T15:54:34.009Z] > git checkout -f 21bf2cc08973ab27e7bcd2bf83e6918120607095 # timeout=10 [2024-09-26T15:54:34.187Z] > git remote # timeout=10 [2024-09-26T15:54:34.212Z] > git config --get remote.origin.url # timeout=10 [2024-09-26T15:54:34.251Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-26T15:54:34.272Z] > git merge 30a24dda2410b85b52167bc1398eb9d9a2b4959b # timeout=10 [2024-09-26T15:54:34.305Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-26T15:54:34.332Z] > git config core.sparsecheckout # timeout=10 [2024-09-26T15:54:34.348Z] > git checkout -f 21bf2cc08973ab27e7bcd2bf83e6918120607095 # timeout=10 [2024-09-26T15:54:38.048Z] Commit message: "feat: Pr updates including removing describe from register delete function, remove delete function from discovery struct, fix reply.msg" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-26T15:54:39.713Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-26T15:54:39.713Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-26T15:54:39.713Z] Dload Upload Total Spent Left Speed [2024-09-26T15:54:39.713Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 90338 0 --:--:-- --:--:-- --:--:-- 90338 [Pipeline] sh [2024-09-26T15:54:40.060Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-26T15:54:40.389Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-26T15:54:40.389Z] + sudo tee /etc/docker/daemon.new [2024-09-26T15:54:40.389Z] { [2024-09-26T15:54:40.389Z] "registry-mirrors": [ [2024-09-26T15:54:40.389Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-26T15:54:40.389Z] ], [2024-09-26T15:54:40.389Z] "bip": "10.250.0.254/24", [2024-09-26T15:54:40.389Z] "hosts": [ [2024-09-26T15:54:40.389Z] "tcp://0.0.0.0:5555", [2024-09-26T15:54:40.389Z] "unix:///var/run/docker.sock" [2024-09-26T15:54:40.389Z] ], [2024-09-26T15:54:40.389Z] "mtu": 1458, [2024-09-26T15:54:40.389Z] "selinux-enabled": true, [2024-09-26T15:54:40.389Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-26T15:54:40.389Z] } [Pipeline] sh [2024-09-26T15:54:40.719Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-26T15:54:41.060Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-26T15:54:59.436Z] provisioning config files... [2024-09-26T15:54:59.461Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config4029005850631672332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:54:59.897Z] ---> ****-login.sh [2024-09-26T15:54:59.897Z] nexus3.edgexfoundry.org:10001 [2024-09-26T15:55:00.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:55:00.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:55:00.449Z] Configure a credential helper to remove this warning. See [2024-09-26T15:55:00.449Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:55:00.449Z] [2024-09-26T15:55:00.449Z] Login Succeeded [2024-09-26T15:55:00.449Z] nexus3.edgexfoundry.org:10002 [2024-09-26T15:55:00.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:55:00.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:55:00.989Z] Configure a credential helper to remove this warning. See [2024-09-26T15:55:00.989Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:55:00.989Z] [2024-09-26T15:55:00.989Z] Login Succeeded [2024-09-26T15:55:00.989Z] nexus3.edgexfoundry.org:10003 [2024-09-26T15:55:01.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:55:01.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:55:01.259Z] Configure a credential helper to remove this warning. See [2024-09-26T15:55:01.259Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:55:01.259Z] [2024-09-26T15:55:01.259Z] Login Succeeded [2024-09-26T15:55:01.259Z] nexus3.edgexfoundry.org:10004 [2024-09-26T15:55:01.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:55:01.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:55:01.534Z] Configure a credential helper to remove this warning. See [2024-09-26T15:55:01.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:55:01.534Z] [2024-09-26T15:55:01.534Z] Login Succeeded [2024-09-26T15:55:01.534Z] ****.io [2024-09-26T15:55:01.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-26T15:55:02.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-26T15:55:02.068Z] Configure a credential helper to remove this warning. See [2024-09-26T15:55:02.068Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-26T15:55:02.068Z] [2024-09-26T15:55:02.068Z] Login Succeeded [2024-09-26T15:55:02.068Z] ---> ****-login.sh ends [Pipeline] } [2024-09-26T15:55:02.081Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-26T15:55:02.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T15:55:02.399Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-26T15:55:02.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-26T15:55:02.428Z] ========================================================= [2024-09-26T15:55:02.428Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-26T15:55:02.428Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T15:55:02.768Z] + 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-26T15:55:03.352Z] Sending build context to Docker daemon 3.283MB [2024-09-26T15:55:03.352Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-26T15:55:03.352Z] Step 2/22 : FROM ${BASE} as builder [2024-09-26T15:55:03.352Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-26T15:55:03.352Z] 579b34f0a95b: Pulling fs layer [2024-09-26T15:55:03.352Z] e71477ac5e1b: Pulling fs layer [2024-09-26T15:55:03.622Z] 579b34f0a95b: Download complete [2024-09-26T15:55:04.225Z] 579b34f0a95b: Pull complete [2024-09-26T15:55:06.175Z] e71477ac5e1b: Verifying Checksum [2024-09-26T15:55:06.175Z] e71477ac5e1b: Download complete [2024-09-26T15:55:16.259Z] e71477ac5e1b: Pull complete [2024-09-26T15:55:16.259Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-26T15:55:16.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-26T15:55:16.260Z] ---> 2b552cad5dd9 [2024-09-26T15:55:16.260Z] 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-26T15:55:16.840Z] ---> Running in 10415423705c [2024-09-26T15:55:17.798Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-26T15:55:18.382Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T15:55:18.382Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T15:55:18.382Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T15:55:18.966Z] Removing intermediate container 10415423705c [2024-09-26T15:55:18.966Z] ---> ee8c187b57f4 [2024-09-26T15:55:18.966Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T15:55:18.966Z] ---> Running in 662a83102eeb [2024-09-26T15:55:20.919Z] Removing intermediate container 662a83102eeb [2024-09-26T15:55:20.919Z] ---> 9d62def75b88 [2024-09-26T15:55:20.919Z] 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-26T15:55:20.919Z] ---> Running in 535625a72c46 [2024-09-26T15:55:21.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:55:22.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T15:55:22.672Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:55:23.627Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:55:23.627Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-26T15:55:23.627Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-26T15:55:23.627Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-26T15:55:23.627Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T15:55:24.209Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T15:55:24.477Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T15:55:24.744Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-26T15:55:24.744Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T15:55:24.744Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T15:55:24.744Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T15:55:24.744Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T15:55:24.744Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-26T15:55:24.744Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-26T15:55:24.744Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-26T15:55:24.744Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-26T15:55:24.744Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-26T15:55:24.744Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-26T15:55:25.014Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T15:55:25.014Z] OK: 333 MiB in 99 packages [2024-09-26T15:55:26.426Z] Removing intermediate container 535625a72c46 [2024-09-26T15:55:26.426Z] ---> 8d9a32f887e0 [2024-09-26T15:55:26.426Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-26T15:55:26.426Z] ---> Running in d94dc80c31e4 [2024-09-26T15:55:27.838Z] Removing intermediate container d94dc80c31e4 [2024-09-26T15:55:27.838Z] ---> b0f0e971e804 [2024-09-26T15:55:27.838Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-26T15:55:28.419Z] ---> 917ebc42d7bb [2024-09-26T15:55:28.419Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-26T15:55:29.003Z] ---> 267eda93c363 [2024-09-26T15:55:29.003Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-26T15:55:29.587Z] ---> 8fa21721a3d7 [2024-09-26T15:55:29.588Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-26T15:55:30.171Z] ---> 176b8ecc5362 [2024-09-26T15:55:30.171Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-26T15:55:30.438Z] ---> 1e281b1aed31 [2024-09-26T15:55:30.438Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-26T15:55:31.028Z] ---> 93a1a25f22e4 [2024-09-26T15:55:31.028Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-26T15:55:31.028Z] ---> Running in 1290183d88d9 [2024-09-26T15:55:32.014Z] + CPPCHECK=false [2024-09-26T15:55:32.014Z] + DOCGEN=false [2024-09-26T15:55:32.014Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-26T15:55:32.014Z] + '[' 0 -gt 0 ] [2024-09-26T15:55:32.014Z] + readlink -f ./scripts/build.sh [2024-09-26T15:55:32.014Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-26T15:55:32.014Z] + dirname /tmp/sdk/scripts [2024-09-26T15:55:32.014Z] + ROOT=/tmp/sdk [2024-09-26T15:55:32.014Z] + cd /tmp/sdk [2024-09-26T15:55:32.014Z] + mkdir -p /tmp/sdk/build/release [2024-09-26T15:55:32.014Z] + cd /tmp/sdk/build/release [2024-09-26T15:55:32.015Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-26T15:55:32.599Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T15:55:32.599Z] -- Detecting C compiler ABI info [2024-09-26T15:55:32.866Z] -- Detecting C compiler ABI info - done [2024-09-26T15:55:32.866Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T15:55:32.866Z] -- Detecting C compile features [2024-09-26T15:55:32.866Z] -- Detecting C compile features - done [2024-09-26T15:55:32.866Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T15:55:33.130Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T15:55:33.130Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T15:55:33.130Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T15:55:33.130Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T15:55:33.130Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T15:55:33.130Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T15:55:33.130Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T15:55:33.130Z] -- /opt/iotech/iot/1.5/include [2024-09-26T15:55:33.130Z] -- C SDK 0.0.0 for Linux [2024-09-26T15:55:33.130Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T15:55:33.718Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T15:55:33.718Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T15:55:33.986Z] -- Configuring done (1.7s) [2024-09-26T15:55:34.256Z] -- Generating done (0.2s) [2024-09-26T15:55:34.256Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-26T15:55:34.256Z] + make all package [2024-09-26T15:55:34.256Z] + tee release.log [2024-09-26T15:55:34.256Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T15:55:35.212Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T15:55:36.167Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T15:55:36.751Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T15:55:37.718Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T15:55:38.298Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T15:55:40.240Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T15:55:41.204Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-26T15:55:41.204Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T15:55:41.204Z] 294 | while (privateConfig) [2024-09-26T15:55:41.204Z] | ^~~~~~~~~~~~~ [2024-09-26T15:55:41.204Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-26T15:55:41.204Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T15:55:41.204Z] | ^~~~~~~~~~~~~ [2024-09-26T15:55:41.204Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T15:55:41.204Z] 271 | while (result) [2024-09-26T15:55:41.204Z] | ^~~~~~ [2024-09-26T15:55:41.204Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-26T15:55:41.204Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-26T15:55:41.204Z] | ^~~~~~ [2024-09-26T15:55:41.471Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T15:55:41.738Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T15:55:42.694Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T15:55:44.635Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T15:55:44.902Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T15:55:45.859Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T15:55:46.439Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T15:55:47.020Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T15:55:48.429Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T15:55:48.429Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T15:55:50.371Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T15:55:50.953Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T15:55:51.534Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T15:55:52.937Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T15:55:59.572Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T15:55:59.838Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T15:56:00.104Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T15:56:00.686Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T15:56:00.952Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T15:56:02.355Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T15:56:04.924Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T15:56:04.924Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T15:56:05.881Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T15:56:06.467Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T15:56:06.735Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T15:56:06.735Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T15:56:06.735Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T15:56:06.735Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T15:56:06.735Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T15:56:06.735Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T15:56:06.735Z] | ^ [2024-09-26T15:56:08.145Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-26T15:56:08.145Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-26T15:56:08.145Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T15:56:08.145Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-09-26T15:56:08.145Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-26T15:56:08.145Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-26T15:56:09.557Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T15:56:10.141Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T15:56:10.408Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T15:56:10.992Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T15:56:11.259Z] [ 68%] Built target csdk [2024-09-26T15:56:11.259Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T15:56:12.220Z] [ 72%] Linking C executable template [2024-09-26T15:56:12.488Z] [ 72%] Built target template [2024-09-26T15:56:12.488Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T15:56:13.072Z] [ 76%] Linking C executable device-counter [2024-09-26T15:56:13.339Z] [ 76%] Built target device-counter [2024-09-26T15:56:13.339Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T15:56:13.923Z] [ 80%] Linking C executable device-random [2024-09-26T15:56:14.191Z] [ 80%] Built target device-random [2024-09-26T15:56:14.191Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T15:56:14.779Z] [ 84%] Linking C executable device-gyro [2024-09-26T15:56:15.050Z] [ 84%] Built target device-gyro [2024-09-26T15:56:15.321Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T15:56:15.678Z] [ 88%] Linking C executable device-bitfields [2024-09-26T15:56:16.290Z] [ 88%] Built target device-bitfields [2024-09-26T15:56:16.290Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T15:56:17.275Z] [ 92%] Linking C executable template-discovery [2024-09-26T15:56:17.554Z] [ 92%] Built target template-discovery [2024-09-26T15:56:17.554Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T15:56:18.550Z] [ 96%] Linking C executable device-file [2024-09-26T15:56:18.816Z] [ 96%] Built target device-file [2024-09-26T15:56:18.816Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T15:56:19.400Z] [100%] Linking C executable device-terminal [2024-09-26T15:56:19.984Z] [100%] Built target device-terminal [2024-09-26T15:56:19.984Z] Run CPack packaging tool... [2024-09-26T15:56:19.984Z] CPack: Create package using TGZ [2024-09-26T15:56:19.984Z] CPack: Install projects [2024-09-26T15:56:19.984Z] CPack: - Run preinstall target for: Csdk [2024-09-26T15:56:20.943Z] CPack: - Install project: Csdk [] [2024-09-26T15:56:20.943Z] CPack: Create package [2024-09-26T15:56:20.943Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-26T15:56:20.943Z] + '[' false '=' true ] [2024-09-26T15:56:20.943Z] + '[' false '=' true ] [2024-09-26T15:56:20.943Z] + mkdir -p /tmp/sdk/build/debug [2024-09-26T15:56:20.943Z] + cd /tmp/sdk/build/debug [2024-09-26T15:56:20.943Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-26T15:56:21.208Z] -- The C compiler identification is GNU 12.2.1 [2024-09-26T15:56:21.208Z] -- Detecting C compiler ABI info [2024-09-26T15:56:21.477Z] -- Detecting C compiler ABI info - done [2024-09-26T15:56:21.744Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-26T15:56:21.744Z] -- Detecting C compile features [2024-09-26T15:56:21.744Z] -- Detecting C compile features - done [2024-09-26T15:56:21.744Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-26T15:56:22.013Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-26T15:56:22.013Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-26T15:56:22.013Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-26T15:56:22.013Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-26T15:56:22.013Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-26T15:56:22.013Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-26T15:56:22.013Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-26T15:56:22.013Z] -- /opt/iotech/iot/1.5/include [2024-09-26T15:56:22.013Z] -- C SDK 0.0.0 for Linux [2024-09-26T15:56:22.013Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-26T15:56:22.280Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-26T15:56:22.548Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-26T15:56:22.548Z] -- Configuring done (1.8s) [2024-09-26T15:56:22.819Z] -- Generating done (0.2s) [2024-09-26T15:56:22.819Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-26T15:56:23.086Z] + make [2024-09-26T15:56:23.086Z] + tee debug.log [2024-09-26T15:56:23.086Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-26T15:56:23.353Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-26T15:56:23.944Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-26T15:56:24.210Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-26T15:56:24.483Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-26T15:56:25.069Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-26T15:56:25.650Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-26T15:56:26.229Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-26T15:56:26.229Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-26T15:56:26.809Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-26T15:56:27.388Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-26T15:56:27.655Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-26T15:56:28.254Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-26T15:56:28.519Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-26T15:56:28.786Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-26T15:56:29.371Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-26T15:56:29.371Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-26T15:56:30.342Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-26T15:56:30.609Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-26T15:56:30.609Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-26T15:56:31.192Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-26T15:56:32.607Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-26T15:56:32.873Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-26T15:56:33.140Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-26T15:56:33.407Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-26T15:56:33.675Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-26T15:56:34.258Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-26T15:56:35.664Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-26T15:56:35.664Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-26T15:56:36.247Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-26T15:56:36.514Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-26T15:56:36.798Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-26T15:56:36.798Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T15:56:36.798Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-26T15:56:36.798Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-26T15:56:36.798Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-26T15:56:36.798Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-26T15:56:36.798Z] | ^ [2024-09-26T15:56:37.375Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-26T15:56:37.646Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-26T15:56:37.911Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-26T15:56:38.176Z] [ 68%] Linking C shared library libcsdk.so [2024-09-26T15:56:38.441Z] [ 68%] Built target csdk [2024-09-26T15:56:38.441Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-26T15:56:38.706Z] [ 72%] Linking C executable template [2024-09-26T15:56:39.287Z] [ 72%] Built target template [2024-09-26T15:56:39.287Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-26T15:56:39.554Z] [ 76%] Linking C executable device-counter [2024-09-26T15:56:39.824Z] [ 76%] Built target device-counter [2024-09-26T15:56:39.824Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-26T15:56:40.092Z] [ 80%] Linking C executable device-random [2024-09-26T15:56:40.358Z] [ 80%] Built target device-random [2024-09-26T15:56:40.358Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-26T15:56:40.623Z] [ 84%] Linking C executable device-gyro [2024-09-26T15:56:41.203Z] [ 84%] Built target device-gyro [2024-09-26T15:56:41.203Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-26T15:56:41.469Z] [ 88%] Linking C executable device-bitfields [2024-09-26T15:56:41.735Z] [ 88%] Built target device-bitfields [2024-09-26T15:56:41.735Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-26T15:56:42.000Z] [ 92%] Linking C executable template-discovery [2024-09-26T15:56:42.580Z] [ 92%] Built target template-discovery [2024-09-26T15:56:42.580Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-26T15:56:42.844Z] [ 96%] Linking C executable device-file [2024-09-26T15:56:43.109Z] [ 96%] Built target device-file [2024-09-26T15:56:43.109Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-26T15:56:43.689Z] [100%] Linking C executable device-terminal [2024-09-26T15:56:43.953Z] [100%] Built target device-terminal [2024-09-26T15:56:43.953Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-26T15:56:43.953Z] [ 68%] Built target csdk [2024-09-26T15:56:44.219Z] [ 72%] Built target template [2024-09-26T15:56:44.219Z] [ 76%] Built target device-counter [2024-09-26T15:56:44.219Z] [ 80%] Built target device-random [2024-09-26T15:56:44.219Z] [ 84%] Built target device-gyro [2024-09-26T15:56:44.484Z] [ 88%] Built target device-bitfields [2024-09-26T15:56:44.484Z] [ 92%] Built target template-discovery [2024-09-26T15:56:44.484Z] [ 96%] Built target device-file [2024-09-26T15:56:44.484Z] [100%] Built target device-terminal [2024-09-26T15:56:44.484Z] Install the project... [2024-09-26T15:56:44.484Z] -- Install configuration: "Release" [2024-09-26T15:56:44.751Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-26T15:56:44.751Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-26T15:56:44.751Z] -- Installing: /usr/local/include [2024-09-26T15:56:44.751Z] -- Installing: /usr/local/include/devsdk [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/include/edgex [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-26T15:56:44.752Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-26T15:56:44.752Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-26T15:56:46.152Z] Removing intermediate container 1290183d88d9 [2024-09-26T15:56:46.152Z] ---> 45d3714e3a2f [2024-09-26T15:56:46.152Z] Step 14/22 : FROM ${BASE} [2024-09-26T15:56:46.152Z] ---> 2b552cad5dd9 [2024-09-26T15:56:46.152Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-26T15:56:46.152Z] ---> Running in 3ed195d4d5de [2024-09-26T15:56:46.417Z] Removing intermediate container 3ed195d4d5de [2024-09-26T15:56:46.418Z] ---> 7fefaf102912 [2024-09-26T15:56:46.418Z] 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-26T15:56:46.418Z] ---> Running in 6772b2edc5cb [2024-09-26T15:56:47.373Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-26T15:56:47.956Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T15:56:47.956Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T15:56:47.956Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T15:56:48.548Z] Removing intermediate container 6772b2edc5cb [2024-09-26T15:56:48.548Z] ---> 7be7291d2119 [2024-09-26T15:56:48.548Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T15:56:48.548Z] ---> Running in 25942e220546 [2024-09-26T15:56:50.511Z] Removing intermediate container 25942e220546 [2024-09-26T15:56:50.511Z] ---> a23110d3f8af [2024-09-26T15:56:50.511Z] 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-26T15:56:50.511Z] ---> Running in 962f0ed49b8d [2024-09-26T15:56:51.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:56:51.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T15:56:52.326Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:56:53.285Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:56:53.285Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T15:56:53.285Z] (2/10) Installing curl (8.9.1-r0) [2024-09-26T15:56:53.285Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-26T15:56:53.285Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-26T15:56:53.285Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-26T15:56:53.285Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-26T15:56:53.285Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-26T15:56:53.285Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-26T15:56:54.244Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-26T15:56:54.511Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-26T15:56:54.511Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T15:56:54.511Z] OK: 328 MiB in 90 packages [2024-09-26T15:56:55.494Z] Removing intermediate container 962f0ed49b8d [2024-09-26T15:56:55.494Z] ---> 774ea4167d71 [2024-09-26T15:56:55.494Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-26T15:56:55.494Z] ---> Running in d9b1ff432e41 [2024-09-26T15:56:56.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:56:57.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T15:56:57.317Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:56:58.274Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:56:58.274Z] Upgrading critical system libraries and apk-tools: [2024-09-26T15:56:58.274Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-26T15:56:58.274Z] Executing busybox-1.36.1-r4.trigger [2024-09-26T15:56:58.542Z] Continuing the upgrade transaction with new apk-tools: [2024-09-26T15:56:58.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:56:59.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T15:56:59.658Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:57:00.240Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:57:00.505Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T15:57:00.505Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-26T15:57:00.505Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T15:57:00.505Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-26T15:57:00.505Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T15:57:00.505Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T15:57:00.772Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-26T15:57:00.772Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-26T15:57:00.772Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-26T15:57:00.772Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-26T15:57:00.772Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-26T15:57:00.772Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-26T15:57:01.044Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T15:57:01.315Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T15:57:01.315Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-26T15:57:01.315Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T15:57:01.315Z] Executing ca-certificates-20240226-r0.trigger [2024-09-26T15:57:01.315Z] OK: 328 MiB in 90 packages [2024-09-26T15:57:03.280Z] Removing intermediate container d9b1ff432e41 [2024-09-26T15:57:03.280Z] ---> 710857acb75b [2024-09-26T15:57:03.280Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-26T15:57:04.690Z] ---> b27239483d76 [2024-09-26T15:57:04.690Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-26T15:57:05.278Z] ---> 32f146d62965 [2024-09-26T15:57:05.278Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-26T15:57:05.545Z] ---> 0f1ba8ed0596 [2024-09-26T15:57:05.812Z] Successfully built 0f1ba8ed0596 [2024-09-26T15:57:05.812Z] 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-26T15:57:06.274Z] + docker inspect -f . ci-base-image-arm64 [2024-09-26T15:57:06.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T15:57:06.504Z] prd-ubuntu20.04-docker-arm64-4c-16g-11683 does not seem to be running inside a container [2024-09-26T15:57:06.561Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-26T15:57:07.784Z] $ docker top 4f8dfd4d98116232c34a89118efb7cecf639351d7d14710faed6ad3c166ea4f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-26T15:57:08.634Z] + make test [2024-09-26T15:57:08.634Z] echo "make test" [2024-09-26T15:57:08.634Z] make test [Pipeline] } [2024-09-26T15:57:08.647Z] $ docker stop --time=1 4f8dfd4d98116232c34a89118efb7cecf639351d7d14710faed6ad3c166ea4f5 [2024-09-26T15:57:10.246Z] $ docker rm -f --volumes 4f8dfd4d98116232c34a89118efb7cecf639351d7d14710faed6ad3c166ea4f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-26T15:57:10.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-26T15:57:11.221Z] + ls -al . [2024-09-26T15:57:11.221Z] total 208 [2024-09-26T15:57:11.221Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 15:54 . [2024-09-26T15:57:11.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:54 .. [2024-09-26T15:57:11.221Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 26 15:54 .git [2024-09-26T15:57:11.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 26 15:54 .github [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 26 15:54 .gitignore [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 26 15:54 Attribution.txt [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 26 15:54 CHANGELOG.md [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 26 15:54 Doxyfile [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 26 15:54 GOVERNANCE.md [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 26 15:54 Jenkinsfile [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 26 15:54 LICENSE [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 26 15:54 Makefile [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 26 15:54 OWNERS.md [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 26 15:54 README.IOT.md [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 26 15:54 README.md [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 26 15:54 README.v3.md [2024-09-26T15:57:11.221Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 26 15:51 VERSION [2024-09-26T15:57:11.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 15:54 docs [2024-09-26T15:57:11.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:54 include [2024-09-26T15:57:11.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 26 15:54 scripts [2024-09-26T15:57:11.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 26 15:54 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T15:57:11.578Z] + 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=21bf2cc08973ab27e7bcd2bf83e6918120607095 --label arch=arm64 --label version=0.0.0 . [2024-09-26T15:57:12.177Z] Sending build context to Docker daemon 3.283MB [2024-09-26T15:57:12.177Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-26T15:57:12.177Z] Step 2/18 : FROM ${BASE} [2024-09-26T15:57:12.177Z] ---> 0f1ba8ed0596 [2024-09-26T15:57:12.177Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-26T15:57:12.177Z] ---> Running in 205ab4a15a5a [2024-09-26T15:57:12.444Z] Removing intermediate container 205ab4a15a5a [2024-09-26T15:57:12.444Z] ---> b5b71bb3a707 [2024-09-26T15:57:12.444Z] 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-26T15:57:12.712Z] ---> Running in 60dcfaad0c00 [2024-09-26T15:57:13.674Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-26T15:57:13.940Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-26T15:57:13.940Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-26T15:57:13.940Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-26T15:57:14.523Z] Removing intermediate container 60dcfaad0c00 [2024-09-26T15:57:14.523Z] ---> 337eefbde00f [2024-09-26T15:57:14.523Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-26T15:57:14.790Z] ---> Running in 840957da0807 [2024-09-26T15:57:16.740Z] Removing intermediate container 840957da0807 [2024-09-26T15:57:16.740Z] ---> 5dd0308aa90a [2024-09-26T15:57:16.740Z] 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-26T15:57:16.740Z] ---> Running in e863295570df [2024-09-26T15:57:17.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:57:18.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T15:57:18.865Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:57:19.450Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:57:19.450Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-26T15:57:19.717Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-26T15:57:19.717Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-26T15:57:19.717Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-26T15:57:19.717Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-26T15:57:19.717Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-26T15:57:19.997Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-26T15:57:19.997Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-26T15:57:19.997Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-26T15:57:19.997Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-26T15:57:19.997Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-26T15:57:19.997Z] Executing busybox-1.36.1-r7.trigger [2024-09-26T15:57:19.997Z] OK: 334 MiB in 101 packages [2024-09-26T15:57:21.409Z] Removing intermediate container e863295570df [2024-09-26T15:57:21.409Z] ---> 2f36a6983f57 [2024-09-26T15:57:21.409Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-26T15:57:21.409Z] ---> Running in f3ef041fba84 [2024-09-26T15:57:22.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:57:22.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-26T15:57:22.901Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-26T15:57:23.855Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-26T15:57:23.855Z] OK: 334 MiB in 101 packages [2024-09-26T15:57:24.809Z] Removing intermediate container f3ef041fba84 [2024-09-26T15:57:24.809Z] ---> a6d6bfd5f6e7 [2024-09-26T15:57:24.809Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-26T15:57:25.074Z] ---> 00d2333fa9d1 [2024-09-26T15:57:25.074Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-26T15:57:25.656Z] ---> e43b39f0ca22 [2024-09-26T15:57:25.657Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-26T15:57:26.236Z] ---> 72eebd556f3b [2024-09-26T15:57:26.236Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-26T15:57:27.638Z] ---> 0e40d75d2743 [2024-09-26T15:57:27.638Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-26T15:57:28.223Z] ---> a73d4543fcb2 [2024-09-26T15:57:28.223Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-26T15:57:28.487Z] ---> 44a94cb1a8f9 [2024-09-26T15:57:28.487Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-26T15:57:28.487Z] ---> Running in c19dc71403af [2024-09-26T15:57:28.753Z] Removing intermediate container c19dc71403af [2024-09-26T15:57:28.753Z] ---> eb896eb86bee [2024-09-26T15:57:28.753Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-26T15:57:29.020Z] ---> Running in fb3b69b398dd [2024-09-26T15:57:29.285Z] Removing intermediate container fb3b69b398dd [2024-09-26T15:57:29.285Z] ---> 8db1ae107438 [2024-09-26T15:57:29.285Z] Step 16/18 : LABEL arch=arm64 [2024-09-26T15:57:29.285Z] ---> Running in 6561f013cac2 [2024-09-26T15:57:29.550Z] Removing intermediate container 6561f013cac2 [2024-09-26T15:57:29.550Z] ---> a6bb07c5ad2f [2024-09-26T15:57:29.550Z] Step 17/18 : LABEL git_sha=21bf2cc08973ab27e7bcd2bf83e6918120607095 [2024-09-26T15:57:29.550Z] ---> Running in 0b3e9f6bfb99 [2024-09-26T15:57:29.817Z] Removing intermediate container 0b3e9f6bfb99 [2024-09-26T15:57:29.817Z] ---> 0a67c6b7d5e3 [2024-09-26T15:57:29.817Z] Step 18/18 : LABEL version=0.0.0 [2024-09-26T15:57:30.083Z] ---> Running in 86a9c21b87f4 [2024-09-26T15:57:30.347Z] Removing intermediate container 86a9c21b87f4 [2024-09-26T15:57:30.347Z] ---> c1d4e89a998d [2024-09-26T15:57:30.347Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-26T15:57:30.347Z] Successfully built c1d4e89a998d [2024-09-26T15:57:30.347Z] 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-26T15:57:30.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-26T15:57:30.800Z] [2024-09-26T15:57:30.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T15:57:31.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-26T15:57:31.396Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-26T15:57:31.396Z] 8998bd30e6a1: Pulling fs layer [2024-09-26T15:57:31.396Z] 04944245beec: Pulling fs layer [2024-09-26T15:57:31.396Z] 699f458cf7ca: Pulling fs layer [2024-09-26T15:57:31.396Z] 765212b225bb: Pulling fs layer [2024-09-26T15:57:31.396Z] f23df028b6ca: Pulling fs layer [2024-09-26T15:57:31.396Z] d65c8cfc05b1: Pulling fs layer [2024-09-26T15:57:31.396Z] 2437ff75d9bd: Pulling fs layer [2024-09-26T15:57:31.396Z] f23df028b6ca: Waiting [2024-09-26T15:57:31.396Z] d65c8cfc05b1: Waiting [2024-09-26T15:57:31.396Z] 2437ff75d9bd: Waiting [2024-09-26T15:57:31.396Z] 765212b225bb: Waiting [2024-09-26T15:57:31.396Z] 04944245beec: Verifying Checksum [2024-09-26T15:57:31.396Z] 04944245beec: Download complete [2024-09-26T15:57:31.396Z] 765212b225bb: Verifying Checksum [2024-09-26T15:57:31.396Z] 765212b225bb: Download complete [2024-09-26T15:57:31.663Z] f23df028b6ca: Verifying Checksum [2024-09-26T15:57:31.663Z] f23df028b6ca: Download complete [2024-09-26T15:57:31.663Z] d65c8cfc05b1: Verifying Checksum [2024-09-26T15:57:31.663Z] d65c8cfc05b1: Download complete [2024-09-26T15:57:31.663Z] 699f458cf7ca: Verifying Checksum [2024-09-26T15:57:31.663Z] 699f458cf7ca: Download complete [2024-09-26T15:57:31.930Z] 8998bd30e6a1: Verifying Checksum [2024-09-26T15:57:31.930Z] 8998bd30e6a1: Download complete [2024-09-26T15:57:34.505Z] 2437ff75d9bd: Verifying Checksum [2024-09-26T15:57:34.505Z] 2437ff75d9bd: Download complete [2024-09-26T15:57:36.441Z] 8998bd30e6a1: Pull complete [2024-09-26T15:57:36.713Z] 04944245beec: Pull complete [2024-09-26T15:57:38.653Z] 699f458cf7ca: Pull complete [2024-09-26T15:57:38.653Z] 765212b225bb: Pull complete [2024-09-26T15:57:39.608Z] f23df028b6ca: Pull complete [2024-09-26T15:57:39.608Z] d65c8cfc05b1: Pull complete [2024-09-26T15:57:57.815Z] 2437ff75d9bd: Pull complete [2024-09-26T15:57:57.815Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-26T15:57:57.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-26T15:57:57.815Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T15:57:58.025Z] prd-ubuntu20.04-docker-arm64-4c-16g-11683 does not seem to be running inside a container [2024-09-26T15:57:58.080Z] $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-26T15:58:00.469Z] $ docker top 4c5ddf2303dd0031ac1248fc7d89b81dc3bed82202963f7c8cf022546ba9002a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:58:00.964Z] ---> job-cost.sh [2024-09-26T15:58:01.229Z] lf-activate-venv: SKIPPING [2024-09-26T15:58:01.229Z] INFO: No Stack... [2024-09-26T15:58:01.493Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-26T15:58:02.447Z] INFO: Archiving Costs [Pipeline] sh [2024-09-26T15:58:02.766Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2024-09-26T15:58:02.766Z] + cut -d, -f6 [Pipeline] lock [2024-09-26T15:58:02.819Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] [2024-09-26T15:58:02.827Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] did not exist. Created. [2024-09-26T15:58:02.835Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-26T15:58:03.176Z] /w/workspace/device-sdk-c/3@tmp/durable-b56d45fe/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-26T15:58:03.495Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-26T15:58:03.521Z] Warning: overwriting stash ‘stack-cost’ [2024-09-26T15:58:03.950Z] Stashed 1 file(s) [Pipeline] } [2024-09-26T15:58:03.959Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-514-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-26T15:58:03.985Z] $ docker stop --time=1 4c5ddf2303dd0031ac1248fc7d89b81dc3bed82202963f7c8cf022546ba9002a [2024-09-26T15:58:05.443Z] $ docker rm -f --volumes 4c5ddf2303dd0031ac1248fc7d89b81dc3bed82202963f7c8cf022546ba9002a [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-26T15:58:06.322Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives ] [2024-09-26T15:58:06.322Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives [2024-09-26T15:58:06.322Z] total 16 [2024-09-26T15:58:06.322Z] drwxr-xr-x 3 root root 4096 Sep 26 15:52 . [2024-09-26T15:58:06.322Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 15:52 .. [2024-09-26T15:58:06.322Z] drwxr-xr-x 2 root root 4096 Sep 26 15:52 cost [2024-09-26T15:58:06.322Z] -rw-r--r-- 1 root root 84 Sep 26 15:52 cost.csv [2024-09-26T15:58:06.322Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives [2024-09-26T15:58:06.322Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives [2024-09-26T15:58:06.322Z] total 16 [2024-09-26T15:58:06.322Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 26 15:52 . [2024-09-26T15:58:06.322Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 26 15:52 .. [2024-09-26T15:58:06.322Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 26 15:52 cost [2024-09-26T15:58:06.322Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 26 15:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:58:06.616Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:58:07.477Z] ---> package-listing.sh [2024-09-26T15:58:07.477Z] ++ facter osfamily [2024-09-26T15:58:07.477Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-26T15:58:07.736Z] + OS_FAMILY=debian [2024-09-26T15:58:07.736Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-514 [2024-09-26T15:58:07.736Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-26T15:58:07.736Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-26T15:58:07.736Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-26T15:58:07.736Z] + PACKAGES=/tmp/packages_start.txt [2024-09-26T15:58:07.736Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-514 ']' [2024-09-26T15:58:07.736Z] + PACKAGES=/tmp/packages_end.txt [2024-09-26T15:58:07.736Z] + case "${OS_FAMILY}" in [2024-09-26T15:58:07.736Z] + dpkg -l [2024-09-26T15:58:07.736Z] + grep '^ii' [2024-09-26T15:58:07.736Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-26T15:58:07.736Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-26T15:58:07.736Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-26T15:58:07.736Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-514 ']' [2024-09-26T15:58:07.736Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/ [2024-09-26T15:58:07.736Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-514/archives/ [Pipeline] echo [2024-09-26T15:58:07.747Z] 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-514/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-26T15:58:08.028Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-26T15:58:08.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-26T15:58:08.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-26T15:58:08.764Z] prd-ubuntu20.04-docker-8c-8g-11681 does not seem to be running inside a container [2024-09-26T15:58:08.820Z] $ 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-514/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-514 -v /w/workspace/edgexfoundry_device-sdk-c_PR-514:/w/workspace/edgexfoundry_device-sdk-c_PR-514:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-514@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-26T15:58:11.952Z] $ docker top dcdd359a2dfd77e95cb2a203d9f1f077359e9effa9f2313f9c55f16381e0249c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-26T15:58:12.301Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-26T15:58:12.589Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-26T15:58:12.876Z] + ls /var/log/sa-host [2024-09-26T15:58:12.876Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-26T15:58:13.054Z] provisioning config files... [2024-09-26T15:58:13.063Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-514@tmp/config1736096975968669067tmp [Pipeline] { [Pipeline] echo [2024-09-26T15:58:13.082Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:58:13.363Z] ---> create-netrc.sh [Pipeline] } [2024-09-26T15:58:13.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:58:13.709Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-26T15:58:13.719Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:58:14.094Z] ---> sudo-logs.sh [2024-09-26T15:58:14.094Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-26T15:58:14.126Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:58:14.438Z] ---> job-cost.sh [2024-09-26T15:58:14.438Z] lf-activate-venv: SKIPPING [2024-09-26T15:58:14.438Z] DEBUG: total: 0.2199999988079071 [2024-09-26T15:58:14.438Z] INFO: Retrieving Stack Cost... [2024-09-26T15:58:14.771Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-26T15:58:15.037Z] INFO: Archiving Costs [Pipeline] echo [2024-09-26T15:58:15.056Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-26T15:58:15.358Z] ---> logs-deploy.sh [2024-09-26T15:58:15.358Z] lf-activate-venv: SKIPPING [2024-09-26T15:58:15.358Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-514/3 [2024-09-26T15:58:15.358Z] INFO: archiving workspace using pattern(s): [2024-09-26T15:58:16.308Z] Archives upload complete. [2024-09-26T15:58:16.308Z] INFO: archiving logs to Nexus