Pull request #512 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8+442156b10c8e48709838cfe148b6b6cf65ecf635 (44852c6051c25c0630b14f32eee44c091bb4d1a9) 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-ssh8080863516518623743.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5971715137978983333.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-512/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-512/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15772122640437102096.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9249266958959960773.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-512/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-512/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh766658812912996498.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-2553 in /w/workspace/edgexfoundry_device-sdk-c_PR-512 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-512 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/512/head:refs/remotes/origin/PR-512 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 Merge succeeded, producing edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 Checking out Revision edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 (PR-512) > git config core.sparsecheckout # timeout=10 > git checkout -f edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 # timeout=10 Commit message: "feat: Make strdup-if-set more readable." First time build. Skipping changelog. > git rev-list --no-walk 6cf0366f7c54f230287b420458dc2527694989f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-16T13:42:33.925Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-16T13:42:33.994Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-16T13:42:34.025Z] ========================================================= [2024-04-16T13:42:34.025Z] EdgeX Global Pipelines Version Info [2024-04-16T13:42:34.025Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:42:35.128Z] ------------------- [2024-04-16T13:42:35.128Z] stable info: [2024-04-16T13:42:35.128Z] ------------------- [2024-04-16T13:42:35.128Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-16T13:42:35.128Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-16T13:42:35.128Z] Message: update stable to v1.0.258 [2024-04-16T13:42:35.709Z] ------------------- [2024-04-16T13:42:35.709Z] experimental info: [2024-04-16T13:42:35.709Z] ------------------- [2024-04-16T13:42:35.709Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-16T13:42:35.709Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-16T13:42:35.709Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-16T13:42:35.781Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-04-16T13:42:35.799Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-04-16T13:42:35.814Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-16T13:42:35.832Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-16T13:42:35.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-16T13:42:35.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-04-16T13:42:35.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-04-16T13:42:35.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-16T13:42:35.939Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-16T13:42:35.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-04-16T13:42:35.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-16T13:42:36.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-16T13:42:36.030Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-16T13:42:36.048Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-04-16T13:42:36.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-16T13:42:36.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-16T13:42:36.103Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-16T13:42:36.122Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-512 [Pipeline] echo [2024-04-16T13:42:36.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-512 [Pipeline] echo [2024-04-16T13:42:36.168Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-512 [Pipeline] echo [2024-04-16T13:42:36.187Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [Pipeline] echo [2024-04-16T13:42:36.211Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = edd26a6 [Pipeline] echo [2024-04-16T13:42:36.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T13:42:36.288Z] provisioning config files... [2024-04-16T13:42:36.303Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/config12227577113762765822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:42:36.642Z] ---> ****-login.sh [2024-04-16T13:42:36.642Z] nexus3.edgexfoundry.org:10001 [2024-04-16T13:42:36.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:42:36.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:42:36.902Z] Configure a credential helper to remove this warning. See [2024-04-16T13:42:36.902Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:42:36.902Z] [2024-04-16T13:42:36.902Z] Login Succeeded [2024-04-16T13:42:36.902Z] nexus3.edgexfoundry.org:10002 [2024-04-16T13:42:36.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:42:37.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:42:37.162Z] Configure a credential helper to remove this warning. See [2024-04-16T13:42:37.162Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:42:37.162Z] [2024-04-16T13:42:37.162Z] Login Succeeded [2024-04-16T13:42:37.162Z] nexus3.edgexfoundry.org:10003 [2024-04-16T13:42:37.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:42:37.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:42:37.162Z] Configure a credential helper to remove this warning. See [2024-04-16T13:42:37.162Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:42:37.162Z] [2024-04-16T13:42:37.162Z] Login Succeeded [2024-04-16T13:42:37.162Z] nexus3.edgexfoundry.org:10004 [2024-04-16T13:42:37.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:42:37.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:42:37.163Z] Configure a credential helper to remove this warning. See [2024-04-16T13:42:37.163Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:42:37.163Z] [2024-04-16T13:42:37.163Z] Login Succeeded [2024-04-16T13:42:37.163Z] ****.io [2024-04-16T13:42:37.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:42:37.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:42:37.686Z] Configure a credential helper to remove this warning. See [2024-04-16T13:42:37.686Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:42:37.686Z] [2024-04-16T13:42:37.686Z] Login Succeeded [2024-04-16T13:42:37.686Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T13:42:37.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-04-16T13:42:38.090Z] + git rev-list -1 --merges edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8~1..edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [Pipeline] echo [2024-04-16T13:42:38.121Z] -----------> git rev-list -1 --merges edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8~1..edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [false] [Pipeline] sh [2024-04-16T13:42:38.416Z] + git log --format=format:%s -1 edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [Pipeline] echo [2024-04-16T13:42:38.432Z] ========================================================= [2024-04-16T13:42:38.432Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-16T13:42:38.432Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-16T13:42:38.871Z] + git rev-list -1 --merges edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8~1..edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [Pipeline] echo [2024-04-16T13:42:38.883Z] -----------> git rev-list -1 --merges edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8~1..edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [false] [Pipeline] sh [2024-04-16T13:42:39.176Z] + git log --format=format:%s -1 edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [Pipeline] echo [2024-04-16T13:42:39.191Z] ========================================================= [2024-04-16T13:42:39.191Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-16T13:42:39.191Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-04-16T13:42:39.574Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-16T13:42:39.574Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-16T13:42:39.574Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-16T13:42:39.574Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-16T13:42:39.574Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-16T13:42:39.574Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-16T13:42:39.574Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:42:39.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T13:42:39.922Z] [2024-04-16T13:42:39.922Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:42:40.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T13:42:40.229Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-16T13:42:40.229Z] b85a868b505f: Pulling fs layer [2024-04-16T13:42:40.229Z] e2be974225ed: Pulling fs layer [2024-04-16T13:42:40.229Z] 339a4e72a1f5: Pulling fs layer [2024-04-16T13:42:40.229Z] 988bab9f4d93: Pulling fs layer [2024-04-16T13:42:40.229Z] 1469e6f7b9e6: Pulling fs layer [2024-04-16T13:42:40.229Z] eaf3925da568: Pulling fs layer [2024-04-16T13:42:40.229Z] bab4dde63d76: Pulling fs layer [2024-04-16T13:42:40.229Z] bde34c3a00c8: Pulling fs layer [2024-04-16T13:42:40.229Z] b352a97aabf1: Pulling fs layer [2024-04-16T13:42:40.229Z] eaf3925da568: Waiting [2024-04-16T13:42:40.229Z] 988bab9f4d93: Waiting [2024-04-16T13:42:40.229Z] 4872d77fe225: Pulling fs layer [2024-04-16T13:42:40.229Z] 5851b861e8e6: Pulling fs layer [2024-04-16T13:42:40.229Z] b352a97aabf1: Waiting [2024-04-16T13:42:40.229Z] 4872d77fe225: Waiting [2024-04-16T13:42:40.229Z] 5851b861e8e6: Waiting [2024-04-16T13:42:40.229Z] e2be974225ed: Verifying Checksum [2024-04-16T13:42:40.229Z] e2be974225ed: Download complete [2024-04-16T13:42:40.229Z] 1469e6f7b9e6: Verifying Checksum [2024-04-16T13:42:40.229Z] 1469e6f7b9e6: Download complete [2024-04-16T13:42:40.229Z] eaf3925da568: Download complete [2024-04-16T13:42:40.229Z] 339a4e72a1f5: Verifying Checksum [2024-04-16T13:42:40.229Z] 339a4e72a1f5: Download complete [2024-04-16T13:42:40.229Z] bde34c3a00c8: Download complete [2024-04-16T13:42:40.487Z] b352a97aabf1: Verifying Checksum [2024-04-16T13:42:40.487Z] b352a97aabf1: Download complete [2024-04-16T13:42:40.487Z] 4872d77fe225: Verifying Checksum [2024-04-16T13:42:40.487Z] 4872d77fe225: Download complete [2024-04-16T13:42:40.487Z] 5851b861e8e6: Download complete [2024-04-16T13:42:40.487Z] b85a868b505f: Verifying Checksum [2024-04-16T13:42:40.487Z] b85a868b505f: Download complete [2024-04-16T13:42:40.746Z] bab4dde63d76: Verifying Checksum [2024-04-16T13:42:40.746Z] bab4dde63d76: Download complete [2024-04-16T13:42:41.685Z] b85a868b505f: Pull complete [2024-04-16T13:42:41.685Z] e2be974225ed: Pull complete [2024-04-16T13:42:42.252Z] 339a4e72a1f5: Pull complete [2024-04-16T13:42:42.252Z] 988bab9f4d93: Pull complete [2024-04-16T13:42:42.511Z] 1469e6f7b9e6: Pull complete [2024-04-16T13:42:42.511Z] eaf3925da568: Pull complete [2024-04-16T13:42:44.412Z] bab4dde63d76: Pull complete [2024-04-16T13:42:44.412Z] bde34c3a00c8: Pull complete [2024-04-16T13:42:44.412Z] b352a97aabf1: Pull complete [2024-04-16T13:42:44.412Z] 4872d77fe225: Pull complete [2024-04-16T13:42:44.412Z] 5851b861e8e6: Pull complete [2024-04-16T13:42:44.412Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-16T13:42:44.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T13:42:44.412Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T13:42:44.542Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2024-04-16T13:42:44.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-16T13:42:47.689Z] $ docker top 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 -eo pid,comm [2024-04-16T13:42:47.744Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-04-16T13:42:47.744Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-16T13:42:47.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-16T13:42:47.800Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-16T13:42:47.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-16T13:42:47.911Z] $ docker exec 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 ssh-agent [2024-04-16T13:42:48.009Z] SSH_AUTH_SOCK=/tmp/ssh-kPDuspE0xwUi/agent.33 [2024-04-16T13:42:48.009Z] SSH_AGENT_PID=39 [2024-04-16T13:42:48.015Z] Running ssh-add (command line suppressed) [2024-04-16T13:42:48.121Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_8516886282256750729.key (/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_8516886282256750729.key) [2024-04-16T13:42:48.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-16T13:42:48.427Z] + git tag --points-at HEAD [Pipeline] } [2024-04-16T13:42:48.441Z] $ docker exec --env ******** --env ******** 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 ssh-agent -k [2024-04-16T13:42:48.539Z] unset SSH_AUTH_SOCK; [2024-04-16T13:42:48.539Z] unset SSH_AGENT_PID; [2024-04-16T13:42:48.539Z] echo Agent pid 39 killed; [2024-04-16T13:42:48.554Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-16T13:42:48.591Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-16T13:42:48.591Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-16T13:42:48.700Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-16T13:42:48.703Z] $ docker exec 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 ssh-agent [2024-04-16T13:42:48.817Z] SSH_AUTH_SOCK=/tmp/ssh-KOPmdz1vwFQM/agent.72 [2024-04-16T13:42:48.817Z] SSH_AGENT_PID=78 [2024-04-16T13:42:48.822Z] Running ssh-add (command line suppressed) [2024-04-16T13:42:48.916Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_2875776810658836960.key (/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/private_key_2875776810658836960.key) [2024-04-16T13:42:48.934Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-16T13:42:49.233Z] + git semver init [2024-04-16T13:42:49.493Z] 2024-04-16 13:42:49,435 [run_init] DEBUG init version:0.0.0 force:False [2024-04-16T13:42:49.493Z] 2024-04-16 13:42:49,436 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver [2024-04-16T13:42:49.493Z] 2024-04-16 13:42:49,437 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver [2024-04-16T13:42:49.493Z] 2024-04-16 13:42:49,438 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-512, universal_newlines=False, shell=None, istream=None) [2024-04-16T13:42:50.431Z] 2024-04-16 13:42:50,252 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.git/info/exclude [2024-04-16T13:42:50.431Z] 2024-04-16 13:42:50,253 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver/PR-512 with force:False [2024-04-16T13:42:50.431Z] 2024-04-16 13:42:50,253 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver/PR-512 [2024-04-16T13:42:50.431Z] 2024-04-16 13:42:50,258 [execute] INFO git cat-file --batch-check [2024-04-16T13:42:50.431Z] 2024-04-16 13:42:50,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver, universal_newlines=False, shell=None, istream=) [2024-04-16T13:42:50.431Z] 2024-04-16 13:42:50,263 [execute] INFO git cat-file --batch [2024-04-16T13:42:50.431Z] 2024-04-16 13:42:50,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver, universal_newlines=False, shell=None, istream=) [2024-04-16T13:42:50.431Z] 2024-04-16 13:42:50,268 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-512/.semver/PR-512 [2024-04-16T13:42:50.431Z] 0.0.0 [Pipeline] } [2024-04-16T13:42:50.441Z] $ docker exec --env ******** --env ******** 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 ssh-agent -k [2024-04-16T13:42:50.532Z] unset SSH_AUTH_SOCK; [2024-04-16T13:42:50.533Z] unset SSH_AGENT_PID; [2024-04-16T13:42:50.533Z] echo Agent pid 78 killed; [2024-04-16T13:42:50.541Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-16T13:42:50.863Z] + git semver [Pipeline] } [2024-04-16T13:42:51.139Z] $ docker stop --time=1 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 [2024-04-16T13:42:52.410Z] $ docker rm -f --volumes 6a7a57b1a24ddc312947eea037971859ea932554884897b8cefe134e992d28f9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-16T13:42:52.758Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-16T13:42:52.961Z] Stashed 1 file(s) [Pipeline] echo [2024-04-16T13:42:52.965Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T13:42:53.150Z] provisioning config files... [2024-04-16T13:42:53.160Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/config12257151544689314199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:42:53.459Z] ---> ****-login.sh [2024-04-16T13:42:53.459Z] nexus3.edgexfoundry.org:10001 [2024-04-16T13:42:53.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:42:53.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:42:53.460Z] Configure a credential helper to remove this warning. See [2024-04-16T13:42:53.460Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:42:53.460Z] [2024-04-16T13:42:53.460Z] Login Succeeded [2024-04-16T13:42:53.460Z] nexus3.edgexfoundry.org:10002 [2024-04-16T13:42:53.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:42:53.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:42:53.460Z] Configure a credential helper to remove this warning. See [2024-04-16T13:42:53.460Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:42:53.460Z] [2024-04-16T13:42:53.460Z] Login Succeeded [2024-04-16T13:42:53.460Z] nexus3.edgexfoundry.org:10003 [2024-04-16T13:42:53.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:42:53.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:42:53.719Z] Configure a credential helper to remove this warning. See [2024-04-16T13:42:53.719Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:42:53.719Z] [2024-04-16T13:42:53.719Z] Login Succeeded [2024-04-16T13:42:53.719Z] nexus3.edgexfoundry.org:10004 [2024-04-16T13:42:53.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:42:53.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:42:53.720Z] Configure a credential helper to remove this warning. See [2024-04-16T13:42:53.720Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:42:53.720Z] [2024-04-16T13:42:53.720Z] Login Succeeded [2024-04-16T13:42:53.720Z] ****.io [2024-04-16T13:42:53.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:42:53.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:42:53.981Z] Configure a credential helper to remove this warning. See [2024-04-16T13:42:53.981Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:42:53.981Z] [2024-04-16T13:42:53.981Z] Login Succeeded [2024-04-16T13:42:53.981Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T13:42:53.988Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-16T13:42:54.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T13:42:54.101Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-04-16T13:42:54.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T13:42:54.132Z] ========================================================= [2024-04-16T13:42:54.133Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-04-16T13:42:54.133Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:42:54.457Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2024-04-16T13:42:54.457Z] Sending build context to Docker daemon 5.076MB [2024-04-16T13:42:54.457Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-04-16T13:42:54.457Z] Step 2/21 : FROM ${BASE} as builder [2024-04-16T13:42:54.457Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-04-16T13:42:54.457Z] 96526aa774ef: Pulling fs layer [2024-04-16T13:42:54.457Z] da60e534fd72: Pulling fs layer [2024-04-16T13:42:54.721Z] 96526aa774ef: Verifying Checksum [2024-04-16T13:42:54.721Z] 96526aa774ef: Download complete [2024-04-16T13:42:54.721Z] 96526aa774ef: Pull complete [2024-04-16T13:42:55.288Z] da60e534fd72: Verifying Checksum [2024-04-16T13:42:55.288Z] da60e534fd72: Download complete [2024-04-16T13:42:58.578Z] da60e534fd72: Pull complete [2024-04-16T13:42:58.578Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-04-16T13:42:58.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-04-16T13:42:58.578Z] ---> 6605166a5db4 [2024-04-16T13:42:58.578Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-04-16T13:43:00.487Z] ---> Running in fdd5c32e77f5 [2024-04-16T13:43:00.487Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-04-16T13:43:01.056Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-16T13:43:01.056Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-16T13:43:01.056Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-16T13:43:01.315Z] Removing intermediate container fdd5c32e77f5 [2024-04-16T13:43:01.315Z] ---> 85c803e33fd5 [2024-04-16T13:43:01.315Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-16T13:43:01.315Z] ---> Running in 95917eed3c19 [2024-04-16T13:43:01.889Z] Removing intermediate container 95917eed3c19 [2024-04-16T13:43:01.889Z] ---> 90e6f7940178 [2024-04-16T13:43:01.889Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-04-16T13:43:01.889Z] ---> Running in bcb7ac0f497a [2024-04-16T13:43:02.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:43:02.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T13:43:02.407Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:43:02.974Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-16T13:43:02.974Z] (1/17) Installing hiredis (1.1.0-r2) [2024-04-16T13:43:02.974Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-04-16T13:43:02.974Z] (3/17) Installing libcbor (0.10.2-r1) [2024-04-16T13:43:02.974Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-16T13:43:03.911Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-16T13:43:03.911Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-16T13:43:04.170Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-04-16T13:43:04.170Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-04-16T13:43:04.170Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-04-16T13:43:04.170Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-04-16T13:43:04.170Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-16T13:43:04.170Z] (12/17) Installing libblkid (2.38.1-r8) [2024-04-16T13:43:04.170Z] (13/17) Installing libuuid (2.38.1-r8) [2024-04-16T13:43:04.170Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-04-16T13:43:04.170Z] (15/17) Installing libmount (2.38.1-r8) [2024-04-16T13:43:04.170Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-04-16T13:43:04.170Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-04-16T13:43:04.170Z] Executing busybox-1.36.1-r4.trigger [2024-04-16T13:43:04.170Z] OK: 336 MiB in 99 packages [2024-04-16T13:43:04.743Z] Removing intermediate container bcb7ac0f497a [2024-04-16T13:43:04.743Z] ---> 09ea52b15ca7 [2024-04-16T13:43:04.743Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-04-16T13:43:04.743Z] ---> Running in fad6196ecaca [2024-04-16T13:43:05.312Z] Removing intermediate container fad6196ecaca [2024-04-16T13:43:05.312Z] ---> 762dfa385b5e [2024-04-16T13:43:05.312Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-04-16T13:43:05.571Z] ---> f5f2ab9ef18f [2024-04-16T13:43:05.571Z] Step 8/21 : COPY src /tmp/sdk/src [2024-04-16T13:43:05.571Z] ---> 233f69895c71 [2024-04-16T13:43:05.571Z] Step 9/21 : COPY include /tmp/sdk/include [2024-04-16T13:43:05.829Z] ---> 72e80c8f0a75 [2024-04-16T13:43:05.829Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-04-16T13:43:05.829Z] ---> bf980d0742f7 [2024-04-16T13:43:05.829Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-04-16T13:43:06.087Z] ---> 1683481605cd [2024-04-16T13:43:06.087Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-04-16T13:43:06.087Z] ---> 8ad416587149 [2024-04-16T13:43:06.087Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-04-16T13:43:06.087Z] ---> Running in ab5cb40b4b65 [2024-04-16T13:43:06.346Z] + CPPCHECK=false [2024-04-16T13:43:06.346Z] + DOCGEN=false [2024-04-16T13:43:06.346Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-04-16T13:43:06.346Z] + '[' 0 -gt 0 ] [2024-04-16T13:43:06.346Z] + readlink -f ./scripts/build.sh [2024-04-16T13:43:06.346Z] + dirname /tmp/sdk/scripts/build.sh [2024-04-16T13:43:06.346Z] + dirname /tmp/sdk/scripts [2024-04-16T13:43:06.346Z] + ROOT=/tmp/sdk [2024-04-16T13:43:06.346Z] + cd /tmp/sdk [2024-04-16T13:43:06.346Z] + mkdir -p /tmp/sdk/build/release [2024-04-16T13:43:06.346Z] + cd /tmp/sdk/build/release [2024-04-16T13:43:06.346Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-04-16T13:43:06.606Z] -- The C compiler identification is GNU 12.2.1 [2024-04-16T13:43:06.606Z] -- Detecting C compiler ABI info [2024-04-16T13:43:06.606Z] -- Detecting C compiler ABI info - done [2024-04-16T13:43:06.606Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-16T13:43:06.606Z] -- Detecting C compile features [2024-04-16T13:43:06.606Z] -- Detecting C compile features - done [2024-04-16T13:43:06.606Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-16T13:43:06.606Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-16T13:43:06.606Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-16T13:43:06.606Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-16T13:43:06.606Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-16T13:43:06.606Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-16T13:43:06.606Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-16T13:43:06.606Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-16T13:43:06.606Z] -- /opt/iotech/iot/1.5/include [2024-04-16T13:43:06.606Z] -- C SDK 0.0.0 for Linux [2024-04-16T13:43:06.606Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-16T13:43:06.866Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-16T13:43:06.866Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-16T13:43:06.866Z] -- Configuring done (0.4s) [2024-04-16T13:43:06.866Z] -- Generating done (0.0s) [2024-04-16T13:43:06.866Z] -- Build files have been written to: /tmp/sdk/build/release [2024-04-16T13:43:06.866Z] + make all package [2024-04-16T13:43:06.866Z] + tee release.log [2024-04-16T13:43:06.866Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-16T13:43:07.125Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-16T13:43:07.125Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-16T13:43:07.384Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-16T13:43:07.384Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-16T13:43:07.384Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-16T13:43:07.952Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-16T13:43:07.952Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-04-16T13:43:07.952Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-16T13:43:07.952Z] 294 | while (privateConfig) [2024-04-16T13:43:07.952Z] | ^~~~~~~~~~~~~ [2024-04-16T13:43:07.952Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-04-16T13:43:07.952Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-16T13:43:07.952Z] | ^~~~~~~~~~~~~ [2024-04-16T13:43:07.952Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-16T13:43:07.952Z] 271 | while (result) [2024-04-16T13:43:07.952Z] | ^~~~~~ [2024-04-16T13:43:07.952Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-04-16T13:43:07.952Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-16T13:43:07.952Z] | ^~~~~~ [2024-04-16T13:43:07.952Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-16T13:43:07.953Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-16T13:43:08.087Z] Still waiting to schedule task [2024-04-16T13:43:08.087Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-04-16T13:43:08.212Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-16T13:43:08.472Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-16T13:43:08.472Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-16T13:43:08.731Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-16T13:43:08.731Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-16T13:43:08.991Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-16T13:43:08.991Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-16T13:43:08.991Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-16T13:43:09.558Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-16T13:43:09.558Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-16T13:43:09.558Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-16T13:43:09.818Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-16T13:43:10.754Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-16T13:43:11.014Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-16T13:43:11.014Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-16T13:43:11.014Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-16T13:43:11.273Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-16T13:43:11.273Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-16T13:43:11.842Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-16T13:43:11.842Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-16T13:43:11.842Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-16T13:43:12.102Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-16T13:43:12.102Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-16T13:43:12.102Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:43:12.102Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-16T13:43:12.102Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:43:12.102Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:43:12.102Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-16T13:43:12.102Z] | ^ [2024-04-16T13:43:12.362Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-16T13:43:12.362Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-04-16T13:43:12.362Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:43:12.362Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-04-16T13:43:12.362Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-04-16T13:43:12.362Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:43:12.362Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-16T13:43:12.621Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-16T13:43:12.621Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-16T13:43:12.621Z] [ 68%] Linking C shared library libcsdk.so [2024-04-16T13:43:12.621Z] [ 68%] Built target csdk [2024-04-16T13:43:12.880Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-16T13:43:12.880Z] [ 72%] Linking C executable template [2024-04-16T13:43:12.880Z] [ 72%] Built target template [2024-04-16T13:43:12.880Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-16T13:43:13.140Z] [ 76%] Linking C executable device-counter [2024-04-16T13:43:13.140Z] [ 76%] Built target device-counter [2024-04-16T13:43:13.140Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-16T13:43:13.400Z] [ 80%] Linking C executable device-random [2024-04-16T13:43:13.400Z] [ 80%] Built target device-random [2024-04-16T13:43:13.400Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-16T13:43:13.400Z] [ 84%] Linking C executable device-gyro [2024-04-16T13:43:13.400Z] [ 84%] Built target device-gyro [2024-04-16T13:43:13.658Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-16T13:43:13.658Z] [ 88%] Linking C executable device-bitfields [2024-04-16T13:43:13.658Z] [ 88%] Built target device-bitfields [2024-04-16T13:43:13.658Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-16T13:43:13.918Z] [ 92%] Linking C executable template-discovery [2024-04-16T13:43:13.919Z] [ 92%] Built target template-discovery [2024-04-16T13:43:13.919Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-16T13:43:14.178Z] [ 96%] Linking C executable device-file [2024-04-16T13:43:14.178Z] [ 96%] Built target device-file [2024-04-16T13:43:14.178Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-16T13:43:14.178Z] [100%] Linking C executable device-terminal [2024-04-16T13:43:14.437Z] [100%] Built target device-terminal [2024-04-16T13:43:14.437Z] Run CPack packaging tool... [2024-04-16T13:43:14.437Z] CPack: Create package using TGZ [2024-04-16T13:43:14.437Z] CPack: Install projects [2024-04-16T13:43:14.437Z] CPack: - Run preinstall target for: Csdk [2024-04-16T13:43:14.696Z] CPack: - Install project: Csdk [] [2024-04-16T13:43:14.697Z] CPack: Create package [2024-04-16T13:43:14.697Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-04-16T13:43:14.697Z] + '[' false '=' true ] [2024-04-16T13:43:14.697Z] + '[' false '=' true ] [2024-04-16T13:43:14.697Z] + mkdir -p /tmp/sdk/build/debug [2024-04-16T13:43:14.697Z] + cd /tmp/sdk/build/debug [2024-04-16T13:43:14.697Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-04-16T13:43:14.697Z] -- The C compiler identification is GNU 12.2.1 [2024-04-16T13:43:14.697Z] -- Detecting C compiler ABI info [2024-04-16T13:43:14.697Z] -- Detecting C compiler ABI info - done [2024-04-16T13:43:14.955Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-16T13:43:14.955Z] -- Detecting C compile features [2024-04-16T13:43:14.955Z] -- Detecting C compile features - done [2024-04-16T13:43:14.955Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-16T13:43:14.955Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-16T13:43:14.955Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-16T13:43:14.955Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-16T13:43:14.955Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-16T13:43:14.955Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-16T13:43:14.955Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-16T13:43:14.955Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-16T13:43:14.955Z] -- /opt/iotech/iot/1.5/include [2024-04-16T13:43:14.955Z] -- C SDK 0.0.0 for Linux [2024-04-16T13:43:14.956Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-16T13:43:14.956Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-16T13:43:14.956Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-16T13:43:14.956Z] -- Configuring done (0.4s) [2024-04-16T13:43:15.215Z] -- Generating done (0.0s) [2024-04-16T13:43:15.215Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-04-16T13:43:15.215Z] + make [2024-04-16T13:43:15.215Z] + tee debug.log [2024-04-16T13:43:15.215Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-16T13:43:15.215Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-16T13:43:15.215Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-16T13:43:15.475Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-16T13:43:15.475Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-16T13:43:15.475Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-16T13:43:15.735Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-16T13:43:15.735Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-16T13:43:15.735Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-16T13:43:15.735Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-16T13:43:15.993Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-16T13:43:15.993Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-16T13:43:15.993Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-16T13:43:16.254Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-16T13:43:16.254Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-16T13:43:16.254Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-16T13:43:16.254Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-16T13:43:16.514Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-16T13:43:16.514Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-16T13:43:16.514Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-16T13:43:16.774Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-16T13:43:16.774Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-16T13:43:17.035Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-16T13:43:17.035Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-16T13:43:17.035Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-16T13:43:17.035Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-16T13:43:17.295Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-16T13:43:17.555Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-16T13:43:17.555Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-16T13:43:17.555Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-16T13:43:17.555Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-16T13:43:17.813Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-16T13:43:17.813Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:43:17.813Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-16T13:43:17.813Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:43:17.813Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:43:17.813Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-16T13:43:17.813Z] | ^ [2024-04-16T13:43:17.813Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-16T13:43:17.813Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-16T13:43:17.813Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-16T13:43:18.072Z] [ 68%] Linking C shared library libcsdk.so [2024-04-16T13:43:18.072Z] [ 68%] Built target csdk [2024-04-16T13:43:18.072Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-16T13:43:18.072Z] [ 72%] Linking C executable template [2024-04-16T13:43:18.072Z] [ 72%] Built target template [2024-04-16T13:43:18.332Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-16T13:43:18.332Z] [ 76%] Linking C executable device-counter [2024-04-16T13:43:18.332Z] [ 76%] Built target device-counter [2024-04-16T13:43:18.332Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-16T13:43:18.332Z] [ 80%] Linking C executable device-random [2024-04-16T13:43:18.594Z] [ 80%] Built target device-random [2024-04-16T13:43:18.594Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-16T13:43:18.594Z] [ 84%] Linking C executable device-gyro [2024-04-16T13:43:18.594Z] [ 84%] Built target device-gyro [2024-04-16T13:43:18.594Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-16T13:43:18.594Z] [ 88%] Linking C executable device-bitfields [2024-04-16T13:43:18.854Z] [ 88%] Built target device-bitfields [2024-04-16T13:43:18.854Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-16T13:43:18.854Z] [ 92%] Linking C executable template-discovery [2024-04-16T13:43:18.854Z] [ 92%] Built target template-discovery [2024-04-16T13:43:18.854Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-16T13:43:19.113Z] [ 96%] Linking C executable device-file [2024-04-16T13:43:19.113Z] [ 96%] Built target device-file [2024-04-16T13:43:19.113Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-16T13:43:19.113Z] [100%] Linking C executable device-terminal [2024-04-16T13:43:19.372Z] [100%] Built target device-terminal [2024-04-16T13:43:19.372Z] make: Entering directory '/tmp/sdk/build/release' [2024-04-16T13:43:19.372Z] [ 68%] Built target csdk [2024-04-16T13:43:19.372Z] [ 72%] Built target template [2024-04-16T13:43:19.372Z] [ 76%] Built target device-counter [2024-04-16T13:43:19.372Z] [ 80%] Built target device-random [2024-04-16T13:43:19.372Z] [ 84%] Built target device-gyro [2024-04-16T13:43:19.372Z] [ 88%] Built target device-bitfields [2024-04-16T13:43:19.372Z] [ 92%] Built target template-discovery [2024-04-16T13:43:19.372Z] [ 96%] Built target device-file [2024-04-16T13:43:19.372Z] [100%] Built target device-terminal [2024-04-16T13:43:19.372Z] Install the project... [2024-04-16T13:43:19.372Z] -- Install configuration: "Release" [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/lib/libcsdk.so [2024-04-16T13:43:19.372Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include/devsdk [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include/edgex [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include/edgex/devices.h [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-04-16T13:43:19.372Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-04-16T13:43:19.372Z] make: Leaving directory '/tmp/sdk/build/release' [2024-04-16T13:43:20.307Z] Removing intermediate container ab5cb40b4b65 [2024-04-16T13:43:20.307Z] ---> 89c1709731db [2024-04-16T13:43:20.307Z] Step 14/21 : FROM ${BASE} [2024-04-16T13:43:20.307Z] ---> 6605166a5db4 [2024-04-16T13:43:20.307Z] Step 15/21 : LABEL maintainer="IOTech " [2024-04-16T13:43:20.307Z] ---> Running in 2d3a99b23c52 [2024-04-16T13:43:20.307Z] Removing intermediate container 2d3a99b23c52 [2024-04-16T13:43:20.307Z] ---> bbab515c9ba5 [2024-04-16T13:43:20.307Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-04-16T13:43:20.307Z] ---> Running in e9e66110ad5a [2024-04-16T13:43:20.567Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-04-16T13:43:21.136Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-16T13:43:21.136Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-16T13:43:21.136Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-16T13:43:21.395Z] Removing intermediate container e9e66110ad5a [2024-04-16T13:43:21.395Z] ---> 608a320c739d [2024-04-16T13:43:21.395Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-16T13:43:21.395Z] ---> Running in 37d725e1fb22 [2024-04-16T13:43:21.963Z] Removing intermediate container 37d725e1fb22 [2024-04-16T13:43:21.963Z] ---> c9bff6cdd39d [2024-04-16T13:43:21.963Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-04-16T13:43:21.963Z] ---> Running in ed4158bfe810 [2024-04-16T13:43:22.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:43:22.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T13:43:22.482Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:43:23.053Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-16T13:43:23.053Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-04-16T13:43:23.053Z] (2/9) Installing curl (8.5.0-r0) [2024-04-16T13:43:23.053Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-04-16T13:43:23.053Z] (4/9) Installing hiredis (1.1.0-r2) [2024-04-16T13:43:23.053Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-04-16T13:43:23.053Z] (6/9) Installing libcbor (0.10.2-r1) [2024-04-16T13:43:23.053Z] (7/9) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-16T13:43:23.621Z] (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-16T13:43:23.880Z] (9/9) Installing libuuid (2.38.1-r8) [2024-04-16T13:43:23.880Z] Executing busybox-1.36.1-r4.trigger [2024-04-16T13:43:23.880Z] OK: 331 MiB in 89 packages [2024-04-16T13:43:24.462Z] Removing intermediate container ed4158bfe810 [2024-04-16T13:43:24.462Z] ---> bf7c953e12df [2024-04-16T13:43:24.462Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-04-16T13:43:24.462Z] ---> adb89775e121 [2024-04-16T13:43:24.462Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-04-16T13:43:24.721Z] ---> aec83293101c [2024-04-16T13:43:24.721Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-04-16T13:43:24.721Z] ---> abf0c53544dc [2024-04-16T13:43:24.721Z] Successfully built abf0c53544dc [2024-04-16T13:43:24.721Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:43:25.119Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-16T13:43:25.119Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T13:43:25.192Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2024-04-16T13:43:25.226Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-16T13:43:25.552Z] $ docker top 99bbe6e637e5bcc648e9710c21db90060c0b48cb4eb679618bd7d5095bab57f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T13:43:25.902Z] + make test [2024-04-16T13:43:25.902Z] echo "make test" [2024-04-16T13:43:25.902Z] make test [Pipeline] } [2024-04-16T13:43:25.913Z] $ docker stop --time=1 99bbe6e637e5bcc648e9710c21db90060c0b48cb4eb679618bd7d5095bab57f2 [2024-04-16T13:43:27.149Z] $ docker rm -f --volumes 99bbe6e637e5bcc648e9710c21db90060c0b48cb4eb679618bd7d5095bab57f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-16T13:43:27.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-16T13:43:28.033Z] + ls -al . [2024-04-16T13:43:28.033Z] total 212 [2024-04-16T13:43:28.033Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 16 13:42 . [2024-04-16T13:43:28.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:42 .. [2024-04-16T13:43:28.033Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 13:42 .git [2024-04-16T13:43:28.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 13:42 .github [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 16 13:42 .gitignore [2024-04-16T13:43:28.033Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 13:42 .semver [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 16 13:42 Attribution.txt [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 11953 Apr 16 13:42 CHANGELOG.md [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 16 13:42 Doxyfile [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 13:42 GOVERNANCE.md [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 16 13:42 Jenkinsfile [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 16 13:42 LICENSE [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 13:42 Makefile [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 16 13:42 OWNERS.md [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 1651 Apr 16 13:42 README.IOT.md [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 4215 Apr 16 13:42 README.md [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 1245 Apr 16 13:42 README.v3.md [2024-04-16T13:43:28.033Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 13:42 VERSION [2024-04-16T13:43:28.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 13:42 docs [2024-04-16T13:43:28.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:42 include [2024-04-16T13:43:28.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 13:42 scripts [2024-04-16T13:43:28.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:42 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:43:28.350Z] + 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=edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 --label arch=amd64 --label version=0.0.0 . [2024-04-16T13:43:28.350Z] Sending build context to Docker daemon 5.076MB [2024-04-16T13:43:28.350Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-04-16T13:43:28.350Z] Step 2/17 : FROM ${BASE} [2024-04-16T13:43:28.350Z] ---> abf0c53544dc [2024-04-16T13:43:28.350Z] Step 3/17 : LABEL maintainer="IOTech " [2024-04-16T13:43:28.350Z] ---> Running in e7a4c8c460e2 [2024-04-16T13:43:28.608Z] Removing intermediate container e7a4c8c460e2 [2024-04-16T13:43:28.608Z] ---> 810049c25458 [2024-04-16T13:43:28.608Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-04-16T13:43:28.608Z] ---> Running in 6daea47cfb74 [2024-04-16T13:43:28.867Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-04-16T13:43:29.125Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-16T13:43:29.126Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-16T13:43:29.126Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-16T13:43:29.384Z] Removing intermediate container 6daea47cfb74 [2024-04-16T13:43:29.384Z] ---> 748cbd6373fe [2024-04-16T13:43:29.384Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-16T13:43:29.384Z] ---> Running in 48ebe87cab87 [2024-04-16T13:43:29.950Z] Removing intermediate container 48ebe87cab87 [2024-04-16T13:43:29.950Z] ---> 724e341484ea [2024-04-16T13:43:29.950Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-04-16T13:43:29.950Z] ---> Running in f7cc55a2a6d0 [2024-04-16T13:43:30.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:43:30.209Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T13:43:30.469Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T13:43:31.038Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-16T13:43:31.038Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-16T13:43:31.296Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-04-16T13:43:31.296Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-04-16T13:43:31.296Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-04-16T13:43:31.296Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-04-16T13:43:31.296Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-16T13:43:31.296Z] (7/11) Installing libblkid (2.38.1-r8) [2024-04-16T13:43:31.296Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-04-16T13:43:31.296Z] (9/11) Installing libmount (2.38.1-r8) [2024-04-16T13:43:31.296Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-04-16T13:43:31.296Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-04-16T13:43:31.296Z] Executing busybox-1.36.1-r4.trigger [2024-04-16T13:43:31.296Z] OK: 336 MiB in 100 packages [2024-04-16T13:43:31.863Z] Removing intermediate container f7cc55a2a6d0 [2024-04-16T13:43:31.863Z] ---> d6449e545800 [2024-04-16T13:43:31.863Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-04-16T13:43:31.863Z] ---> d65ba45be7f1 [2024-04-16T13:43:31.863Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-04-16T13:43:32.121Z] ---> 499f2009a1fc [2024-04-16T13:43:32.121Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-04-16T13:43:32.380Z] ---> 95c0b5fae803 [2024-04-16T13:43:32.380Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-04-16T13:43:32.380Z] ---> 0901c427b636 [2024-04-16T13:43:32.380Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-04-16T13:43:32.638Z] ---> f92580e3fafe [2024-04-16T13:43:32.638Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-04-16T13:43:32.638Z] ---> 0fa286a4e330 [2024-04-16T13:43:32.638Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-04-16T13:43:32.638Z] ---> Running in e37a4afe70b8 [2024-04-16T13:43:32.638Z] Removing intermediate container e37a4afe70b8 [2024-04-16T13:43:32.638Z] ---> 8931a4319430 [2024-04-16T13:43:32.638Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-04-16T13:43:32.638Z] ---> Running in 0ade232642fd [2024-04-16T13:43:32.896Z] Removing intermediate container 0ade232642fd [2024-04-16T13:43:32.896Z] ---> 12c6a1b2eb85 [2024-04-16T13:43:32.896Z] Step 15/17 : LABEL arch=amd64 [2024-04-16T13:43:32.896Z] ---> Running in 0f2a6e60809e [2024-04-16T13:43:32.896Z] Removing intermediate container 0f2a6e60809e [2024-04-16T13:43:32.896Z] ---> 916dbbea482e [2024-04-16T13:43:32.896Z] Step 16/17 : LABEL git_sha=edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [2024-04-16T13:43:32.896Z] ---> Running in b2174c72740e [2024-04-16T13:43:32.896Z] Removing intermediate container b2174c72740e [2024-04-16T13:43:32.896Z] ---> 0a88af38fdd8 [2024-04-16T13:43:32.896Z] Step 17/17 : LABEL version=0.0.0 [2024-04-16T13:43:32.896Z] ---> Running in d5c8fe812eab [2024-04-16T13:43:33.155Z] Removing intermediate container d5c8fe812eab [2024-04-16T13:43:33.155Z] ---> d82988edf2ec [2024-04-16T13:43:33.155Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-04-16T13:43:33.155Z] Successfully built d82988edf2ec [2024-04-16T13:43:33.155Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:43:33.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T13:43:33.636Z] [2024-04-16T13:43:33.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:43:33.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T13:43:33.940Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-16T13:43:33.940Z] 5eb5b503b376: Pulling fs layer [2024-04-16T13:43:33.940Z] 5c69ac0246d0: Pulling fs layer [2024-04-16T13:43:33.940Z] ec43610c2a17: Pulling fs layer [2024-04-16T13:43:33.940Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-16T13:43:33.940Z] 33b1e0a273af: Pulling fs layer [2024-04-16T13:43:33.940Z] 5d3b04190fa2: Pulling fs layer [2024-04-16T13:43:33.940Z] 2f39f015ded8: Pulling fs layer [2024-04-16T13:43:33.940Z] 33b1e0a273af: Waiting [2024-04-16T13:43:33.940Z] 5d3b04190fa2: Waiting [2024-04-16T13:43:33.940Z] 2f39f015ded8: Waiting [2024-04-16T13:43:33.940Z] 3a2ae6a8a46f: Waiting [2024-04-16T13:43:33.940Z] 5c69ac0246d0: Verifying Checksum [2024-04-16T13:43:33.940Z] 5c69ac0246d0: Download complete [2024-04-16T13:43:33.940Z] 3a2ae6a8a46f: Download complete [2024-04-16T13:43:33.940Z] 33b1e0a273af: Verifying Checksum [2024-04-16T13:43:33.940Z] 33b1e0a273af: Download complete [2024-04-16T13:43:33.940Z] ec43610c2a17: Verifying Checksum [2024-04-16T13:43:33.941Z] ec43610c2a17: Download complete [2024-04-16T13:43:33.941Z] 5d3b04190fa2: Verifying Checksum [2024-04-16T13:43:33.941Z] 5d3b04190fa2: Download complete [2024-04-16T13:43:34.199Z] 5eb5b503b376: Verifying Checksum [2024-04-16T13:43:34.199Z] 5eb5b503b376: Download complete [2024-04-16T13:43:34.763Z] 2f39f015ded8: Verifying Checksum [2024-04-16T13:43:34.763Z] 2f39f015ded8: Download complete [2024-04-16T13:43:35.330Z] 5eb5b503b376: Pull complete [2024-04-16T13:43:35.330Z] 5c69ac0246d0: Pull complete [2024-04-16T13:43:35.588Z] ec43610c2a17: Pull complete [2024-04-16T13:43:35.847Z] 3a2ae6a8a46f: Pull complete [2024-04-16T13:43:35.847Z] 33b1e0a273af: Pull complete [2024-04-16T13:43:36.106Z] 5d3b04190fa2: Pull complete [2024-04-16T13:43:40.290Z] 2f39f015ded8: Pull complete [2024-04-16T13:43:40.290Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-16T13:43:40.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T13:43:40.290Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T13:43:40.387Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2024-04-16T13:43:40.419Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-16T13:43:45.103Z] $ docker top fef044e0cb25968b78b744ec17d65c01dd2ef47f79f28cc80a67b05a8ff854c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:43:45.499Z] ---> job-cost.sh [2024-04-16T13:43:45.499Z] lf-activate-venv: SKIPPING [2024-04-16T13:43:45.499Z] INFO: No Stack... [2024-04-16T13:43:46.066Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-16T13:43:46.325Z] INFO: Archiving Costs [Pipeline] sh [2024-04-16T13:43:46.614Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives/cost.csv [2024-04-16T13:43:46.614Z] + cut -d, -f6 [Pipeline] lock [2024-04-16T13:43:46.627Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] [2024-04-16T13:43:46.633Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] did not exist. Created. [2024-04-16T13:43:46.641Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-16T13:43:46.947Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-16T13:43:46.992Z] Stashed 1 file(s) [Pipeline] } [2024-04-16T13:43:47.001Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-16T13:43:47.025Z] $ docker stop --time=1 fef044e0cb25968b78b744ec17d65c01dd2ef47f79f28cc80a67b05a8ff854c9 [2024-04-16T13:43:48.175Z] $ docker rm -f --volumes fef044e0cb25968b78b744ec17d65c01dd2ef47f79f28cc80a67b05a8ff854c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-16T13:44:46.502Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2554 in /w/workspace/edgexfoundry_device-sdk-c_PR-512 [Pipeline] { [Pipeline] ws [2024-04-16T13:44:46.519Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2024-04-16T13:44:49.573Z] Selected Git installation does not exist. Using Default [2024-04-16T13:44:49.573Z] The recommended git tool is: NONE [2024-04-16T13:44:54.429Z] using credential edgex-jenkins-ssh [2024-04-16T13:44:54.447Z] Cloning the remote Git repository [2024-04-16T13:44:54.488Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-04-16T13:44:54.573Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2024-04-16T13:44:54.703Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-04-16T13:44:54.704Z] > git --version # timeout=10 [2024-04-16T13:44:54.725Z] > git --version # 'git version 2.25.1' [2024-04-16T13:44:54.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T13:44:54.888Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-16T13:44:56.085Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-04-16T13:44:56.120Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-16T13:44:57.682Z] Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [2024-04-16T13:44:57.999Z] Merge succeeded, producing edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [2024-04-16T13:44:57.999Z] Checking out Revision edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 (PR-512) [2024-04-16T13:44:57.001Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-04-16T13:44:57.043Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-04-16T13:44:57.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T13:44:57.071Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/512/head:refs/remotes/origin/PR-512 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-16T13:44:57.701Z] > git config core.sparsecheckout # timeout=10 [2024-04-16T13:44:57.766Z] > git checkout -f edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 # timeout=10 [2024-04-16T13:44:57.877Z] > git remote # timeout=10 [2024-04-16T13:44:57.893Z] > git config --get remote.origin.url # timeout=10 [2024-04-16T13:44:57.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T13:44:57.937Z] > git merge 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 [2024-04-16T13:44:57.969Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-16T13:44:58.004Z] > git config core.sparsecheckout # timeout=10 [2024-04-16T13:44:58.016Z] > git checkout -f edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 # timeout=10 [2024-04-16T13:45:01.585Z] Commit message: "feat: Make strdup-if-set more readable." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-16T13:45:03.162Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-16T13:45:03.162Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-16T13:45:03.162Z] Dload Upload Total Spent Left Speed [2024-04-16T13:45:03.162Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-04-16T13:45:03.511Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-16T13:45:03.855Z] + sudo tee /etc/docker/daemon.new [2024-04-16T13:45:03.855Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-16T13:45:03.855Z] { [2024-04-16T13:45:03.855Z] "registry-mirrors": [ [2024-04-16T13:45:03.855Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-16T13:45:03.855Z] ], [2024-04-16T13:45:03.855Z] "bip": "10.250.0.254/24", [2024-04-16T13:45:03.855Z] "hosts": [ [2024-04-16T13:45:03.855Z] "tcp://0.0.0.0:5555", [2024-04-16T13:45:03.855Z] "unix:///var/run/docker.sock" [2024-04-16T13:45:03.855Z] ], [2024-04-16T13:45:03.855Z] "mtu": 1458, [2024-04-16T13:45:03.855Z] "selinux-enabled": true, [2024-04-16T13:45:03.855Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-16T13:45:03.855Z] } [Pipeline] sh [2024-04-16T13:45:04.189Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-16T13:45:04.529Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T13:45:22.806Z] provisioning config files... [2024-04-16T13:45:22.830Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config11055322489052237730tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:45:23.244Z] ---> ****-login.sh [2024-04-16T13:45:23.244Z] nexus3.edgexfoundry.org:10001 [2024-04-16T13:45:23.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:45:23.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:45:23.786Z] Configure a credential helper to remove this warning. See [2024-04-16T13:45:23.786Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:45:23.786Z] [2024-04-16T13:45:23.786Z] Login Succeeded [2024-04-16T13:45:23.786Z] nexus3.edgexfoundry.org:10002 [2024-04-16T13:45:24.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:45:24.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:45:24.322Z] Configure a credential helper to remove this warning. See [2024-04-16T13:45:24.322Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:45:24.322Z] [2024-04-16T13:45:24.322Z] Login Succeeded [2024-04-16T13:45:24.322Z] nexus3.edgexfoundry.org:10003 [2024-04-16T13:45:24.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:45:24.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:45:24.594Z] Configure a credential helper to remove this warning. See [2024-04-16T13:45:24.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:45:24.594Z] [2024-04-16T13:45:24.594Z] Login Succeeded [2024-04-16T13:45:24.594Z] nexus3.edgexfoundry.org:10004 [2024-04-16T13:45:24.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:45:24.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:45:24.864Z] Configure a credential helper to remove this warning. See [2024-04-16T13:45:24.864Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:45:24.864Z] [2024-04-16T13:45:24.864Z] Login Succeeded [2024-04-16T13:45:24.864Z] ****.io [2024-04-16T13:45:25.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T13:45:25.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T13:45:25.399Z] Configure a credential helper to remove this warning. See [2024-04-16T13:45:25.399Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T13:45:25.399Z] [2024-04-16T13:45:25.399Z] Login Succeeded [2024-04-16T13:45:25.399Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T13:45:25.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-16T13:45:25.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T13:45:25.705Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-04-16T13:45:25.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T13:45:25.738Z] ========================================================= [2024-04-16T13:45:25.738Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-04-16T13:45:25.738Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:45:26.081Z] + 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-04-16T13:45:26.356Z] Sending build context to Docker daemon 3.062MB [2024-04-16T13:45:26.624Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-04-16T13:45:26.624Z] Step 2/21 : FROM ${BASE} as builder [2024-04-16T13:45:26.624Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-04-16T13:45:26.624Z] 579b34f0a95b: Pulling fs layer [2024-04-16T13:45:26.624Z] e71477ac5e1b: Pulling fs layer [2024-04-16T13:45:26.893Z] 579b34f0a95b: Verifying Checksum [2024-04-16T13:45:26.893Z] 579b34f0a95b: Download complete [2024-04-16T13:45:27.490Z] 579b34f0a95b: Pull complete [2024-04-16T13:45:29.438Z] e71477ac5e1b: Verifying Checksum [2024-04-16T13:45:29.438Z] e71477ac5e1b: Download complete [2024-04-16T13:45:41.754Z] e71477ac5e1b: Pull complete [2024-04-16T13:45:41.754Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-04-16T13:45:41.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-04-16T13:45:41.754Z] ---> 2b552cad5dd9 [2024-04-16T13:45:41.754Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-04-16T13:45:41.754Z] ---> Running in 10c311811b74 [2024-04-16T13:45:42.715Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-04-16T13:45:42.983Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-16T13:45:42.983Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-16T13:45:42.983Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-16T13:45:43.954Z] Removing intermediate container 10c311811b74 [2024-04-16T13:45:43.954Z] ---> dfe5bba80e65 [2024-04-16T13:45:43.954Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-16T13:45:43.954Z] ---> Running in 0212a4832de1 [2024-04-16T13:45:45.374Z] Removing intermediate container 0212a4832de1 [2024-04-16T13:45:45.374Z] ---> 53372f6d9875 [2024-04-16T13:45:45.374Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-04-16T13:45:45.374Z] ---> Running in 5f78082d5051 [2024-04-16T13:45:46.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T13:45:46.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T13:45:47.209Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T13:45:48.178Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-16T13:45:48.178Z] (1/17) Installing hiredis (1.1.0-r2) [2024-04-16T13:45:48.444Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-04-16T13:45:48.710Z] (3/17) Installing libcbor (0.10.2-r1) [2024-04-16T13:45:48.710Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-16T13:45:50.121Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-16T13:45:50.121Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-16T13:45:50.388Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-04-16T13:45:50.656Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-04-16T13:45:50.656Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-04-16T13:45:50.656Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-04-16T13:45:50.926Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-16T13:45:50.926Z] (12/17) Installing libblkid (2.38.1-r8) [2024-04-16T13:45:50.926Z] (13/17) Installing libuuid (2.38.1-r8) [2024-04-16T13:45:50.926Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-04-16T13:45:50.926Z] (15/17) Installing libmount (2.38.1-r8) [2024-04-16T13:45:50.926Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-04-16T13:45:50.926Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-04-16T13:45:51.194Z] Executing busybox-1.36.1-r4.trigger [2024-04-16T13:45:51.194Z] OK: 333 MiB in 99 packages [2024-04-16T13:45:52.610Z] Removing intermediate container 5f78082d5051 [2024-04-16T13:45:52.610Z] ---> 5652ea4c2d92 [2024-04-16T13:45:52.610Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-04-16T13:45:52.610Z] ---> Running in 6b9132e7b241 [2024-04-16T13:45:54.034Z] Removing intermediate container 6b9132e7b241 [2024-04-16T13:45:54.034Z] ---> 03fbd0f69825 [2024-04-16T13:45:54.034Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-04-16T13:45:54.619Z] ---> c9417156d181 [2024-04-16T13:45:54.619Z] Step 8/21 : COPY src /tmp/sdk/src [2024-04-16T13:45:55.581Z] ---> f3e7ef88a4db [2024-04-16T13:45:55.581Z] Step 9/21 : COPY include /tmp/sdk/include [2024-04-16T13:45:55.849Z] ---> 8d9e6d816453 [2024-04-16T13:45:55.849Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-04-16T13:45:56.434Z] ---> a2773d89de4b [2024-04-16T13:45:56.434Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-04-16T13:45:56.702Z] ---> e263317711a3 [2024-04-16T13:45:56.702Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-04-16T13:45:57.289Z] ---> e18effeae2fb [2024-04-16T13:45:57.289Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-04-16T13:45:57.289Z] ---> Running in e651532a3652 [2024-04-16T13:45:58.249Z] + CPPCHECK=false [2024-04-16T13:45:58.249Z] + DOCGEN=false [2024-04-16T13:45:58.249Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-04-16T13:45:58.249Z] + '[' 0 -gt 0 ] [2024-04-16T13:45:58.249Z] + readlink -f ./scripts/build.sh [2024-04-16T13:45:58.249Z] + dirname /tmp/sdk/scripts/build.sh [2024-04-16T13:45:58.249Z] + dirname /tmp/sdk/scripts [2024-04-16T13:45:58.249Z] + ROOT=/tmp/sdk [2024-04-16T13:45:58.249Z] + cd /tmp/sdk [2024-04-16T13:45:58.249Z] + mkdir -p /tmp/sdk/build/release [2024-04-16T13:45:58.249Z] + cd /tmp/sdk/build/release [2024-04-16T13:45:58.249Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-04-16T13:45:58.516Z] -- The C compiler identification is GNU 12.2.1 [2024-04-16T13:45:58.782Z] -- Detecting C compiler ABI info [2024-04-16T13:45:59.059Z] -- Detecting C compiler ABI info - done [2024-04-16T13:45:59.059Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-16T13:45:59.059Z] -- Detecting C compile features [2024-04-16T13:45:59.059Z] -- Detecting C compile features - done [2024-04-16T13:45:59.059Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-16T13:45:59.325Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-16T13:45:59.325Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-16T13:45:59.325Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-16T13:45:59.325Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-16T13:45:59.325Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-16T13:45:59.325Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-16T13:45:59.325Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-16T13:45:59.592Z] -- /opt/iotech/iot/1.5/include [2024-04-16T13:45:59.592Z] -- C SDK 0.0.0 for Linux [2024-04-16T13:45:59.592Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-16T13:45:59.860Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-16T13:45:59.860Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-16T13:46:00.127Z] -- Configuring done (1.7s) [2024-04-16T13:46:00.394Z] -- Generating done (0.2s) [2024-04-16T13:46:00.394Z] -- Build files have been written to: /tmp/sdk/build/release [2024-04-16T13:46:00.394Z] + make all package [2024-04-16T13:46:00.394Z] + tee release.log [2024-04-16T13:46:00.394Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-16T13:46:01.349Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-16T13:46:01.929Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-16T13:46:02.510Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-16T13:46:03.464Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-16T13:46:04.050Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-16T13:46:05.982Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-16T13:46:06.948Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-04-16T13:46:06.948Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-16T13:46:06.948Z] 294 | while (privateConfig) [2024-04-16T13:46:06.948Z] | ^~~~~~~~~~~~~ [2024-04-16T13:46:06.948Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-04-16T13:46:06.948Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-16T13:46:06.948Z] | ^~~~~~~~~~~~~ [2024-04-16T13:46:06.948Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-16T13:46:06.948Z] 271 | while (result) [2024-04-16T13:46:06.948Z] | ^~~~~~ [2024-04-16T13:46:06.948Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-04-16T13:46:06.948Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-04-16T13:46:06.948Z] | ^~~~~~ [2024-04-16T13:46:07.215Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-16T13:46:07.480Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-16T13:46:08.438Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-16T13:46:10.370Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-16T13:46:10.637Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-16T13:46:11.600Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-16T13:46:12.183Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-16T13:46:12.765Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-16T13:46:13.727Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-16T13:46:13.995Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-16T13:46:16.595Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-16T13:46:16.595Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-16T13:46:17.189Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-16T13:46:18.601Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-16T13:46:25.247Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-16T13:46:25.515Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-16T13:46:25.787Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-16T13:46:26.378Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-16T13:46:26.644Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-16T13:46:28.051Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-16T13:46:30.640Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-16T13:46:30.640Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-16T13:46:31.600Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-16T13:46:32.194Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-16T13:46:32.461Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-16T13:46:32.461Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:46:32.461Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-16T13:46:32.461Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:46:32.461Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:46:32.461Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-16T13:46:32.461Z] | ^ [2024-04-16T13:46:33.870Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-04-16T13:46:33.870Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-04-16T13:46:33.870Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:46:33.870Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-04-16T13:46:33.870Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-04-16T13:46:33.870Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:46:34.834Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-16T13:46:35.794Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-16T13:46:36.061Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-16T13:46:36.645Z] [ 68%] Linking C shared library libcsdk.so [2024-04-16T13:46:36.645Z] [ 68%] Built target csdk [2024-04-16T13:46:36.912Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-16T13:46:37.497Z] [ 72%] Linking C executable template [2024-04-16T13:46:38.080Z] [ 72%] Built target template [2024-04-16T13:46:38.080Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-16T13:46:38.662Z] [ 76%] Linking C executable device-counter [2024-04-16T13:46:38.930Z] [ 76%] Built target device-counter [2024-04-16T13:46:38.930Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-16T13:46:39.516Z] [ 80%] Linking C executable device-random [2024-04-16T13:46:39.783Z] [ 80%] Built target device-random [2024-04-16T13:46:39.783Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-16T13:46:40.366Z] [ 84%] Linking C executable device-gyro [2024-04-16T13:46:40.636Z] [ 84%] Built target device-gyro [2024-04-16T13:46:40.636Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-16T13:46:41.219Z] [ 88%] Linking C executable device-bitfields [2024-04-16T13:46:41.485Z] [ 88%] Built target device-bitfields [2024-04-16T13:46:41.485Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-16T13:46:42.455Z] [ 92%] Linking C executable template-discovery [2024-04-16T13:46:42.721Z] [ 92%] Built target template-discovery [2024-04-16T13:46:42.721Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-16T13:46:43.306Z] [ 96%] Linking C executable device-file [2024-04-16T13:46:43.893Z] [ 96%] Built target device-file [2024-04-16T13:46:43.893Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-16T13:46:44.475Z] [100%] Linking C executable device-terminal [2024-04-16T13:46:44.744Z] [100%] Built target device-terminal [2024-04-16T13:46:44.744Z] Run CPack packaging tool... [2024-04-16T13:46:44.744Z] CPack: Create package using TGZ [2024-04-16T13:46:44.744Z] CPack: Install projects [2024-04-16T13:46:44.744Z] CPack: - Run preinstall target for: Csdk [2024-04-16T13:46:45.705Z] CPack: - Install project: Csdk [] [2024-04-16T13:46:45.705Z] CPack: Create package [2024-04-16T13:46:45.705Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-04-16T13:46:45.705Z] + '[' false '=' true ] [2024-04-16T13:46:45.705Z] + '[' false '=' true ] [2024-04-16T13:46:45.705Z] + mkdir -p /tmp/sdk/build/debug [2024-04-16T13:46:45.705Z] + cd /tmp/sdk/build/debug [2024-04-16T13:46:45.705Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-04-16T13:46:45.970Z] -- The C compiler identification is GNU 12.2.1 [2024-04-16T13:46:46.333Z] -- Detecting C compiler ABI info [2024-04-16T13:46:46.622Z] -- Detecting C compiler ABI info - done [2024-04-16T13:46:46.622Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-04-16T13:46:46.622Z] -- Detecting C compile features [2024-04-16T13:46:46.622Z] -- Detecting C compile features - done [2024-04-16T13:46:46.622Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-04-16T13:46:46.895Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-04-16T13:46:46.895Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-04-16T13:46:46.895Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-04-16T13:46:46.895Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-04-16T13:46:46.895Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-04-16T13:46:46.895Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-04-16T13:46:46.895Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-04-16T13:46:46.895Z] -- /opt/iotech/iot/1.5/include [2024-04-16T13:46:46.895Z] -- C SDK 0.0.0 for Linux [2024-04-16T13:46:46.895Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-04-16T13:46:47.188Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-04-16T13:46:47.460Z] -- Found Curses: /usr/lib/libcurses.so [2024-04-16T13:46:47.460Z] -- Configuring done (1.8s) [2024-04-16T13:46:47.750Z] -- Generating done (0.3s) [2024-04-16T13:46:47.750Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-04-16T13:46:47.750Z] + make [2024-04-16T13:46:47.750Z] + tee debug.log [2024-04-16T13:46:48.030Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-04-16T13:46:48.304Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-04-16T13:46:48.905Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-04-16T13:46:49.179Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-04-16T13:46:49.452Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-04-16T13:46:50.040Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-04-16T13:46:50.628Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-04-16T13:46:50.899Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-04-16T13:46:51.169Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-04-16T13:46:51.439Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-04-16T13:46:52.407Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-04-16T13:46:52.407Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-04-16T13:46:53.007Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-04-16T13:46:53.276Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-04-16T13:46:53.545Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-04-16T13:46:53.815Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-04-16T13:46:54.085Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-04-16T13:46:55.070Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-04-16T13:46:55.070Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-04-16T13:46:55.339Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-04-16T13:46:55.929Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-04-16T13:46:56.896Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-04-16T13:46:57.487Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-04-16T13:46:57.487Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-04-16T13:46:58.075Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-04-16T13:46:58.075Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-04-16T13:46:58.663Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-04-16T13:47:00.077Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-04-16T13:47:00.077Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-04-16T13:47:00.662Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-04-16T13:47:00.929Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-04-16T13:47:01.205Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-04-16T13:47:01.205Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:47:01.205Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-04-16T13:47:01.205Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-04-16T13:47:01.205Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-04-16T13:47:01.205Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-04-16T13:47:01.205Z] | ^ [2024-04-16T13:47:01.789Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-04-16T13:47:02.057Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-04-16T13:47:02.323Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-04-16T13:47:02.591Z] [ 68%] Linking C shared library libcsdk.so [2024-04-16T13:47:02.860Z] [ 68%] Built target csdk [2024-04-16T13:47:02.860Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-04-16T13:47:03.128Z] [ 72%] Linking C executable template [2024-04-16T13:47:03.712Z] [ 72%] Built target template [2024-04-16T13:47:03.712Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-04-16T13:47:03.980Z] [ 76%] Linking C executable device-counter [2024-04-16T13:47:04.251Z] [ 76%] Built target device-counter [2024-04-16T13:47:04.251Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-04-16T13:47:04.519Z] [ 80%] Linking C executable device-random [2024-04-16T13:47:04.787Z] [ 80%] Built target device-random [2024-04-16T13:47:04.787Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-04-16T13:47:05.059Z] [ 84%] Linking C executable device-gyro [2024-04-16T13:47:05.650Z] [ 84%] Built target device-gyro [2024-04-16T13:47:05.650Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-04-16T13:47:05.918Z] [ 88%] Linking C executable device-bitfields [2024-04-16T13:47:06.185Z] [ 88%] Built target device-bitfields [2024-04-16T13:47:06.185Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-04-16T13:47:06.455Z] [ 92%] Linking C executable template-discovery [2024-04-16T13:47:06.723Z] [ 92%] Built target template-discovery [2024-04-16T13:47:06.989Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-04-16T13:47:07.259Z] [ 96%] Linking C executable device-file [2024-04-16T13:47:07.527Z] [ 96%] Built target device-file [2024-04-16T13:47:07.527Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-04-16T13:47:08.108Z] [100%] Linking C executable device-terminal [2024-04-16T13:47:08.375Z] [100%] Built target device-terminal [2024-04-16T13:47:08.375Z] make: Entering directory '/tmp/sdk/build/release' [2024-04-16T13:47:08.375Z] [ 68%] Built target csdk [2024-04-16T13:47:08.375Z] [ 72%] Built target template [2024-04-16T13:47:08.640Z] [ 76%] Built target device-counter [2024-04-16T13:47:08.640Z] [ 80%] Built target device-random [2024-04-16T13:47:08.640Z] [ 84%] Built target device-gyro [2024-04-16T13:47:08.640Z] [ 88%] Built target device-bitfields [2024-04-16T13:47:08.907Z] [ 92%] Built target template-discovery [2024-04-16T13:47:08.907Z] [ 96%] Built target device-file [2024-04-16T13:47:08.907Z] [100%] Built target device-terminal [2024-04-16T13:47:08.907Z] Install the project... [2024-04-16T13:47:08.907Z] -- Install configuration: "Release" [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/lib/libcsdk.so [2024-04-16T13:47:08.907Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include/devsdk [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include/edgex [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include/edgex/devices.h [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-04-16T13:47:08.907Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-04-16T13:47:08.907Z] make: Leaving directory '/tmp/sdk/build/release' [2024-04-16T13:47:10.317Z] Removing intermediate container e651532a3652 [2024-04-16T13:47:10.317Z] ---> 58505f7bf470 [2024-04-16T13:47:10.317Z] Step 14/21 : FROM ${BASE} [2024-04-16T13:47:10.317Z] ---> 2b552cad5dd9 [2024-04-16T13:47:10.317Z] Step 15/21 : LABEL maintainer="IOTech " [2024-04-16T13:47:10.585Z] ---> Running in 8c203cffc19a [2024-04-16T13:47:10.853Z] Removing intermediate container 8c203cffc19a [2024-04-16T13:47:10.853Z] ---> 3fb9abc1c7bc [2024-04-16T13:47:10.853Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-04-16T13:47:10.853Z] ---> Running in 14f9906f89b3 [2024-04-16T13:47:11.815Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-04-16T13:47:12.396Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-16T13:47:12.397Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-16T13:47:12.397Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-16T13:47:12.983Z] Removing intermediate container 14f9906f89b3 [2024-04-16T13:47:12.983Z] ---> 0c221a7a64a2 [2024-04-16T13:47:12.983Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-16T13:47:12.983Z] ---> Running in 88d48eca6576 [2024-04-16T13:47:14.928Z] Removing intermediate container 88d48eca6576 [2024-04-16T13:47:14.928Z] ---> f19873467b9b [2024-04-16T13:47:14.928Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-04-16T13:47:14.928Z] ---> Running in e63ad2307ef4 [2024-04-16T13:47:15.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T13:47:16.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T13:47:16.670Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T13:47:17.622Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-16T13:47:17.622Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-04-16T13:47:17.622Z] (2/9) Installing curl (8.5.0-r0) [2024-04-16T13:47:17.622Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-04-16T13:47:17.622Z] (4/9) Installing hiredis (1.1.0-r2) [2024-04-16T13:47:17.622Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-04-16T13:47:17.622Z] (6/9) Installing libcbor (0.10.2-r1) [2024-04-16T13:47:17.622Z] (7/9) Installing iotech-iot-1.5 (1.5.3-r0) [2024-04-16T13:47:18.575Z] (8/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-04-16T13:47:18.845Z] (9/9) Installing libuuid (2.38.1-r8) [2024-04-16T13:47:18.845Z] Executing busybox-1.36.1-r4.trigger [2024-04-16T13:47:18.845Z] OK: 327 MiB in 89 packages [2024-04-16T13:47:19.806Z] Removing intermediate container e63ad2307ef4 [2024-04-16T13:47:19.806Z] ---> 78cd4a8afb36 [2024-04-16T13:47:19.806Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-04-16T13:47:20.389Z] ---> 6986cbd431a7 [2024-04-16T13:47:20.389Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-04-16T13:47:20.973Z] ---> eb943a118d57 [2024-04-16T13:47:20.973Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-04-16T13:47:21.239Z] ---> 1a0de06162c6 [2024-04-16T13:47:21.504Z] Successfully built 1a0de06162c6 [2024-04-16T13:47:21.504Z] 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-04-16T13:47:21.955Z] + docker inspect -f . ci-base-image-arm64 [2024-04-16T13:47:21.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T13:47:22.168Z] prd-ubuntu20.04-docker-arm64-4c-16g-2554 does not seem to be running inside a container [2024-04-16T13:47:22.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-16T13:47:23.386Z] $ docker top 9fc62e1e9435e08f49b51a18c2733c8555aae11c8700fb4baec765ae464f8419 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T13:47:24.235Z] + make test [2024-04-16T13:47:24.235Z] echo "make test" [2024-04-16T13:47:24.235Z] make test [Pipeline] } [2024-04-16T13:47:24.250Z] $ docker stop --time=1 9fc62e1e9435e08f49b51a18c2733c8555aae11c8700fb4baec765ae464f8419 [2024-04-16T13:47:25.859Z] $ docker rm -f --volumes 9fc62e1e9435e08f49b51a18c2733c8555aae11c8700fb4baec765ae464f8419 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-16T13:47:26.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-16T13:47:26.727Z] + ls -al . [2024-04-16T13:47:26.727Z] total 208 [2024-04-16T13:47:26.727Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 13:44 . [2024-04-16T13:47:26.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:44 .. [2024-04-16T13:47:26.727Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 13:44 .git [2024-04-16T13:47:26.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 13:44 .github [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 176 Apr 16 13:44 .gitignore [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 16 13:44 Attribution.txt [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 11953 Apr 16 13:44 CHANGELOG.md [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 108574 Apr 16 13:44 Doxyfile [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 13:44 GOVERNANCE.md [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 784 Apr 16 13:44 Jenkinsfile [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 10174 Apr 16 13:44 LICENSE [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 444 Apr 16 13:44 Makefile [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 618 Apr 16 13:44 OWNERS.md [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 1651 Apr 16 13:44 README.IOT.md [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 4215 Apr 16 13:44 README.md [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 1245 Apr 16 13:44 README.v3.md [2024-04-16T13:47:26.727Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 13:42 VERSION [2024-04-16T13:47:26.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 13:44 docs [2024-04-16T13:47:26.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:44 include [2024-04-16T13:47:26.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 13:44 scripts [2024-04-16T13:47:26.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 13:44 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:47:27.067Z] + 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=edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 --label arch=arm64 --label version=0.0.0 . [2024-04-16T13:47:27.333Z] Sending build context to Docker daemon 3.062MB [2024-04-16T13:47:27.601Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-04-16T13:47:27.601Z] Step 2/17 : FROM ${BASE} [2024-04-16T13:47:27.601Z] ---> 1a0de06162c6 [2024-04-16T13:47:27.601Z] Step 3/17 : LABEL maintainer="IOTech " [2024-04-16T13:47:27.601Z] ---> Running in 0b9efffdb42b [2024-04-16T13:47:27.869Z] Removing intermediate container 0b9efffdb42b [2024-04-16T13:47:27.869Z] ---> 3e5f2ac61d18 [2024-04-16T13:47:27.869Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-04-16T13:47:27.869Z] ---> Running in 586ca92aaa40 [2024-04-16T13:47:28.833Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-04-16T13:47:29.411Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-04-16T13:47:29.411Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-04-16T13:47:29.411Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-04-16T13:47:29.991Z] Removing intermediate container 586ca92aaa40 [2024-04-16T13:47:29.991Z] ---> a89e4e061417 [2024-04-16T13:47:29.991Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-04-16T13:47:29.991Z] ---> Running in 2d8a4e657664 [2024-04-16T13:47:31.928Z] Removing intermediate container 2d8a4e657664 [2024-04-16T13:47:31.928Z] ---> 6f999b5c2326 [2024-04-16T13:47:31.928Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-04-16T13:47:31.928Z] ---> Running in 1eab7cdb527c [2024-04-16T13:47:32.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T13:47:33.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T13:47:33.665Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T13:47:34.619Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-04-16T13:47:34.619Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-04-16T13:47:34.883Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-04-16T13:47:34.883Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-04-16T13:47:34.883Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-04-16T13:47:34.883Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-04-16T13:47:34.883Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-04-16T13:47:34.883Z] (7/11) Installing libblkid (2.38.1-r8) [2024-04-16T13:47:34.883Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-04-16T13:47:34.883Z] (9/11) Installing libmount (2.38.1-r8) [2024-04-16T13:47:34.883Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-04-16T13:47:34.883Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-04-16T13:47:35.148Z] Executing busybox-1.36.1-r4.trigger [2024-04-16T13:47:35.148Z] OK: 333 MiB in 100 packages [2024-04-16T13:47:36.110Z] Removing intermediate container 1eab7cdb527c [2024-04-16T13:47:36.110Z] ---> dcd4aaf253af [2024-04-16T13:47:36.110Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-04-16T13:47:36.689Z] ---> 9302600d4e0e [2024-04-16T13:47:36.689Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-04-16T13:47:37.642Z] ---> 44186a7b375f [2024-04-16T13:47:37.642Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-04-16T13:47:37.907Z] ---> 73657e17e804 [2024-04-16T13:47:37.907Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-04-16T13:47:38.486Z] ---> 4e72fe2af0fc [2024-04-16T13:47:38.486Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-04-16T13:47:39.064Z] ---> 4272c9b60226 [2024-04-16T13:47:39.064Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-04-16T13:47:39.329Z] ---> 59d69b96c5e1 [2024-04-16T13:47:39.329Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-04-16T13:47:39.593Z] ---> Running in 896c2b83af0b [2024-04-16T13:47:39.858Z] Removing intermediate container 896c2b83af0b [2024-04-16T13:47:39.858Z] ---> cad8e223216a [2024-04-16T13:47:39.858Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-04-16T13:47:39.858Z] ---> Running in 6bcf07ae77e1 [2024-04-16T13:47:40.122Z] Removing intermediate container 6bcf07ae77e1 [2024-04-16T13:47:40.122Z] ---> 707f99cb8dcf [2024-04-16T13:47:40.122Z] Step 15/17 : LABEL arch=arm64 [2024-04-16T13:47:40.122Z] ---> Running in 151dfc4ee9b5 [2024-04-16T13:47:40.706Z] Removing intermediate container 151dfc4ee9b5 [2024-04-16T13:47:40.706Z] ---> da5a400c3da3 [2024-04-16T13:47:40.706Z] Step 16/17 : LABEL git_sha=edd26a61d1b4568fac4096a6a6db8aa7a9eaffd8 [2024-04-16T13:47:40.706Z] ---> Running in 8d9e3893633e [2024-04-16T13:47:40.971Z] Removing intermediate container 8d9e3893633e [2024-04-16T13:47:40.971Z] ---> 718dc4f0487b [2024-04-16T13:47:40.971Z] Step 17/17 : LABEL version=0.0.0 [2024-04-16T13:47:40.971Z] ---> Running in 219e55a08f35 [2024-04-16T13:47:41.237Z] Removing intermediate container 219e55a08f35 [2024-04-16T13:47:41.237Z] ---> b089aaa2f55a [2024-04-16T13:47:41.237Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-04-16T13:47:41.237Z] Successfully built b089aaa2f55a [2024-04-16T13:47:41.237Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:47:41.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-16T13:47:41.701Z] [2024-04-16T13:47:41.701Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:47:42.041Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-16T13:47:42.307Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-16T13:47:42.307Z] 8998bd30e6a1: Pulling fs layer [2024-04-16T13:47:42.307Z] 04944245beec: Pulling fs layer [2024-04-16T13:47:42.307Z] 699f458cf7ca: Pulling fs layer [2024-04-16T13:47:42.307Z] 765212b225bb: Pulling fs layer [2024-04-16T13:47:42.307Z] f23df028b6ca: Pulling fs layer [2024-04-16T13:47:42.307Z] d65c8cfc05b1: Pulling fs layer [2024-04-16T13:47:42.307Z] 2437ff75d9bd: Pulling fs layer [2024-04-16T13:47:42.307Z] f23df028b6ca: Waiting [2024-04-16T13:47:42.307Z] d65c8cfc05b1: Waiting [2024-04-16T13:47:42.307Z] 2437ff75d9bd: Waiting [2024-04-16T13:47:42.307Z] 765212b225bb: Waiting [2024-04-16T13:47:42.307Z] 04944245beec: Verifying Checksum [2024-04-16T13:47:42.307Z] 04944245beec: Download complete [2024-04-16T13:47:42.307Z] 765212b225bb: Verifying Checksum [2024-04-16T13:47:42.307Z] 765212b225bb: Download complete [2024-04-16T13:47:42.307Z] f23df028b6ca: Verifying Checksum [2024-04-16T13:47:42.307Z] f23df028b6ca: Download complete [2024-04-16T13:47:42.574Z] d65c8cfc05b1: Verifying Checksum [2024-04-16T13:47:42.574Z] d65c8cfc05b1: Download complete [2024-04-16T13:47:42.574Z] 699f458cf7ca: Verifying Checksum [2024-04-16T13:47:42.574Z] 699f458cf7ca: Download complete [2024-04-16T13:47:43.156Z] 8998bd30e6a1: Verifying Checksum [2024-04-16T13:47:43.156Z] 8998bd30e6a1: Download complete [2024-04-16T13:47:45.730Z] 2437ff75d9bd: Verifying Checksum [2024-04-16T13:47:45.730Z] 2437ff75d9bd: Download complete [2024-04-16T13:47:47.669Z] 8998bd30e6a1: Pull complete [2024-04-16T13:47:47.935Z] 04944245beec: Pull complete [2024-04-16T13:47:49.340Z] 699f458cf7ca: Pull complete [2024-04-16T13:47:49.605Z] 765212b225bb: Pull complete [2024-04-16T13:47:50.561Z] f23df028b6ca: Pull complete [2024-04-16T13:47:50.825Z] d65c8cfc05b1: Pull complete [2024-04-16T13:48:09.023Z] 2437ff75d9bd: Pull complete [2024-04-16T13:48:09.023Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-16T13:48:09.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-16T13:48:09.023Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T13:48:09.237Z] prd-ubuntu20.04-docker-arm64-4c-16g-2554 does not seem to be running inside a container [2024-04-16T13:48:09.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-16T13:48:11.774Z] $ docker top 94fbfbe634a2cff23c97842f0fb1cee684a4be3ca86fa48582835ed0b5239d38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:48:12.609Z] ---> job-cost.sh [2024-04-16T13:48:12.609Z] lf-activate-venv: SKIPPING [2024-04-16T13:48:12.609Z] INFO: No Stack... [2024-04-16T13:48:12.873Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-16T13:48:13.823Z] INFO: Archiving Costs [Pipeline] sh [2024-04-16T13:48:14.456Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2024-04-16T13:48:14.456Z] + cut -d, -f6 [Pipeline] lock [2024-04-16T13:48:14.515Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] [2024-04-16T13:48:14.522Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] did not exist. Created. [2024-04-16T13:48:14.527Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-16T13:48:15.192Z] /w/workspace/device-sdk-c/3@tmp/durable-9c899f34/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-16T13:48:15.834Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-16T13:48:15.858Z] Warning: overwriting stash ‘stack-cost’ [2024-04-16T13:48:16.280Z] Stashed 1 file(s) [Pipeline] } [2024-04-16T13:48:16.289Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-512-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-16T13:48:16.317Z] $ docker stop --time=1 94fbfbe634a2cff23c97842f0fb1cee684a4be3ca86fa48582835ed0b5239d38 [2024-04-16T13:48:17.822Z] $ docker rm -f --volumes 94fbfbe634a2cff23c97842f0fb1cee684a4be3ca86fa48582835ed0b5239d38 [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] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-04-16T13:48:18.726Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives ] [2024-04-16T13:48:18.726Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives [2024-04-16T13:48:18.726Z] total 16 [2024-04-16T13:48:18.726Z] drwxr-xr-x 3 root root 4096 Apr 16 13:43 . [2024-04-16T13:48:18.726Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 13:43 .. [2024-04-16T13:48:18.726Z] drwxr-xr-x 2 root root 4096 Apr 16 13:43 cost [2024-04-16T13:48:18.726Z] -rw-r--r-- 1 root root 84 Apr 16 13:43 cost.csv [2024-04-16T13:48:18.726Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives [2024-04-16T13:48:18.726Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives [2024-04-16T13:48:18.726Z] total 16 [2024-04-16T13:48:18.726Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 13:43 . [2024-04-16T13:48:18.726Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 13:43 .. [2024-04-16T13:48:18.726Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 16 13:43 cost [2024-04-16T13:48:18.726Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 16 13:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:48:19.015Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:48:19.872Z] ---> package-listing.sh [2024-04-16T13:48:19.872Z] ++ facter osfamily [2024-04-16T13:48:19.872Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-16T13:48:20.131Z] + OS_FAMILY=debian [2024-04-16T13:48:20.131Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-512 [2024-04-16T13:48:20.131Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-16T13:48:20.131Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-16T13:48:20.131Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-16T13:48:20.131Z] + PACKAGES=/tmp/packages_start.txt [2024-04-16T13:48:20.131Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-512 ']' [2024-04-16T13:48:20.131Z] + PACKAGES=/tmp/packages_end.txt [2024-04-16T13:48:20.131Z] + case "${OS_FAMILY}" in [2024-04-16T13:48:20.131Z] + dpkg -l [2024-04-16T13:48:20.131Z] + grep '^ii' [2024-04-16T13:48:20.131Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-16T13:48:20.131Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-16T13:48:20.131Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-16T13:48:20.131Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-512 ']' [2024-04-16T13:48:20.131Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives/ [2024-04-16T13:48:20.131Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-512/archives/ [Pipeline] echo [2024-04-16T13:48:20.141Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-512/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-16T13:48:20.419Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T13:48:20.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T13:48:20.983Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T13:48:21.061Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2024-04-16T13:48:21.088Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-512/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-512 -v /w/workspace/edgexfoundry_device-sdk-c_PR-512:/w/workspace/edgexfoundry_device-sdk-c_PR-512:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-16T13:48:21.285Z] $ docker top f99868a3b46071e2c2ea23e48c10de513b6ea4f489bc25df4b7e9d26634f4bee -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T13:48:21.631Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-16T13:48:21.919Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-16T13:48:22.207Z] + ls /var/log/sa-host [2024-04-16T13:48:22.207Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T13:48:22.282Z] provisioning config files... [2024-04-16T13:48:22.289Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-512@tmp/config8940728847588840066tmp [Pipeline] { [Pipeline] echo [2024-04-16T13:48:22.306Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:48:22.587Z] ---> create-netrc.sh [Pipeline] } [2024-04-16T13:48:22.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:48:22.921Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-16T13:48:40.380Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:48:40.730Z] ---> sudo-logs.sh [2024-04-16T13:48:40.730Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-16T13:48:40.770Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:48:41.076Z] ---> job-cost.sh [2024-04-16T13:48:41.076Z] lf-activate-venv: SKIPPING [2024-04-16T13:48:41.076Z] DEBUG: total: 0.2199999988079071 [2024-04-16T13:48:41.076Z] INFO: Retrieving Stack Cost... [2024-04-16T13:48:41.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-16T13:48:41.931Z] INFO: Archiving Costs [Pipeline] echo [2024-04-16T13:48:41.943Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T13:48:42.221Z] ---> logs-deploy.sh [2024-04-16T13:48:42.221Z] lf-activate-venv: SKIPPING [2024-04-16T13:48:42.221Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-512/3 [2024-04-16T13:48:42.221Z] INFO: archiving workspace using pattern(s): [2024-04-16T13:48:43.157Z] Archives upload complete. [2024-04-16T13:48:43.157Z] INFO: archiving logs to Nexus