Pull request #513 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of Tylerg2471 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at b5fd43aa6b4e8069e65248caa2e7d6db03f961ef rather than b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 Obtained Jenkinsfile from b5fd43aa6b4e8069e65248caa2e7d6db03f961ef Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3240676991395224906.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14442499293684223942.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh512031058390056119.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6764084423985867096.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-513/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12899415175225749198.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-10617 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-513 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 Merge succeeded, producing b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 Checking out Revision b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 (PR-513) > 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/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 # timeout=10 Commit message: "feat: Update function comment" First time build. Skipping changelog. > git rev-list --no-walk f76fc440d6364581e30103e413241f79fbf200a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-18T14:32:04.784Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-18T14:32:04.849Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-18T14:32:04.868Z] ========================================================= [2024-09-18T14:32:04.868Z] EdgeX Global Pipelines Version Info [2024-09-18T14:32:04.868Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:32:05.615Z] ------------------- [2024-09-18T14:32:05.615Z] stable info: [2024-09-18T14:32:05.615Z] ------------------- [2024-09-18T14:32:05.615Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-18T14:32:05.616Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-18T14:32:05.616Z] Message: update stable to v1.0.263 [2024-09-18T14:32:06.186Z] ------------------- [2024-09-18T14:32:06.186Z] experimental info: [2024-09-18T14:32:06.186Z] ------------------- [2024-09-18T14:32:06.186Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-18T14:32:06.186Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-18T14:32:06.186Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-18T14:32:06.260Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-18T14:32:06.277Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-18T14:32:06.297Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-18T14:32:06.349Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-18T14:32:06.367Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-18T14:32:06.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-18T14:32:06.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-18T14:32:06.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-18T14:32:06.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-18T14:32:06.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-18T14:32:06.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-18T14:32:06.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-18T14:32:06.525Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-18T14:32:06.577Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-18T14:32:06.593Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-18T14:32:06.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-18T14:32:06.623Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-18T14:32:06.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2024-09-18T14:32:06.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2024-09-18T14:32:06.694Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2024-09-18T14:32:06.717Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [Pipeline] echo [2024-09-18T14:32:06.742Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b0f3c9a [Pipeline] echo [2024-09-18T14:32:06.764Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-18T14:32:06.839Z] provisioning config files... [2024-09-18T14:32:06.850Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config12299736719307320107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:32:07.178Z] ---> ****-login.sh [2024-09-18T14:32:07.178Z] nexus3.edgexfoundry.org:10001 [2024-09-18T14:32:07.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:32:07.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:32:07.442Z] Configure a credential helper to remove this warning. See [2024-09-18T14:32:07.442Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:32:07.442Z] [2024-09-18T14:32:07.442Z] Login Succeeded [2024-09-18T14:32:07.442Z] nexus3.edgexfoundry.org:10002 [2024-09-18T14:32:07.442Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:32:07.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:32:07.703Z] Configure a credential helper to remove this warning. See [2024-09-18T14:32:07.703Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:32:07.703Z] [2024-09-18T14:32:07.703Z] Login Succeeded [2024-09-18T14:32:07.703Z] nexus3.edgexfoundry.org:10003 [2024-09-18T14:32:07.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:32:07.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:32:07.703Z] Configure a credential helper to remove this warning. See [2024-09-18T14:32:07.703Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:32:07.703Z] [2024-09-18T14:32:07.703Z] Login Succeeded [2024-09-18T14:32:07.703Z] nexus3.edgexfoundry.org:10004 [2024-09-18T14:32:07.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:32:07.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:32:07.964Z] Configure a credential helper to remove this warning. See [2024-09-18T14:32:07.964Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:32:07.964Z] [2024-09-18T14:32:07.964Z] Login Succeeded [2024-09-18T14:32:07.964Z] ****.io [2024-09-18T14:32:07.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:32:08.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:32:08.224Z] Configure a credential helper to remove this warning. See [2024-09-18T14:32:08.224Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:32:08.224Z] [2024-09-18T14:32:08.224Z] Login Succeeded [2024-09-18T14:32:08.224Z] ---> ****-login.sh ends [Pipeline] } [2024-09-18T14:32:08.231Z] 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-18T14:32:08.615Z] + git rev-list -1 --merges b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2~1..b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [Pipeline] echo [2024-09-18T14:32:08.644Z] -----------> git rev-list -1 --merges b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2~1..b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [false] [Pipeline] sh [2024-09-18T14:32:08.938Z] + git log --format=format:%s -1 b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [Pipeline] echo [2024-09-18T14:32:08.954Z] ========================================================= [2024-09-18T14:32:08.954Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-18T14:32:08.954Z] ========================================================= 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-18T14:32:09.382Z] + git rev-list -1 --merges b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2~1..b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [Pipeline] echo [2024-09-18T14:32:09.394Z] -----------> git rev-list -1 --merges b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2~1..b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [false] [Pipeline] sh [2024-09-18T14:32:09.685Z] + git log --format=format:%s -1 b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [Pipeline] echo [2024-09-18T14:32:09.699Z] ========================================================= [2024-09-18T14:32:09.699Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-18T14:32:09.699Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-18T14:32:10.068Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-18T14:32:10.068Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-18T14:32:10.068Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-18T14:32:10.068Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-18T14:32:10.068Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-18T14:32:10.068Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-18T14:32:10.068Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:32:10.419Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-18T14:32:10.419Z] [2024-09-18T14:32:10.419Z] 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-18T14:32:10.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-18T14:32:10.719Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-18T14:32:10.719Z] b85a868b505f: Pulling fs layer [2024-09-18T14:32:10.719Z] e2be974225ed: Pulling fs layer [2024-09-18T14:32:10.719Z] 339a4e72a1f5: Pulling fs layer [2024-09-18T14:32:10.719Z] 988bab9f4d93: Pulling fs layer [2024-09-18T14:32:10.719Z] 1469e6f7b9e6: Pulling fs layer [2024-09-18T14:32:10.719Z] eaf3925da568: Pulling fs layer [2024-09-18T14:32:10.719Z] bab4dde63d76: Pulling fs layer [2024-09-18T14:32:10.719Z] bde34c3a00c8: Pulling fs layer [2024-09-18T14:32:10.719Z] b352a97aabf1: Pulling fs layer [2024-09-18T14:32:10.719Z] 4872d77fe225: Pulling fs layer [2024-09-18T14:32:10.719Z] 5851b861e8e6: Pulling fs layer [2024-09-18T14:32:10.719Z] 1469e6f7b9e6: Waiting [2024-09-18T14:32:10.719Z] eaf3925da568: Waiting [2024-09-18T14:32:10.719Z] bab4dde63d76: Waiting [2024-09-18T14:32:10.719Z] bde34c3a00c8: Waiting [2024-09-18T14:32:10.719Z] b352a97aabf1: Waiting [2024-09-18T14:32:10.719Z] 4872d77fe225: Waiting [2024-09-18T14:32:10.719Z] 5851b861e8e6: Waiting [2024-09-18T14:32:10.719Z] 988bab9f4d93: Waiting [2024-09-18T14:32:10.719Z] e2be974225ed: Verifying Checksum [2024-09-18T14:32:10.719Z] e2be974225ed: Download complete [2024-09-18T14:32:10.719Z] 988bab9f4d93: Verifying Checksum [2024-09-18T14:32:10.719Z] 988bab9f4d93: Download complete [2024-09-18T14:32:10.719Z] 1469e6f7b9e6: Verifying Checksum [2024-09-18T14:32:10.719Z] 1469e6f7b9e6: Download complete [2024-09-18T14:32:10.719Z] 339a4e72a1f5: Verifying Checksum [2024-09-18T14:32:10.719Z] 339a4e72a1f5: Download complete [2024-09-18T14:32:10.719Z] eaf3925da568: Verifying Checksum [2024-09-18T14:32:10.719Z] eaf3925da568: Download complete [2024-09-18T14:32:10.978Z] bde34c3a00c8: Verifying Checksum [2024-09-18T14:32:10.978Z] bde34c3a00c8: Download complete [2024-09-18T14:32:10.978Z] b352a97aabf1: Verifying Checksum [2024-09-18T14:32:10.978Z] b352a97aabf1: Download complete [2024-09-18T14:32:10.978Z] 4872d77fe225: Verifying Checksum [2024-09-18T14:32:10.978Z] 4872d77fe225: Download complete [2024-09-18T14:32:10.978Z] 5851b861e8e6: Verifying Checksum [2024-09-18T14:32:10.978Z] 5851b861e8e6: Download complete [2024-09-18T14:32:10.978Z] b85a868b505f: Verifying Checksum [2024-09-18T14:32:10.978Z] b85a868b505f: Download complete [2024-09-18T14:32:11.255Z] bab4dde63d76: Verifying Checksum [2024-09-18T14:32:11.255Z] bab4dde63d76: Download complete [2024-09-18T14:32:12.188Z] b85a868b505f: Pull complete [2024-09-18T14:32:12.188Z] e2be974225ed: Pull complete [2024-09-18T14:32:12.755Z] 339a4e72a1f5: Pull complete [2024-09-18T14:32:12.756Z] 988bab9f4d93: Pull complete [2024-09-18T14:32:13.014Z] 1469e6f7b9e6: Pull complete [2024-09-18T14:32:13.014Z] eaf3925da568: Pull complete [2024-09-18T14:32:14.390Z] bab4dde63d76: Pull complete [2024-09-18T14:32:14.390Z] bde34c3a00c8: Pull complete [2024-09-18T14:32:14.647Z] b352a97aabf1: Pull complete [2024-09-18T14:32:14.647Z] 4872d77fe225: Pull complete [2024-09-18T14:32:14.906Z] 5851b861e8e6: Pull complete [2024-09-18T14:32:14.906Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-18T14:32:14.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-18T14:32:14.906Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:32:15.047Z] prd-ubuntu20.04-docker-8c-8g-10617 does not seem to be running inside a container [2024-09-18T14:32:15.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-18T14:32:17.365Z] $ docker top ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf -eo pid,comm [2024-09-18T14:32:17.423Z] 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-18T14:32:17.424Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-18T14:32:17.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-18T14:32:17.529Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-18T14:32:17.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-18T14:32:17.631Z] $ docker exec ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf ssh-agent [2024-09-18T14:32:17.736Z] SSH_AUTH_SOCK=/tmp/ssh-3c4seeqEbqxR/agent.34 [2024-09-18T14:32:17.736Z] SSH_AGENT_PID=40 [2024-09-18T14:32:17.741Z] Running ssh-add (command line suppressed) [2024-09-18T14:32:17.843Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_5573271437314022232.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_5573271437314022232.key) [2024-09-18T14:32:17.862Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-18T14:32:18.157Z] + git tag --points-at HEAD [Pipeline] } [2024-09-18T14:32:18.166Z] $ docker exec --env ******** --env ******** ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf ssh-agent -k [2024-09-18T14:32:18.263Z] unset SSH_AUTH_SOCK; [2024-09-18T14:32:18.263Z] unset SSH_AGENT_PID; [2024-09-18T14:32:18.264Z] echo Agent pid 40 killed; [2024-09-18T14:32:18.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-18T14:32:18.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-18T14:32:18.318Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-18T14:32:18.425Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-18T14:32:18.425Z] $ docker exec ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf ssh-agent [2024-09-18T14:32:18.526Z] SSH_AUTH_SOCK=/tmp/ssh-qtyg5ImfWgLN/agent.73 [2024-09-18T14:32:18.526Z] SSH_AGENT_PID=79 [2024-09-18T14:32:18.531Z] Running ssh-add (command line suppressed) [2024-09-18T14:32:18.619Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_3369252340620001420.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_3369252340620001420.key) [2024-09-18T14:32:18.635Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-18T14:32:18.926Z] + git semver init [2024-09-18T14:32:19.185Z] 2024-09-18 14:32:19,093 [run_init] DEBUG init version:0.0.0 force:False [2024-09-18T14:32:19.185Z] 2024-09-18 14:32:19,094 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-18T14:32:19.185Z] 2024-09-18 14:32:19,095 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-18T14:32:19.185Z] 2024-09-18 14:32:19,095 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513, universal_newlines=False, shell=None, istream=None) [2024-09-18T14:32:20.198Z] 2024-09-18 14:32:19,837 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude [2024-09-18T14:32:20.198Z] 2024-09-18 14:32:19,837 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 with force:False [2024-09-18T14:32:20.198Z] 2024-09-18 14:32:19,837 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-18T14:32:20.198Z] 2024-09-18 14:32:19,841 [execute] INFO git cat-file --batch-check [2024-09-18T14:32:20.198Z] 2024-09-18 14:32:19,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-18T14:32:20.198Z] 2024-09-18 14:32:19,847 [execute] INFO git cat-file --batch [2024-09-18T14:32:20.198Z] 2024-09-18 14:32:19,847 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver, universal_newlines=False, shell=None, istream=) [2024-09-18T14:32:20.198Z] 2024-09-18 14:32:19,852 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-18T14:32:20.198Z] 0.0.0 [Pipeline] } [2024-09-18T14:32:20.205Z] $ docker exec --env ******** --env ******** ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf ssh-agent -k [2024-09-18T14:32:20.287Z] unset SSH_AUTH_SOCK; [2024-09-18T14:32:20.287Z] unset SSH_AGENT_PID; [2024-09-18T14:32:20.287Z] echo Agent pid 79 killed; [2024-09-18T14:32:20.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-18T14:32:20.615Z] + git semver [Pipeline] } [2024-09-18T14:32:20.883Z] $ docker stop --time=1 ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf [2024-09-18T14:32:22.240Z] $ docker rm -f --volumes ecfaa271e2edf5c647fd903af5e90187094b82d1d1a2ab52ee5c7a6f452214bf [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-18T14:32:22.576Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-18T14:32:22.800Z] Stashed 1 file(s) [Pipeline] echo [2024-09-18T14:32:22.804Z] [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-18T14:32:23.012Z] provisioning config files... [2024-09-18T14:32:23.022Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config16757154689437259048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:32:23.322Z] ---> ****-login.sh [2024-09-18T14:32:23.322Z] nexus3.edgexfoundry.org:10001 [2024-09-18T14:32:23.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:32:23.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:32:23.323Z] Configure a credential helper to remove this warning. See [2024-09-18T14:32:23.326Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:32:23.326Z] [2024-09-18T14:32:23.326Z] Login Succeeded [2024-09-18T14:32:23.326Z] nexus3.edgexfoundry.org:10002 [2024-09-18T14:32:23.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:32:23.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:32:23.326Z] Configure a credential helper to remove this warning. See [2024-09-18T14:32:23.326Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:32:23.326Z] [2024-09-18T14:32:23.326Z] Login Succeeded [2024-09-18T14:32:23.326Z] nexus3.edgexfoundry.org:10003 [2024-09-18T14:32:23.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:32:23.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:32:23.585Z] Configure a credential helper to remove this warning. See [2024-09-18T14:32:23.585Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:32:23.585Z] [2024-09-18T14:32:23.585Z] Login Succeeded [2024-09-18T14:32:23.585Z] nexus3.edgexfoundry.org:10004 [2024-09-18T14:32:23.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:32:23.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:32:23.585Z] Configure a credential helper to remove this warning. See [2024-09-18T14:32:23.585Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:32:23.585Z] [2024-09-18T14:32:23.585Z] Login Succeeded [2024-09-18T14:32:23.586Z] ****.io [2024-09-18T14:32:23.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:32:23.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:32:23.845Z] Configure a credential helper to remove this warning. See [2024-09-18T14:32:23.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:32:23.845Z] [2024-09-18T14:32:23.845Z] Login Succeeded [2024-09-18T14:32:23.845Z] ---> ****-login.sh ends [Pipeline] } [2024-09-18T14:32:23.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-18T14:32:23.972Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-18T14:32:23.990Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-18T14:32:24.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-18T14:32:24.051Z] ========================================================= [2024-09-18T14:32:24.051Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-18T14:32:24.051Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:32:24.380Z] + 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-18T14:32:24.380Z] Sending build context to Docker daemon 5.194MB [2024-09-18T14:32:24.380Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-18T14:32:24.380Z] Step 2/22 : FROM ${BASE} as builder [2024-09-18T14:32:24.380Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-18T14:32:24.380Z] 96526aa774ef: Pulling fs layer [2024-09-18T14:32:24.380Z] da60e534fd72: Pulling fs layer [2024-09-18T14:32:24.639Z] 96526aa774ef: Download complete [2024-09-18T14:32:24.639Z] 96526aa774ef: Pull complete [2024-09-18T14:32:25.576Z] da60e534fd72: Verifying Checksum [2024-09-18T14:32:25.576Z] da60e534fd72: Download complete [2024-09-18T14:32:28.110Z] da60e534fd72: Pull complete [2024-09-18T14:32:28.110Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-18T14:32:28.110Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-18T14:32:28.110Z] ---> 6605166a5db4 [2024-09-18T14:32:28.110Z] 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-18T14:32:30.012Z] ---> Running in c36b1bb922e8 [2024-09-18T14:32:30.270Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-18T14:32:30.836Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:32:30.836Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:32:30.836Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:32:31.094Z] Removing intermediate container c36b1bb922e8 [2024-09-18T14:32:31.094Z] ---> 0b7d834963ce [2024-09-18T14:32:31.094Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:32:31.094Z] ---> Running in 9e85822bb8f3 [2024-09-18T14:32:31.660Z] Removing intermediate container 9e85822bb8f3 [2024-09-18T14:32:31.660Z] ---> 86e7705090ba [2024-09-18T14:32:31.660Z] 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-18T14:32:31.660Z] ---> Running in 0c1d4f1810a8 [2024-09-18T14:32:31.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:32.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:32.177Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:32.746Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:32:32.746Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-18T14:32:32.746Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-18T14:32:32.746Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-18T14:32:32.746Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-18T14:32:33.693Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-18T14:32:33.693Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-18T14:32:33.693Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-18T14:32:33.693Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-18T14:32:33.693Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-18T14:32:33.693Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-18T14:32:33.693Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-18T14:32:33.693Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-18T14:32:33.693Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-18T14:32:33.693Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-18T14:32:33.693Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-18T14:32:33.953Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-18T14:32:33.953Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-18T14:32:33.953Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:32:33.953Z] OK: 336 MiB in 99 packages [2024-09-18T14:32:34.522Z] Removing intermediate container 0c1d4f1810a8 [2024-09-18T14:32:34.522Z] ---> d78c4004b70e [2024-09-18T14:32:34.522Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-18T14:32:34.522Z] ---> Running in f43d48d0889e [2024-09-18T14:32:35.090Z] Removing intermediate container f43d48d0889e [2024-09-18T14:32:35.090Z] ---> 43302ae5c947 [2024-09-18T14:32:35.090Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-18T14:32:35.349Z] ---> 82f358376d2f [2024-09-18T14:32:35.349Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-18T14:32:35.608Z] ---> a96d11470da7 [2024-09-18T14:32:35.608Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-18T14:32:35.887Z] ---> d6ce8e61e956 [2024-09-18T14:32:35.887Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-18T14:32:35.887Z] ---> 9d419e14f885 [2024-09-18T14:32:35.887Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-18T14:32:36.146Z] ---> e44924ae9546 [2024-09-18T14:32:36.146Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-18T14:32:36.146Z] ---> 8e1941264464 [2024-09-18T14:32:36.146Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-18T14:32:36.146Z] ---> Running in 99934f3c7d0d [2024-09-18T14:32:36.404Z] + CPPCHECK=false [2024-09-18T14:32:36.404Z] + DOCGEN=false [2024-09-18T14:32:36.404Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-18T14:32:36.404Z] + '[' 0 -gt 0 ] [2024-09-18T14:32:36.404Z] + readlink -f ./scripts/build.sh [2024-09-18T14:32:36.404Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-18T14:32:36.404Z] + dirname /tmp/sdk/scripts [2024-09-18T14:32:36.404Z] + ROOT=/tmp/sdk [2024-09-18T14:32:36.404Z] + cd /tmp/sdk [2024-09-18T14:32:36.404Z] + mkdir -p /tmp/sdk/build/release [2024-09-18T14:32:36.404Z] + cd /tmp/sdk/build/release [2024-09-18T14:32:36.404Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-18T14:32:36.404Z] -- The C compiler identification is GNU 12.2.1 [2024-09-18T14:32:36.662Z] -- Detecting C compiler ABI info [2024-09-18T14:32:36.662Z] -- Detecting C compiler ABI info - done [2024-09-18T14:32:36.662Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-18T14:32:36.662Z] -- Detecting C compile features [2024-09-18T14:32:36.662Z] -- Detecting C compile features - done [2024-09-18T14:32:36.662Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-18T14:32:36.662Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-18T14:32:36.662Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-18T14:32:36.662Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-18T14:32:36.662Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-18T14:32:36.662Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-18T14:32:36.662Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-18T14:32:36.662Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-18T14:32:36.662Z] -- /opt/iotech/iot/1.5/include [2024-09-18T14:32:36.662Z] -- C SDK 0.0.0 for Linux [2024-09-18T14:32:36.662Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-18T14:32:36.920Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-18T14:32:36.920Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-18T14:32:36.920Z] -- Configuring done (0.4s) [2024-09-18T14:32:36.920Z] -- Generating done (0.0s) [2024-09-18T14:32:36.920Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-18T14:32:36.920Z] + make all package [2024-09-18T14:32:36.920Z] + tee release.log [2024-09-18T14:32:36.920Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-18T14:32:37.177Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-18T14:32:37.177Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-18T14:32:37.177Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-18T14:32:37.452Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-18T14:32:37.452Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-18T14:32:37.709Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-18T14:32:37.952Z] Still waiting to schedule task [2024-09-18T14:32:37.952Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-18T14:32:37.968Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-18T14:32:37.968Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:32:37.968Z] 294 | while (privateConfig) [2024-09-18T14:32:37.968Z] | ^~~~~~~~~~~~~ [2024-09-18T14:32:37.968Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-18T14:32:37.968Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-18T14:32:37.968Z] | ^~~~~~~~~~~~~ [2024-09-18T14:32:37.968Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:32:37.968Z] 271 | while (result) [2024-09-18T14:32:37.968Z] | ^~~~~~ [2024-09-18T14:32:37.968Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-18T14:32:37.968Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-18T14:32:37.968Z] | ^~~~~~ [2024-09-18T14:32:37.968Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-18T14:32:37.968Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-18T14:32:38.227Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-18T14:32:38.486Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-18T14:32:38.486Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-18T14:32:38.745Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-18T14:32:38.745Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-18T14:32:39.003Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-18T14:32:39.003Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-18T14:32:39.003Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-18T14:32:39.572Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-18T14:32:39.572Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-18T14:32:39.572Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-18T14:32:39.831Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-18T14:32:40.770Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-18T14:32:40.770Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-18T14:32:41.064Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-18T14:32:41.064Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-18T14:32:41.064Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-18T14:32:41.322Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-18T14:32:41.580Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-18T14:32:41.580Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-18T14:32:41.839Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-18T14:32:41.839Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-18T14:32:41.839Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-18T14:32:41.839Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:32:41.839Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-18T14:32:41.839Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:32:41.839Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:32:41.839Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-18T14:32:41.839Z] | ^ [2024-09-18T14:32:42.099Z] /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:32:42.099Z] 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-18T14:32:42.099Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:32:42.099Z] /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here [2024-09-18T14:32:42.099Z] 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-18T14:32:42.099Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:32:42.358Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-18T14:32:42.358Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-18T14:32:42.616Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-18T14:32:42.616Z] [ 68%] Linking C shared library libcsdk.so [2024-09-18T14:32:42.616Z] [ 68%] Built target csdk [2024-09-18T14:32:42.616Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-18T14:32:42.616Z] /tmp/sdk/src/c/examples/template.c: In function 'main': [2024-09-18T14:32:42.616Z] /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:32:42.616Z] 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:32:42.616Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:32:42.616Z] | | [2024-09-18T14:32:42.616Z] | void (*)(void *) [2024-09-18T14:32:42.616Z] In file included from /tmp/sdk/src/c/examples/template.c:11: [2024-09-18T14:32:42.616Z] /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:32:42.616Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:32:42.616Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:32:42.874Z] [ 72%] Linking C executable template [2024-09-18T14:32:42.874Z] [ 72%] Built target template [2024-09-18T14:32:42.874Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-18T14:32:42.874Z] [ 76%] Linking C executable device-counter [2024-09-18T14:32:43.133Z] [ 76%] Built target device-counter [2024-09-18T14:32:43.133Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-18T14:32:43.133Z] [ 80%] Linking C executable device-random [2024-09-18T14:32:43.133Z] [ 80%] Built target device-random [2024-09-18T14:32:43.133Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-18T14:32:43.391Z] [ 84%] Linking C executable device-gyro [2024-09-18T14:32:43.391Z] [ 84%] Built target device-gyro [2024-09-18T14:32:43.391Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-18T14:32:43.391Z] [ 88%] Linking C executable device-bitfields [2024-09-18T14:32:43.650Z] [ 88%] Built target device-bitfields [2024-09-18T14:32:43.650Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-18T14:32:43.650Z] /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': [2024-09-18T14:32:43.650Z] /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:32:43.650Z] 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:32:43.650Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:32:43.650Z] | | [2024-09-18T14:32:43.650Z] | void (*)(void *) [2024-09-18T14:32:43.650Z] In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: [2024-09-18T14:32:43.650Z] /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:32:43.650Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:32:43.650Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:32:43.650Z] [ 92%] Linking C executable template-discovery [2024-09-18T14:32:43.650Z] [ 92%] Built target template-discovery [2024-09-18T14:32:43.650Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-18T14:32:43.909Z] [ 96%] Linking C executable device-file [2024-09-18T14:32:43.910Z] [ 96%] Built target device-file [2024-09-18T14:32:43.910Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-18T14:32:44.168Z] [100%] Linking C executable device-terminal [2024-09-18T14:32:44.168Z] [100%] Built target device-terminal [2024-09-18T14:32:44.168Z] Run CPack packaging tool... [2024-09-18T14:32:44.168Z] CPack: Create package using TGZ [2024-09-18T14:32:44.168Z] CPack: Install projects [2024-09-18T14:32:44.168Z] CPack: - Run preinstall target for: Csdk [2024-09-18T14:32:44.428Z] CPack: - Install project: Csdk [] [2024-09-18T14:32:44.428Z] CPack: Create package [2024-09-18T14:32:44.428Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-18T14:32:44.428Z] + '[' false '=' true ] [2024-09-18T14:32:44.428Z] + '[' false '=' true ] [2024-09-18T14:32:44.428Z] + mkdir -p /tmp/sdk/build/debug [2024-09-18T14:32:44.428Z] + cd /tmp/sdk/build/debug [2024-09-18T14:32:44.428Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-18T14:32:44.428Z] -- The C compiler identification is GNU 12.2.1 [2024-09-18T14:32:44.428Z] -- Detecting C compiler ABI info [2024-09-18T14:32:44.687Z] -- Detecting C compiler ABI info - done [2024-09-18T14:32:44.687Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-18T14:32:44.687Z] -- Detecting C compile features [2024-09-18T14:32:44.687Z] -- Detecting C compile features - done [2024-09-18T14:32:44.687Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-18T14:32:44.687Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-18T14:32:44.687Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-18T14:32:44.687Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-18T14:32:44.687Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-18T14:32:44.687Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-18T14:32:44.687Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-18T14:32:44.687Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-18T14:32:44.687Z] -- /opt/iotech/iot/1.5/include [2024-09-18T14:32:44.687Z] -- C SDK 0.0.0 for Linux [2024-09-18T14:32:44.687Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-18T14:32:44.687Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-18T14:32:44.946Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-18T14:32:44.946Z] -- Configuring done (0.4s) [2024-09-18T14:32:44.946Z] -- Generating done (0.0s) [2024-09-18T14:32:44.946Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-18T14:32:44.946Z] + make [2024-09-18T14:32:44.946Z] + tee debug.log [2024-09-18T14:32:44.946Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-18T14:32:44.946Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-18T14:32:44.946Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-18T14:32:45.211Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-18T14:32:45.211Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-18T14:32:45.211Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-18T14:32:45.471Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-18T14:32:45.471Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-18T14:32:45.471Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-18T14:32:45.471Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-18T14:32:45.729Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-18T14:32:45.729Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-18T14:32:45.729Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-18T14:32:45.988Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-18T14:32:45.988Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-18T14:32:45.988Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-18T14:32:45.988Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-18T14:32:46.247Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-18T14:32:46.247Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-18T14:32:46.247Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-18T14:32:46.506Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-18T14:32:46.506Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-18T14:32:46.767Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-18T14:32:46.767Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-18T14:32:46.767Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-18T14:32:46.767Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-18T14:32:47.028Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-18T14:32:47.028Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-18T14:32:47.288Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-18T14:32:47.288Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-18T14:32:47.288Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-18T14:32:47.288Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-18T14:32:47.288Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:32:47.288Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-18T14:32:47.288Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:32:47.288Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:32:47.288Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-18T14:32:47.288Z] | ^ [2024-09-18T14:32:47.548Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-18T14:32:47.548Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-18T14:32:47.548Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-18T14:32:47.806Z] [ 68%] Linking C shared library libcsdk.so [2024-09-18T14:32:47.806Z] [ 68%] Built target csdk [2024-09-18T14:32:47.806Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-18T14:32:47.806Z] /tmp/sdk/src/c/examples/template.c: In function 'main': [2024-09-18T14:32:47.806Z] /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:32:47.806Z] 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:32:47.806Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:32:47.806Z] | | [2024-09-18T14:32:47.806Z] | void (*)(void *) [2024-09-18T14:32:47.806Z] In file included from /tmp/sdk/src/c/examples/template.c:11: [2024-09-18T14:32:47.806Z] /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:32:47.806Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:32:47.806Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:32:47.806Z] [ 72%] Linking C executable template [2024-09-18T14:32:47.806Z] [ 72%] Built target template [2024-09-18T14:32:47.806Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-18T14:32:48.072Z] [ 76%] Linking C executable device-counter [2024-09-18T14:32:48.072Z] [ 76%] Built target device-counter [2024-09-18T14:32:48.072Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-18T14:32:48.072Z] [ 80%] Linking C executable device-random [2024-09-18T14:32:48.072Z] [ 80%] Built target device-random [2024-09-18T14:32:48.072Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-18T14:32:48.331Z] [ 84%] Linking C executable device-gyro [2024-09-18T14:32:48.331Z] [ 84%] Built target device-gyro [2024-09-18T14:32:48.331Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-18T14:32:48.331Z] [ 88%] Linking C executable device-bitfields [2024-09-18T14:32:48.331Z] [ 88%] Built target device-bitfields [2024-09-18T14:32:48.331Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-18T14:32:48.590Z] /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': [2024-09-18T14:32:48.590Z] /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:32:48.590Z] 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:32:48.590Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:32:48.590Z] | | [2024-09-18T14:32:48.590Z] | void (*)(void *) [2024-09-18T14:32:48.590Z] In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: [2024-09-18T14:32:48.590Z] /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:32:48.590Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:32:48.590Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:32:48.590Z] [ 92%] Linking C executable template-discovery [2024-09-18T14:32:48.590Z] [ 92%] Built target template-discovery [2024-09-18T14:32:48.590Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-18T14:32:48.590Z] [ 96%] Linking C executable device-file [2024-09-18T14:32:48.849Z] [ 96%] Built target device-file [2024-09-18T14:32:48.849Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-18T14:32:48.849Z] [100%] Linking C executable device-terminal [2024-09-18T14:32:48.849Z] [100%] Built target device-terminal [2024-09-18T14:32:48.849Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-18T14:32:48.849Z] [ 68%] Built target csdk [2024-09-18T14:32:48.849Z] [ 72%] Built target template [2024-09-18T14:32:49.112Z] [ 76%] Built target device-counter [2024-09-18T14:32:49.112Z] [ 80%] Built target device-random [2024-09-18T14:32:49.112Z] [ 84%] Built target device-gyro [2024-09-18T14:32:49.112Z] [ 88%] Built target device-bitfields [2024-09-18T14:32:49.112Z] [ 92%] Built target template-discovery [2024-09-18T14:32:49.112Z] [ 96%] Built target device-file [2024-09-18T14:32:49.112Z] [100%] Built target device-terminal [2024-09-18T14:32:49.112Z] Install the project... [2024-09-18T14:32:49.112Z] -- Install configuration: "Release" [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-18T14:32:49.112Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include/devsdk [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include/edgex [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-18T14:32:49.112Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-18T14:32:49.112Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-18T14:32:49.678Z] Removing intermediate container 99934f3c7d0d [2024-09-18T14:32:49.678Z] ---> 06e33182dc60 [2024-09-18T14:32:49.678Z] Step 14/22 : FROM ${BASE} [2024-09-18T14:32:49.678Z] ---> 6605166a5db4 [2024-09-18T14:32:49.678Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-18T14:32:49.678Z] ---> Running in 9c1adb77165c [2024-09-18T14:32:49.678Z] Removing intermediate container 9c1adb77165c [2024-09-18T14:32:49.678Z] ---> c2ffb72ae4d2 [2024-09-18T14:32:49.678Z] 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-18T14:32:49.936Z] ---> Running in 20535a06d497 [2024-09-18T14:32:50.194Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-18T14:32:50.453Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:32:50.453Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:32:50.453Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:32:51.021Z] Removing intermediate container 20535a06d497 [2024-09-18T14:32:51.021Z] ---> d6d1e44cb511 [2024-09-18T14:32:51.021Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:32:51.021Z] ---> Running in b2fb9a94035b [2024-09-18T14:32:51.283Z] Removing intermediate container b2fb9a94035b [2024-09-18T14:32:51.283Z] ---> 7d335b6cc709 [2024-09-18T14:32:51.283Z] 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-18T14:32:51.542Z] ---> Running in 85319f15ebba [2024-09-18T14:32:51.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:51.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:51.801Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:52.370Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:32:52.370Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-18T14:32:52.370Z] (2/10) Installing curl (8.9.1-r0) [2024-09-18T14:32:52.370Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-18T14:32:52.370Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-18T14:32:52.370Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-18T14:32:52.370Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-18T14:32:52.370Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-18T14:32:52.370Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-18T14:32:53.306Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-18T14:32:53.306Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-18T14:32:53.306Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:32:53.306Z] OK: 331 MiB in 90 packages [2024-09-18T14:32:53.565Z] Removing intermediate container 85319f15ebba [2024-09-18T14:32:53.565Z] ---> 6c48e161a67e [2024-09-18T14:32:53.565Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-18T14:32:53.822Z] ---> Running in 54c1925fde34 [2024-09-18T14:32:54.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:54.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:54.354Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:54.919Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:32:54.919Z] Upgrading critical system libraries and apk-tools: [2024-09-18T14:32:54.919Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-18T14:32:54.919Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:32:54.919Z] Continuing the upgrade transaction with new apk-tools: [2024-09-18T14:32:54.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:54.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:54.919Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:32:55.495Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:32:55.495Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:32:55.495Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-18T14:32:55.495Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:32:55.495Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-18T14:32:55.495Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:32:55.495Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:32:55.495Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:32:55.495Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-18T14:32:55.495Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-18T14:32:55.495Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-18T14:32:55.774Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:32:55.774Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-18T14:32:55.774Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:32:55.774Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:32:55.774Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:32:55.775Z] Executing busybox-1.36.1-r7.trigger [2024-09-18T14:32:55.775Z] Executing ca-certificates-20240226-r0.trigger [2024-09-18T14:32:55.775Z] OK: 331 MiB in 90 packages [2024-09-18T14:32:56.720Z] Removing intermediate container 54c1925fde34 [2024-09-18T14:32:56.720Z] ---> f1f9fc763c13 [2024-09-18T14:32:56.720Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-18T14:32:56.720Z] ---> acd47db2b2aa [2024-09-18T14:32:56.720Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-18T14:32:56.998Z] ---> 48e466058d3f [2024-09-18T14:32:56.999Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-18T14:32:56.999Z] ---> b500e33159ba [2024-09-18T14:32:56.999Z] Successfully built b500e33159ba [2024-09-18T14:32:56.999Z] 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-18T14:32:57.447Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-18T14:32:57.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:32:57.538Z] prd-ubuntu20.04-docker-8c-8g-10617 does not seem to be running inside a container [2024-09-18T14:32:57.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-18T14:32:57.912Z] $ docker top 10f0de16770bcc1b1e319905a8d60ceb71b8accac76d7816ec6d87b14e722927 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-18T14:32:58.275Z] + make test [2024-09-18T14:32:58.275Z] echo "make test" [2024-09-18T14:32:58.275Z] make test [Pipeline] } [2024-09-18T14:32:58.280Z] $ docker stop --time=1 10f0de16770bcc1b1e319905a8d60ceb71b8accac76d7816ec6d87b14e722927 [2024-09-18T14:32:59.986Z] $ docker rm -f --volumes 10f0de16770bcc1b1e319905a8d60ceb71b8accac76d7816ec6d87b14e722927 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-18T14:33:00.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-18T14:33:00.780Z] + ls -al . [2024-09-18T14:33:00.780Z] total 212 [2024-09-18T14:33:00.780Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 14:32 . [2024-09-18T14:33:00.780Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:31 .. [2024-09-18T14:33:00.780Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:32 .git [2024-09-18T14:33:00.780Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 14:32 .github [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 18 14:32 .gitignore [2024-09-18T14:33:00.780Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:32 .semver [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 18 14:32 Attribution.txt [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 18 14:32 CHANGELOG.md [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 18 14:32 Doxyfile [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 14:32 GOVERNANCE.md [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 18 14:32 Jenkinsfile [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 18 14:32 LICENSE [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 18 14:32 Makefile [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 18 14:32 OWNERS.md [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 18 14:32 README.IOT.md [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 18 14:32 README.md [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 18 14:32 README.v3.md [2024-09-18T14:33:00.780Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 14:32 VERSION [2024-09-18T14:33:00.780Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:32 docs [2024-09-18T14:33:00.780Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:32 include [2024-09-18T14:33:00.780Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:32 scripts [2024-09-18T14:33:00.780Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:32 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:33:01.094Z] + 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=b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 --label arch=amd64 --label version=0.0.0 . [2024-09-18T14:33:01.094Z] Sending build context to Docker daemon 5.194MB [2024-09-18T14:33:01.094Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-18T14:33:01.094Z] Step 2/18 : FROM ${BASE} [2024-09-18T14:33:01.094Z] ---> b500e33159ba [2024-09-18T14:33:01.094Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-18T14:33:01.094Z] ---> Running in 608985fabf5a [2024-09-18T14:33:01.094Z] Removing intermediate container 608985fabf5a [2024-09-18T14:33:01.094Z] ---> 8caae583e8ee [2024-09-18T14:33:01.094Z] 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-18T14:33:01.094Z] ---> Running in bf278894dcef [2024-09-18T14:33:01.353Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-18T14:33:01.920Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:33:01.920Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:33:01.920Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:33:02.180Z] Removing intermediate container bf278894dcef [2024-09-18T14:33:02.180Z] ---> dfaf91f6bf16 [2024-09-18T14:33:02.180Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:33:02.180Z] ---> Running in 53b9b0e8d442 [2024-09-18T14:33:02.748Z] Removing intermediate container 53b9b0e8d442 [2024-09-18T14:33:02.748Z] ---> 8225d28676c3 [2024-09-18T14:33:02.748Z] 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-18T14:33:02.748Z] ---> Running in c65c58d049e2 [2024-09-18T14:33:03.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:33:03.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:33:04.113Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:33:06.530Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:33:06.530Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-18T14:33:09.970Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-18T14:33:09.970Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-18T14:33:10.229Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-18T14:33:10.229Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-18T14:33:10.229Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-18T14:33:10.229Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-18T14:33:10.229Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-18T14:33:10.229Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-18T14:33:10.229Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-18T14:33:10.229Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-18T14:33:10.229Z] Executing busybox-1.36.1-r7.trigger [2024-09-18T14:33:10.229Z] OK: 337 MiB in 101 packages [2024-09-18T14:33:12.237Z] Removing intermediate container c65c58d049e2 [2024-09-18T14:33:12.237Z] ---> 19d0873f7bd0 [2024-09-18T14:33:12.237Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-18T14:33:12.237Z] ---> Running in 175fabdfa78d [2024-09-18T14:33:12.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:33:12.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-18T14:33:12.756Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-18T14:33:13.324Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:33:13.324Z] OK: 337 MiB in 101 packages [2024-09-18T14:33:13.583Z] Removing intermediate container 175fabdfa78d [2024-09-18T14:33:13.583Z] ---> 231314c7dcdc [2024-09-18T14:33:13.583Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-18T14:33:13.583Z] ---> 574b0d0476a0 [2024-09-18T14:33:13.583Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-18T14:33:13.842Z] ---> 7be592c91cb7 [2024-09-18T14:33:13.842Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-18T14:33:14.101Z] ---> 42024821cbd6 [2024-09-18T14:33:14.101Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-18T14:33:14.101Z] ---> 397d034e468a [2024-09-18T14:33:14.101Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-18T14:33:14.369Z] ---> eebcc2ceeae8 [2024-09-18T14:33:14.369Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-18T14:33:14.369Z] ---> 68817370f185 [2024-09-18T14:33:14.369Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-18T14:33:14.369Z] ---> Running in 44dee9c7c0ba [2024-09-18T14:33:14.627Z] Removing intermediate container 44dee9c7c0ba [2024-09-18T14:33:14.627Z] ---> e817e5e76d76 [2024-09-18T14:33:14.627Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-18T14:33:14.627Z] ---> Running in b17902dcf99c [2024-09-18T14:33:14.627Z] Removing intermediate container b17902dcf99c [2024-09-18T14:33:14.627Z] ---> 92778cbe63ca [2024-09-18T14:33:14.627Z] Step 16/18 : LABEL arch=amd64 [2024-09-18T14:33:14.627Z] ---> Running in 0eecf2bcdd22 [2024-09-18T14:33:14.887Z] Removing intermediate container 0eecf2bcdd22 [2024-09-18T14:33:14.887Z] ---> 157749fccb1d [2024-09-18T14:33:14.887Z] Step 17/18 : LABEL git_sha=b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [2024-09-18T14:33:14.888Z] ---> Running in 2c814b2bef5a [2024-09-18T14:33:14.888Z] Removing intermediate container 2c814b2bef5a [2024-09-18T14:33:14.888Z] ---> 55fcea1e8ab3 [2024-09-18T14:33:14.888Z] Step 18/18 : LABEL version=0.0.0 [2024-09-18T14:33:14.888Z] ---> Running in 8f3200742fd1 [2024-09-18T14:33:14.888Z] Removing intermediate container 8f3200742fd1 [2024-09-18T14:33:14.888Z] ---> 11cce7f310af [2024-09-18T14:33:14.888Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-18T14:33:14.888Z] Successfully built 11cce7f310af [2024-09-18T14:33:14.888Z] 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-18T14:33:15.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:33:15.379Z] [2024-09-18T14:33:15.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:33:15.688Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:33:15.688Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-18T14:33:15.688Z] 5eb5b503b376: Pulling fs layer [2024-09-18T14:33:15.688Z] 5c69ac0246d0: Pulling fs layer [2024-09-18T14:33:15.688Z] ec43610c2a17: Pulling fs layer [2024-09-18T14:33:15.688Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-18T14:33:15.688Z] 33b1e0a273af: Pulling fs layer [2024-09-18T14:33:15.688Z] 5d3b04190fa2: Pulling fs layer [2024-09-18T14:33:15.688Z] 2f39f015ded8: Pulling fs layer [2024-09-18T14:33:15.688Z] 3a2ae6a8a46f: Waiting [2024-09-18T14:33:15.688Z] 33b1e0a273af: Waiting [2024-09-18T14:33:15.688Z] 5d3b04190fa2: Waiting [2024-09-18T14:33:15.688Z] 2f39f015ded8: Waiting [2024-09-18T14:33:15.688Z] 5c69ac0246d0: Verifying Checksum [2024-09-18T14:33:15.688Z] 5c69ac0246d0: Download complete [2024-09-18T14:33:15.688Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-18T14:33:15.688Z] 3a2ae6a8a46f: Download complete [2024-09-18T14:33:15.947Z] 33b1e0a273af: Verifying Checksum [2024-09-18T14:33:15.947Z] 33b1e0a273af: Download complete [2024-09-18T14:33:15.947Z] 5d3b04190fa2: Verifying Checksum [2024-09-18T14:33:15.947Z] 5d3b04190fa2: Download complete [2024-09-18T14:33:15.947Z] ec43610c2a17: Verifying Checksum [2024-09-18T14:33:15.947Z] ec43610c2a17: Download complete [2024-09-18T14:33:15.947Z] 5eb5b503b376: Verifying Checksum [2024-09-18T14:33:15.947Z] 5eb5b503b376: Download complete [2024-09-18T14:33:16.514Z] 2f39f015ded8: Download complete [2024-09-18T14:33:17.083Z] 5eb5b503b376: Pull complete [2024-09-18T14:33:17.341Z] 5c69ac0246d0: Pull complete [2024-09-18T14:33:17.599Z] ec43610c2a17: Pull complete [2024-09-18T14:33:17.599Z] 3a2ae6a8a46f: Pull complete [2024-09-18T14:33:17.857Z] 33b1e0a273af: Pull complete [2024-09-18T14:33:18.116Z] 5d3b04190fa2: Pull complete [2024-09-18T14:33:22.436Z] 2f39f015ded8: Pull complete [2024-09-18T14:33:22.436Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-18T14:33:22.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:33:22.436Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:33:22.541Z] prd-ubuntu20.04-docker-8c-8g-10617 does not seem to be running inside a container [2024-09-18T14:33:22.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-18T14:33:26.418Z] $ docker top 9cf0b56c2f38e41a07ab35e1aeddebcc9d3a3c20001bceeb00c1420e7958997b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:33:26.796Z] ---> job-cost.sh [2024-09-18T14:33:26.796Z] lf-activate-venv: SKIPPING [2024-09-18T14:33:26.796Z] INFO: No Stack... [2024-09-18T14:33:27.055Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-18T14:33:27.315Z] INFO: Archiving Costs [Pipeline] sh [2024-09-18T14:33:27.619Z] + cut -d, -f6 [2024-09-18T14:33:27.619Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv [Pipeline] lock [2024-09-18T14:33:27.670Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] [2024-09-18T14:33:27.737Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] did not exist. Created. [2024-09-18T14:33:27.748Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-18T14:33:28.096Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-18T14:33:28.140Z] Stashed 1 file(s) [Pipeline] } [2024-09-18T14:33:28.148Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-18T14:33:28.176Z] $ docker stop --time=1 9cf0b56c2f38e41a07ab35e1aeddebcc9d3a3c20001bceeb00c1420e7958997b [2024-09-18T14:33:29.414Z] $ docker rm -f --volumes 9cf0b56c2f38e41a07ab35e1aeddebcc9d3a3c20001bceeb00c1420e7958997b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-18T14:34:14.780Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10618 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws [2024-09-18T14:34:14.799Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2024-09-18T14:34:17.864Z] Selected Git installation does not exist. Using Default [2024-09-18T14:34:17.864Z] The recommended git tool is: NONE [2024-09-18T14:34:26.039Z] using credential edgex-jenkins-ssh [2024-09-18T14:34:26.065Z] Cloning the remote Git repository [2024-09-18T14:34:26.107Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-18T14:34:26.213Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2024-09-18T14:34:26.430Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-18T14:34:26.431Z] > git --version # timeout=10 [2024-09-18T14:34:26.467Z] > git --version # 'git version 2.25.1' [2024-09-18T14:34:26.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-18T14:34:26.789Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-18T14:34:28.041Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-18T14:34:28.094Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-18T14:34:29.490Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-18T14:34:29.621Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-18T14:34:29.622Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-18T14:34:29.655Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/513/head:refs/remotes/origin/PR-513 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-18T14:34:30.281Z] Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [2024-09-18T14:34:30.729Z] Merge succeeded, producing b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [2024-09-18T14:34:30.729Z] Checking out Revision b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 (PR-513) [2024-09-18T14:34:30.306Z] > git config core.sparsecheckout # timeout=10 [2024-09-18T14:34:30.395Z] > git checkout -f b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 # timeout=10 [2024-09-18T14:34:30.559Z] > git remote # timeout=10 [2024-09-18T14:34:30.587Z] > git config --get remote.origin.url # timeout=10 [2024-09-18T14:34:30.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-18T14:34:30.651Z] > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 [2024-09-18T14:34:30.700Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-18T14:34:30.736Z] > git config core.sparsecheckout # timeout=10 [2024-09-18T14:34:30.759Z] > git checkout -f b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 # timeout=10 [2024-09-18T14:34:34.457Z] Commit message: "feat: Update function comment" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-18T14:34:36.114Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-18T14:34:36.114Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-18T14:34:36.114Z] Dload Upload Total Spent Left Speed [2024-09-18T14:34:36.114Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 60509 0 --:--:-- --:--:-- --:--:-- 60509 [Pipeline] sh [2024-09-18T14:34:36.461Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-18T14:34:36.807Z] + + sudo tee /etc/docker/daemon.new [2024-09-18T14:34:36.807Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-18T14:34:36.807Z] { [2024-09-18T14:34:36.807Z] "registry-mirrors": [ [2024-09-18T14:34:36.807Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-18T14:34:36.807Z] ], [2024-09-18T14:34:36.807Z] "bip": "10.250.0.254/24", [2024-09-18T14:34:36.807Z] "hosts": [ [2024-09-18T14:34:36.807Z] "tcp://0.0.0.0:5555", [2024-09-18T14:34:36.807Z] "unix:///var/run/docker.sock" [2024-09-18T14:34:36.807Z] ], [2024-09-18T14:34:36.807Z] "mtu": 1458, [2024-09-18T14:34:36.807Z] "selinux-enabled": true, [2024-09-18T14:34:36.807Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-18T14:34:36.807Z] } [Pipeline] sh [2024-09-18T14:34:37.126Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-18T14:34:37.485Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-18T14:34:55.793Z] provisioning config files... [2024-09-18T14:34:55.818Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config965312058766386897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:34:56.256Z] ---> ****-login.sh [2024-09-18T14:34:56.257Z] nexus3.edgexfoundry.org:10001 [2024-09-18T14:34:56.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:34:56.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:34:56.799Z] Configure a credential helper to remove this warning. See [2024-09-18T14:34:56.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:34:56.799Z] [2024-09-18T14:34:56.799Z] Login Succeeded [2024-09-18T14:34:56.799Z] nexus3.edgexfoundry.org:10002 [2024-09-18T14:34:57.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:34:57.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:34:57.339Z] Configure a credential helper to remove this warning. See [2024-09-18T14:34:57.340Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:34:57.340Z] [2024-09-18T14:34:57.340Z] Login Succeeded [2024-09-18T14:34:57.340Z] nexus3.edgexfoundry.org:10003 [2024-09-18T14:34:57.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:34:57.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:34:57.613Z] Configure a credential helper to remove this warning. See [2024-09-18T14:34:57.613Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:34:57.613Z] [2024-09-18T14:34:57.613Z] Login Succeeded [2024-09-18T14:34:57.613Z] nexus3.edgexfoundry.org:10004 [2024-09-18T14:34:57.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:34:57.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:34:57.882Z] Configure a credential helper to remove this warning. See [2024-09-18T14:34:57.882Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:34:57.882Z] [2024-09-18T14:34:57.882Z] Login Succeeded [2024-09-18T14:34:58.154Z] ****.io [2024-09-18T14:34:58.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-18T14:34:58.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-18T14:34:58.425Z] Configure a credential helper to remove this warning. See [2024-09-18T14:34:58.425Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-18T14:34:58.425Z] [2024-09-18T14:34:58.425Z] Login Succeeded [2024-09-18T14:34:58.425Z] ---> ****-login.sh ends [Pipeline] } [2024-09-18T14:34:58.438Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-18T14:34:58.713Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-18T14:34:58.734Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-18T14:34:58.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-18T14:34:58.770Z] ========================================================= [2024-09-18T14:34:58.770Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-18T14:34:58.770Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:34:59.138Z] + 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-18T14:34:59.407Z] Sending build context to Docker daemon 3.168MB [2024-09-18T14:34:59.677Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-18T14:34:59.677Z] Step 2/22 : FROM ${BASE} as builder [2024-09-18T14:34:59.677Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-18T14:34:59.677Z] 579b34f0a95b: Pulling fs layer [2024-09-18T14:34:59.677Z] e71477ac5e1b: Pulling fs layer [2024-09-18T14:34:59.951Z] 579b34f0a95b: Verifying Checksum [2024-09-18T14:34:59.951Z] 579b34f0a95b: Download complete [2024-09-18T14:35:00.544Z] 579b34f0a95b: Pull complete [2024-09-18T14:35:02.376Z] e71477ac5e1b: Download complete [2024-09-18T14:35:14.722Z] e71477ac5e1b: Pull complete [2024-09-18T14:35:14.722Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-18T14:35:14.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-18T14:35:14.722Z] ---> 2b552cad5dd9 [2024-09-18T14:35:14.722Z] 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-18T14:35:14.722Z] ---> Running in 1e8579a24184 [2024-09-18T14:35:15.683Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-18T14:35:16.272Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:35:16.272Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:35:16.272Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:35:16.860Z] Removing intermediate container 1e8579a24184 [2024-09-18T14:35:16.860Z] ---> e34073a0dd6f [2024-09-18T14:35:16.860Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:35:16.860Z] ---> Running in 6330279df8aa [2024-09-18T14:35:18.810Z] Removing intermediate container 6330279df8aa [2024-09-18T14:35:18.810Z] ---> 657371adc635 [2024-09-18T14:35:18.810Z] 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-18T14:35:18.810Z] ---> Running in 672b2188f0d2 [2024-09-18T14:35:19.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:35:20.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:35:20.633Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:35:21.604Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:35:21.604Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-18T14:35:21.604Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-18T14:35:21.604Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-18T14:35:21.604Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-18T14:35:22.567Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-18T14:35:22.567Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-18T14:35:22.835Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-18T14:35:22.835Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-18T14:35:22.835Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-18T14:35:22.835Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-18T14:35:22.835Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-18T14:35:22.835Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-18T14:35:22.835Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-18T14:35:22.835Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-18T14:35:22.835Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-18T14:35:22.835Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-18T14:35:22.835Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-18T14:35:22.835Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:35:23.103Z] OK: 333 MiB in 99 packages [2024-09-18T14:35:24.526Z] Removing intermediate container 672b2188f0d2 [2024-09-18T14:35:24.526Z] ---> de1166dcf7d3 [2024-09-18T14:35:24.526Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-18T14:35:24.526Z] ---> Running in cc67f9a7377c [2024-09-18T14:35:25.951Z] Removing intermediate container cc67f9a7377c [2024-09-18T14:35:25.951Z] ---> 1a2780c340cc [2024-09-18T14:35:25.951Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-18T14:35:26.541Z] ---> fe65178524bc [2024-09-18T14:35:26.541Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-18T14:35:27.133Z] ---> e8d74d2c243d [2024-09-18T14:35:27.133Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-18T14:35:27.724Z] ---> c38ecb19627f [2024-09-18T14:35:27.724Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-18T14:35:28.314Z] ---> 12d9100b76fb [2024-09-18T14:35:28.314Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-18T14:35:28.582Z] ---> d1f2b245e94b [2024-09-18T14:35:28.583Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-18T14:35:29.171Z] ---> 38e5dd286098 [2024-09-18T14:35:29.171Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-18T14:35:29.171Z] ---> Running in dfadd3974505 [2024-09-18T14:35:30.133Z] + CPPCHECK=false [2024-09-18T14:35:30.133Z] + DOCGEN=false [2024-09-18T14:35:30.133Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-18T14:35:30.133Z] + '[' 0 -gt 0 ] [2024-09-18T14:35:30.133Z] + readlink -f ./scripts/build.sh [2024-09-18T14:35:30.133Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-18T14:35:30.133Z] + dirname /tmp/sdk/scripts [2024-09-18T14:35:30.133Z] + ROOT=/tmp/sdk [2024-09-18T14:35:30.133Z] + cd /tmp/sdk [2024-09-18T14:35:30.133Z] + mkdir -p /tmp/sdk/build/release [2024-09-18T14:35:30.133Z] + cd /tmp/sdk/build/release [2024-09-18T14:35:30.133Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-18T14:35:30.403Z] -- The C compiler identification is GNU 12.2.1 [2024-09-18T14:35:30.403Z] -- Detecting C compiler ABI info [2024-09-18T14:35:30.988Z] -- Detecting C compiler ABI info - done [2024-09-18T14:35:30.989Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-18T14:35:30.989Z] -- Detecting C compile features [2024-09-18T14:35:30.989Z] -- Detecting C compile features - done [2024-09-18T14:35:30.989Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-18T14:35:31.263Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-18T14:35:31.263Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-18T14:35:31.263Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-18T14:35:31.263Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-18T14:35:31.263Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-18T14:35:31.263Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-18T14:35:31.263Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-18T14:35:31.263Z] -- /opt/iotech/iot/1.5/include [2024-09-18T14:35:31.263Z] -- C SDK 0.0.0 for Linux [2024-09-18T14:35:31.263Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-18T14:35:31.864Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-18T14:35:31.864Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-18T14:35:32.131Z] -- Configuring done (1.9s) [2024-09-18T14:35:32.399Z] -- Generating done (0.2s) [2024-09-18T14:35:32.399Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-18T14:35:32.399Z] + + tee release.log [2024-09-18T14:35:32.399Z] make all package [2024-09-18T14:35:32.666Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-18T14:35:33.247Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-18T14:35:34.202Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-18T14:35:34.788Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-18T14:35:35.746Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-18T14:35:36.330Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-18T14:35:38.277Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-18T14:35:39.249Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-18T14:35:39.249Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:35:39.249Z] 294 | while (privateConfig) [2024-09-18T14:35:39.249Z] | ^~~~~~~~~~~~~ [2024-09-18T14:35:39.249Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-18T14:35:39.249Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-18T14:35:39.249Z] | ^~~~~~~~~~~~~ [2024-09-18T14:35:39.249Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:35:39.249Z] 271 | while (result) [2024-09-18T14:35:39.249Z] | ^~~~~~ [2024-09-18T14:35:39.249Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-18T14:35:39.249Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-18T14:35:39.249Z] | ^~~~~~ [2024-09-18T14:35:39.529Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-18T14:35:39.795Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-18T14:35:40.752Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-18T14:35:42.687Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-18T14:35:42.953Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-18T14:35:43.909Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-18T14:35:44.492Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-18T14:35:45.072Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-18T14:35:46.031Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-18T14:35:46.615Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-18T14:35:48.688Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-18T14:35:48.960Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-18T14:35:49.557Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-18T14:35:50.979Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-18T14:35:57.671Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-18T14:35:58.271Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-18T14:35:58.541Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-18T14:35:59.125Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-18T14:35:59.392Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-18T14:36:01.336Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-18T14:36:03.282Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-18T14:36:03.549Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-18T14:36:04.508Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-18T14:36:05.092Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-18T14:36:05.359Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-18T14:36:05.359Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:36:05.359Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-18T14:36:05.359Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:36:05.359Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:36:05.359Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-18T14:36:05.359Z] | ^ [2024-09-18T14:36:06.766Z] /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-18T14:36:06.766Z] 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-18T14:36:06.766Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:36:06.766Z] /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here [2024-09-18T14:36:06.766Z] 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-18T14:36:06.766Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:36:07.731Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-18T14:36:08.693Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-18T14:36:08.960Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-18T14:36:09.544Z] [ 68%] Linking C shared library libcsdk.so [2024-09-18T14:36:09.812Z] [ 68%] Built target csdk [2024-09-18T14:36:09.812Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-18T14:36:09.812Z] /tmp/sdk/src/c/examples/template.c: In function 'main': [2024-09-18T14:36:09.812Z] /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:36:09.812Z] 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:36:09.812Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:36:09.812Z] | | [2024-09-18T14:36:09.812Z] | void (*)(void *) [2024-09-18T14:36:09.812Z] In file included from /tmp/sdk/src/c/examples/template.c:11: [2024-09-18T14:36:09.812Z] /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:36:09.812Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:36:09.812Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:36:10.775Z] [ 72%] Linking C executable template [2024-09-18T14:36:10.775Z] [ 72%] Built target template [2024-09-18T14:36:11.043Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-18T14:36:11.630Z] [ 76%] Linking C executable device-counter [2024-09-18T14:36:11.897Z] [ 76%] Built target device-counter [2024-09-18T14:36:11.897Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-18T14:36:12.480Z] [ 80%] Linking C executable device-random [2024-09-18T14:36:12.748Z] [ 80%] Built target device-random [2024-09-18T14:36:13.016Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-18T14:36:13.285Z] [ 84%] Linking C executable device-gyro [2024-09-18T14:36:13.874Z] [ 84%] Built target device-gyro [2024-09-18T14:36:13.874Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-18T14:36:14.461Z] [ 88%] Linking C executable device-bitfields [2024-09-18T14:36:14.729Z] [ 88%] Built target device-bitfields [2024-09-18T14:36:14.729Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-18T14:36:15.003Z] /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': [2024-09-18T14:36:15.004Z] /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:36:15.004Z] 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:36:15.004Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:36:15.004Z] | | [2024-09-18T14:36:15.004Z] | void (*)(void *) [2024-09-18T14:36:15.004Z] In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: [2024-09-18T14:36:15.004Z] /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:36:15.004Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:36:15.004Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:36:15.590Z] [ 92%] Linking C executable template-discovery [2024-09-18T14:36:15.863Z] [ 92%] Built target template-discovery [2024-09-18T14:36:16.131Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-18T14:36:16.720Z] [ 96%] Linking C executable device-file [2024-09-18T14:36:16.987Z] [ 96%] Built target device-file [2024-09-18T14:36:16.987Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-18T14:36:17.582Z] [100%] Linking C executable device-terminal [2024-09-18T14:36:18.166Z] [100%] Built target device-terminal [2024-09-18T14:36:18.166Z] Run CPack packaging tool... [2024-09-18T14:36:18.166Z] CPack: Create package using TGZ [2024-09-18T14:36:18.166Z] CPack: Install projects [2024-09-18T14:36:18.166Z] CPack: - Run preinstall target for: Csdk [2024-09-18T14:36:19.128Z] CPack: - Install project: Csdk [] [2024-09-18T14:36:19.128Z] CPack: Create package [2024-09-18T14:36:19.128Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-18T14:36:19.128Z] + '[' false '=' true ] [2024-09-18T14:36:19.128Z] + '[' false '=' true ] [2024-09-18T14:36:19.128Z] + mkdir -p /tmp/sdk/build/debug [2024-09-18T14:36:19.128Z] + cd /tmp/sdk/build/debug [2024-09-18T14:36:19.128Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-18T14:36:19.396Z] -- The C compiler identification is GNU 12.2.1 [2024-09-18T14:36:19.396Z] -- Detecting C compiler ABI info [2024-09-18T14:36:19.984Z] -- Detecting C compiler ABI info - done [2024-09-18T14:36:19.984Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-18T14:36:19.984Z] -- Detecting C compile features [2024-09-18T14:36:19.984Z] -- Detecting C compile features - done [2024-09-18T14:36:19.984Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-18T14:36:20.252Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-18T14:36:20.252Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-18T14:36:20.252Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-18T14:36:20.252Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-18T14:36:20.252Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-18T14:36:20.252Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-18T14:36:20.252Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-18T14:36:20.252Z] -- /opt/iotech/iot/1.5/include [2024-09-18T14:36:20.252Z] -- C SDK 0.0.0 for Linux [2024-09-18T14:36:20.252Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-18T14:36:20.525Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-18T14:36:20.791Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-18T14:36:20.791Z] -- Configuring done (1.7s) [2024-09-18T14:36:21.081Z] -- Generating done (0.2s) [2024-09-18T14:36:21.081Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-18T14:36:21.081Z] + make [2024-09-18T14:36:21.081Z] + tee debug.log [2024-09-18T14:36:21.350Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-18T14:36:21.618Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-18T14:36:22.202Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-18T14:36:22.486Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-18T14:36:22.755Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-18T14:36:23.351Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-18T14:36:23.941Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-18T14:36:24.209Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-18T14:36:24.478Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-18T14:36:24.745Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-18T14:36:25.714Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-18T14:36:25.714Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-18T14:36:26.299Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-18T14:36:26.579Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-18T14:36:26.852Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-18T14:36:27.436Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-18T14:36:27.707Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-18T14:36:28.292Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-18T14:36:28.559Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-18T14:36:28.827Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-18T14:36:29.424Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-18T14:36:30.843Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-18T14:36:30.843Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-18T14:36:31.112Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-18T14:36:31.382Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-18T14:36:31.653Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-18T14:36:32.252Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-18T14:36:33.684Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-18T14:36:33.957Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-18T14:36:34.229Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-18T14:36:34.499Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-18T14:36:34.772Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-18T14:36:34.772Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:36:34.772Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-18T14:36:34.772Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-18T14:36:34.772Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-18T14:36:34.772Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-18T14:36:34.772Z] | ^ [2024-09-18T14:36:35.360Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-18T14:36:35.949Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-18T14:36:35.949Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-18T14:36:36.539Z] [ 68%] Linking C shared library libcsdk.so [2024-09-18T14:36:36.539Z] [ 68%] Built target csdk [2024-09-18T14:36:36.811Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-18T14:36:36.811Z] /tmp/sdk/src/c/examples/template.c: In function 'main': [2024-09-18T14:36:36.811Z] /tmp/sdk/src/c/examples/template.c:265:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:36:36.811Z] 265 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:36:36.811Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:36:36.811Z] | | [2024-09-18T14:36:36.811Z] | void (*)(void *) [2024-09-18T14:36:36.811Z] In file included from /tmp/sdk/src/c/examples/template.c:11: [2024-09-18T14:36:36.811Z] /tmp/sdk/src/c/examples/../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:36:36.811Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:36:36.811Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:36:37.080Z] [ 72%] Linking C executable template [2024-09-18T14:36:37.669Z] [ 72%] Built target template [2024-09-18T14:36:37.669Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-18T14:36:37.939Z] [ 76%] Linking C executable device-counter [2024-09-18T14:36:38.209Z] [ 76%] Built target device-counter [2024-09-18T14:36:38.209Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-18T14:36:38.802Z] [ 80%] Linking C executable device-random [2024-09-18T14:36:38.802Z] [ 80%] Built target device-random [2024-09-18T14:36:39.078Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-18T14:36:39.346Z] [ 84%] Linking C executable device-gyro [2024-09-18T14:36:39.617Z] [ 84%] Built target device-gyro [2024-09-18T14:36:39.617Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-18T14:36:39.887Z] [ 88%] Linking C executable device-bitfields [2024-09-18T14:36:40.159Z] [ 88%] Built target device-bitfields [2024-09-18T14:36:40.430Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-18T14:36:40.430Z] /tmp/sdk/src/c/examples/discovery/template.c: In function 'main': [2024-09-18T14:36:40.430Z] /tmp/sdk/src/c/examples/discovery/template.c:289:50: warning: passing argument 2 of 'devsdk_callbacks_set_discovery' from incompatible pointer type [-Wincompatible-pointer-types] [2024-09-18T14:36:40.430Z] 289 | devsdk_callbacks_set_discovery (templateImpls, template_discover, NULL); [2024-09-18T14:36:40.430Z] | ^~~~~~~~~~~~~~~~~ [2024-09-18T14:36:40.430Z] | | [2024-09-18T14:36:40.430Z] | void (*)(void *) [2024-09-18T14:36:40.430Z] In file included from /tmp/sdk/src/c/examples/discovery/template.c:11: [2024-09-18T14:36:40.430Z] /tmp/sdk/src/c/examples/discovery/../../../../include/devsdk/devsdk.h:257:76: note: expected 'devsdk_discover' {aka 'void (*)(void *, const char *)'} but argument is of type 'void (*)(void *)' [2024-09-18T14:36:40.430Z] 257 | void devsdk_callbacks_set_discovery (devsdk_callbacks *cb, devsdk_discover discover, devsdk_describe describe); [2024-09-18T14:36:40.430Z] | ~~~~~~~~~~~~~~~~^~~~~~~~ [2024-09-18T14:36:40.700Z] [ 92%] Linking C executable template-discovery [2024-09-18T14:36:40.978Z] [ 92%] Built target template-discovery [2024-09-18T14:36:40.978Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-18T14:36:41.567Z] [ 96%] Linking C executable device-file [2024-09-18T14:36:41.838Z] [ 96%] Built target device-file [2024-09-18T14:36:41.838Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-18T14:36:42.425Z] [100%] Linking C executable device-terminal [2024-09-18T14:36:42.695Z] [100%] Built target device-terminal [2024-09-18T14:36:42.695Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-18T14:36:42.964Z] [ 68%] Built target csdk [2024-09-18T14:36:42.964Z] [ 72%] Built target template [2024-09-18T14:36:42.964Z] [ 76%] Built target device-counter [2024-09-18T14:36:42.964Z] [ 80%] Built target device-random [2024-09-18T14:36:43.233Z] [ 84%] Built target device-gyro [2024-09-18T14:36:43.233Z] [ 88%] Built target device-bitfields [2024-09-18T14:36:43.233Z] [ 92%] Built target template-discovery [2024-09-18T14:36:43.233Z] [ 96%] Built target device-file [2024-09-18T14:36:43.504Z] [100%] Built target device-terminal [2024-09-18T14:36:43.504Z] Install the project... [2024-09-18T14:36:43.504Z] -- Install configuration: "Release" [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-18T14:36:43.504Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include/devsdk [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include/edgex [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-18T14:36:43.504Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-18T14:36:43.504Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-18T14:36:44.934Z] Removing intermediate container dfadd3974505 [2024-09-18T14:36:44.934Z] ---> 7392903ef4f5 [2024-09-18T14:36:44.934Z] Step 14/22 : FROM ${BASE} [2024-09-18T14:36:44.934Z] ---> 2b552cad5dd9 [2024-09-18T14:36:44.934Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-18T14:36:44.934Z] ---> Running in fab469267025 [2024-09-18T14:36:45.208Z] Removing intermediate container fab469267025 [2024-09-18T14:36:45.208Z] ---> 5c1b973e48d9 [2024-09-18T14:36:45.208Z] 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-18T14:36:45.208Z] ---> Running in 959e8ec08e18 [2024-09-18T14:36:46.635Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-18T14:36:46.905Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:36:46.905Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:36:46.905Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:36:47.498Z] Removing intermediate container 959e8ec08e18 [2024-09-18T14:36:47.498Z] ---> 3b716594db32 [2024-09-18T14:36:47.498Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:36:47.498Z] ---> Running in e2c15afc9f12 [2024-09-18T14:36:49.459Z] Removing intermediate container e2c15afc9f12 [2024-09-18T14:36:49.459Z] ---> e82ab7c92e51 [2024-09-18T14:36:49.459Z] 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-18T14:36:49.459Z] ---> Running in 86a1f047dd45 [2024-09-18T14:36:50.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:36:50.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:36:51.225Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:36:52.189Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:36:52.189Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-18T14:36:52.189Z] (2/10) Installing curl (8.9.1-r0) [2024-09-18T14:36:52.189Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-18T14:36:52.189Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-18T14:36:52.189Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-18T14:36:52.189Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-18T14:36:52.189Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-18T14:36:52.189Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-18T14:36:53.156Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-18T14:36:53.430Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-18T14:36:53.430Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:36:53.430Z] OK: 328 MiB in 90 packages [2024-09-18T14:36:54.853Z] Removing intermediate container 86a1f047dd45 [2024-09-18T14:36:54.853Z] ---> 62a2348d39ab [2024-09-18T14:36:54.853Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-18T14:36:54.853Z] ---> Running in 7b05d583bec0 [2024-09-18T14:36:55.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:36:55.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:36:56.412Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:36:57.382Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:36:57.382Z] Upgrading critical system libraries and apk-tools: [2024-09-18T14:36:57.382Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-18T14:36:57.382Z] Executing busybox-1.36.1-r4.trigger [2024-09-18T14:36:57.651Z] Continuing the upgrade transaction with new apk-tools: [2024-09-18T14:36:57.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:36:57.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:36:58.503Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:36:59.465Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:36:59.465Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:36:59.465Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-18T14:36:59.465Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:36:59.465Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-18T14:36:59.465Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:36:59.465Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:36:59.465Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-18T14:36:59.465Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-18T14:36:59.465Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-18T14:36:59.465Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-18T14:36:59.743Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-18T14:36:59.743Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-18T14:37:00.011Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:37:00.011Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:37:00.011Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-18T14:37:00.011Z] Executing busybox-1.36.1-r7.trigger [2024-09-18T14:37:00.011Z] Executing ca-certificates-20240226-r0.trigger [2024-09-18T14:37:00.282Z] OK: 328 MiB in 90 packages [2024-09-18T14:37:02.233Z] Removing intermediate container 7b05d583bec0 [2024-09-18T14:37:02.233Z] ---> 1a89fe624aa5 [2024-09-18T14:37:02.233Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-18T14:37:02.504Z] ---> 78c9c5a8d425 [2024-09-18T14:37:02.504Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-18T14:37:03.093Z] ---> b049def38401 [2024-09-18T14:37:03.093Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-18T14:37:03.361Z] ---> 0b19610a1ecd [2024-09-18T14:37:03.629Z] Successfully built 0b19610a1ecd [2024-09-18T14:37:03.629Z] 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-18T14:37:04.096Z] + docker inspect -f . ci-base-image-arm64 [2024-09-18T14:37:04.096Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:37:04.278Z] prd-ubuntu20.04-docker-arm64-4c-16g-10618 does not seem to be running inside a container [2024-09-18T14:37:04.354Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-18T14:37:05.488Z] $ docker top a243a75c9a06879c3f2991c3c58ffa40a684b3fbd1c9802ee82fe1a2ad789e44 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-18T14:37:06.302Z] + make test [2024-09-18T14:37:06.302Z] echo "make test" [2024-09-18T14:37:06.302Z] make test [Pipeline] } [2024-09-18T14:37:06.320Z] $ docker stop --time=1 a243a75c9a06879c3f2991c3c58ffa40a684b3fbd1c9802ee82fe1a2ad789e44 [2024-09-18T14:37:07.898Z] $ docker rm -f --volumes a243a75c9a06879c3f2991c3c58ffa40a684b3fbd1c9802ee82fe1a2ad789e44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-18T14:37:08.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-18T14:37:08.860Z] + ls -al . [2024-09-18T14:37:08.860Z] total 208 [2024-09-18T14:37:08.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:34 . [2024-09-18T14:37:08.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:34 .. [2024-09-18T14:37:08.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 14:34 .git [2024-09-18T14:37:08.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 14:34 .github [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 18 14:34 .gitignore [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 18 14:34 Attribution.txt [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 18 14:34 CHANGELOG.md [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 18 14:34 Doxyfile [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 14:34 GOVERNANCE.md [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 18 14:34 Jenkinsfile [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 18 14:34 LICENSE [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 18 14:34 Makefile [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 18 14:34 OWNERS.md [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 18 14:34 README.IOT.md [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 18 14:34 README.md [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 18 14:34 README.v3.md [2024-09-18T14:37:08.860Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 18 14:32 VERSION [2024-09-18T14:37:08.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:34 docs [2024-09-18T14:37:08.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:34 include [2024-09-18T14:37:08.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 14:34 scripts [2024-09-18T14:37:08.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 14:34 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:37:09.216Z] + 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=b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 --label arch=arm64 --label version=0.0.0 . [2024-09-18T14:37:09.484Z] Sending build context to Docker daemon 3.168MB [2024-09-18T14:37:09.484Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-18T14:37:09.484Z] Step 2/18 : FROM ${BASE} [2024-09-18T14:37:09.484Z] ---> 0b19610a1ecd [2024-09-18T14:37:09.484Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-18T14:37:09.755Z] ---> Running in 3762232b5035 [2024-09-18T14:37:10.026Z] Removing intermediate container 3762232b5035 [2024-09-18T14:37:10.026Z] ---> a6a8324bfc2a [2024-09-18T14:37:10.026Z] 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-18T14:37:10.026Z] ---> Running in 588e86d035b6 [2024-09-18T14:37:10.980Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-18T14:37:11.565Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-18T14:37:11.565Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-18T14:37:11.565Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-18T14:37:12.152Z] Removing intermediate container 588e86d035b6 [2024-09-18T14:37:12.152Z] ---> 8b6eb4d463d3 [2024-09-18T14:37:12.152Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-18T14:37:12.152Z] ---> Running in 5237733eec90 [2024-09-18T14:37:13.575Z] Removing intermediate container 5237733eec90 [2024-09-18T14:37:13.575Z] ---> e85f81604b48 [2024-09-18T14:37:13.575Z] 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-18T14:37:13.845Z] ---> Running in d943198fe968 [2024-09-18T14:37:14.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:37:15.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:37:15.655Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:37:16.606Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:37:16.606Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-18T14:37:16.874Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-18T14:37:16.874Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-18T14:37:16.874Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-18T14:37:16.874Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-18T14:37:16.874Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-18T14:37:16.874Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-18T14:37:16.874Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-18T14:37:16.874Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-18T14:37:16.874Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-18T14:37:16.874Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-18T14:37:16.874Z] Executing busybox-1.36.1-r7.trigger [2024-09-18T14:37:16.874Z] OK: 334 MiB in 101 packages [2024-09-18T14:37:18.288Z] Removing intermediate container d943198fe968 [2024-09-18T14:37:18.288Z] ---> 1bcea2db1217 [2024-09-18T14:37:18.288Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-18T14:37:18.288Z] ---> Running in 8c08e34a1f54 [2024-09-18T14:37:19.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:37:19.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-18T14:37:19.784Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-18T14:37:20.744Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-18T14:37:20.744Z] OK: 334 MiB in 101 packages [2024-09-18T14:37:21.704Z] Removing intermediate container 8c08e34a1f54 [2024-09-18T14:37:21.704Z] ---> fcb4b2557a94 [2024-09-18T14:37:21.704Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-18T14:37:22.287Z] ---> 5da1a473280d [2024-09-18T14:37:22.287Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-18T14:37:23.279Z] ---> 6adab2cd8d2e [2024-09-18T14:37:23.279Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-18T14:37:23.546Z] ---> 236dcfcc8791 [2024-09-18T14:37:23.546Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-18T14:37:24.146Z] ---> 914d4f8cf90e [2024-09-18T14:37:24.146Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-18T14:37:24.413Z] ---> 3b8bfa03d893 [2024-09-18T14:37:24.413Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-18T14:37:24.997Z] ---> dd42359e43a5 [2024-09-18T14:37:24.997Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-18T14:37:24.997Z] ---> Running in 41947576ffe3 [2024-09-18T14:37:25.264Z] Removing intermediate container 41947576ffe3 [2024-09-18T14:37:25.264Z] ---> 0335626c0505 [2024-09-18T14:37:25.264Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-18T14:37:25.531Z] ---> Running in 3b1036fe18e3 [2024-09-18T14:37:25.803Z] Removing intermediate container 3b1036fe18e3 [2024-09-18T14:37:25.803Z] ---> 3c9951636e22 [2024-09-18T14:37:25.803Z] Step 16/18 : LABEL arch=arm64 [2024-09-18T14:37:25.803Z] ---> Running in a8b86a7672e8 [2024-09-18T14:37:26.093Z] Removing intermediate container a8b86a7672e8 [2024-09-18T14:37:26.093Z] ---> 5126f847a069 [2024-09-18T14:37:26.093Z] Step 17/18 : LABEL git_sha=b0f3c9ac755ad2444e4c75bf39db86e8fd898aa2 [2024-09-18T14:37:26.361Z] ---> Running in c49b2f7b4e36 [2024-09-18T14:37:26.628Z] Removing intermediate container c49b2f7b4e36 [2024-09-18T14:37:26.628Z] ---> 62f5bb8d7fd9 [2024-09-18T14:37:26.628Z] Step 18/18 : LABEL version=0.0.0 [2024-09-18T14:37:26.628Z] ---> Running in fa41c38d9885 [2024-09-18T14:37:26.894Z] Removing intermediate container fa41c38d9885 [2024-09-18T14:37:26.894Z] ---> c3111785d538 [2024-09-18T14:37:26.894Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-09-18T14:37:26.894Z] Successfully built c3111785d538 [2024-09-18T14:37:26.894Z] 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-18T14:37:27.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-18T14:37:27.379Z] [2024-09-18T14:37:27.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:37:27.714Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-18T14:37:27.981Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-18T14:37:27.981Z] 8998bd30e6a1: Pulling fs layer [2024-09-18T14:37:27.981Z] 04944245beec: Pulling fs layer [2024-09-18T14:37:27.981Z] 699f458cf7ca: Pulling fs layer [2024-09-18T14:37:27.981Z] 765212b225bb: Pulling fs layer [2024-09-18T14:37:27.981Z] f23df028b6ca: Pulling fs layer [2024-09-18T14:37:27.981Z] d65c8cfc05b1: Pulling fs layer [2024-09-18T14:37:27.981Z] 2437ff75d9bd: Pulling fs layer [2024-09-18T14:37:27.981Z] 765212b225bb: Waiting [2024-09-18T14:37:27.981Z] f23df028b6ca: Waiting [2024-09-18T14:37:27.981Z] d65c8cfc05b1: Waiting [2024-09-18T14:37:27.981Z] 2437ff75d9bd: Waiting [2024-09-18T14:37:27.981Z] 04944245beec: Verifying Checksum [2024-09-18T14:37:27.981Z] 04944245beec: Download complete [2024-09-18T14:37:27.981Z] 765212b225bb: Verifying Checksum [2024-09-18T14:37:27.981Z] 765212b225bb: Download complete [2024-09-18T14:37:28.249Z] f23df028b6ca: Verifying Checksum [2024-09-18T14:37:28.250Z] f23df028b6ca: Download complete [2024-09-18T14:37:28.250Z] d65c8cfc05b1: Download complete [2024-09-18T14:37:28.250Z] 699f458cf7ca: Verifying Checksum [2024-09-18T14:37:28.250Z] 699f458cf7ca: Download complete [2024-09-18T14:37:28.832Z] 8998bd30e6a1: Verifying Checksum [2024-09-18T14:37:28.832Z] 8998bd30e6a1: Download complete [2024-09-18T14:37:31.413Z] 2437ff75d9bd: Verifying Checksum [2024-09-18T14:37:31.413Z] 2437ff75d9bd: Download complete [2024-09-18T14:37:33.358Z] 8998bd30e6a1: Pull complete [2024-09-18T14:37:33.941Z] 04944245beec: Pull complete [2024-09-18T14:37:35.351Z] 699f458cf7ca: Pull complete [2024-09-18T14:37:35.627Z] 765212b225bb: Pull complete [2024-09-18T14:37:36.589Z] f23df028b6ca: Pull complete [2024-09-18T14:37:36.589Z] d65c8cfc05b1: Pull complete [2024-09-18T14:37:54.923Z] 2437ff75d9bd: Pull complete [2024-09-18T14:37:54.923Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-18T14:37:54.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-18T14:37:54.923Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:37:55.151Z] prd-ubuntu20.04-docker-arm64-4c-16g-10618 does not seem to be running inside a container [2024-09-18T14:37:55.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-18T14:37:57.779Z] $ docker top 867054a199948f6786ff9dfd873e0fbe4cd2cb3ad7ec4699be7c16dc24d7e0fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:37:58.651Z] ---> job-cost.sh [2024-09-18T14:37:58.651Z] lf-activate-venv: SKIPPING [2024-09-18T14:37:58.651Z] INFO: No Stack... [2024-09-18T14:37:58.918Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-18T14:37:59.885Z] INFO: Archiving Costs [Pipeline] sh [2024-09-18T14:38:00.216Z] + cat /w/workspace/device-sdk-c/5/archives/cost.csv [2024-09-18T14:38:00.216Z] + cut -d, -f6 [Pipeline] lock [2024-09-18T14:38:00.521Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] [2024-09-18T14:38:00.538Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] did not exist. Created. [2024-09-18T14:38:00.549Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-18T14:38:01.212Z] /w/workspace/device-sdk-c/5@tmp/durable-4bf79a5f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-18T14:38:01.869Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-18T14:38:01.900Z] Warning: overwriting stash ‘stack-cost’ [2024-09-18T14:38:02.426Z] Stashed 1 file(s) [Pipeline] } [2024-09-18T14:38:02.439Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-18T14:38:02.472Z] $ docker stop --time=1 867054a199948f6786ff9dfd873e0fbe4cd2cb3ad7ec4699be7c16dc24d7e0fd [2024-09-18T14:38:04.000Z] $ docker rm -f --volumes 867054a199948f6786ff9dfd873e0fbe4cd2cb3ad7ec4699be7c16dc24d7e0fd [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-18T14:38:04.958Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] [2024-09-18T14:38:04.958Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-18T14:38:04.958Z] total 16 [2024-09-18T14:38:04.958Z] drwxr-xr-x 3 root root 4096 Sep 18 14:33 . [2024-09-18T14:38:04.958Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:33 .. [2024-09-18T14:38:04.958Z] drwxr-xr-x 2 root root 4096 Sep 18 14:33 cost [2024-09-18T14:38:04.958Z] -rw-r--r-- 1 root root 84 Sep 18 14:33 cost.csv [2024-09-18T14:38:04.958Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-18T14:38:04.958Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-18T14:38:04.958Z] total 16 [2024-09-18T14:38:04.958Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 14:33 . [2024-09-18T14:38:04.958Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 14:33 .. [2024-09-18T14:38:04.958Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 18 14:33 cost [2024-09-18T14:38:04.958Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 18 14:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:38:05.249Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:38:06.107Z] ---> package-listing.sh [2024-09-18T14:38:06.107Z] ++ facter osfamily [2024-09-18T14:38:06.107Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-18T14:38:06.366Z] + OS_FAMILY=debian [2024-09-18T14:38:06.366Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 [2024-09-18T14:38:06.366Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-18T14:38:06.366Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-18T14:38:06.366Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-18T14:38:06.366Z] + PACKAGES=/tmp/packages_start.txt [2024-09-18T14:38:06.366Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-18T14:38:06.366Z] + PACKAGES=/tmp/packages_end.txt [2024-09-18T14:38:06.366Z] + case "${OS_FAMILY}" in [2024-09-18T14:38:06.366Z] + grep '^ii' [2024-09-18T14:38:06.366Z] + dpkg -l [2024-09-18T14:38:06.366Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-18T14:38:06.366Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-18T14:38:06.366Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-18T14:38:06.366Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-18T14:38:06.366Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [2024-09-18T14:38:06.366Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [Pipeline] echo [2024-09-18T14:38:06.378Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-18T14:38:06.656Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-18T14:38:07.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-18T14:38:07.229Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-18T14:38:07.308Z] prd-ubuntu20.04-docker-8c-8g-10617 does not seem to be running inside a container [2024-09-18T14:38:07.335Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-513/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-513 -v /w/workspace/edgexfoundry_device-sdk-c_PR-513:/w/workspace/edgexfoundry_device-sdk-c_PR-513:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-18T14:38:07.502Z] $ docker top 6bed44dea6fb6e66cdcb5442d80e61e8757c2616c85aab9e62e38b3a89aa08e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-18T14:38:07.904Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-18T14:38:08.234Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-18T14:38:08.604Z] + ls /var/log/sa-host [2024-09-18T14:38:08.604Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-18T14:38:08.678Z] provisioning config files... [2024-09-18T14:38:08.686Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config7594519700080855018tmp [Pipeline] { [Pipeline] echo [2024-09-18T14:38:08.701Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:38:08.984Z] ---> create-netrc.sh [Pipeline] } [2024-09-18T14:38:08.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:38:09.316Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-18T14:38:09.327Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:38:09.607Z] ---> sudo-logs.sh [2024-09-18T14:38:09.607Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-18T14:38:09.635Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:38:09.919Z] ---> job-cost.sh [2024-09-18T14:38:09.919Z] lf-activate-venv: SKIPPING [2024-09-18T14:38:09.919Z] DEBUG: total: 0.2199999988079071 [2024-09-18T14:38:09.919Z] INFO: Retrieving Stack Cost... [2024-09-18T14:38:10.179Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-18T14:38:10.439Z] INFO: Archiving Costs [Pipeline] echo [2024-09-18T14:38:10.450Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-18T14:38:10.732Z] ---> logs-deploy.sh [2024-09-18T14:38:10.732Z] lf-activate-venv: SKIPPING [2024-09-18T14:38:10.732Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/5 [2024-09-18T14:38:10.732Z] INFO: archiving workspace using pattern(s): [2024-09-18T14:38:11.670Z] Archives upload complete. [2024-09-18T14:38:11.670Z] INFO: archiving logs to Nexus