Pull request #513 updated Pull request #513 updated 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 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f 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-ssh17740471835244279142.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-ssh5983062875962712931.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-ssh8791656138062465012.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-ssh17924615575241685262.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-ssh12914008157500332969.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-10680 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 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f > 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 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f # timeout=10 Merge succeeded, producing 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f Checking out Revision 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f (PR-513) > 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 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f # timeout=10 Commit message: "feat: fix format of discovery/template.c" First time build. Skipping changelog. > git rev-list --no-walk 4293b3e4a4a54949bffd9f429a4df609b362bd9b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-19T09:33:56.259Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-19T09:33:56.324Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-19T09:33:56.372Z] ========================================================= [2024-09-19T09:33:56.372Z] EdgeX Global Pipelines Version Info [2024-09-19T09:33:56.372Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:33:57.506Z] ------------------- [2024-09-19T09:33:57.506Z] stable info: [2024-09-19T09:33:57.506Z] ------------------- [2024-09-19T09:33:57.506Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T09:33:57.506Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T09:33:57.506Z] Message: update stable to v1.0.263 [2024-09-19T09:33:57.767Z] ------------------- [2024-09-19T09:33:57.767Z] experimental info: [2024-09-19T09:33:57.767Z] ------------------- [2024-09-19T09:33:57.767Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-19T09:33:57.767Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-19T09:33:57.767Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-19T09:33:57.850Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-09-19T09:33:57.890Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-09-19T09:33:57.927Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-19T09:33:57.953Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-19T09:33:57.978Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-19T09:33:58.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-09-19T09:33:58.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-09-19T09:33:58.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-19T09:33:58.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-19T09:33:58.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-09-19T09:33:58.118Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-19T09:33:58.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-19T09:33:58.162Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-19T09:33:58.182Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-19T09:33:58.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-19T09:33:58.224Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-19T09:33:58.246Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-19T09:33:58.265Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-513 [Pipeline] echo [2024-09-19T09:33:58.283Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-513 [Pipeline] echo [2024-09-19T09:33:58.302Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-513 [Pipeline] echo [2024-09-19T09:33:58.321Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [Pipeline] echo [2024-09-19T09:33:58.340Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6734daf [Pipeline] echo [2024-09-19T09:33:58.362Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T09:33:58.433Z] provisioning config files... [2024-09-19T09:33:58.447Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config12226633401881538760tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:33:58.780Z] ---> ****-login.sh [2024-09-19T09:33:58.780Z] nexus3.edgexfoundry.org:10001 [2024-09-19T09:33:59.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:33:59.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:33:59.041Z] Configure a credential helper to remove this warning. See [2024-09-19T09:33:59.041Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:33:59.041Z] [2024-09-19T09:33:59.041Z] Login Succeeded [2024-09-19T09:33:59.041Z] nexus3.edgexfoundry.org:10002 [2024-09-19T09:33:59.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:33:59.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:33:59.041Z] Configure a credential helper to remove this warning. See [2024-09-19T09:33:59.041Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:33:59.041Z] [2024-09-19T09:33:59.041Z] Login Succeeded [2024-09-19T09:33:59.042Z] nexus3.edgexfoundry.org:10003 [2024-09-19T09:33:59.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:33:59.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:33:59.301Z] Configure a credential helper to remove this warning. See [2024-09-19T09:33:59.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:33:59.301Z] [2024-09-19T09:33:59.301Z] Login Succeeded [2024-09-19T09:33:59.301Z] nexus3.edgexfoundry.org:10004 [2024-09-19T09:33:59.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:33:59.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:33:59.301Z] Configure a credential helper to remove this warning. See [2024-09-19T09:33:59.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:33:59.301Z] [2024-09-19T09:33:59.301Z] Login Succeeded [2024-09-19T09:33:59.301Z] ****.io [2024-09-19T09:33:59.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:33:59.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:33:59.561Z] Configure a credential helper to remove this warning. See [2024-09-19T09:33:59.561Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:33:59.561Z] [2024-09-19T09:33:59.561Z] Login Succeeded [2024-09-19T09:33:59.561Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T09:33:59.568Z] 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-19T09:33:59.977Z] + git rev-list -1 --merges 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f~1..6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [Pipeline] echo [2024-09-19T09:34:00.008Z] -----------> git rev-list -1 --merges 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f~1..6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [false] [Pipeline] sh [2024-09-19T09:34:00.303Z] + git log --format=format:%s -1 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [Pipeline] echo [2024-09-19T09:34:00.322Z] ========================================================= [2024-09-19T09:34:00.322Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T09:34:00.322Z] ========================================================= 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-19T09:34:00.787Z] + git rev-list -1 --merges 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f~1..6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [Pipeline] echo [2024-09-19T09:34:00.800Z] -----------> git rev-list -1 --merges 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f~1..6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [false] [Pipeline] sh [2024-09-19T09:34:01.097Z] + git log --format=format:%s -1 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [Pipeline] echo [2024-09-19T09:34:01.117Z] ========================================================= [2024-09-19T09:34:01.118Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-19T09:34:01.118Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-09-19T09:34:01.505Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-19T09:34:01.505Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-19T09:34:01.505Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-19T09:34:01.505Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-19T09:34:01.505Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-19T09:34:01.505Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-19T09:34:01.505Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:34:01.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T09:34:01.876Z] [2024-09-19T09:34:01.876Z] 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-19T09:34:02.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T09:34:02.184Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-19T09:34:02.184Z] b85a868b505f: Pulling fs layer [2024-09-19T09:34:02.184Z] e2be974225ed: Pulling fs layer [2024-09-19T09:34:02.184Z] 339a4e72a1f5: Pulling fs layer [2024-09-19T09:34:02.184Z] 988bab9f4d93: Pulling fs layer [2024-09-19T09:34:02.185Z] 1469e6f7b9e6: Pulling fs layer [2024-09-19T09:34:02.185Z] eaf3925da568: Pulling fs layer [2024-09-19T09:34:02.185Z] bab4dde63d76: Pulling fs layer [2024-09-19T09:34:02.185Z] bde34c3a00c8: Pulling fs layer [2024-09-19T09:34:02.185Z] b352a97aabf1: Pulling fs layer [2024-09-19T09:34:02.185Z] 4872d77fe225: Pulling fs layer [2024-09-19T09:34:02.185Z] 5851b861e8e6: Pulling fs layer [2024-09-19T09:34:02.185Z] b352a97aabf1: Waiting [2024-09-19T09:34:02.185Z] eaf3925da568: Waiting [2024-09-19T09:34:02.185Z] bde34c3a00c8: Waiting [2024-09-19T09:34:02.185Z] 4872d77fe225: Waiting [2024-09-19T09:34:02.185Z] 5851b861e8e6: Waiting [2024-09-19T09:34:02.185Z] 1469e6f7b9e6: Waiting [2024-09-19T09:34:02.185Z] 988bab9f4d93: Waiting [2024-09-19T09:34:02.185Z] bab4dde63d76: Waiting [2024-09-19T09:34:02.185Z] e2be974225ed: Verifying Checksum [2024-09-19T09:34:02.185Z] e2be974225ed: Download complete [2024-09-19T09:34:02.185Z] 988bab9f4d93: Download complete [2024-09-19T09:34:02.447Z] 1469e6f7b9e6: Verifying Checksum [2024-09-19T09:34:02.447Z] 1469e6f7b9e6: Download complete [2024-09-19T09:34:02.447Z] 339a4e72a1f5: Verifying Checksum [2024-09-19T09:34:02.447Z] 339a4e72a1f5: Download complete [2024-09-19T09:34:02.447Z] eaf3925da568: Verifying Checksum [2024-09-19T09:34:02.447Z] eaf3925da568: Download complete [2024-09-19T09:34:02.447Z] bde34c3a00c8: Verifying Checksum [2024-09-19T09:34:02.447Z] bde34c3a00c8: Download complete [2024-09-19T09:34:02.447Z] b352a97aabf1: Verifying Checksum [2024-09-19T09:34:02.447Z] b352a97aabf1: Download complete [2024-09-19T09:34:02.447Z] 4872d77fe225: Download complete [2024-09-19T09:34:02.447Z] 5851b861e8e6: Verifying Checksum [2024-09-19T09:34:02.447Z] 5851b861e8e6: Download complete [2024-09-19T09:34:02.447Z] b85a868b505f: Verifying Checksum [2024-09-19T09:34:02.447Z] b85a868b505f: Download complete [2024-09-19T09:34:02.708Z] bab4dde63d76: Verifying Checksum [2024-09-19T09:34:02.708Z] bab4dde63d76: Download complete [2024-09-19T09:34:03.656Z] b85a868b505f: Pull complete [2024-09-19T09:34:03.656Z] e2be974225ed: Pull complete [2024-09-19T09:34:04.227Z] 339a4e72a1f5: Pull complete [2024-09-19T09:34:04.227Z] 988bab9f4d93: Pull complete [2024-09-19T09:34:04.486Z] 1469e6f7b9e6: Pull complete [2024-09-19T09:34:04.745Z] eaf3925da568: Pull complete [2024-09-19T09:34:06.655Z] bab4dde63d76: Pull complete [2024-09-19T09:34:06.655Z] bde34c3a00c8: Pull complete [2024-09-19T09:34:06.655Z] b352a97aabf1: Pull complete [2024-09-19T09:34:06.655Z] 4872d77fe225: Pull complete [2024-09-19T09:34:06.914Z] 5851b861e8e6: Pull complete [2024-09-19T09:34:06.914Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-19T09:34:06.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-19T09:34:06.914Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:34:07.068Z] prd-ubuntu20.04-docker-8c-8g-10680 does not seem to be running inside a container [2024-09-19T09:34:07.207Z] $ 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-19T09:34:09.904Z] $ docker top 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 -eo pid,comm [2024-09-19T09:34:09.964Z] 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-19T09:34:09.964Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-19T09:34:10.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T09:34:10.024Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T09:34:10.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T09:34:10.134Z] $ docker exec 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 ssh-agent [2024-09-19T09:34:10.249Z] SSH_AUTH_SOCK=/tmp/ssh-SbbBhk9OauBx/agent.32 [2024-09-19T09:34:10.249Z] SSH_AGENT_PID=38 [2024-09-19T09:34:10.256Z] Running ssh-add (command line suppressed) [2024-09-19T09:34:10.364Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_15859900537997132485.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_15859900537997132485.key) [2024-09-19T09:34:10.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T09:34:10.671Z] + git tag --points-at HEAD [Pipeline] } [2024-09-19T09:34:10.682Z] $ docker exec --env ******** --env ******** 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 ssh-agent -k [2024-09-19T09:34:10.780Z] unset SSH_AUTH_SOCK; [2024-09-19T09:34:10.781Z] unset SSH_AGENT_PID; [2024-09-19T09:34:10.781Z] echo Agent pid 38 killed; [2024-09-19T09:34:10.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-19T09:34:10.860Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-19T09:34:10.860Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-19T09:34:10.966Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-19T09:34:10.966Z] $ docker exec 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 ssh-agent [2024-09-19T09:34:11.073Z] SSH_AUTH_SOCK=/tmp/ssh-Ok6kULc1fYhe/agent.71 [2024-09-19T09:34:11.073Z] SSH_AGENT_PID=77 [2024-09-19T09:34:11.078Z] Running ssh-add (command line suppressed) [2024-09-19T09:34:11.180Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_11670682637426905292.key (/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/private_key_11670682637426905292.key) [2024-09-19T09:34:11.197Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-19T09:34:11.499Z] + git semver init [2024-09-19T09:34:11.760Z] 2024-09-19 09:34:11,674 [run_init] DEBUG init version:0.0.0 force:False [2024-09-19T09:34:11.760Z] 2024-09-19 09:34:11,675 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver [2024-09-19T09:34:11.760Z] 2024-09-19 09:34:11,675 [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-19T09:34:11.760Z] 2024-09-19 09:34:11,676 [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-19T09:34:12.702Z] 2024-09-19 09:34:12,471 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.git/info/exclude [2024-09-19T09:34:12.702Z] 2024-09-19 09:34:12,472 [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-19T09:34:12.702Z] 2024-09-19 09:34:12,472 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-19T09:34:12.702Z] 2024-09-19 09:34:12,476 [execute] INFO git cat-file --batch-check [2024-09-19T09:34:12.702Z] 2024-09-19 09:34:12,476 [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-19T09:34:12.702Z] 2024-09-19 09:34:12,480 [execute] INFO git cat-file --batch [2024-09-19T09:34:12.702Z] 2024-09-19 09:34:12,481 [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-19T09:34:12.702Z] 2024-09-19 09:34:12,485 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-513/.semver/PR-513 [2024-09-19T09:34:12.702Z] 0.0.0 [Pipeline] } [2024-09-19T09:34:12.710Z] $ docker exec --env ******** --env ******** 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 ssh-agent -k [2024-09-19T09:34:12.823Z] unset SSH_AUTH_SOCK; [2024-09-19T09:34:12.824Z] unset SSH_AGENT_PID; [2024-09-19T09:34:12.824Z] echo Agent pid 77 killed; [2024-09-19T09:34:12.836Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-19T09:34:13.168Z] + git semver [Pipeline] } [2024-09-19T09:34:13.440Z] $ docker stop --time=1 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 [2024-09-19T09:34:14.708Z] $ docker rm -f --volumes 28a488799e1c5a5ed729ed4db5633782092ea2a5490844b42470f258fa7ccbe4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-19T09:34:15.055Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-19T09:34:15.301Z] Stashed 1 file(s) [Pipeline] echo [2024-09-19T09:34:15.304Z] [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-19T09:34:15.488Z] provisioning config files... [2024-09-19T09:34:15.498Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config6165945659523188628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:34:15.801Z] ---> ****-login.sh [2024-09-19T09:34:15.801Z] nexus3.edgexfoundry.org:10001 [2024-09-19T09:34:15.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:34:15.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:34:15.801Z] Configure a credential helper to remove this warning. See [2024-09-19T09:34:15.801Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:34:15.801Z] [2024-09-19T09:34:15.801Z] Login Succeeded [2024-09-19T09:34:15.801Z] nexus3.edgexfoundry.org:10002 [2024-09-19T09:34:15.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:34:15.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:34:15.801Z] Configure a credential helper to remove this warning. See [2024-09-19T09:34:15.801Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:34:15.801Z] [2024-09-19T09:34:15.801Z] Login Succeeded [2024-09-19T09:34:15.801Z] nexus3.edgexfoundry.org:10003 [2024-09-19T09:34:16.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:34:16.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:34:16.061Z] Configure a credential helper to remove this warning. See [2024-09-19T09:34:16.061Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:34:16.061Z] [2024-09-19T09:34:16.061Z] Login Succeeded [2024-09-19T09:34:16.061Z] nexus3.edgexfoundry.org:10004 [2024-09-19T09:34:16.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:34:16.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:34:16.061Z] Configure a credential helper to remove this warning. See [2024-09-19T09:34:16.061Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:34:16.061Z] [2024-09-19T09:34:16.061Z] Login Succeeded [2024-09-19T09:34:16.061Z] ****.io [2024-09-19T09:34:16.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:34:16.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:34:16.326Z] Configure a credential helper to remove this warning. See [2024-09-19T09:34:16.326Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:34:16.326Z] [2024-09-19T09:34:16.326Z] Login Succeeded [2024-09-19T09:34:16.326Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T09:34:16.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T09:34:16.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T09:34:16.444Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-09-19T09:34:16.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T09:34:16.480Z] ========================================================= [2024-09-19T09:34:16.480Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-09-19T09:34:16.480Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:34:16.799Z] + 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-19T09:34:16.799Z] Sending build context to Docker daemon 5.251MB [2024-09-19T09:34:16.799Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T09:34:16.799Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T09:34:16.799Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-09-19T09:34:16.799Z] 96526aa774ef: Pulling fs layer [2024-09-19T09:34:16.799Z] da60e534fd72: Pulling fs layer [2024-09-19T09:34:17.058Z] 96526aa774ef: Verifying Checksum [2024-09-19T09:34:17.058Z] 96526aa774ef: Download complete [2024-09-19T09:34:17.058Z] 96526aa774ef: Pull complete [2024-09-19T09:34:17.994Z] da60e534fd72: Verifying Checksum [2024-09-19T09:34:17.994Z] da60e534fd72: Download complete [2024-09-19T09:34:21.295Z] da60e534fd72: Pull complete [2024-09-19T09:34:21.295Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-09-19T09:34:21.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-09-19T09:34:21.295Z] ---> 6605166a5db4 [2024-09-19T09:34:21.295Z] 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-19T09:34:23.202Z] ---> Running in 4d74a9b857ee [2024-09-19T09:34:23.202Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-19T09:34:23.470Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:34:23.470Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:34:23.470Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:34:23.730Z] Removing intermediate container 4d74a9b857ee [2024-09-19T09:34:23.730Z] ---> f67c5adcdd51 [2024-09-19T09:34:23.730Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:34:23.995Z] ---> Running in 9d446fef8975 [2024-09-19T09:34:24.567Z] Removing intermediate container 9d446fef8975 [2024-09-19T09:34:24.567Z] ---> 2dba61328ff0 [2024-09-19T09:34:24.567Z] 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-19T09:34:24.567Z] ---> Running in ce4148dd6ae7 [2024-09-19T09:34:24.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:24.826Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:25.084Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:25.658Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:34:25.658Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T09:34:25.658Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T09:34:25.658Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T09:34:25.658Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T09:34:26.230Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T09:34:26.490Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T09:34:26.749Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T09:34:26.749Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T09:34:27.008Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T09:34:27.008Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T09:34:27.008Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T09:34:27.008Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T09:34:27.008Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T09:34:27.008Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T09:34:27.008Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T09:34:27.008Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T09:34:27.008Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T09:34:27.008Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:34:27.008Z] OK: 336 MiB in 99 packages [2024-09-19T09:34:27.575Z] Removing intermediate container ce4148dd6ae7 [2024-09-19T09:34:27.575Z] ---> 241ad61760ec [2024-09-19T09:34:27.575Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T09:34:27.575Z] ---> Running in e238d4e18597 [2024-09-19T09:34:28.142Z] Removing intermediate container e238d4e18597 [2024-09-19T09:34:28.142Z] ---> 0bc2ea6fa0ce [2024-09-19T09:34:28.142Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T09:34:28.142Z] ---> 7fd615c3f948 [2024-09-19T09:34:28.142Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T09:34:28.402Z] ---> bd10eb51616c [2024-09-19T09:34:28.402Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T09:34:28.660Z] ---> 0a6057d57224 [2024-09-19T09:34:28.661Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T09:34:28.661Z] ---> 1195353d5a07 [2024-09-19T09:34:28.661Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T09:34:28.919Z] ---> cbd63b1a486d [2024-09-19T09:34:28.919Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T09:34:28.919Z] ---> 028c38d3323d [2024-09-19T09:34:28.919Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T09:34:29.176Z] ---> Running in 80654912bd58 [2024-09-19T09:34:29.176Z] + CPPCHECK=false [2024-09-19T09:34:29.176Z] + DOCGEN=false [2024-09-19T09:34:29.176Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T09:34:29.176Z] + '[' 0 -gt 0 ] [2024-09-19T09:34:29.176Z] + readlink -f ./scripts/build.sh [2024-09-19T09:34:29.176Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T09:34:29.176Z] + dirname /tmp/sdk/scripts [2024-09-19T09:34:29.176Z] + ROOT=/tmp/sdk [2024-09-19T09:34:29.176Z] + cd /tmp/sdk [2024-09-19T09:34:29.176Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T09:34:29.176Z] + cd /tmp/sdk/build/release [2024-09-19T09:34:29.176Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T09:34:29.434Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T09:34:29.434Z] -- Detecting C compiler ABI info [2024-09-19T09:34:29.434Z] -- Detecting C compiler ABI info - done [2024-09-19T09:34:29.434Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T09:34:29.434Z] -- Detecting C compile features [2024-09-19T09:34:29.434Z] -- Detecting C compile features - done [2024-09-19T09:34:29.434Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T09:34:29.434Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T09:34:29.434Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T09:34:29.434Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T09:34:29.692Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T09:34:29.692Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T09:34:29.692Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T09:34:29.692Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T09:34:29.692Z] -- /opt/iotech/iot/1.5/include [2024-09-19T09:34:29.692Z] -- C SDK 0.0.0 for Linux [2024-09-19T09:34:29.692Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T09:34:29.692Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T09:34:29.692Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T09:34:29.692Z] -- Configuring done (0.4s) [2024-09-19T09:34:29.692Z] -- Generating done (0.0s) [2024-09-19T09:34:29.692Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T09:34:29.692Z] + make all package [2024-09-19T09:34:29.692Z] + tee release.log [2024-09-19T09:34:29.692Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T09:34:29.950Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T09:34:29.950Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T09:34:30.208Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T09:34:30.208Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T09:34:30.428Z] Still waiting to schedule task [2024-09-19T09:34:30.428Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-19T09:34:30.467Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T09:34:30.725Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T09:34:30.725Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T09:34:30.725Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:34:30.725Z] 294 | while (privateConfig) [2024-09-19T09:34:30.725Z] | ^~~~~~~~~~~~~ [2024-09-19T09:34:30.725Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T09:34:30.725Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T09:34:30.725Z] | ^~~~~~~~~~~~~ [2024-09-19T09:34:30.725Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:34:30.725Z] 271 | while (result) [2024-09-19T09:34:30.725Z] | ^~~~~~ [2024-09-19T09:34:30.725Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T09:34:30.725Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T09:34:30.725Z] | ^~~~~~ [2024-09-19T09:34:30.983Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T09:34:30.983Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T09:34:30.983Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T09:34:31.242Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T09:34:31.500Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T09:34:31.500Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T09:34:31.758Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T09:34:31.758Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T09:34:32.016Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T09:34:32.016Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T09:34:32.275Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T09:34:32.275Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T09:34:32.534Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T09:34:32.534Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T09:34:33.910Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T09:34:33.910Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T09:34:33.910Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T09:34:33.910Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T09:34:33.910Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T09:34:34.169Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T09:34:34.429Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T09:34:34.688Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T09:34:34.688Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T09:34:34.688Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T09:34:34.948Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T09:34:34.948Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:34:34.948Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T09:34:34.948Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:34:34.948Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:34:34.948Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T09:34:34.948Z] | ^ [2024-09-19T09:34:34.948Z] /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:34:34.948Z] 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T09:34:34.948Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:34:34.948Z] /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here [2024-09-19T09:34:34.948Z] 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T09:34:34.948Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:34:35.207Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T09:34:35.208Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T09:34:35.467Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T09:34:35.467Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T09:34:35.467Z] [ 68%] Built target csdk [2024-09-19T09:34:35.467Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T09:34:35.725Z] [ 72%] Linking C executable template [2024-09-19T09:34:35.725Z] [ 72%] Built target template [2024-09-19T09:34:35.725Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T09:34:35.986Z] [ 76%] Linking C executable device-counter [2024-09-19T09:34:35.986Z] [ 76%] Built target device-counter [2024-09-19T09:34:35.986Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T09:34:35.986Z] [ 80%] Linking C executable device-random [2024-09-19T09:34:36.245Z] [ 80%] Built target device-random [2024-09-19T09:34:36.245Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T09:34:36.245Z] [ 84%] Linking C executable device-gyro [2024-09-19T09:34:36.245Z] [ 84%] Built target device-gyro [2024-09-19T09:34:36.245Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T09:34:36.505Z] [ 88%] Linking C executable device-bitfields [2024-09-19T09:34:36.505Z] [ 88%] Built target device-bitfields [2024-09-19T09:34:36.505Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T09:34:36.764Z] [ 92%] Linking C executable template-discovery [2024-09-19T09:34:36.764Z] [ 92%] Built target template-discovery [2024-09-19T09:34:36.764Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T09:34:36.764Z] [ 96%] Linking C executable device-file [2024-09-19T09:34:37.023Z] [ 96%] Built target device-file [2024-09-19T09:34:37.023Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T09:34:37.023Z] [100%] Linking C executable device-terminal [2024-09-19T09:34:37.023Z] [100%] Built target device-terminal [2024-09-19T09:34:37.023Z] Run CPack packaging tool... [2024-09-19T09:34:37.285Z] CPack: Create package using TGZ [2024-09-19T09:34:37.285Z] CPack: Install projects [2024-09-19T09:34:37.285Z] CPack: - Run preinstall target for: Csdk [2024-09-19T09:34:37.285Z] CPack: - Install project: Csdk [] [2024-09-19T09:34:37.285Z] CPack: Create package [2024-09-19T09:34:37.285Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-19T09:34:37.285Z] + '[' false '=' true ] [2024-09-19T09:34:37.285Z] + '[' false '=' true ] [2024-09-19T09:34:37.285Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T09:34:37.285Z] + cd /tmp/sdk/build/debug [2024-09-19T09:34:37.285Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T09:34:37.543Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T09:34:37.543Z] -- Detecting C compiler ABI info [2024-09-19T09:34:37.543Z] -- Detecting C compiler ABI info - done [2024-09-19T09:34:37.543Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T09:34:37.543Z] -- Detecting C compile features [2024-09-19T09:34:37.543Z] -- Detecting C compile features - done [2024-09-19T09:34:37.543Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T09:34:37.543Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T09:34:37.543Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T09:34:37.543Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T09:34:37.543Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T09:34:37.543Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T09:34:37.543Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T09:34:37.543Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T09:34:37.543Z] -- /opt/iotech/iot/1.5/include [2024-09-19T09:34:37.543Z] -- C SDK 0.0.0 for Linux [2024-09-19T09:34:37.543Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T09:34:38.689Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T09:34:38.689Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T09:34:38.689Z] -- Configuring done (0.4s) [2024-09-19T09:34:38.689Z] -- Generating done (0.0s) [2024-09-19T09:34:38.689Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T09:34:38.689Z] + make [2024-09-19T09:34:38.689Z] + tee debug.log [2024-09-19T09:34:38.689Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T09:34:38.689Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T09:34:38.689Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T09:34:38.689Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T09:34:38.689Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T09:34:38.689Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T09:34:38.689Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T09:34:38.689Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T09:34:38.689Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T09:34:38.689Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T09:34:38.689Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T09:34:38.689Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T09:34:38.689Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T09:34:38.947Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T09:34:38.947Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T09:34:38.947Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T09:34:38.947Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T09:34:39.206Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T09:34:39.206Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T09:34:39.206Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T09:34:39.466Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T09:34:39.725Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T09:34:39.725Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T09:34:39.725Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T09:34:39.725Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T09:34:39.725Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T09:34:39.985Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T09:34:40.244Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T09:34:40.244Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T09:34:40.244Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T09:34:40.244Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T09:34:40.504Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T09:34:40.504Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:34:40.504Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T09:34:40.504Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:34:40.504Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:34:40.504Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T09:34:40.504Z] | ^ [2024-09-19T09:34:40.504Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T09:34:40.504Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T09:34:40.504Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T09:34:40.763Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T09:34:40.763Z] [ 68%] Built target csdk [2024-09-19T09:34:40.763Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T09:34:40.763Z] [ 72%] Linking C executable template [2024-09-19T09:34:41.022Z] [ 72%] Built target template [2024-09-19T09:34:41.022Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T09:34:41.022Z] [ 76%] Linking C executable device-counter [2024-09-19T09:34:41.022Z] [ 76%] Built target device-counter [2024-09-19T09:34:41.022Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T09:34:41.022Z] [ 80%] Linking C executable device-random [2024-09-19T09:34:41.280Z] [ 80%] Built target device-random [2024-09-19T09:34:41.280Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T09:34:41.280Z] [ 84%] Linking C executable device-gyro [2024-09-19T09:34:41.280Z] [ 84%] Built target device-gyro [2024-09-19T09:34:41.280Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T09:34:41.280Z] [ 88%] Linking C executable device-bitfields [2024-09-19T09:34:41.538Z] [ 88%] Built target device-bitfields [2024-09-19T09:34:41.538Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T09:34:41.538Z] [ 92%] Linking C executable template-discovery [2024-09-19T09:34:41.538Z] [ 92%] Built target template-discovery [2024-09-19T09:34:41.538Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T09:34:41.796Z] [ 96%] Linking C executable device-file [2024-09-19T09:34:41.796Z] [ 96%] Built target device-file [2024-09-19T09:34:41.796Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T09:34:41.796Z] [100%] Linking C executable device-terminal [2024-09-19T09:34:42.055Z] [100%] Built target device-terminal [2024-09-19T09:34:42.055Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T09:34:42.055Z] [ 68%] Built target csdk [2024-09-19T09:34:42.055Z] [ 72%] Built target template [2024-09-19T09:34:42.055Z] [ 76%] Built target device-counter [2024-09-19T09:34:42.055Z] [ 80%] Built target device-random [2024-09-19T09:34:42.055Z] [ 84%] Built target device-gyro [2024-09-19T09:34:42.055Z] [ 88%] Built target device-bitfields [2024-09-19T09:34:42.055Z] [ 92%] Built target template-discovery [2024-09-19T09:34:42.055Z] [ 96%] Built target device-file [2024-09-19T09:34:42.055Z] [100%] Built target device-terminal [2024-09-19T09:34:42.315Z] Install the project... [2024-09-19T09:34:42.315Z] -- Install configuration: "Release" [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T09:34:42.315Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include/devsdk [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include/edgex [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T09:34:42.315Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T09:34:42.315Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T09:34:42.883Z] Removing intermediate container 80654912bd58 [2024-09-19T09:34:42.883Z] ---> 1f3017c994d2 [2024-09-19T09:34:42.883Z] Step 14/22 : FROM ${BASE} [2024-09-19T09:34:42.883Z] ---> 6605166a5db4 [2024-09-19T09:34:42.883Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T09:34:42.883Z] ---> Running in ebde26abec8f [2024-09-19T09:34:42.883Z] Removing intermediate container ebde26abec8f [2024-09-19T09:34:42.883Z] ---> 4d46a1f25815 [2024-09-19T09:34:42.883Z] 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-19T09:34:42.883Z] ---> Running in 62674bf8f935 [2024-09-19T09:34:43.140Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T09:34:43.706Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:34:43.706Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:34:43.706Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:34:43.968Z] Removing intermediate container 62674bf8f935 [2024-09-19T09:34:43.968Z] ---> f77605b76c1f [2024-09-19T09:34:43.968Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:34:43.968Z] ---> Running in 40c54d011eda [2024-09-19T09:34:44.535Z] Removing intermediate container 40c54d011eda [2024-09-19T09:34:44.535Z] ---> a0da882b8bd6 [2024-09-19T09:34:44.535Z] 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-19T09:34:44.535Z] ---> Running in 16f64d900ef1 [2024-09-19T09:34:44.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:44.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:45.054Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:45.622Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:34:45.622Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T09:34:45.622Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T09:34:45.622Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T09:34:45.622Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T09:34:45.622Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T09:34:45.622Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T09:34:45.622Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T09:34:45.622Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T09:34:46.562Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T09:34:46.562Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T09:34:46.562Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:34:46.562Z] OK: 331 MiB in 90 packages [2024-09-19T09:34:47.130Z] Removing intermediate container 16f64d900ef1 [2024-09-19T09:34:47.130Z] ---> a2a9d3f633c3 [2024-09-19T09:34:47.130Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T09:34:47.130Z] ---> Running in f91a222c5d69 [2024-09-19T09:34:47.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:47.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:47.390Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:47.970Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:34:47.971Z] Upgrading critical system libraries and apk-tools: [2024-09-19T09:34:47.971Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T09:34:47.971Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:34:47.971Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T09:34:47.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:47.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:48.232Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:48.803Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:34:48.803Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:34:48.803Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T09:34:48.803Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:34:48.803Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T09:34:48.803Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:34:48.803Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:34:48.803Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:34:48.803Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T09:34:48.803Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T09:34:48.803Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T09:34:48.803Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:34:48.803Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T09:34:48.803Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:34:48.803Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:34:48.803Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:34:48.803Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T09:34:48.803Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T09:34:48.803Z] OK: 331 MiB in 90 packages [2024-09-19T09:34:49.742Z] Removing intermediate container f91a222c5d69 [2024-09-19T09:34:49.742Z] ---> 43d1929f559f [2024-09-19T09:34:49.742Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T09:34:49.742Z] ---> 869469765631 [2024-09-19T09:34:49.742Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T09:34:50.002Z] ---> d420c85a9793 [2024-09-19T09:34:50.002Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T09:34:50.002Z] ---> 593cea431d44 [2024-09-19T09:34:50.002Z] Successfully built 593cea431d44 [2024-09-19T09:34:50.002Z] 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-19T09:34:50.408Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-19T09:34:50.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:34:50.490Z] prd-ubuntu20.04-docker-8c-8g-10680 does not seem to be running inside a container [2024-09-19T09:34:50.516Z] $ 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-19T09:34:50.836Z] $ docker top acf8358a82024686946fa3362e3d19f1cf02fe367e0623d1a67499fc830c65cc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T09:34:51.194Z] + make test [2024-09-19T09:34:51.194Z] echo "make test" [2024-09-19T09:34:51.194Z] make test [Pipeline] } [2024-09-19T09:34:51.203Z] $ docker stop --time=1 acf8358a82024686946fa3362e3d19f1cf02fe367e0623d1a67499fc830c65cc [2024-09-19T09:34:52.461Z] $ docker rm -f --volumes acf8358a82024686946fa3362e3d19f1cf02fe367e0623d1a67499fc830c65cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T09:34:53.004Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T09:34:53.298Z] + ls -al . [2024-09-19T09:34:53.298Z] total 212 [2024-09-19T09:34:53.298Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 09:34 . [2024-09-19T09:34:53.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:33 .. [2024-09-19T09:34:53.298Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:34 .git [2024-09-19T09:34:53.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 09:33 .github [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 09:33 .gitignore [2024-09-19T09:34:53.298Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 09:34 .semver [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 09:33 Attribution.txt [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 09:33 CHANGELOG.md [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 09:33 Doxyfile [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 09:33 GOVERNANCE.md [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 09:33 Jenkinsfile [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 09:33 LICENSE [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 09:33 Makefile [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 09:33 OWNERS.md [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 09:33 README.IOT.md [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 09:33 README.md [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 09:33 README.v3.md [2024-09-19T09:34:53.298Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 09:34 VERSION [2024-09-19T09:34:53.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:33 docs [2024-09-19T09:34:53.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:33 include [2024-09-19T09:34:53.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:33 scripts [2024-09-19T09:34:53.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:33 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:34:53.622Z] + 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=6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f --label arch=amd64 --label version=0.0.0 . [2024-09-19T09:34:53.622Z] Sending build context to Docker daemon 5.251MB [2024-09-19T09:34:53.622Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T09:34:53.622Z] Step 2/18 : FROM ${BASE} [2024-09-19T09:34:53.622Z] ---> 593cea431d44 [2024-09-19T09:34:53.622Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T09:34:53.882Z] ---> Running in a71134f278f4 [2024-09-19T09:34:53.882Z] Removing intermediate container a71134f278f4 [2024-09-19T09:34:53.882Z] ---> 8723ae61ab89 [2024-09-19T09:34:53.882Z] 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-19T09:34:53.882Z] ---> Running in ec3ed3ac20c1 [2024-09-19T09:34:54.141Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-09-19T09:34:54.709Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:34:54.709Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:34:54.709Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:34:54.709Z] Removing intermediate container ec3ed3ac20c1 [2024-09-19T09:34:54.709Z] ---> 313f0b4c3acf [2024-09-19T09:34:54.709Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:34:54.972Z] ---> Running in 7d5914286a41 [2024-09-19T09:34:55.235Z] Removing intermediate container 7d5914286a41 [2024-09-19T09:34:55.235Z] ---> fcb81e76319a [2024-09-19T09:34:55.235Z] 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-19T09:34:55.492Z] ---> Running in fdf99ff847e5 [2024-09-19T09:34:55.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:55.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:56.011Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:56.579Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:34:56.579Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T09:34:56.579Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T09:34:56.579Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T09:34:56.579Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T09:34:56.579Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T09:34:56.579Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T09:34:56.579Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T09:34:56.579Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T09:34:56.579Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T09:34:56.579Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T09:34:56.579Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T09:34:56.863Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T09:34:56.863Z] OK: 337 MiB in 101 packages [2024-09-19T09:34:57.434Z] Removing intermediate container fdf99ff847e5 [2024-09-19T09:34:57.434Z] ---> 0f1c99b07820 [2024-09-19T09:34:57.434Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T09:34:57.434Z] ---> Running in e4e1012f932d [2024-09-19T09:34:57.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:57.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:57.695Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-19T09:34:58.263Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:34:58.263Z] OK: 337 MiB in 101 packages [2024-09-19T09:34:58.522Z] Removing intermediate container e4e1012f932d [2024-09-19T09:34:58.522Z] ---> 8620b171fb15 [2024-09-19T09:34:58.522Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T09:34:58.522Z] ---> 7c6d490dd4a5 [2024-09-19T09:34:58.522Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T09:34:58.791Z] ---> 13d5ecf66636 [2024-09-19T09:34:58.791Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T09:34:59.049Z] ---> ce6af7c9bb92 [2024-09-19T09:34:59.049Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T09:34:59.049Z] ---> 143c3656c1f6 [2024-09-19T09:34:59.049Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T09:34:59.049Z] ---> 1c702dd2ebf7 [2024-09-19T09:34:59.049Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T09:34:59.310Z] ---> 801e66cc4869 [2024-09-19T09:34:59.310Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T09:34:59.310Z] ---> Running in d4fe4dbe2c68 [2024-09-19T09:34:59.310Z] Removing intermediate container d4fe4dbe2c68 [2024-09-19T09:34:59.310Z] ---> 67e482778e54 [2024-09-19T09:34:59.310Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T09:34:59.310Z] ---> Running in 9cc48eb8d48d [2024-09-19T09:34:59.569Z] Removing intermediate container 9cc48eb8d48d [2024-09-19T09:34:59.569Z] ---> 7ad43d9e3842 [2024-09-19T09:34:59.569Z] Step 16/18 : LABEL arch=amd64 [2024-09-19T09:34:59.569Z] ---> Running in db7fcd9bacc9 [2024-09-19T09:34:59.569Z] Removing intermediate container db7fcd9bacc9 [2024-09-19T09:34:59.569Z] ---> f0c0adbad1e5 [2024-09-19T09:34:59.569Z] Step 17/18 : LABEL git_sha=6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [2024-09-19T09:34:59.569Z] ---> Running in 0a261cb518b9 [2024-09-19T09:34:59.569Z] Removing intermediate container 0a261cb518b9 [2024-09-19T09:34:59.569Z] ---> 94a2ebc26088 [2024-09-19T09:34:59.569Z] Step 18/18 : LABEL version=0.0.0 [2024-09-19T09:34:59.569Z] ---> Running in 0ab28072fec3 [2024-09-19T09:34:59.829Z] Removing intermediate container 0ab28072fec3 [2024-09-19T09:34:59.829Z] ---> d10258a71d48 [2024-09-19T09:34:59.829Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T09:34:59.829Z] Successfully built d10258a71d48 [2024-09-19T09:34:59.829Z] 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-19T09:35:00.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T09:35:00.318Z] [2024-09-19T09:35:00.318Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:35:00.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T09:35:00.625Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-19T09:35:00.625Z] 5eb5b503b376: Pulling fs layer [2024-09-19T09:35:00.625Z] 5c69ac0246d0: Pulling fs layer [2024-09-19T09:35:00.625Z] ec43610c2a17: Pulling fs layer [2024-09-19T09:35:00.625Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-19T09:35:00.625Z] 33b1e0a273af: Pulling fs layer [2024-09-19T09:35:00.625Z] 5d3b04190fa2: Pulling fs layer [2024-09-19T09:35:00.625Z] 2f39f015ded8: Pulling fs layer [2024-09-19T09:35:00.625Z] 3a2ae6a8a46f: Waiting [2024-09-19T09:35:00.626Z] 33b1e0a273af: Waiting [2024-09-19T09:35:00.626Z] 5d3b04190fa2: Waiting [2024-09-19T09:35:00.626Z] 2f39f015ded8: Waiting [2024-09-19T09:35:00.626Z] 5c69ac0246d0: Download complete [2024-09-19T09:35:00.626Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-19T09:35:00.626Z] 3a2ae6a8a46f: Download complete [2024-09-19T09:35:00.626Z] 33b1e0a273af: Verifying Checksum [2024-09-19T09:35:00.626Z] 33b1e0a273af: Download complete [2024-09-19T09:35:00.626Z] 5d3b04190fa2: Verifying Checksum [2024-09-19T09:35:00.626Z] 5d3b04190fa2: Download complete [2024-09-19T09:35:00.886Z] ec43610c2a17: Verifying Checksum [2024-09-19T09:35:00.886Z] ec43610c2a17: Download complete [2024-09-19T09:35:00.886Z] 5eb5b503b376: Verifying Checksum [2024-09-19T09:35:00.886Z] 5eb5b503b376: Download complete [2024-09-19T09:35:01.822Z] 2f39f015ded8: Verifying Checksum [2024-09-19T09:35:01.822Z] 2f39f015ded8: Download complete [2024-09-19T09:35:02.096Z] 5eb5b503b376: Pull complete [2024-09-19T09:35:02.356Z] 5c69ac0246d0: Pull complete [2024-09-19T09:35:02.615Z] ec43610c2a17: Pull complete [2024-09-19T09:35:02.873Z] 3a2ae6a8a46f: Pull complete [2024-09-19T09:35:02.873Z] 33b1e0a273af: Pull complete [2024-09-19T09:35:03.130Z] 5d3b04190fa2: Pull complete [2024-09-19T09:35:07.322Z] 2f39f015ded8: Pull complete [2024-09-19T09:35:07.322Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-19T09:35:07.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T09:35:07.322Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:35:07.420Z] prd-ubuntu20.04-docker-8c-8g-10680 does not seem to be running inside a container [2024-09-19T09:35:07.443Z] $ 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-19T09:35:11.410Z] $ docker top 560faebd747d50d7fba561a64597373a7a7cbb3f5fbef620cab5a1a26bca0284 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:35:11.789Z] ---> job-cost.sh [2024-09-19T09:35:11.789Z] lf-activate-venv: SKIPPING [2024-09-19T09:35:11.789Z] INFO: No Stack... [2024-09-19T09:35:12.357Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T09:35:12.616Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T09:35:12.905Z] + cut -d, -f6 [2024-09-19T09:35:12.905Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/cost.csv [Pipeline] lock [2024-09-19T09:35:12.921Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] [2024-09-19T09:35:12.937Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] did not exist. Created. [2024-09-19T09:35:12.943Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T09:35:13.251Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-19T09:35:13.306Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T09:35:13.314Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T09:35:13.336Z] $ docker stop --time=1 560faebd747d50d7fba561a64597373a7a7cbb3f5fbef620cab5a1a26bca0284 [2024-09-19T09:35:14.679Z] $ docker rm -f --volumes 560faebd747d50d7fba561a64597373a7a7cbb3f5fbef620cab5a1a26bca0284 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-19T09:36:11.052Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10681 in /w/workspace/edgexfoundry_device-sdk-c_PR-513 [Pipeline] { [Pipeline] ws [2024-09-19T09:36:11.072Z] Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout [2024-09-19T09:36:11.107Z] Selected Git installation does not exist. Using Default [2024-09-19T09:36:11.107Z] The recommended git tool is: NONE [2024-09-19T09:36:15.928Z] using credential edgex-jenkins-ssh [2024-09-19T09:36:15.951Z] Cloning the remote Git repository [2024-09-19T09:36:15.987Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T09:36:16.075Z] > git init /w/workspace/device-sdk-c/7 # timeout=10 [2024-09-19T09:36:16.226Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T09:36:16.227Z] > git --version # timeout=10 [2024-09-19T09:36:16.246Z] > git --version # 'git version 2.25.1' [2024-09-19T09:36:16.249Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T09:36:16.405Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T09:36:17.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T09:36:17.439Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-19T09:36:18.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-09-19T09:36:18.340Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-09-19T09:36:18.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T09:36:18.364Z] > 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-19T09:36:18.950Z] Merging remotes/origin/main commit b5fd43aa6b4e8069e65248caa2e7d6db03f961ef into PR head commit 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [2024-09-19T09:36:19.287Z] Merge succeeded, producing 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [2024-09-19T09:36:19.288Z] Checking out Revision 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f (PR-513) [2024-09-19T09:36:18.964Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T09:36:19.036Z] > git checkout -f 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f # timeout=10 [2024-09-19T09:36:19.168Z] > git remote # timeout=10 [2024-09-19T09:36:19.187Z] > git config --get remote.origin.url # timeout=10 [2024-09-19T09:36:19.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-19T09:36:19.235Z] > git merge b5fd43aa6b4e8069e65248caa2e7d6db03f961ef # timeout=10 [2024-09-19T09:36:19.263Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-19T09:36:19.287Z] > git config core.sparsecheckout # timeout=10 [2024-09-19T09:36:19.301Z] > git checkout -f 6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f # timeout=10 [2024-09-19T09:36:22.892Z] Commit message: "feat: fix format of discovery/template.c" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T09:36:24.603Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-19T09:36:24.603Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-19T09:36:24.603Z] Dload Upload Total Spent Left Speed [2024-09-19T09:36:24.603Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-09-19T09:36:24.938Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-19T09:36:25.263Z] + + sudo tee /etc/docker/daemon.new [2024-09-19T09:36:25.263Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-19T09:36:25.263Z] { [2024-09-19T09:36:25.263Z] "registry-mirrors": [ [2024-09-19T09:36:25.263Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-19T09:36:25.263Z] ], [2024-09-19T09:36:25.263Z] "bip": "10.250.0.254/24", [2024-09-19T09:36:25.263Z] "hosts": [ [2024-09-19T09:36:25.263Z] "tcp://0.0.0.0:5555", [2024-09-19T09:36:25.263Z] "unix:///var/run/docker.sock" [2024-09-19T09:36:25.263Z] ], [2024-09-19T09:36:25.263Z] "mtu": 1458, [2024-09-19T09:36:25.263Z] "selinux-enabled": true, [2024-09-19T09:36:25.263Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-19T09:36:25.263Z] } [Pipeline] sh [2024-09-19T09:36:25.583Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-19T09:36:25.909Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T09:36:44.168Z] provisioning config files... [2024-09-19T09:36:44.190Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config10479829756417691159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:36:44.636Z] ---> ****-login.sh [2024-09-19T09:36:44.637Z] nexus3.edgexfoundry.org:10001 [2024-09-19T09:36:44.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:36:45.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:36:45.181Z] Configure a credential helper to remove this warning. See [2024-09-19T09:36:45.181Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:36:45.181Z] [2024-09-19T09:36:45.181Z] Login Succeeded [2024-09-19T09:36:45.448Z] nexus3.edgexfoundry.org:10002 [2024-09-19T09:36:45.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:36:45.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:36:45.716Z] Configure a credential helper to remove this warning. See [2024-09-19T09:36:45.716Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:36:45.716Z] [2024-09-19T09:36:45.716Z] Login Succeeded [2024-09-19T09:36:45.716Z] nexus3.edgexfoundry.org:10003 [2024-09-19T09:36:45.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:36:45.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:36:45.984Z] Configure a credential helper to remove this warning. See [2024-09-19T09:36:45.984Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:36:45.984Z] [2024-09-19T09:36:45.984Z] Login Succeeded [2024-09-19T09:36:45.984Z] nexus3.edgexfoundry.org:10004 [2024-09-19T09:36:46.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:36:46.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:36:46.253Z] Configure a credential helper to remove this warning. See [2024-09-19T09:36:46.253Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:36:46.253Z] [2024-09-19T09:36:46.253Z] Login Succeeded [2024-09-19T09:36:46.253Z] ****.io [2024-09-19T09:36:46.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-19T09:36:46.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-19T09:36:46.784Z] Configure a credential helper to remove this warning. See [2024-09-19T09:36:46.785Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-19T09:36:46.785Z] [2024-09-19T09:36:46.785Z] Login Succeeded [2024-09-19T09:36:46.785Z] ---> ****-login.sh ends [Pipeline] } [2024-09-19T09:36:46.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-19T09:36:47.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T09:36:47.117Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-09-19T09:36:47.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-19T09:36:47.145Z] ========================================================= [2024-09-19T09:36:47.145Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-09-19T09:36:47.145Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:36:47.490Z] + 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-19T09:36:47.761Z] Sending build context to Docker daemon 3.225MB [2024-09-19T09:36:48.028Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-09-19T09:36:48.028Z] Step 2/22 : FROM ${BASE} as builder [2024-09-19T09:36:48.028Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-09-19T09:36:48.028Z] 579b34f0a95b: Pulling fs layer [2024-09-19T09:36:48.028Z] e71477ac5e1b: Pulling fs layer [2024-09-19T09:36:48.294Z] 579b34f0a95b: Verifying Checksum [2024-09-19T09:36:48.294Z] 579b34f0a95b: Download complete [2024-09-19T09:36:48.886Z] 579b34f0a95b: Pull complete [2024-09-19T09:36:50.833Z] e71477ac5e1b: Verifying Checksum [2024-09-19T09:36:50.833Z] e71477ac5e1b: Download complete [2024-09-19T09:37:03.148Z] e71477ac5e1b: Pull complete [2024-09-19T09:37:03.148Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-09-19T09:37:03.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-09-19T09:37:03.148Z] ---> 2b552cad5dd9 [2024-09-19T09:37:03.148Z] 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-19T09:37:03.148Z] ---> Running in ebcc9f29e522 [2024-09-19T09:37:03.148Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-09-19T09:37:03.731Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:37:03.731Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:37:03.731Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:37:04.314Z] Removing intermediate container ebcc9f29e522 [2024-09-19T09:37:04.314Z] ---> 61aa34e1124d [2024-09-19T09:37:04.314Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:37:04.314Z] ---> Running in b8f63571480c [2024-09-19T09:37:06.255Z] Removing intermediate container b8f63571480c [2024-09-19T09:37:06.255Z] ---> e03103b0768f [2024-09-19T09:37:06.255Z] 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-19T09:37:06.255Z] ---> Running in 196e88f04117 [2024-09-19T09:37:06.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:37:07.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:37:07.688Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:37:08.651Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:37:08.651Z] (1/17) Installing hiredis (1.1.0-r2) [2024-09-19T09:37:08.651Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-09-19T09:37:08.651Z] (3/17) Installing libcbor (0.10.2-r1) [2024-09-19T09:37:08.651Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T09:37:09.610Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T09:37:09.610Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T09:37:09.876Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-09-19T09:37:09.876Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T09:37:09.876Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T09:37:09.876Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T09:37:09.876Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T09:37:09.876Z] (12/17) Installing libblkid (2.38.1-r8) [2024-09-19T09:37:09.876Z] (13/17) Installing libuuid (2.38.1-r8) [2024-09-19T09:37:09.876Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-09-19T09:37:09.876Z] (15/17) Installing libmount (2.38.1-r8) [2024-09-19T09:37:09.876Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-09-19T09:37:09.876Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-09-19T09:37:09.876Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:37:10.149Z] OK: 333 MiB in 99 packages [2024-09-19T09:37:11.555Z] Removing intermediate container 196e88f04117 [2024-09-19T09:37:11.555Z] ---> 94a666841e7b [2024-09-19T09:37:11.555Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-09-19T09:37:11.555Z] ---> Running in 2e56aed210ab [2024-09-19T09:37:12.972Z] Removing intermediate container 2e56aed210ab [2024-09-19T09:37:12.972Z] ---> cb9da4961a08 [2024-09-19T09:37:12.972Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-09-19T09:37:13.247Z] ---> 47763aef4ced [2024-09-19T09:37:13.247Z] Step 8/22 : COPY src /tmp/sdk/src [2024-09-19T09:37:14.207Z] ---> 620699002790 [2024-09-19T09:37:14.207Z] Step 9/22 : COPY include /tmp/sdk/include [2024-09-19T09:37:14.474Z] ---> 3b0a821140b2 [2024-09-19T09:37:14.474Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-09-19T09:37:15.056Z] ---> e6e9a278cf6b [2024-09-19T09:37:15.056Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-09-19T09:37:15.638Z] ---> 871f340c5a2e [2024-09-19T09:37:15.638Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-09-19T09:37:15.906Z] ---> 9753bb9a5129 [2024-09-19T09:37:15.906Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-09-19T09:37:16.181Z] ---> Running in ed071cca8abf [2024-09-19T09:37:17.146Z] + CPPCHECK=false [2024-09-19T09:37:17.146Z] + DOCGEN=false [2024-09-19T09:37:17.146Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-09-19T09:37:17.146Z] + '[' 0 -gt 0 ] [2024-09-19T09:37:17.146Z] + readlink -f ./scripts/build.sh [2024-09-19T09:37:17.146Z] + dirname /tmp/sdk/scripts/build.sh [2024-09-19T09:37:17.146Z] + dirname /tmp/sdk/scripts [2024-09-19T09:37:17.146Z] + ROOT=/tmp/sdk [2024-09-19T09:37:17.146Z] + cd /tmp/sdk [2024-09-19T09:37:17.146Z] + mkdir -p /tmp/sdk/build/release [2024-09-19T09:37:17.146Z] + cd /tmp/sdk/build/release [2024-09-19T09:37:17.146Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-09-19T09:37:17.419Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T09:37:17.419Z] -- Detecting C compiler ABI info [2024-09-19T09:37:17.686Z] -- Detecting C compiler ABI info - done [2024-09-19T09:37:17.686Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T09:37:17.686Z] -- Detecting C compile features [2024-09-19T09:37:17.686Z] -- Detecting C compile features - done [2024-09-19T09:37:17.686Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T09:37:17.953Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T09:37:17.953Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T09:37:17.953Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T09:37:17.953Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T09:37:17.953Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T09:37:17.953Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T09:37:17.953Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T09:37:17.953Z] -- /opt/iotech/iot/1.5/include [2024-09-19T09:37:17.953Z] -- C SDK 0.0.0 for Linux [2024-09-19T09:37:17.953Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T09:37:18.535Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T09:37:18.535Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T09:37:18.535Z] -- Configuring done (1.6s) [2024-09-19T09:37:18.809Z] -- Generating done (0.2s) [2024-09-19T09:37:18.809Z] -- Build files have been written to: /tmp/sdk/build/release [2024-09-19T09:37:19.076Z] + make all package [2024-09-19T09:37:19.076Z] + tee release.log [2024-09-19T09:37:19.076Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T09:37:19.660Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T09:37:20.621Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T09:37:21.219Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T09:37:22.182Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T09:37:22.767Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T09:37:24.713Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T09:37:25.674Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-09-19T09:37:25.674Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:37:25.674Z] 294 | while (privateConfig) [2024-09-19T09:37:25.674Z] | ^~~~~~~~~~~~~ [2024-09-19T09:37:25.674Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-09-19T09:37:25.674Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T09:37:25.674Z] | ^~~~~~~~~~~~~ [2024-09-19T09:37:25.674Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:37:25.674Z] 271 | while (result) [2024-09-19T09:37:25.674Z] | ^~~~~~ [2024-09-19T09:37:25.674Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-09-19T09:37:25.674Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-09-19T09:37:25.674Z] | ^~~~~~ [2024-09-19T09:37:25.674Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T09:37:25.943Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T09:37:26.903Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T09:37:28.856Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T09:37:29.123Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T09:37:30.088Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T09:37:30.682Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T09:37:31.271Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T09:37:32.235Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T09:37:32.504Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T09:37:34.453Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T09:37:34.722Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T09:37:35.308Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T09:37:36.720Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T09:37:43.374Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T09:37:43.643Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T09:37:43.927Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T09:37:44.513Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T09:37:44.782Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T09:37:46.729Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T09:37:48.676Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T09:37:48.944Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T09:37:49.910Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T09:37:50.495Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T09:37:50.763Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T09:37:50.763Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:37:50.763Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T09:37:50.763Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:37:50.763Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:37:50.763Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T09:37:50.763Z] | ^ [2024-09-19T09:37:52.171Z] /tmp/sdk/src/c/service.c:1047:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-09-19T09:37:52.171Z] 1047 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-09-19T09:37:52.171Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:37:52.171Z] /tmp/sdk/src/c/service.c:859:68: note: 'deviceservices_config' was declared here [2024-09-19T09:37:52.171Z] 859 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-09-19T09:37:52.171Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:37:53.580Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T09:37:54.164Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T09:37:54.430Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T09:37:55.012Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T09:37:55.012Z] [ 68%] Built target csdk [2024-09-19T09:37:55.281Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T09:37:56.242Z] [ 72%] Linking C executable template [2024-09-19T09:37:56.242Z] [ 72%] Built target template [2024-09-19T09:37:56.511Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T09:37:57.103Z] [ 76%] Linking C executable device-counter [2024-09-19T09:37:57.370Z] [ 76%] Built target device-counter [2024-09-19T09:37:57.370Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T09:37:57.953Z] [ 80%] Linking C executable device-random [2024-09-19T09:37:58.221Z] [ 80%] Built target device-random [2024-09-19T09:37:58.221Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T09:37:58.806Z] [ 84%] Linking C executable device-gyro [2024-09-19T09:37:59.073Z] [ 84%] Built target device-gyro [2024-09-19T09:37:59.073Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T09:37:59.655Z] [ 88%] Linking C executable device-bitfields [2024-09-19T09:37:59.923Z] [ 88%] Built target device-bitfields [2024-09-19T09:37:59.923Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T09:38:00.881Z] [ 92%] Linking C executable template-discovery [2024-09-19T09:38:01.148Z] [ 92%] Built target template-discovery [2024-09-19T09:38:01.148Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T09:38:02.112Z] [ 96%] Linking C executable device-file [2024-09-19T09:38:02.112Z] [ 96%] Built target device-file [2024-09-19T09:38:02.381Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T09:38:02.968Z] [100%] Linking C executable device-terminal [2024-09-19T09:38:03.239Z] [100%] Built target device-terminal [2024-09-19T09:38:03.239Z] Run CPack packaging tool... [2024-09-19T09:38:03.239Z] CPack: Create package using TGZ [2024-09-19T09:38:03.239Z] CPack: Install projects [2024-09-19T09:38:03.239Z] CPack: - Run preinstall target for: Csdk [2024-09-19T09:38:04.204Z] CPack: - Install project: Csdk [] [2024-09-19T09:38:04.204Z] CPack: Create package [2024-09-19T09:38:04.204Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-09-19T09:38:04.204Z] + '[' false '=' true ] [2024-09-19T09:38:04.204Z] + '[' false '=' true ] [2024-09-19T09:38:04.204Z] + mkdir -p /tmp/sdk/build/debug [2024-09-19T09:38:04.204Z] + cd /tmp/sdk/build/debug [2024-09-19T09:38:04.204Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-09-19T09:38:04.470Z] -- The C compiler identification is GNU 12.2.1 [2024-09-19T09:38:04.742Z] -- Detecting C compiler ABI info [2024-09-19T09:38:05.010Z] -- Detecting C compiler ABI info - done [2024-09-19T09:38:05.010Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-09-19T09:38:05.010Z] -- Detecting C compile features [2024-09-19T09:38:05.010Z] -- Detecting C compile features - done [2024-09-19T09:38:05.010Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-09-19T09:38:05.276Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-09-19T09:38:05.276Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-09-19T09:38:05.276Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-09-19T09:38:05.277Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-09-19T09:38:05.277Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-09-19T09:38:05.277Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-09-19T09:38:05.277Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-09-19T09:38:05.277Z] -- /opt/iotech/iot/1.5/include [2024-09-19T09:38:05.277Z] -- C SDK 0.0.0 for Linux [2024-09-19T09:38:05.277Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-09-19T09:38:05.859Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-09-19T09:38:05.859Z] -- Found Curses: /usr/lib/libcurses.so [2024-09-19T09:38:06.126Z] -- Configuring done (1.7s) [2024-09-19T09:38:06.126Z] -- Generating done (0.2s) [2024-09-19T09:38:06.392Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-09-19T09:38:06.392Z] + make [2024-09-19T09:38:06.392Z] + tee debug.log [2024-09-19T09:38:06.392Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-09-19T09:38:06.742Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-09-19T09:38:07.343Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-09-19T09:38:07.615Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-09-19T09:38:07.889Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-09-19T09:38:08.506Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-09-19T09:38:09.098Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-09-19T09:38:09.683Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-09-19T09:38:09.683Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-09-19T09:38:10.264Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-09-19T09:38:10.846Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-09-19T09:38:11.111Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-09-19T09:38:11.379Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-09-19T09:38:11.963Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-09-19T09:38:12.231Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-09-19T09:38:12.498Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-09-19T09:38:12.765Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-09-19T09:38:13.355Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-09-19T09:38:13.621Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-09-19T09:38:13.888Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-09-19T09:38:14.470Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-09-19T09:38:15.898Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-09-19T09:38:15.898Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-09-19T09:38:16.166Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-09-19T09:38:16.432Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-09-19T09:38:16.699Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-09-19T09:38:17.283Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-09-19T09:38:18.698Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-09-19T09:38:18.698Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-09-19T09:38:19.283Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-09-19T09:38:19.549Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-09-19T09:38:19.816Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-09-19T09:38:19.816Z] /tmp/sdk/src/c/service.c:892:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:38:19.816Z] 892 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-09-19T09:38:19.816Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-09-19T09:38:19.816Z] /tmp/sdk/src/c/service.c:893:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-09-19T09:38:19.816Z] 893 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-09-19T09:38:19.816Z] | ^ [2024-09-19T09:38:20.398Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-09-19T09:38:20.664Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-09-19T09:38:20.930Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-09-19T09:38:21.197Z] [ 68%] Linking C shared library libcsdk.so [2024-09-19T09:38:21.463Z] [ 68%] Built target csdk [2024-09-19T09:38:21.463Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-09-19T09:38:21.730Z] [ 72%] Linking C executable template [2024-09-19T09:38:22.314Z] [ 72%] Built target template [2024-09-19T09:38:22.314Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-09-19T09:38:22.584Z] [ 76%] Linking C executable device-counter [2024-09-19T09:38:22.851Z] [ 76%] Built target device-counter [2024-09-19T09:38:22.851Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-09-19T09:38:23.117Z] [ 80%] Linking C executable device-random [2024-09-19T09:38:23.386Z] [ 80%] Built target device-random [2024-09-19T09:38:23.386Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-09-19T09:38:23.651Z] [ 84%] Linking C executable device-gyro [2024-09-19T09:38:24.231Z] [ 84%] Built target device-gyro [2024-09-19T09:38:24.231Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-09-19T09:38:24.496Z] [ 88%] Linking C executable device-bitfields [2024-09-19T09:38:24.762Z] [ 88%] Built target device-bitfields [2024-09-19T09:38:24.762Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-09-19T09:38:25.028Z] [ 92%] Linking C executable template-discovery [2024-09-19T09:38:25.608Z] [ 92%] Built target template-discovery [2024-09-19T09:38:25.608Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-09-19T09:38:25.874Z] [ 96%] Linking C executable device-file [2024-09-19T09:38:26.141Z] [ 96%] Built target device-file [2024-09-19T09:38:26.141Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-09-19T09:38:26.409Z] [100%] Linking C executable device-terminal [2024-09-19T09:38:26.993Z] [100%] Built target device-terminal [2024-09-19T09:38:26.993Z] make: Entering directory '/tmp/sdk/build/release' [2024-09-19T09:38:26.993Z] [ 68%] Built target csdk [2024-09-19T09:38:26.993Z] [ 72%] Built target template [2024-09-19T09:38:27.261Z] [ 76%] Built target device-counter [2024-09-19T09:38:27.261Z] [ 80%] Built target device-random [2024-09-19T09:38:27.261Z] [ 84%] Built target device-gyro [2024-09-19T09:38:27.261Z] [ 88%] Built target device-bitfields [2024-09-19T09:38:27.261Z] [ 92%] Built target template-discovery [2024-09-19T09:38:27.528Z] [ 96%] Built target device-file [2024-09-19T09:38:27.528Z] [100%] Built target device-terminal [2024-09-19T09:38:27.528Z] Install the project... [2024-09-19T09:38:27.528Z] -- Install configuration: "Release" [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/lib/libcsdk.so [2024-09-19T09:38:27.528Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include/devsdk [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include/edgex [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include/edgex/devices.h [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-09-19T09:38:27.528Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-09-19T09:38:27.528Z] make: Leaving directory '/tmp/sdk/build/release' [2024-09-19T09:38:28.944Z] Removing intermediate container ed071cca8abf [2024-09-19T09:38:28.944Z] ---> a18963a59c14 [2024-09-19T09:38:28.944Z] Step 14/22 : FROM ${BASE} [2024-09-19T09:38:28.944Z] ---> 2b552cad5dd9 [2024-09-19T09:38:28.944Z] Step 15/22 : LABEL maintainer="IOTech " [2024-09-19T09:38:29.215Z] ---> Running in 934871ccfeaf [2024-09-19T09:38:29.481Z] Removing intermediate container 934871ccfeaf [2024-09-19T09:38:29.481Z] ---> a270a7f333ce [2024-09-19T09:38:29.481Z] 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-19T09:38:29.481Z] ---> Running in 1c5bfa90c028 [2024-09-19T09:38:30.438Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T09:38:30.712Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:38:30.712Z] alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA [2024-09-19T09:38:30.712Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:38:31.674Z] Removing intermediate container 1c5bfa90c028 [2024-09-19T09:38:31.674Z] ---> bab811474a52 [2024-09-19T09:38:31.674Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:38:31.674Z] ---> Running in 8b5afb9f3841 [2024-09-19T09:38:33.087Z] Removing intermediate container 8b5afb9f3841 [2024-09-19T09:38:33.087Z] ---> 39a7ca75a457 [2024-09-19T09:38:33.087Z] 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-19T09:38:33.357Z] ---> Running in 1dd814f51a51 [2024-09-19T09:38:34.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:34.581Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:35.163Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:36.118Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:38:36.118Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T09:38:36.118Z] (2/10) Installing curl (8.9.1-r0) [2024-09-19T09:38:36.118Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r0) [2024-09-19T09:38:36.118Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-09-19T09:38:36.118Z] (5/10) Installing hiredis (1.1.0-r2) [2024-09-19T09:38:36.118Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-09-19T09:38:36.118Z] (7/10) Installing libcbor (0.10.2-r1) [2024-09-19T09:38:36.118Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-09-19T09:38:36.710Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-09-19T09:38:36.975Z] (10/10) Installing libuuid (2.38.1-r8) [2024-09-19T09:38:36.975Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:38:37.244Z] OK: 328 MiB in 90 packages [2024-09-19T09:38:38.202Z] Removing intermediate container 1dd814f51a51 [2024-09-19T09:38:38.202Z] ---> 02d4f92ddf26 [2024-09-19T09:38:38.202Z] Step 19/22 : RUN apk --no-cache upgrade [2024-09-19T09:38:38.202Z] ---> Running in 238fd093b141 [2024-09-19T09:38:39.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:39.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:40.011Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:40.969Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:38:40.969Z] Upgrading critical system libraries and apk-tools: [2024-09-19T09:38:40.969Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-09-19T09:38:40.969Z] Executing busybox-1.36.1-r4.trigger [2024-09-19T09:38:41.235Z] Continuing the upgrade transaction with new apk-tools: [2024-09-19T09:38:41.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:41.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:41.767Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:42.725Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:38:42.725Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:38:42.725Z] Executing busybox-1.36.1-r7.post-upgrade [2024-09-19T09:38:42.725Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:38:42.725Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-09-19T09:38:42.725Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:38:42.994Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:38:42.994Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-09-19T09:38:42.994Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-09-19T09:38:42.994Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.5-r0) [2024-09-19T09:38:42.994Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-09-19T09:38:42.994Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r0) [2024-09-19T09:38:43.262Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-09-19T09:38:43.262Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:38:43.532Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:38:43.532Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-09-19T09:38:43.532Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T09:38:43.532Z] Executing ca-certificates-20240226-r0.trigger [2024-09-19T09:38:43.801Z] OK: 328 MiB in 90 packages [2024-09-19T09:38:45.748Z] Removing intermediate container 238fd093b141 [2024-09-19T09:38:45.748Z] ---> 2fe482ff1875 [2024-09-19T09:38:45.748Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-09-19T09:38:46.014Z] ---> 7aa3a3186031 [2024-09-19T09:38:46.014Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-09-19T09:38:46.596Z] ---> 8ab0d01370c1 [2024-09-19T09:38:46.596Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-09-19T09:38:47.178Z] ---> e9cdd2075812 [2024-09-19T09:38:47.178Z] Successfully built e9cdd2075812 [2024-09-19T09:38:47.178Z] 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-19T09:38:47.619Z] + docker inspect -f . ci-base-image-arm64 [2024-09-19T09:38:47.619Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:38:47.835Z] prd-ubuntu20.04-docker-arm64-4c-16g-10681 does not seem to be running inside a container [2024-09-19T09:38:47.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@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-19T09:38:49.121Z] $ docker top 70780bd85b2114c71e651d201862b5d334625e3836130993087740da1a988662 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T09:38:49.966Z] + make test [2024-09-19T09:38:49.966Z] echo "make test" [2024-09-19T09:38:49.966Z] make test [Pipeline] } [2024-09-19T09:38:49.980Z] $ docker stop --time=1 70780bd85b2114c71e651d201862b5d334625e3836130993087740da1a988662 [2024-09-19T09:38:51.596Z] $ docker rm -f --volumes 70780bd85b2114c71e651d201862b5d334625e3836130993087740da1a988662 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-19T09:38:52.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-19T09:38:52.504Z] + ls -al . [2024-09-19T09:38:52.504Z] total 208 [2024-09-19T09:38:52.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:36 . [2024-09-19T09:38:52.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:36 .. [2024-09-19T09:38:52.504Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 09:36 .git [2024-09-19T09:38:52.504Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 09:36 .github [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 19 09:36 .gitignore [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 19 09:36 Attribution.txt [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 11953 Sep 19 09:36 CHANGELOG.md [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 19 09:36 Doxyfile [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 09:36 GOVERNANCE.md [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 19 09:36 Jenkinsfile [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 19 09:36 LICENSE [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 19 09:36 Makefile [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 19 09:36 OWNERS.md [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 19 09:36 README.IOT.md [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 19 09:36 README.md [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 19 09:36 README.v3.md [2024-09-19T09:38:52.504Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 09:34 VERSION [2024-09-19T09:38:52.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:36 docs [2024-09-19T09:38:52.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:36 include [2024-09-19T09:38:52.504Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 09:36 scripts [2024-09-19T09:38:52.504Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 09:36 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:38:52.853Z] + 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=6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f --label arch=arm64 --label version=0.0.0 . [2024-09-19T09:38:53.439Z] Sending build context to Docker daemon 3.225MB [2024-09-19T09:38:53.439Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-09-19T09:38:53.439Z] Step 2/18 : FROM ${BASE} [2024-09-19T09:38:53.439Z] ---> e9cdd2075812 [2024-09-19T09:38:53.439Z] Step 3/18 : LABEL maintainer="IOTech " [2024-09-19T09:38:53.439Z] ---> Running in 2839b36f37df [2024-09-19T09:38:53.704Z] Removing intermediate container 2839b36f37df [2024-09-19T09:38:53.704Z] ---> 3a2cf858f867 [2024-09-19T09:38:53.704Z] 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-19T09:38:53.979Z] ---> Running in 32312a578102 [2024-09-19T09:38:54.929Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-09-19T09:38:55.194Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-09-19T09:38:55.194Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-09-19T09:38:55.194Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-09-19T09:38:56.153Z] Removing intermediate container 32312a578102 [2024-09-19T09:38:56.153Z] ---> 95e011527e91 [2024-09-19T09:38:56.153Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-09-19T09:38:56.153Z] ---> Running in 419a1ce5bb7a [2024-09-19T09:38:58.099Z] Removing intermediate container 419a1ce5bb7a [2024-09-19T09:38:58.099Z] ---> 5b760a5bd075 [2024-09-19T09:38:58.099Z] 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-19T09:38:58.099Z] ---> Running in a5941f4b6f95 [2024-09-19T09:38:58.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:59.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:38:59.860Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:39:00.442Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:39:00.707Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-09-19T09:39:00.974Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-09-19T09:39:00.974Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-09-19T09:39:00.974Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-09-19T09:39:00.974Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-09-19T09:39:00.974Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-09-19T09:39:00.974Z] (7/11) Installing libblkid (2.38.1-r8) [2024-09-19T09:39:00.974Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-09-19T09:39:00.974Z] (9/11) Installing libmount (2.38.1-r8) [2024-09-19T09:39:00.974Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-09-19T09:39:00.974Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-09-19T09:39:00.974Z] Executing busybox-1.36.1-r7.trigger [2024-09-19T09:39:01.241Z] OK: 334 MiB in 101 packages [2024-09-19T09:39:02.647Z] Removing intermediate container a5941f4b6f95 [2024-09-19T09:39:02.647Z] ---> c533204721e2 [2024-09-19T09:39:02.647Z] Step 7/18 : RUN apk --no-cache upgrade [2024-09-19T09:39:02.647Z] ---> Running in d3961b890387 [2024-09-19T09:39:03.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:39:03.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-19T09:39:04.135Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-19T09:39:05.090Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-09-19T09:39:05.090Z] OK: 334 MiB in 101 packages [2024-09-19T09:39:06.047Z] Removing intermediate container d3961b890387 [2024-09-19T09:39:06.047Z] ---> 22388364fa70 [2024-09-19T09:39:06.047Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-09-19T09:39:06.316Z] ---> 431783549ea1 [2024-09-19T09:39:06.316Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-09-19T09:39:07.280Z] ---> f7a60dc261a8 [2024-09-19T09:39:07.280Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-09-19T09:39:07.547Z] ---> 08726c854bb0 [2024-09-19T09:39:07.547Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-09-19T09:39:08.131Z] ---> aca5adbfd887 [2024-09-19T09:39:08.131Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-09-19T09:39:08.714Z] ---> 18972e43629e [2024-09-19T09:39:08.714Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-09-19T09:39:08.983Z] ---> 66e0f67f05c3 [2024-09-19T09:39:08.983Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-09-19T09:39:08.983Z] ---> Running in 23cbf1e548c0 [2024-09-19T09:39:09.331Z] Removing intermediate container 23cbf1e548c0 [2024-09-19T09:39:09.331Z] ---> b81e427b81d4 [2024-09-19T09:39:09.331Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-09-19T09:39:09.331Z] ---> Running in 47e6ff654018 [2024-09-19T09:39:09.599Z] Removing intermediate container 47e6ff654018 [2024-09-19T09:39:09.599Z] ---> e62e58251615 [2024-09-19T09:39:09.599Z] Step 16/18 : LABEL arch=arm64 [2024-09-19T09:39:09.870Z] ---> Running in 096b3f922c78 [2024-09-19T09:39:10.138Z] Removing intermediate container 096b3f922c78 [2024-09-19T09:39:10.138Z] ---> dc7ca210e46a [2024-09-19T09:39:10.138Z] Step 17/18 : LABEL git_sha=6734daf65f8f1ca5e86c6df67a0fedac0bc2b53f [2024-09-19T09:39:10.138Z] ---> Running in 001d20662358 [2024-09-19T09:39:10.406Z] Removing intermediate container 001d20662358 [2024-09-19T09:39:10.406Z] ---> 195f13dc117e [2024-09-19T09:39:10.406Z] Step 18/18 : LABEL version=0.0.0 [2024-09-19T09:39:10.677Z] ---> Running in bb43421d7a25 [2024-09-19T09:39:10.944Z] Removing intermediate container bb43421d7a25 [2024-09-19T09:39:10.944Z] ---> 4b7a79b8ae00 [2024-09-19T09:39:10.944Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-09-19T09:39:10.944Z] Successfully built 4b7a79b8ae00 [2024-09-19T09:39:10.944Z] 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-19T09:39:11.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T09:39:11.634Z] [2024-09-19T09:39:11.634Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:39:11.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T09:39:11.973Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-19T09:39:11.973Z] 8998bd30e6a1: Pulling fs layer [2024-09-19T09:39:11.973Z] 04944245beec: Pulling fs layer [2024-09-19T09:39:11.973Z] 699f458cf7ca: Pulling fs layer [2024-09-19T09:39:11.973Z] 765212b225bb: Pulling fs layer [2024-09-19T09:39:11.973Z] f23df028b6ca: Pulling fs layer [2024-09-19T09:39:11.973Z] d65c8cfc05b1: Pulling fs layer [2024-09-19T09:39:11.973Z] 2437ff75d9bd: Pulling fs layer [2024-09-19T09:39:11.973Z] f23df028b6ca: Waiting [2024-09-19T09:39:11.973Z] d65c8cfc05b1: Waiting [2024-09-19T09:39:11.973Z] 2437ff75d9bd: Waiting [2024-09-19T09:39:11.973Z] 765212b225bb: Waiting [2024-09-19T09:39:12.241Z] 04944245beec: Verifying Checksum [2024-09-19T09:39:12.241Z] 04944245beec: Download complete [2024-09-19T09:39:12.241Z] 765212b225bb: Verifying Checksum [2024-09-19T09:39:12.241Z] 765212b225bb: Download complete [2024-09-19T09:39:12.241Z] f23df028b6ca: Verifying Checksum [2024-09-19T09:39:12.241Z] f23df028b6ca: Download complete [2024-09-19T09:39:12.241Z] d65c8cfc05b1: Verifying Checksum [2024-09-19T09:39:12.241Z] d65c8cfc05b1: Download complete [2024-09-19T09:39:12.241Z] 699f458cf7ca: Verifying Checksum [2024-09-19T09:39:12.241Z] 699f458cf7ca: Download complete [2024-09-19T09:39:12.824Z] 8998bd30e6a1: Verifying Checksum [2024-09-19T09:39:12.824Z] 8998bd30e6a1: Download complete [2024-09-19T09:39:15.547Z] 2437ff75d9bd: Verifying Checksum [2024-09-19T09:39:15.547Z] 2437ff75d9bd: Download complete [2024-09-19T09:39:17.487Z] 8998bd30e6a1: Pull complete [2024-09-19T09:39:17.755Z] 04944245beec: Pull complete [2024-09-19T09:39:19.697Z] 699f458cf7ca: Pull complete [2024-09-19T09:39:19.697Z] 765212b225bb: Pull complete [2024-09-19T09:39:20.281Z] f23df028b6ca: Pull complete [2024-09-19T09:39:20.556Z] d65c8cfc05b1: Pull complete [2024-09-19T09:39:38.848Z] 2437ff75d9bd: Pull complete [2024-09-19T09:39:38.848Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-19T09:39:38.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-19T09:39:38.848Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:39:39.074Z] prd-ubuntu20.04-docker-arm64-4c-16g-10681 does not seem to be running inside a container [2024-09-19T09:39:39.150Z] $ 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/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@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-19T09:39:41.558Z] $ docker top 668bfd6070a142963e43ae9fbf9dd2814a900c37dd2e8a87ae84a9ae63f4ecda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:39:42.422Z] ---> job-cost.sh [2024-09-19T09:39:42.422Z] lf-activate-venv: SKIPPING [2024-09-19T09:39:42.422Z] INFO: No Stack... [2024-09-19T09:39:42.687Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-19T09:39:43.642Z] INFO: Archiving Costs [Pipeline] sh [2024-09-19T09:39:43.964Z] + cat /w/workspace/device-sdk-c/7/archives/cost.csv [2024-09-19T09:39:44.233Z] + cut -d, -f6 [Pipeline] lock [2024-09-19T09:39:44.270Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] [2024-09-19T09:39:44.284Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] did not exist. Created. [2024-09-19T09:39:44.291Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-19T09:39:44.954Z] /w/workspace/device-sdk-c/7@tmp/durable-1de5206a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-19T09:39:45.290Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-19T09:39:45.320Z] Warning: overwriting stash ‘stack-cost’ [2024-09-19T09:39:46.086Z] Stashed 1 file(s) [Pipeline] } [2024-09-19T09:39:46.096Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-513-7-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-19T09:39:46.124Z] $ docker stop --time=1 668bfd6070a142963e43ae9fbf9dd2814a900c37dd2e8a87ae84a9ae63f4ecda [2024-09-19T09:39:47.621Z] $ docker rm -f --volumes 668bfd6070a142963e43ae9fbf9dd2814a900c37dd2e8a87ae84a9ae63f4ecda [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-19T09:39:49.534Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives ] [2024-09-19T09:39:49.534Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T09:39:49.534Z] total 16 [2024-09-19T09:39:49.534Z] drwxr-xr-x 3 root root 4096 Sep 19 09:35 . [2024-09-19T09:39:49.534Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 09:35 .. [2024-09-19T09:39:49.534Z] drwxr-xr-x 2 root root 4096 Sep 19 09:35 cost [2024-09-19T09:39:49.534Z] -rw-r--r-- 1 root root 84 Sep 19 09:35 cost.csv [2024-09-19T09:39:49.534Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T09:39:49.534Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives [2024-09-19T09:39:49.534Z] total 16 [2024-09-19T09:39:49.534Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 09:35 . [2024-09-19T09:39:49.534Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 09:35 .. [2024-09-19T09:39:49.534Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 09:35 cost [2024-09-19T09:39:49.534Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 19 09:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:39:49.836Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:39:50.906Z] ---> package-listing.sh [2024-09-19T09:39:50.906Z] ++ facter osfamily [2024-09-19T09:39:50.906Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-19T09:39:51.165Z] + OS_FAMILY=debian [2024-09-19T09:39:51.165Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-513 [2024-09-19T09:39:51.165Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-19T09:39:51.165Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-19T09:39:51.165Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-19T09:39:51.165Z] + PACKAGES=/tmp/packages_start.txt [2024-09-19T09:39:51.165Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-19T09:39:51.165Z] + PACKAGES=/tmp/packages_end.txt [2024-09-19T09:39:51.165Z] + case "${OS_FAMILY}" in [2024-09-19T09:39:51.165Z] + dpkg -l [2024-09-19T09:39:51.165Z] + grep '^ii' [2024-09-19T09:39:51.165Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-19T09:39:51.165Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-19T09:39:51.165Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-19T09:39:51.165Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-513 ']' [2024-09-19T09:39:51.165Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-513/archives/ [2024-09-19T09:39:51.165Z] + 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-19T09:39:51.176Z] 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-19T09:39:51.454Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-19T09:39:52.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-19T09:39:52.022Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-19T09:39:52.097Z] prd-ubuntu20.04-docker-8c-8g-10680 does not seem to be running inside a container [2024-09-19T09:39:52.127Z] $ 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-19T09:39:52.321Z] $ docker top 81167081d499a0170055a683dd686ed1c89a07dc02eea8d09039eddacc521bad -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-19T09:39:52.685Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-19T09:39:52.970Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-19T09:39:53.259Z] + ls /var/log/sa-host [2024-09-19T09:39:53.259Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-19T09:39:53.343Z] provisioning config files... [2024-09-19T09:39:53.356Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-513@tmp/config1469271840716442837tmp [Pipeline] { [Pipeline] echo [2024-09-19T09:39:53.375Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:39:53.659Z] ---> create-netrc.sh [Pipeline] } [2024-09-19T09:39:53.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:39:54.001Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-19T09:39:54.011Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:39:54.295Z] ---> sudo-logs.sh [2024-09-19T09:39:54.295Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-19T09:39:54.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:39:54.607Z] ---> job-cost.sh [2024-09-19T09:39:54.608Z] lf-activate-venv: SKIPPING [2024-09-19T09:39:54.608Z] DEBUG: total: 0.2199999988079071 [2024-09-19T09:39:54.608Z] INFO: Retrieving Stack Cost... [2024-09-19T09:39:54.868Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-19T09:39:55.127Z] INFO: Archiving Costs [Pipeline] echo [2024-09-19T09:39:55.141Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-19T09:39:55.425Z] ---> logs-deploy.sh [2024-09-19T09:39:55.425Z] lf-activate-venv: SKIPPING [2024-09-19T09:39:55.425Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-513/7 [2024-09-19T09:39:55.425Z] INFO: archiving workspace using pattern(s): [2024-09-19T09:39:56.362Z] Archives upload complete. [2024-09-19T09:39:56.362Z] INFO: archiving logs to Nexus