Started by user Bill Mahoney Connecting to https://api.github.com using edgex-jenkins github personal access token Waiting for GitHub to create a merge commit for pull request 491. Retrying 3 more times... Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at fce4d9ea94ea80a3011c486961bae016d9d59a68 rather than b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 Obtained Jenkinsfile from fce4d9ea94ea80a3011c486961bae016d9d59a68 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-ssh13223390286959680423.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh6484916587574824154.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-491/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-491/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2883790826733933765.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh16967592981462911265.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-491/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-491/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12979280439273501837.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 ‘prd-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17048’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17050 in /w/workspace/edgexfoundry_device-sdk-c_PR-491 [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-491 # 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/491/head:refs/remotes/origin/PR-491 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fce4d9ea94ea80a3011c486961bae016d9d59a68 into PR head commit b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 Merge succeeded, producing 9e94d479aaf93dc7966800c37191e2f0b04b1b04 Checking out Revision 9e94d479aaf93dc7966800c37191e2f0b04b1b04 (PR-491) > git config core.sparsecheckout # timeout=10 > git checkout -f b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 # 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 fce4d9ea94ea80a3011c486961bae016d9d59a68 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e94d479aaf93dc7966800c37191e2f0b04b1b04 # timeout=10 Commit message: "Merge commit 'fce4d9ea94ea80a3011c486961bae016d9d59a68' into HEAD" > git rev-list --no-walk b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T18:32:37.219Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T18:32:37.284Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-08T18:32:37.302Z] ========================================================= [2023-11-08T18:32:37.303Z] EdgeX Global Pipelines Version Info [2023-11-08T18:32:37.303Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:32:38.080Z] ------------------- [2023-11-08T18:32:38.080Z] stable info: [2023-11-08T18:32:38.080Z] ------------------- [2023-11-08T18:32:38.080Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T18:32:38.080Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:32:38.080Z] Message: update stable to v1.0.257 [2023-11-08T18:32:38.650Z] ------------------- [2023-11-08T18:32:38.651Z] experimental info: [2023-11-08T18:32:38.651Z] ------------------- [2023-11-08T18:32:38.651Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T18:32:38.651Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T18:32:38.651Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T18:32:38.834Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-11-08T18:32:38.854Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-11-08T18:32:38.873Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T18:32:38.888Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T18:32:38.901Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T18:32:38.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-11-08T18:32:38.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-11-08T18:32:38.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T18:32:38.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T18:32:38.979Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-11-08T18:32:38.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T18:32:39.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T18:32:39.024Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T18:32:39.037Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T18:32:39.049Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T18:32:39.061Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T18:32:39.075Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T18:32:39.088Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-491 [Pipeline] echo [2023-11-08T18:32:39.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-491 [Pipeline] echo [2023-11-08T18:32:39.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-491 [Pipeline] echo [2023-11-08T18:32:39.128Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e94d479aaf93dc7966800c37191e2f0b04b1b04 [Pipeline] echo [2023-11-08T18:32:39.141Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e94d47 [Pipeline] echo [2023-11-08T18:32:39.153Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:32:39.199Z] provisioning config files... [2023-11-08T18:32:39.214Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/config5486455039827739812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:32:39.534Z] ---> docker-login.sh [2023-11-08T18:32:39.535Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:32:40.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:32:40.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:32:40.114Z] Configure a credential helper to remove this warning. See [2023-11-08T18:32:40.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:32:40.114Z] [2023-11-08T18:32:40.114Z] Login Succeeded [2023-11-08T18:32:40.114Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:32:40.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:32:40.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:32:40.114Z] Configure a credential helper to remove this warning. See [2023-11-08T18:32:40.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:32:40.114Z] [2023-11-08T18:32:40.114Z] Login Succeeded [2023-11-08T18:32:40.114Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:32:40.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:32:40.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:32:40.375Z] Configure a credential helper to remove this warning. See [2023-11-08T18:32:40.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:32:40.375Z] [2023-11-08T18:32:40.375Z] Login Succeeded [2023-11-08T18:32:40.375Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:32:40.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:32:40.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:32:40.375Z] Configure a credential helper to remove this warning. See [2023-11-08T18:32:40.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:32:40.375Z] [2023-11-08T18:32:40.375Z] Login Succeeded [2023-11-08T18:32:40.375Z] docker.io [2023-11-08T18:32:40.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:32:40.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:32:40.898Z] Configure a credential helper to remove this warning. See [2023-11-08T18:32:40.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:32:40.898Z] [2023-11-08T18:32:40.898Z] Login Succeeded [2023-11-08T18:32:40.898Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:32:40.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-11-08T18:32:41.281Z] + git rev-list -1 --merges 9e94d479aaf93dc7966800c37191e2f0b04b1b04~1..9e94d479aaf93dc7966800c37191e2f0b04b1b04 [Pipeline] echo [2023-11-08T18:32:41.326Z] -----------> git rev-list -1 --merges 9e94d479aaf93dc7966800c37191e2f0b04b1b04~1..9e94d479aaf93dc7966800c37191e2f0b04b1b04 9e94d479aaf93dc7966800c37191e2f0b04b1b04 [2023-11-08T18:32:41.326Z] 9e94d479aaf93dc7966800c37191e2f0b04b1b04 [false] [Pipeline] sh [2023-11-08T18:32:41.627Z] + git log --format=format:%s -1 9e94d479aaf93dc7966800c37191e2f0b04b1b04 [Pipeline] echo [2023-11-08T18:32:41.646Z] ========================================================= [2023-11-08T18:32:41.646Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T18:32:41.646Z] ========================================================= 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 [2023-11-08T18:32:42.033Z] + git rev-list -1 --merges 9e94d479aaf93dc7966800c37191e2f0b04b1b04~1..9e94d479aaf93dc7966800c37191e2f0b04b1b04 [Pipeline] echo [2023-11-08T18:32:42.049Z] -----------> git rev-list -1 --merges 9e94d479aaf93dc7966800c37191e2f0b04b1b04~1..9e94d479aaf93dc7966800c37191e2f0b04b1b04 9e94d479aaf93dc7966800c37191e2f0b04b1b04 [2023-11-08T18:32:42.049Z] 9e94d479aaf93dc7966800c37191e2f0b04b1b04 [false] [Pipeline] sh [2023-11-08T18:32:42.336Z] + git log --format=format:%s -1 9e94d479aaf93dc7966800c37191e2f0b04b1b04 [Pipeline] echo [2023-11-08T18:32:42.455Z] ========================================================= [2023-11-08T18:32:42.455Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T18:32:42.455Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-11-08T18:32:42.817Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T18:32:42.817Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T18:32:42.817Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T18:32:42.817Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T18:32:42.817Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T18:32:42.817Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T18:32:42.817Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:32:43.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:32:43.162Z] [2023-11-08T18:32:43.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:32:43.462Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:32:43.462Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T18:32:43.462Z] b85a868b505f: Pulling fs layer [2023-11-08T18:32:43.462Z] e2be974225ed: Pulling fs layer [2023-11-08T18:32:43.462Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T18:32:43.462Z] 988bab9f4d93: Pulling fs layer [2023-11-08T18:32:43.462Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T18:32:43.462Z] eaf3925da568: Pulling fs layer [2023-11-08T18:32:43.462Z] bab4dde63d76: Pulling fs layer [2023-11-08T18:32:43.462Z] bde34c3a00c8: Pulling fs layer [2023-11-08T18:32:43.462Z] b352a97aabf1: Pulling fs layer [2023-11-08T18:32:43.462Z] 4872d77fe225: Pulling fs layer [2023-11-08T18:32:43.462Z] 5851b861e8e6: Pulling fs layer [2023-11-08T18:32:43.462Z] bab4dde63d76: Waiting [2023-11-08T18:32:43.462Z] 988bab9f4d93: Waiting [2023-11-08T18:32:43.462Z] 1469e6f7b9e6: Waiting [2023-11-08T18:32:43.462Z] bde34c3a00c8: Waiting [2023-11-08T18:32:43.462Z] b352a97aabf1: Waiting [2023-11-08T18:32:43.462Z] eaf3925da568: Waiting [2023-11-08T18:32:43.462Z] 4872d77fe225: Waiting [2023-11-08T18:32:43.462Z] 5851b861e8e6: Waiting [2023-11-08T18:32:43.462Z] e2be974225ed: Verifying Checksum [2023-11-08T18:32:43.462Z] e2be974225ed: Download complete [2023-11-08T18:32:43.462Z] 988bab9f4d93: Verifying Checksum [2023-11-08T18:32:43.462Z] 988bab9f4d93: Download complete [2023-11-08T18:32:43.462Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T18:32:43.462Z] 1469e6f7b9e6: Download complete [2023-11-08T18:32:43.462Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T18:32:43.462Z] 339a4e72a1f5: Download complete [2023-11-08T18:32:43.721Z] eaf3925da568: Verifying Checksum [2023-11-08T18:32:43.721Z] eaf3925da568: Download complete [2023-11-08T18:32:43.721Z] bde34c3a00c8: Download complete [2023-11-08T18:32:43.721Z] b352a97aabf1: Download complete [2023-11-08T18:32:43.721Z] 4872d77fe225: Verifying Checksum [2023-11-08T18:32:43.721Z] 4872d77fe225: Download complete [2023-11-08T18:32:43.721Z] 5851b861e8e6: Verifying Checksum [2023-11-08T18:32:43.721Z] 5851b861e8e6: Download complete [2023-11-08T18:32:43.721Z] b85a868b505f: Verifying Checksum [2023-11-08T18:32:43.721Z] b85a868b505f: Download complete [2023-11-08T18:32:43.980Z] bab4dde63d76: Verifying Checksum [2023-11-08T18:32:43.980Z] bab4dde63d76: Download complete [2023-11-08T18:32:44.918Z] b85a868b505f: Pull complete [2023-11-08T18:32:45.179Z] e2be974225ed: Pull complete [2023-11-08T18:32:45.439Z] 339a4e72a1f5: Pull complete [2023-11-08T18:32:45.699Z] 988bab9f4d93: Pull complete [2023-11-08T18:32:45.959Z] 1469e6f7b9e6: Pull complete [2023-11-08T18:32:45.959Z] eaf3925da568: Pull complete [2023-11-08T18:32:47.892Z] bab4dde63d76: Pull complete [2023-11-08T18:32:47.892Z] bde34c3a00c8: Pull complete [2023-11-08T18:32:47.892Z] b352a97aabf1: Pull complete [2023-11-08T18:32:47.892Z] 4872d77fe225: Pull complete [2023-11-08T18:32:47.892Z] 5851b861e8e6: Pull complete [2023-11-08T18:32:47.892Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T18:32:47.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T18:32:47.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:32:47.986Z] prd-ubuntu20.04-docker-8c-8g-17050 does not seem to be running inside a container [2023-11-08T18:32:48.018Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-491 -v /w/workspace/edgexfoundry_device-sdk-c_PR-491:/w/workspace/edgexfoundry_device-sdk-c_PR-491:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-491@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 [2023-11-08T18:32:51.834Z] $ docker top 76681e06588f74938c18182871a8e6c232abd38cb38ce7a5caffcdb2c0a66741 -eo pid,comm [2023-11-08T18:32:51.893Z] 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). [2023-11-08T18:32:51.893Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T18:32:51.933Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:32:51.933Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:32:52.045Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:32:52.050Z] $ docker exec 76681e06588f74938c18182871a8e6c232abd38cb38ce7a5caffcdb2c0a66741 ssh-agent [2023-11-08T18:32:52.163Z] SSH_AUTH_SOCK=/tmp/ssh-ZaO1plnOFTuC/agent.31 [2023-11-08T18:32:52.163Z] SSH_AGENT_PID=37 [2023-11-08T18:32:52.169Z] Running ssh-add (command line suppressed) [2023-11-08T18:32:52.270Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_88809493262325410.key (/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_88809493262325410.key) [2023-11-08T18:32:52.280Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:32:52.566Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T18:32:52.583Z] $ docker exec --env ******** --env ******** 76681e06588f74938c18182871a8e6c232abd38cb38ce7a5caffcdb2c0a66741 ssh-agent -k [2023-11-08T18:32:52.678Z] unset SSH_AUTH_SOCK; [2023-11-08T18:32:52.679Z] unset SSH_AGENT_PID; [2023-11-08T18:32:52.679Z] echo Agent pid 37 killed; [2023-11-08T18:32:52.684Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T18:32:52.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T18:32:52.715Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T18:32:52.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T18:32:52.833Z] $ docker exec 76681e06588f74938c18182871a8e6c232abd38cb38ce7a5caffcdb2c0a66741 ssh-agent [2023-11-08T18:32:52.932Z] SSH_AUTH_SOCK=/tmp/ssh-lLClO0qwGq05/agent.69 [2023-11-08T18:32:52.932Z] SSH_AGENT_PID=75 [2023-11-08T18:32:52.937Z] Running ssh-add (command line suppressed) [2023-11-08T18:32:53.042Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_1721433331158827686.key (/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/private_key_1721433331158827686.key) [2023-11-08T18:32:53.051Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T18:32:53.339Z] + git semver init [2023-11-08T18:32:53.599Z] 2023-11-08 18:32:53,516 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T18:32:53.599Z] 2023-11-08 18:32:53,516 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver [2023-11-08T18:32:53.599Z] 2023-11-08 18:32:53,517 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver [2023-11-08T18:32:53.599Z] 2023-11-08 18:32:53,517 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-491, universal_newlines=False, shell=None, istream=None) [2023-11-08T18:32:54.540Z] 2023-11-08 18:32:54,453 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.git/info/exclude [2023-11-08T18:32:54.540Z] 2023-11-08 18:32:54,453 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver/PR-491 with force:False [2023-11-08T18:32:54.540Z] 2023-11-08 18:32:54,454 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver/PR-491 [2023-11-08T18:32:54.540Z] 2023-11-08 18:32:54,458 [execute] INFO git cat-file --batch-check [2023-11-08T18:32:54.540Z] 2023-11-08 18:32:54,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:32:54.540Z] 2023-11-08 18:32:54,464 [execute] INFO git cat-file --batch [2023-11-08T18:32:54.540Z] 2023-11-08 18:32:54,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T18:32:54.540Z] 2023-11-08 18:32:54,469 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-491/.semver/PR-491 [2023-11-08T18:32:54.540Z] 0.0.0 [Pipeline] } [2023-11-08T18:32:54.552Z] $ docker exec --env ******** --env ******** 76681e06588f74938c18182871a8e6c232abd38cb38ce7a5caffcdb2c0a66741 ssh-agent -k [2023-11-08T18:32:54.653Z] unset SSH_AUTH_SOCK; [2023-11-08T18:32:54.653Z] unset SSH_AGENT_PID; [2023-11-08T18:32:54.654Z] echo Agent pid 75 killed; [2023-11-08T18:32:54.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T18:32:54.963Z] + git semver [Pipeline] } [2023-11-08T18:32:55.239Z] $ docker stop --time=1 76681e06588f74938c18182871a8e6c232abd38cb38ce7a5caffcdb2c0a66741 [2023-11-08T18:32:56.526Z] $ docker rm -f --volumes 76681e06588f74938c18182871a8e6c232abd38cb38ce7a5caffcdb2c0a66741 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T18:32:56.851Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T18:32:57.062Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T18:32:57.065Z] [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 [2023-11-08T18:32:57.208Z] provisioning config files... [2023-11-08T18:32:57.218Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/config515615675765047201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:32:57.516Z] ---> docker-login.sh [2023-11-08T18:32:57.516Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:32:57.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:32:57.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:32:57.516Z] Configure a credential helper to remove this warning. See [2023-11-08T18:32:57.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:32:57.516Z] [2023-11-08T18:32:57.516Z] Login Succeeded [2023-11-08T18:32:57.516Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:32:57.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:32:57.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:32:57.516Z] Configure a credential helper to remove this warning. See [2023-11-08T18:32:57.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:32:57.516Z] [2023-11-08T18:32:57.516Z] Login Succeeded [2023-11-08T18:32:57.516Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:32:57.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:32:57.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:32:57.775Z] Configure a credential helper to remove this warning. See [2023-11-08T18:32:57.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:32:57.775Z] [2023-11-08T18:32:57.775Z] Login Succeeded [2023-11-08T18:32:57.775Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:32:57.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:32:57.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:32:57.775Z] Configure a credential helper to remove this warning. See [2023-11-08T18:32:57.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:32:57.775Z] [2023-11-08T18:32:57.775Z] Login Succeeded [2023-11-08T18:32:57.775Z] docker.io [2023-11-08T18:32:58.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:32:58.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:32:58.295Z] Configure a credential helper to remove this warning. See [2023-11-08T18:32:58.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:32:58.295Z] [2023-11-08T18:32:58.295Z] Login Succeeded [2023-11-08T18:32:58.295Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:32:58.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T18:32:58.373Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:32:58.380Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-11-08T18:32:58.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:32:58.393Z] ========================================================= [2023-11-08T18:32:58.393Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-11-08T18:32:58.393Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:32:58.714Z] + 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 . [2023-11-08T18:32:58.714Z] Sending build context to Docker daemon 4.955MB [2023-11-08T18:32:58.714Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-11-08T18:32:58.714Z] Step 2/21 : FROM ${BASE} as builder [2023-11-08T18:32:58.714Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-11-08T18:32:58.714Z] 96526aa774ef: Pulling fs layer [2023-11-08T18:32:58.714Z] da60e534fd72: Pulling fs layer [2023-11-08T18:32:58.973Z] 96526aa774ef: Verifying Checksum [2023-11-08T18:32:58.973Z] 96526aa774ef: Download complete [2023-11-08T18:32:58.973Z] 96526aa774ef: Pull complete [2023-11-08T18:32:59.915Z] da60e534fd72: Verifying Checksum [2023-11-08T18:32:59.915Z] da60e534fd72: Download complete [2023-11-08T18:33:02.474Z] da60e534fd72: Pull complete [2023-11-08T18:33:02.474Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2023-11-08T18:33:02.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-11-08T18:33:02.474Z] ---> 6605166a5db4 [2023-11-08T18:33:02.474Z] 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 [2023-11-08T18:33:05.013Z] ---> Running in acd00c9d3df1 [2023-11-08T18:33:05.273Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-11-08T18:33:05.840Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-08T18:33:05.840Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-08T18:33:05.840Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-08T18:33:06.100Z] Removing intermediate container acd00c9d3df1 [2023-11-08T18:33:06.100Z] ---> 3cb6ccaef8db [2023-11-08T18:33:06.100Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-08T18:33:06.100Z] ---> Running in c4dd7a437b83 [2023-11-08T18:33:06.669Z] Removing intermediate container c4dd7a437b83 [2023-11-08T18:33:06.669Z] ---> 756d97162fe7 [2023-11-08T18:33:06.669Z] 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 [2023-11-08T18:33:06.669Z] ---> Running in 58709669f7ac [2023-11-08T18:33:06.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:33:06.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:33:07.186Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:33:07.449Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-08T18:33:07.449Z] (1/17) Installing hiredis (1.1.0-r2) [2023-11-08T18:33:07.449Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-11-08T18:33:07.709Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-08T18:33:08.286Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-08T18:33:08.286Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-08T18:33:08.544Z] (6/17) Installing libcbor (0.10.2-r1) [2023-11-08T18:33:08.544Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-11-08T18:33:08.544Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-11-08T18:33:08.545Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-11-08T18:33:08.545Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-11-08T18:33:08.545Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-08T18:33:08.545Z] (12/17) Installing libblkid (2.38.1-r8) [2023-11-08T18:33:08.545Z] (13/17) Installing libuuid (2.38.1-r8) [2023-11-08T18:33:08.545Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-11-08T18:33:08.545Z] (15/17) Installing libmount (2.38.1-r8) [2023-11-08T18:33:08.545Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-11-08T18:33:08.545Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-11-08T18:33:08.912Z] Executing busybox-1.36.1-r4.trigger [2023-11-08T18:33:08.912Z] OK: 336 MiB in 99 packages [2023-11-08T18:33:09.480Z] Removing intermediate container 58709669f7ac [2023-11-08T18:33:09.480Z] ---> 234dc302969d [2023-11-08T18:33:09.480Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-11-08T18:33:09.480Z] ---> Running in e42e8bd840a5 [2023-11-08T18:33:10.046Z] Removing intermediate container e42e8bd840a5 [2023-11-08T18:33:10.046Z] ---> cc9e7c92f8c7 [2023-11-08T18:33:10.046Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-11-08T18:33:10.046Z] ---> 3d2c96a7d80b [2023-11-08T18:33:10.046Z] Step 8/21 : COPY src /tmp/sdk/src [2023-11-08T18:33:10.312Z] ---> 929bee6aca0e [2023-11-08T18:33:10.312Z] Step 9/21 : COPY include /tmp/sdk/include [2023-11-08T18:33:10.571Z] ---> 201e9f263f08 [2023-11-08T18:33:10.571Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-11-08T18:33:10.571Z] ---> c395fe841499 [2023-11-08T18:33:10.571Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-11-08T18:33:10.830Z] ---> f44d74aff120 [2023-11-08T18:33:10.830Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-11-08T18:33:10.830Z] ---> 9b52639ac895 [2023-11-08T18:33:10.830Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-11-08T18:33:10.830Z] ---> Running in 982bddcf56ba [2023-11-08T18:33:11.087Z] + CPPCHECK=false [2023-11-08T18:33:11.087Z] + DOCGEN=false [2023-11-08T18:33:11.087Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-11-08T18:33:11.087Z] + '[' 0 -gt 0 ] [2023-11-08T18:33:11.087Z] + readlink -f ./scripts/build.sh [2023-11-08T18:33:11.087Z] + dirname /tmp/sdk/scripts/build.sh [2023-11-08T18:33:11.087Z] + dirname /tmp/sdk/scripts [2023-11-08T18:33:11.087Z] + ROOT=/tmp/sdk [2023-11-08T18:33:11.087Z] + cd /tmp/sdk [2023-11-08T18:33:11.087Z] + mkdir -p /tmp/sdk/build/release [2023-11-08T18:33:11.087Z] + cd /tmp/sdk/build/release [2023-11-08T18:33:11.087Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-11-08T18:33:11.343Z] -- The C compiler identification is GNU 12.2.1 [2023-11-08T18:33:11.343Z] -- Detecting C compiler ABI info [2023-11-08T18:33:11.343Z] -- Detecting C compiler ABI info - done [2023-11-08T18:33:11.343Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-08T18:33:11.343Z] -- Detecting C compile features [2023-11-08T18:33:11.343Z] -- Detecting C compile features - done [2023-11-08T18:33:11.343Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-08T18:33:11.343Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-08T18:33:11.343Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-08T18:33:11.343Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-08T18:33:11.343Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-08T18:33:11.343Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-08T18:33:11.344Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-08T18:33:11.344Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-08T18:33:11.344Z] -- /opt/iotech/iot/1.5/include [2023-11-08T18:33:11.344Z] -- C SDK 0.0.0 for Linux [2023-11-08T18:33:11.344Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-08T18:33:11.601Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-08T18:33:11.601Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-08T18:33:11.601Z] -- Configuring done (0.4s) [2023-11-08T18:33:11.601Z] -- Generating done (0.0s) [2023-11-08T18:33:11.601Z] -- Build files have been written to: /tmp/sdk/build/release [2023-11-08T18:33:11.601Z] + make all package [2023-11-08T18:33:11.601Z] + tee release.log [2023-11-08T18:33:11.601Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-08T18:33:11.860Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-08T18:33:11.860Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-08T18:33:12.119Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-08T18:33:12.119Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-08T18:33:12.119Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-08T18:33:12.171Z] Still waiting to schedule task [2023-11-08T18:33:12.171Z] ‘prd-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-08T18:33:12.171Z] ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-08T18:33:12.172Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-17049’ is offline [2023-11-08T18:33:12.685Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-08T18:33:12.685Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-11-08T18:33:12.685Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-08T18:33:12.685Z] 294 | while (privateConfig) [2023-11-08T18:33:12.685Z] | ^~~~~~~~~~~~~ [2023-11-08T18:33:12.685Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-11-08T18:33:12.685Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-08T18:33:12.685Z] | ^~~~~~~~~~~~~ [2023-11-08T18:33:12.685Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-08T18:33:12.685Z] 271 | while (result) [2023-11-08T18:33:12.685Z] | ^~~~~~ [2023-11-08T18:33:12.685Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-11-08T18:33:12.685Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-08T18:33:12.685Z] | ^~~~~~ [2023-11-08T18:33:12.685Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-08T18:33:12.685Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-08T18:33:12.945Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-08T18:33:13.203Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-08T18:33:13.203Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-08T18:33:13.463Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-08T18:33:13.463Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-08T18:33:13.723Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-08T18:33:13.723Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-08T18:33:13.723Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-08T18:33:14.289Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-08T18:33:14.289Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-08T18:33:14.289Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-08T18:33:14.549Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-08T18:33:15.557Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-08T18:33:15.557Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-08T18:33:15.557Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-08T18:33:15.815Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-08T18:33:15.815Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-08T18:33:16.074Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-08T18:33:16.334Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-08T18:33:16.334Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-08T18:33:16.595Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-08T18:33:16.595Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-08T18:33:16.595Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-08T18:33:16.595Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-08T18:33:16.595Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-08T18:33:16.595Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-08T18:33:16.595Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-08T18:33:16.595Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-08T18:33:16.595Z] | ^ [2023-11-08T18:33:16.853Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-08T18:33:16.853Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-11-08T18:33:16.853Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-08T18:33:16.853Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-11-08T18:33:16.853Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-11-08T18:33:16.853Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-11-08T18:33:17.111Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-08T18:33:17.111Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-08T18:33:17.111Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-08T18:33:17.370Z] [ 68%] Linking C shared library libcsdk.so [2023-11-08T18:33:17.370Z] [ 68%] Built target csdk [2023-11-08T18:33:17.370Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-08T18:33:17.631Z] [ 72%] Linking C executable template [2023-11-08T18:33:17.631Z] [ 72%] Built target template [2023-11-08T18:33:17.631Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-08T18:33:17.631Z] [ 76%] Linking C executable device-counter [2023-11-08T18:33:17.890Z] [ 76%] Built target device-counter [2023-11-08T18:33:17.890Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-08T18:33:17.890Z] [ 80%] Linking C executable device-random [2023-11-08T18:33:17.890Z] [ 80%] Built target device-random [2023-11-08T18:33:17.890Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-08T18:33:18.149Z] [ 84%] Linking C executable device-gyro [2023-11-08T18:33:18.149Z] [ 84%] Built target device-gyro [2023-11-08T18:33:18.149Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-08T18:33:18.149Z] [ 88%] Linking C executable device-bitfields [2023-11-08T18:33:18.417Z] [ 88%] Built target device-bitfields [2023-11-08T18:33:18.417Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-08T18:33:18.417Z] [ 92%] Linking C executable template-discovery [2023-11-08T18:33:18.417Z] [ 92%] Built target template-discovery [2023-11-08T18:33:18.417Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-08T18:33:18.675Z] [ 96%] Linking C executable device-file [2023-11-08T18:33:18.675Z] [ 96%] Built target device-file [2023-11-08T18:33:18.675Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-08T18:33:18.934Z] [100%] Linking C executable device-terminal [2023-11-08T18:33:18.934Z] [100%] Built target device-terminal [2023-11-08T18:33:18.934Z] Run CPack packaging tool... [2023-11-08T18:33:18.934Z] CPack: Create package using TGZ [2023-11-08T18:33:18.934Z] CPack: Install projects [2023-11-08T18:33:18.934Z] CPack: - Run preinstall target for: Csdk [2023-11-08T18:33:19.205Z] CPack: - Install project: Csdk [] [2023-11-08T18:33:19.205Z] CPack: Create package [2023-11-08T18:33:19.205Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-11-08T18:33:19.205Z] + '[' false '=' true ] [2023-11-08T18:33:19.205Z] + '[' false '=' true ] [2023-11-08T18:33:19.205Z] + mkdir -p /tmp/sdk/build/debug [2023-11-08T18:33:19.205Z] + cd /tmp/sdk/build/debug [2023-11-08T18:33:19.205Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-11-08T18:33:19.205Z] -- The C compiler identification is GNU 12.2.1 [2023-11-08T18:33:19.205Z] -- Detecting C compiler ABI info [2023-11-08T18:33:19.464Z] -- Detecting C compiler ABI info - done [2023-11-08T18:33:19.464Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-08T18:33:19.464Z] -- Detecting C compile features [2023-11-08T18:33:19.464Z] -- Detecting C compile features - done [2023-11-08T18:33:19.464Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-08T18:33:19.464Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-08T18:33:19.464Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-08T18:33:19.464Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-08T18:33:19.464Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-08T18:33:19.464Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-08T18:33:19.464Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-08T18:33:19.464Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-08T18:33:19.464Z] -- /opt/iotech/iot/1.5/include [2023-11-08T18:33:19.464Z] -- C SDK 0.0.0 for Linux [2023-11-08T18:33:19.464Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-08T18:33:19.464Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-08T18:33:19.464Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-08T18:33:19.724Z] -- Configuring done (0.4s) [2023-11-08T18:33:19.724Z] -- Generating done (0.0s) [2023-11-08T18:33:19.724Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-11-08T18:33:19.724Z] + make [2023-11-08T18:33:19.724Z] + tee debug.log [2023-11-08T18:33:19.724Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-08T18:33:19.724Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-08T18:33:19.724Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-08T18:33:19.982Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-08T18:33:19.982Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-08T18:33:19.982Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-08T18:33:20.241Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-08T18:33:20.241Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-08T18:33:20.241Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-08T18:33:20.241Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-08T18:33:20.500Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-08T18:33:20.500Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-08T18:33:20.500Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-08T18:33:20.759Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-08T18:33:20.759Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-08T18:33:20.759Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-08T18:33:20.759Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-08T18:33:21.018Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-08T18:33:21.018Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-08T18:33:21.018Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-08T18:33:21.277Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-08T18:33:21.277Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-08T18:33:21.543Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-08T18:33:21.543Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-08T18:33:21.543Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-08T18:33:21.543Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-08T18:33:21.802Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-08T18:33:22.062Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-08T18:33:22.062Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-08T18:33:22.062Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-08T18:33:22.062Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-08T18:33:22.062Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-08T18:33:22.062Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-08T18:33:22.062Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-08T18:33:22.062Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-08T18:33:22.062Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-08T18:33:22.062Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-08T18:33:22.062Z] | ^ [2023-11-08T18:33:22.321Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-08T18:33:22.321Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-08T18:33:22.321Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-08T18:33:22.581Z] [ 68%] Linking C shared library libcsdk.so [2023-11-08T18:33:22.581Z] [ 68%] Built target csdk [2023-11-08T18:33:22.581Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-08T18:33:22.581Z] [ 72%] Linking C executable template [2023-11-08T18:33:22.581Z] [ 72%] Built target template [2023-11-08T18:33:22.581Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-08T18:33:22.841Z] [ 76%] Linking C executable device-counter [2023-11-08T18:33:22.841Z] [ 76%] Built target device-counter [2023-11-08T18:33:22.841Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-08T18:33:22.841Z] [ 80%] Linking C executable device-random [2023-11-08T18:33:22.841Z] [ 80%] Built target device-random [2023-11-08T18:33:23.101Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-08T18:33:23.102Z] [ 84%] Linking C executable device-gyro [2023-11-08T18:33:23.102Z] [ 84%] Built target device-gyro [2023-11-08T18:33:23.102Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-08T18:33:23.102Z] [ 88%] Linking C executable device-bitfields [2023-11-08T18:33:23.361Z] [ 88%] Built target device-bitfields [2023-11-08T18:33:23.361Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-08T18:33:23.361Z] [ 92%] Linking C executable template-discovery [2023-11-08T18:33:23.361Z] [ 92%] Built target template-discovery [2023-11-08T18:33:23.361Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-08T18:33:23.361Z] [ 96%] Linking C executable device-file [2023-11-08T18:33:23.621Z] [ 96%] Built target device-file [2023-11-08T18:33:23.621Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-08T18:33:23.621Z] [100%] Linking C executable device-terminal [2023-11-08T18:33:23.621Z] [100%] Built target device-terminal [2023-11-08T18:33:23.621Z] make: Entering directory '/tmp/sdk/build/release' [2023-11-08T18:33:23.885Z] [ 68%] Built target csdk [2023-11-08T18:33:23.885Z] [ 72%] Built target template [2023-11-08T18:33:23.885Z] [ 76%] Built target device-counter [2023-11-08T18:33:23.885Z] [ 80%] Built target device-random [2023-11-08T18:33:23.885Z] [ 84%] Built target device-gyro [2023-11-08T18:33:23.885Z] [ 88%] Built target device-bitfields [2023-11-08T18:33:23.885Z] [ 92%] Built target template-discovery [2023-11-08T18:33:23.885Z] [ 96%] Built target device-file [2023-11-08T18:33:23.885Z] [100%] Built target device-terminal [2023-11-08T18:33:23.885Z] Install the project... [2023-11-08T18:33:23.885Z] -- Install configuration: "Release" [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/lib/libcsdk.so [2023-11-08T18:33:23.885Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include/devsdk [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include/edgex [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include/edgex/devices.h [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-11-08T18:33:23.885Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-11-08T18:33:23.885Z] make: Leaving directory '/tmp/sdk/build/release' [2023-11-08T18:33:24.825Z] Removing intermediate container 982bddcf56ba [2023-11-08T18:33:24.825Z] ---> f56c0e65b8aa [2023-11-08T18:33:24.825Z] Step 14/21 : FROM ${BASE} [2023-11-08T18:33:24.825Z] ---> 6605166a5db4 [2023-11-08T18:33:24.825Z] Step 15/21 : LABEL maintainer="IOTech " [2023-11-08T18:33:24.825Z] ---> Running in 3b597bc18d2b [2023-11-08T18:33:24.825Z] Removing intermediate container 3b597bc18d2b [2023-11-08T18:33:24.825Z] ---> 5d52bd7a9898 [2023-11-08T18:33:24.825Z] 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 [2023-11-08T18:33:24.825Z] ---> Running in 3d9835a70abe [2023-11-08T18:33:25.084Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-11-08T18:33:25.342Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-08T18:33:25.342Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-08T18:33:25.342Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-08T18:33:25.910Z] Removing intermediate container 3d9835a70abe [2023-11-08T18:33:25.910Z] ---> ae44ba39cdf6 [2023-11-08T18:33:25.910Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-08T18:33:25.910Z] ---> Running in 3c2061894c78 [2023-11-08T18:33:26.489Z] Removing intermediate container 3c2061894c78 [2023-11-08T18:33:26.489Z] ---> 429e8b630081 [2023-11-08T18:33:26.489Z] 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 [2023-11-08T18:33:26.489Z] ---> Running in 9665eeae6dd5 [2023-11-08T18:33:26.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:33:26.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:33:27.007Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:33:27.574Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-08T18:33:27.574Z] (1/7) Installing curl (8.4.0-r0) [2023-11-08T18:33:27.574Z] (2/7) Installing hiredis (1.1.0-r2) [2023-11-08T18:33:27.574Z] (3/7) Installing hiredis-dev (1.1.0-r2) [2023-11-08T18:33:27.574Z] (4/7) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-08T18:33:28.145Z] (5/7) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-08T18:33:28.404Z] (6/7) Installing libcbor (0.10.2-r1) [2023-11-08T18:33:28.404Z] (7/7) Installing libuuid (2.38.1-r8) [2023-11-08T18:33:28.404Z] Executing busybox-1.36.1-r4.trigger [2023-11-08T18:33:28.404Z] OK: 331 MiB in 89 packages [2023-11-08T18:33:28.985Z] Removing intermediate container 9665eeae6dd5 [2023-11-08T18:33:28.985Z] ---> 0fb26a514a8a [2023-11-08T18:33:28.985Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-11-08T18:33:28.985Z] ---> 5ea1c84b50d2 [2023-11-08T18:33:28.985Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-11-08T18:33:28.985Z] ---> e93d0f48b95c [2023-11-08T18:33:28.985Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-11-08T18:33:29.245Z] ---> 71552878caba [2023-11-08T18:33:29.245Z] Successfully built 71552878caba [2023-11-08T18:33:29.245Z] 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 [2023-11-08T18:33:29.621Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T18:33:29.621Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:33:29.694Z] prd-ubuntu20.04-docker-8c-8g-17050 does not seem to be running inside a container [2023-11-08T18:33:29.730Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-491 -v /w/workspace/edgexfoundry_device-sdk-c_PR-491:/w/workspace/edgexfoundry_device-sdk-c_PR-491:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-491@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 [2023-11-08T18:33:30.089Z] $ docker top fbef36149bc7da814ecb5dcf4426b2b9830a2150633a1a768a3e80028a7fe962 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:33:30.423Z] + make test [2023-11-08T18:33:30.423Z] echo "make test" [2023-11-08T18:33:30.423Z] make test [Pipeline] } [2023-11-08T18:33:30.435Z] $ docker stop --time=1 fbef36149bc7da814ecb5dcf4426b2b9830a2150633a1a768a3e80028a7fe962 [2023-11-08T18:33:31.723Z] $ docker rm -f --volumes fbef36149bc7da814ecb5dcf4426b2b9830a2150633a1a768a3e80028a7fe962 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T18:33:32.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T18:33:32.489Z] + ls -al . [2023-11-08T18:33:32.489Z] total 212 [2023-11-08T18:33:32.489Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 18:32 . [2023-11-08T18:33:32.489Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:32 .. [2023-11-08T18:33:32.489Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:32 .git [2023-11-08T18:33:32.489Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:32 .github [2023-11-08T18:33:32.489Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 8 18:32 .gitignore [2023-11-08T18:33:32.489Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:32 .semver [2023-11-08T18:33:32.489Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 8 18:32 Attribution.txt [2023-11-08T18:33:32.489Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 8 18:32 CHANGELOG.md [2023-11-08T18:33:32.489Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 8 18:32 Doxyfile [2023-11-08T18:33:32.489Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:32 GOVERNANCE.md [2023-11-08T18:33:32.489Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 8 18:32 Jenkinsfile [2023-11-08T18:33:32.489Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 18:32 LICENSE [2023-11-08T18:33:32.490Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 8 18:32 Makefile [2023-11-08T18:33:32.490Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 18:32 OWNERS.md [2023-11-08T18:33:32.490Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 8 18:32 README.IOT.md [2023-11-08T18:33:32.490Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 8 18:32 README.md [2023-11-08T18:33:32.490Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 8 18:32 README.v3.md [2023-11-08T18:33:32.490Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:32 VERSION [2023-11-08T18:33:32.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:32 docs [2023-11-08T18:33:32.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:32 include [2023-11-08T18:33:32.490Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:32 scripts [2023-11-08T18:33:32.490Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:32 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:33:32.907Z] + 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=9e94d479aaf93dc7966800c37191e2f0b04b1b04 --label arch=amd64 --label version=0.0.0 . [2023-11-08T18:33:32.907Z] Sending build context to Docker daemon 4.955MB [2023-11-08T18:33:32.907Z] Step 1/17 : ARG BASE=alpine:3.18 [2023-11-08T18:33:32.907Z] Step 2/17 : FROM ${BASE} [2023-11-08T18:33:32.907Z] ---> 71552878caba [2023-11-08T18:33:32.907Z] Step 3/17 : LABEL maintainer="IOTech " [2023-11-08T18:33:32.907Z] ---> Running in 37afd0a01338 [2023-11-08T18:33:33.167Z] Removing intermediate container 37afd0a01338 [2023-11-08T18:33:33.167Z] ---> b258db1940f7 [2023-11-08T18:33:33.167Z] 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 [2023-11-08T18:33:33.167Z] ---> Running in 02eaeb1b4a8b [2023-11-08T18:33:33.426Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-11-08T18:33:33.685Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-08T18:33:33.685Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-08T18:33:33.685Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-08T18:33:33.944Z] Removing intermediate container 02eaeb1b4a8b [2023-11-08T18:33:33.944Z] ---> 95fa402e9a3a [2023-11-08T18:33:33.944Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-08T18:33:33.944Z] ---> Running in a9f7dfd63a10 [2023-11-08T18:33:34.513Z] Removing intermediate container a9f7dfd63a10 [2023-11-08T18:33:34.513Z] ---> 5bc67e100721 [2023-11-08T18:33:34.513Z] 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 [2023-11-08T18:33:34.513Z] ---> Running in cfeb39bfb9e3 [2023-11-08T18:33:34.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:33:34.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T18:33:35.032Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T18:33:35.600Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-08T18:33:35.600Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-08T18:33:35.860Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2023-11-08T18:33:35.860Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2023-11-08T18:33:35.860Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2023-11-08T18:33:35.860Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2023-11-08T18:33:35.860Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-08T18:33:35.860Z] (7/11) Installing libblkid (2.38.1-r8) [2023-11-08T18:33:35.860Z] (8/11) Installing libfdisk (2.38.1-r8) [2023-11-08T18:33:35.860Z] (9/11) Installing libmount (2.38.1-r8) [2023-11-08T18:33:35.860Z] (10/11) Installing libsmartcols (2.38.1-r8) [2023-11-08T18:33:35.860Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2023-11-08T18:33:35.860Z] Executing busybox-1.36.1-r4.trigger [2023-11-08T18:33:35.860Z] OK: 336 MiB in 100 packages [2023-11-08T18:33:36.426Z] Removing intermediate container cfeb39bfb9e3 [2023-11-08T18:33:36.426Z] ---> 965d3025195f [2023-11-08T18:33:36.426Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-11-08T18:33:36.426Z] ---> a9c709e46dd9 [2023-11-08T18:33:36.426Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-11-08T18:33:36.685Z] ---> cc7d22147204 [2023-11-08T18:33:36.685Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-11-08T18:33:36.685Z] ---> 6e0181a650c3 [2023-11-08T18:33:36.685Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-11-08T18:33:36.944Z] ---> 67be8b236755 [2023-11-08T18:33:36.944Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-11-08T18:33:36.944Z] ---> f2e636af7ec9 [2023-11-08T18:33:36.944Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-11-08T18:33:37.202Z] ---> 144b221d5bf2 [2023-11-08T18:33:37.202Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-11-08T18:33:37.202Z] ---> Running in d13fcd3116a1 [2023-11-08T18:33:37.202Z] Removing intermediate container d13fcd3116a1 [2023-11-08T18:33:37.202Z] ---> a0220d9e4cd2 [2023-11-08T18:33:37.202Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-11-08T18:33:37.202Z] ---> Running in 5c2e826edcfe [2023-11-08T18:33:37.202Z] Removing intermediate container 5c2e826edcfe [2023-11-08T18:33:37.202Z] ---> e03449051bbc [2023-11-08T18:33:37.202Z] Step 15/17 : LABEL arch=amd64 [2023-11-08T18:33:37.202Z] ---> Running in 924161373d0a [2023-11-08T18:33:37.461Z] Removing intermediate container 924161373d0a [2023-11-08T18:33:37.461Z] ---> 9bde2137cb3d [2023-11-08T18:33:37.461Z] Step 16/17 : LABEL git_sha=9e94d479aaf93dc7966800c37191e2f0b04b1b04 [2023-11-08T18:33:37.461Z] ---> Running in e39bfbd5563d [2023-11-08T18:33:37.461Z] Removing intermediate container e39bfbd5563d [2023-11-08T18:33:37.461Z] ---> a853e304921f [2023-11-08T18:33:37.461Z] Step 17/17 : LABEL version=0.0.0 [2023-11-08T18:33:37.461Z] ---> Running in 984ddd27d2d9 [2023-11-08T18:33:37.461Z] Removing intermediate container 984ddd27d2d9 [2023-11-08T18:33:37.461Z] ---> 663315f135ca [2023-11-08T18:33:37.461Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-11-08T18:33:37.461Z] Successfully built 663315f135ca [2023-11-08T18:33:37.461Z] 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 [2023-11-08T18:33:37.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:33:37.903Z] [2023-11-08T18:33:37.903Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:33:38.202Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:33:38.202Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T18:33:38.202Z] 5eb5b503b376: Pulling fs layer [2023-11-08T18:33:38.202Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T18:33:38.202Z] ec43610c2a17: Pulling fs layer [2023-11-08T18:33:38.202Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T18:33:38.202Z] 33b1e0a273af: Pulling fs layer [2023-11-08T18:33:38.202Z] 3a2ae6a8a46f: Waiting [2023-11-08T18:33:38.202Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T18:33:38.202Z] 2f39f015ded8: Pulling fs layer [2023-11-08T18:33:38.202Z] 33b1e0a273af: Waiting [2023-11-08T18:33:38.202Z] 5d3b04190fa2: Waiting [2023-11-08T18:33:38.202Z] 2f39f015ded8: Waiting [2023-11-08T18:33:38.202Z] 5c69ac0246d0: Verifying Checksum [2023-11-08T18:33:38.202Z] 5c69ac0246d0: Download complete [2023-11-08T18:33:38.202Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-08T18:33:38.202Z] 3a2ae6a8a46f: Download complete [2023-11-08T18:33:38.202Z] 33b1e0a273af: Verifying Checksum [2023-11-08T18:33:38.202Z] 33b1e0a273af: Download complete [2023-11-08T18:33:38.202Z] 5d3b04190fa2: Verifying Checksum [2023-11-08T18:33:38.202Z] 5d3b04190fa2: Download complete [2023-11-08T18:33:39.895Z] ec43610c2a17: Verifying Checksum [2023-11-08T18:33:39.895Z] ec43610c2a17: Download complete [2023-11-08T18:33:40.154Z] 5eb5b503b376: Verifying Checksum [2023-11-08T18:33:40.154Z] 5eb5b503b376: Download complete [2023-11-08T18:33:40.723Z] 2f39f015ded8: Download complete [2023-11-08T18:33:41.289Z] 5eb5b503b376: Pull complete [2023-11-08T18:33:41.548Z] 5c69ac0246d0: Pull complete [2023-11-08T18:33:42.114Z] ec43610c2a17: Pull complete [2023-11-08T18:33:42.114Z] 3a2ae6a8a46f: Pull complete [2023-11-08T18:33:42.374Z] 33b1e0a273af: Pull complete [2023-11-08T18:33:42.374Z] 5d3b04190fa2: Pull complete [2023-11-08T18:33:46.568Z] 2f39f015ded8: Pull complete [2023-11-08T18:33:46.568Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T18:33:46.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:33:46.568Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:33:46.648Z] prd-ubuntu20.04-docker-8c-8g-17050 does not seem to be running inside a container [2023-11-08T18:33:46.682Z] $ 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-491 -v /w/workspace/edgexfoundry_device-sdk-c_PR-491:/w/workspace/edgexfoundry_device-sdk-c_PR-491:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-491@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 [2023-11-08T18:33:53.222Z] $ docker top 3d06b678b6bca5abc94533d1cded011f00546033f7c6c26599ce7a6546945c16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:33:53.582Z] ---> job-cost.sh [2023-11-08T18:33:53.582Z] lf-activate-venv: SKIPPING [2023-11-08T18:33:53.582Z] INFO: No Stack... [2023-11-08T18:33:53.840Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T18:33:54.099Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T18:33:54.391Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives/cost.csv [2023-11-08T18:33:54.391Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T18:33:54.405Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-491-7-stack-cost] [2023-11-08T18:33:54.410Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-491-7-stack-cost] did not exist. Created. [2023-11-08T18:33:54.411Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-491-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T18:33:54.716Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-08T18:33:54.763Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T18:33:54.770Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-491-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T18:33:54.788Z] $ docker stop --time=1 3d06b678b6bca5abc94533d1cded011f00546033f7c6c26599ce7a6546945c16 [2023-11-08T18:33:55.929Z] $ docker rm -f --volumes 3d06b678b6bca5abc94533d1cded011f00546033f7c6c26599ce7a6546945c16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T18:35:26.568Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17052 in /w/workspace/edgexfoundry_device-sdk-c_PR-491 [Pipeline] { [Pipeline] ws [2023-11-08T18:35:26.584Z] Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout [2023-11-08T18:35:26.619Z] Selected Git installation does not exist. Using Default [2023-11-08T18:35:26.620Z] The recommended git tool is: NONE [2023-11-08T18:35:32.241Z] using credential edgex-jenkins-ssh [2023-11-08T18:35:32.259Z] Cloning the remote Git repository [2023-11-08T18:35:32.310Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-11-08T18:35:32.428Z] > git init /w/workspace/device-sdk-c/7 # timeout=10 [2023-11-08T18:35:32.613Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-11-08T18:35:32.615Z] > git --version # timeout=10 [2023-11-08T18:35:32.640Z] > git --version # 'git version 2.25.1' [2023-11-08T18:35:32.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T18:35:32.856Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T18:35:34.065Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-11-08T18:35:34.092Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T18:35:35.085Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-11-08T18:35:35.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-11-08T18:35:35.131Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T18:35:35.150Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/491/head:refs/remotes/origin/PR-491 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-08T18:35:35.810Z] Merging remotes/origin/main commit fce4d9ea94ea80a3011c486961bae016d9d59a68 into PR head commit b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 [2023-11-08T18:35:36.248Z] Merge succeeded, producing f424e270b446f76ea98725600fbc475946885315 [2023-11-08T18:35:36.248Z] Checking out Revision f424e270b446f76ea98725600fbc475946885315 (PR-491) [2023-11-08T18:35:35.829Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T18:35:35.926Z] > git checkout -f b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 # timeout=10 [2023-11-08T18:35:36.057Z] > git remote # timeout=10 [2023-11-08T18:35:36.080Z] > git config --get remote.origin.url # timeout=10 [2023-11-08T18:35:36.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T18:35:36.126Z] > git merge fce4d9ea94ea80a3011c486961bae016d9d59a68 # timeout=10 [2023-11-08T18:35:36.225Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-08T18:35:36.254Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T18:35:36.271Z] > git checkout -f f424e270b446f76ea98725600fbc475946885315 # timeout=10 [2023-11-08T18:35:40.857Z] Commit message: "Merge commit 'fce4d9ea94ea80a3011c486961bae016d9d59a68' into HEAD" [2023-11-08T18:35:40.865Z] > git rev-list --no-walk b30b8809af46775d8f76a8bc5ad5c6ddf49e9a93 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T18:35:42.257Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T18:35:42.257Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T18:35:42.257Z] Dload Upload Total Spent Left Speed [2023-11-08T18:35:42.257Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 203k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2023-11-08T18:35:43.010Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T18:35:43.327Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T18:35:43.327Z] + sudo tee /etc/docker/daemon.new [2023-11-08T18:35:43.327Z] { [2023-11-08T18:35:43.327Z] "registry-mirrors": [ [2023-11-08T18:35:43.327Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T18:35:43.327Z] ], [2023-11-08T18:35:43.327Z] "bip": "10.250.0.254/24", [2023-11-08T18:35:43.327Z] "hosts": [ [2023-11-08T18:35:43.327Z] "tcp://0.0.0.0:5555", [2023-11-08T18:35:43.327Z] "unix:///var/run/docker.sock" [2023-11-08T18:35:43.327Z] ], [2023-11-08T18:35:43.327Z] "mtu": 1458, [2023-11-08T18:35:43.327Z] "selinux-enabled": true, [2023-11-08T18:35:43.327Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T18:35:43.327Z] } [Pipeline] sh [2023-11-08T18:35:43.652Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T18:35:43.980Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:36:02.264Z] provisioning config files... [2023-11-08T18:36:02.290Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config4591729135954533980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:36:02.650Z] ---> docker-login.sh [2023-11-08T18:36:02.650Z] nexus3.edgexfoundry.org:10001 [2023-11-08T18:36:03.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:36:03.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:36:03.241Z] Configure a credential helper to remove this warning. See [2023-11-08T18:36:03.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:36:03.241Z] [2023-11-08T18:36:03.241Z] Login Succeeded [2023-11-08T18:36:03.241Z] nexus3.edgexfoundry.org:10002 [2023-11-08T18:36:03.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:36:03.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:36:03.785Z] Configure a credential helper to remove this warning. See [2023-11-08T18:36:03.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:36:03.785Z] [2023-11-08T18:36:03.785Z] Login Succeeded [2023-11-08T18:36:03.785Z] nexus3.edgexfoundry.org:10003 [2023-11-08T18:36:04.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:36:04.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:36:04.060Z] Configure a credential helper to remove this warning. See [2023-11-08T18:36:04.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:36:04.060Z] [2023-11-08T18:36:04.060Z] Login Succeeded [2023-11-08T18:36:04.060Z] nexus3.edgexfoundry.org:10004 [2023-11-08T18:36:04.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:36:04.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:36:04.332Z] Configure a credential helper to remove this warning. See [2023-11-08T18:36:04.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:36:04.332Z] [2023-11-08T18:36:04.332Z] Login Succeeded [2023-11-08T18:36:04.332Z] docker.io [2023-11-08T18:36:04.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T18:36:05.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T18:36:05.193Z] Configure a credential helper to remove this warning. See [2023-11-08T18:36:05.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T18:36:05.193Z] [2023-11-08T18:36:05.193Z] Login Succeeded [2023-11-08T18:36:05.193Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T18:36:05.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T18:36:05.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:36:05.518Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-11-08T18:36:05.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T18:36:05.551Z] ========================================================= [2023-11-08T18:36:05.551Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-11-08T18:36:05.551Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:36:05.893Z] + 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 . [2023-11-08T18:36:06.166Z] Sending build context to Docker daemon 2.975MB [2023-11-08T18:36:06.439Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-11-08T18:36:06.439Z] Step 2/21 : FROM ${BASE} as builder [2023-11-08T18:36:06.439Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-11-08T18:36:06.439Z] 579b34f0a95b: Pulling fs layer [2023-11-08T18:36:06.439Z] e71477ac5e1b: Pulling fs layer [2023-11-08T18:36:06.709Z] 579b34f0a95b: Verifying Checksum [2023-11-08T18:36:06.709Z] 579b34f0a95b: Download complete [2023-11-08T18:36:07.304Z] 579b34f0a95b: Pull complete [2023-11-08T18:36:09.470Z] e71477ac5e1b: Verifying Checksum [2023-11-08T18:36:09.470Z] e71477ac5e1b: Download complete [2023-11-08T18:36:24.546Z] e71477ac5e1b: Pull complete [2023-11-08T18:36:24.546Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2023-11-08T18:36:24.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-11-08T18:36:24.546Z] ---> 2b552cad5dd9 [2023-11-08T18:36:24.546Z] 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 [2023-11-08T18:36:24.546Z] ---> Running in 7661cd219b5b [2023-11-08T18:36:25.512Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-11-08T18:36:26.104Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-08T18:36:26.104Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-08T18:36:26.104Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-08T18:36:27.093Z] Removing intermediate container 7661cd219b5b [2023-11-08T18:36:27.093Z] ---> 4e07a342ab89 [2023-11-08T18:36:27.093Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-08T18:36:27.093Z] ---> Running in d7d441ada599 [2023-11-08T18:36:29.086Z] Removing intermediate container d7d441ada599 [2023-11-08T18:36:29.086Z] ---> 1d7017504642 [2023-11-08T18:36:29.086Z] 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 [2023-11-08T18:36:29.086Z] ---> Running in b000898b4085 [2023-11-08T18:36:30.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:36:30.342Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T18:36:30.931Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:36:31.898Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-08T18:36:31.898Z] (1/17) Installing hiredis (1.1.0-r2) [2023-11-08T18:36:31.898Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-11-08T18:36:31.898Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-08T18:36:32.863Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-08T18:36:32.863Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-08T18:36:32.863Z] (6/17) Installing libcbor (0.10.2-r1) [2023-11-08T18:36:32.863Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-11-08T18:36:33.134Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-11-08T18:36:33.134Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-11-08T18:36:33.134Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-11-08T18:36:33.134Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-08T18:36:33.134Z] (12/17) Installing libblkid (2.38.1-r8) [2023-11-08T18:36:33.134Z] (13/17) Installing libuuid (2.38.1-r8) [2023-11-08T18:36:33.134Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-11-08T18:36:33.134Z] (15/17) Installing libmount (2.38.1-r8) [2023-11-08T18:36:33.134Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-11-08T18:36:33.134Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-11-08T18:36:33.134Z] Executing busybox-1.36.1-r4.trigger [2023-11-08T18:36:33.134Z] OK: 333 MiB in 99 packages [2023-11-08T18:36:37.411Z] Removing intermediate container b000898b4085 [2023-11-08T18:36:37.411Z] ---> 8ef8b7b308c6 [2023-11-08T18:36:37.411Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-11-08T18:36:37.411Z] ---> Running in a761ad2a2e34 [2023-11-08T18:36:38.827Z] Removing intermediate container a761ad2a2e34 [2023-11-08T18:36:38.827Z] ---> 280a1ddd9041 [2023-11-08T18:36:38.827Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-11-08T18:36:39.411Z] ---> c0ffd0fe7982 [2023-11-08T18:36:39.411Z] Step 8/21 : COPY src /tmp/sdk/src [2023-11-08T18:36:39.995Z] ---> ab27b0882afd [2023-11-08T18:36:39.995Z] Step 9/21 : COPY include /tmp/sdk/include [2023-11-08T18:36:40.584Z] ---> abed112b9529 [2023-11-08T18:36:40.584Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-11-08T18:36:41.177Z] ---> a084d075d9a3 [2023-11-08T18:36:41.177Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-11-08T18:36:41.446Z] ---> 71a812673a7d [2023-11-08T18:36:41.446Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-11-08T18:36:42.047Z] ---> d7a58a3a6947 [2023-11-08T18:36:42.047Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-11-08T18:36:42.047Z] ---> Running in 28d6ffa7720c [2023-11-08T18:36:43.016Z] + CPPCHECK=false [2023-11-08T18:36:43.016Z] + DOCGEN=false [2023-11-08T18:36:43.016Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-11-08T18:36:43.016Z] + '[' 0 -gt 0 ] [2023-11-08T18:36:43.016Z] + readlink -f ./scripts/build.sh [2023-11-08T18:36:43.016Z] + dirname /tmp/sdk/scripts/build.sh [2023-11-08T18:36:43.016Z] + dirname /tmp/sdk/scripts [2023-11-08T18:36:43.016Z] + ROOT=/tmp/sdk [2023-11-08T18:36:43.017Z] + cd /tmp/sdk [2023-11-08T18:36:43.017Z] + mkdir -p /tmp/sdk/build/release [2023-11-08T18:36:43.017Z] + cd /tmp/sdk/build/release [2023-11-08T18:36:43.017Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-11-08T18:36:43.602Z] -- The C compiler identification is GNU 12.2.1 [2023-11-08T18:36:43.602Z] -- Detecting C compiler ABI info [2023-11-08T18:36:43.869Z] -- Detecting C compiler ABI info - done [2023-11-08T18:36:44.135Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-08T18:36:44.135Z] -- Detecting C compile features [2023-11-08T18:36:44.135Z] -- Detecting C compile features - done [2023-11-08T18:36:44.135Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-08T18:36:44.135Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-08T18:36:44.403Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-08T18:36:44.403Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-08T18:36:44.403Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-08T18:36:44.403Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-08T18:36:44.403Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-08T18:36:44.403Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-08T18:36:44.403Z] -- /opt/iotech/iot/1.5/include [2023-11-08T18:36:44.403Z] -- C SDK 0.0.0 for Linux [2023-11-08T18:36:44.403Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-08T18:36:44.668Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-08T18:36:44.934Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-08T18:36:44.934Z] -- Configuring done (1.9s) [2023-11-08T18:36:45.205Z] -- Generating done (0.3s) [2023-11-08T18:36:45.205Z] -- Build files have been written to: /tmp/sdk/build/release [2023-11-08T18:36:45.205Z] + make all package [2023-11-08T18:36:45.205Z] + tee release.log [2023-11-08T18:36:45.472Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-08T18:36:46.431Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-08T18:36:47.392Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-08T18:36:47.972Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-08T18:36:48.932Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-08T18:36:49.903Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-08T18:36:52.486Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-08T18:36:53.068Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-11-08T18:36:53.068Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-08T18:36:53.068Z] 294 | while (privateConfig) [2023-11-08T18:36:53.068Z] | ^~~~~~~~~~~~~ [2023-11-08T18:36:53.068Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-11-08T18:36:53.068Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-08T18:36:53.068Z] | ^~~~~~~~~~~~~ [2023-11-08T18:36:53.068Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-08T18:36:53.068Z] 271 | while (result) [2023-11-08T18:36:53.068Z] | ^~~~~~ [2023-11-08T18:36:53.068Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-11-08T18:36:53.068Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-08T18:36:53.068Z] | ^~~~~~ [2023-11-08T18:36:53.335Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-08T18:36:53.601Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-08T18:36:54.559Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-08T18:36:57.138Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-08T18:36:57.404Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-08T18:36:58.360Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-08T18:36:58.943Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-08T18:36:59.524Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-08T18:37:00.480Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-08T18:37:00.747Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-08T18:37:03.325Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-08T18:37:03.325Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-08T18:37:03.907Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-08T18:37:05.314Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-08T18:37:13.522Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-08T18:37:13.522Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-08T18:37:13.789Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-08T18:37:14.371Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-08T18:37:14.642Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-08T18:37:16.602Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-08T18:37:18.569Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-08T18:37:19.161Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-08T18:37:20.128Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-08T18:37:20.792Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-08T18:37:21.380Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-08T18:37:21.380Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-08T18:37:21.380Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-08T18:37:21.380Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-08T18:37:21.380Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-08T18:37:21.380Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-08T18:37:21.380Z] | ^ [2023-11-08T18:37:23.325Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-08T18:37:23.325Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-11-08T18:37:23.325Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-08T18:37:23.325Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-11-08T18:37:23.325Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-11-08T18:37:23.325Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-11-08T18:37:24.286Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-08T18:37:25.254Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-08T18:37:25.523Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-08T18:37:26.110Z] [ 68%] Linking C shared library libcsdk.so [2023-11-08T18:37:26.377Z] [ 68%] Built target csdk [2023-11-08T18:37:26.377Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-08T18:37:27.342Z] [ 72%] Linking C executable template [2023-11-08T18:37:27.929Z] [ 72%] Built target template [2023-11-08T18:37:27.929Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-08T18:37:28.517Z] [ 76%] Linking C executable device-counter [2023-11-08T18:37:28.787Z] [ 76%] Built target device-counter [2023-11-08T18:37:29.056Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-08T18:37:29.642Z] [ 80%] Linking C executable device-random [2023-11-08T18:37:29.910Z] [ 80%] Built target device-random [2023-11-08T18:37:29.910Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-08T18:37:30.493Z] [ 84%] Linking C executable device-gyro [2023-11-08T18:37:30.761Z] [ 84%] Built target device-gyro [2023-11-08T18:37:30.761Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-08T18:37:31.348Z] [ 88%] Linking C executable device-bitfields [2023-11-08T18:37:31.933Z] [ 88%] Built target device-bitfields [2023-11-08T18:37:31.933Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-08T18:37:32.902Z] [ 92%] Linking C executable template-discovery [2023-11-08T18:37:33.170Z] [ 92%] Built target template-discovery [2023-11-08T18:37:33.170Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-08T18:37:34.136Z] [ 96%] Linking C executable device-file [2023-11-08T18:37:34.720Z] [ 96%] Built target device-file [2023-11-08T18:37:34.720Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-08T18:37:35.302Z] [100%] Linking C executable device-terminal [2023-11-08T18:37:35.887Z] [100%] Built target device-terminal [2023-11-08T18:37:35.887Z] Run CPack packaging tool... [2023-11-08T18:37:35.887Z] CPack: Create package using TGZ [2023-11-08T18:37:35.887Z] CPack: Install projects [2023-11-08T18:37:35.887Z] CPack: - Run preinstall target for: Csdk [2023-11-08T18:37:36.847Z] CPack: - Install project: Csdk [] [2023-11-08T18:37:36.847Z] CPack: Create package [2023-11-08T18:37:36.848Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-11-08T18:37:36.848Z] + '[' false '=' true ] [2023-11-08T18:37:36.848Z] + '[' false '=' true ] [2023-11-08T18:37:36.848Z] + mkdir -p /tmp/sdk/build/debug [2023-11-08T18:37:36.848Z] + cd /tmp/sdk/build/debug [2023-11-08T18:37:36.848Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-11-08T18:37:37.430Z] -- The C compiler identification is GNU 12.2.1 [2023-11-08T18:37:37.430Z] -- Detecting C compiler ABI info [2023-11-08T18:37:37.697Z] -- Detecting C compiler ABI info - done [2023-11-08T18:37:37.964Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-08T18:37:37.964Z] -- Detecting C compile features [2023-11-08T18:37:37.964Z] -- Detecting C compile features - done [2023-11-08T18:37:37.964Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-08T18:37:38.232Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-08T18:37:38.232Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-08T18:37:38.232Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-08T18:37:38.232Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-08T18:37:38.232Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-08T18:37:38.232Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-08T18:37:38.232Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-08T18:37:38.232Z] -- /opt/iotech/iot/1.5/include [2023-11-08T18:37:38.232Z] -- C SDK 0.0.0 for Linux [2023-11-08T18:37:38.232Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-08T18:37:38.498Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-08T18:37:38.767Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-08T18:37:39.041Z] -- Configuring done (2.0s) [2023-11-08T18:37:39.311Z] -- Generating done (0.3s) [2023-11-08T18:37:39.311Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-11-08T18:37:39.311Z] + make [2023-11-08T18:37:39.311Z] + tee debug.log [2023-11-08T18:37:39.577Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-08T18:37:39.847Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-08T18:37:40.431Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-08T18:37:40.699Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-08T18:37:41.300Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-08T18:37:41.568Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-08T18:37:42.530Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-08T18:37:43.118Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-08T18:37:43.118Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-08T18:37:43.701Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-08T18:37:44.302Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-08T18:37:44.889Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-08T18:37:45.156Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-08T18:37:45.750Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-08T18:37:46.018Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-08T18:37:46.297Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-08T18:37:46.565Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-08T18:37:47.524Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-08T18:37:47.799Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-08T18:37:48.066Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-08T18:37:48.647Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-08T18:37:50.054Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-08T18:37:50.322Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-08T18:37:50.906Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-08T18:37:51.172Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-08T18:37:51.439Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-08T18:37:52.047Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-08T18:37:54.002Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-08T18:37:54.002Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-08T18:37:54.587Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-08T18:37:54.854Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-08T18:37:55.118Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-08T18:37:55.118Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-08T18:37:55.118Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-08T18:37:55.118Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-08T18:37:55.118Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-08T18:37:55.118Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-08T18:37:55.118Z] | ^ [2023-11-08T18:37:55.709Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-08T18:37:55.977Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-08T18:37:56.562Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-08T18:37:56.828Z] [ 68%] Linking C shared library libcsdk.so [2023-11-08T18:37:57.093Z] [ 68%] Built target csdk [2023-11-08T18:37:57.093Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-08T18:37:57.359Z] [ 72%] Linking C executable template [2023-11-08T18:37:57.943Z] [ 72%] Built target template [2023-11-08T18:37:57.943Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-08T18:37:58.210Z] [ 76%] Linking C executable device-counter [2023-11-08T18:37:58.476Z] [ 76%] Built target device-counter [2023-11-08T18:37:58.476Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-08T18:37:59.059Z] [ 80%] Linking C executable device-random [2023-11-08T18:37:59.324Z] [ 80%] Built target device-random [2023-11-08T18:37:59.324Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-08T18:37:59.590Z] [ 84%] Linking C executable device-gyro [2023-11-08T18:37:59.857Z] [ 84%] Built target device-gyro [2023-11-08T18:37:59.857Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-08T18:38:00.439Z] [ 88%] Linking C executable device-bitfields [2023-11-08T18:38:00.709Z] [ 88%] Built target device-bitfields [2023-11-08T18:38:00.709Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-08T18:38:00.980Z] [ 92%] Linking C executable template-discovery [2023-11-08T18:38:01.249Z] [ 92%] Built target template-discovery [2023-11-08T18:38:01.518Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-08T18:38:01.789Z] [ 96%] Linking C executable device-file [2023-11-08T18:38:02.374Z] [ 96%] Built target device-file [2023-11-08T18:38:02.374Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-08T18:38:02.643Z] [100%] Linking C executable device-terminal [2023-11-08T18:38:03.228Z] [100%] Built target device-terminal [2023-11-08T18:38:03.228Z] make: Entering directory '/tmp/sdk/build/release' [2023-11-08T18:38:03.498Z] [ 68%] Built target csdk [2023-11-08T18:38:03.498Z] [ 72%] Built target template [2023-11-08T18:38:03.498Z] [ 76%] Built target device-counter [2023-11-08T18:38:03.498Z] [ 80%] Built target device-random [2023-11-08T18:38:03.498Z] [ 84%] Built target device-gyro [2023-11-08T18:38:03.765Z] [ 88%] Built target device-bitfields [2023-11-08T18:38:03.765Z] [ 92%] Built target template-discovery [2023-11-08T18:38:03.765Z] [ 96%] Built target device-file [2023-11-08T18:38:03.765Z] [100%] Built target device-terminal [2023-11-08T18:38:04.035Z] Install the project... [2023-11-08T18:38:04.035Z] -- Install configuration: "Release" [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/lib/libcsdk.so [2023-11-08T18:38:04.035Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include/devsdk [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include/edgex [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include/edgex/devices.h [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-11-08T18:38:04.035Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-11-08T18:38:04.035Z] make: Leaving directory '/tmp/sdk/build/release' [2023-11-08T18:38:05.445Z] Removing intermediate container 28d6ffa7720c [2023-11-08T18:38:05.445Z] ---> 2c848c8c4294 [2023-11-08T18:38:05.445Z] Step 14/21 : FROM ${BASE} [2023-11-08T18:38:05.445Z] ---> 2b552cad5dd9 [2023-11-08T18:38:05.445Z] Step 15/21 : LABEL maintainer="IOTech " [2023-11-08T18:38:05.445Z] ---> Running in 749ba5499726 [2023-11-08T18:38:05.716Z] Removing intermediate container 749ba5499726 [2023-11-08T18:38:05.716Z] ---> fd13b4967739 [2023-11-08T18:38:05.716Z] 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 [2023-11-08T18:38:05.982Z] ---> Running in 91170c23f926 [2023-11-08T18:38:06.949Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-11-08T18:38:07.540Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-08T18:38:07.540Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-08T18:38:07.540Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-08T18:38:08.127Z] Removing intermediate container 91170c23f926 [2023-11-08T18:38:08.127Z] ---> bd20c291a68c [2023-11-08T18:38:08.127Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-08T18:38:08.127Z] ---> Running in fe18badb2d6f [2023-11-08T18:38:10.131Z] Removing intermediate container fe18badb2d6f [2023-11-08T18:38:10.131Z] ---> 84cb7b275af6 [2023-11-08T18:38:10.131Z] 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 [2023-11-08T18:38:10.131Z] ---> Running in 7ddda3fd4983 [2023-11-08T18:38:11.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:38:11.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T18:38:11.986Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:38:12.973Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-08T18:38:12.973Z] (1/7) Installing curl (8.4.0-r0) [2023-11-08T18:38:12.973Z] (2/7) Installing hiredis (1.1.0-r2) [2023-11-08T18:38:12.973Z] (3/7) Installing hiredis-dev (1.1.0-r2) [2023-11-08T18:38:12.973Z] (4/7) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-08T18:38:13.967Z] (5/7) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-08T18:38:13.967Z] (6/7) Installing libcbor (0.10.2-r1) [2023-11-08T18:38:13.967Z] (7/7) Installing libuuid (2.38.1-r8) [2023-11-08T18:38:13.967Z] Executing busybox-1.36.1-r4.trigger [2023-11-08T18:38:14.240Z] OK: 327 MiB in 89 packages [2023-11-08T18:38:15.238Z] Removing intermediate container 7ddda3fd4983 [2023-11-08T18:38:15.238Z] ---> 2ecdfa8314d6 [2023-11-08T18:38:15.238Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-11-08T18:38:15.821Z] ---> 3b3326b6e61c [2023-11-08T18:38:15.822Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-11-08T18:38:16.410Z] ---> bbeefe87db99 [2023-11-08T18:38:16.410Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-11-08T18:38:16.677Z] ---> f64a3f0ead8f [2023-11-08T18:38:16.677Z] Successfully built f64a3f0ead8f [2023-11-08T18:38:16.942Z] 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 [2023-11-08T18:38:17.329Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T18:38:17.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:38:17.558Z] prd-ubuntu20.04-docker-arm64-4c-16g-17052 does not seem to be running inside a container [2023-11-08T18:38:17.633Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-08T18:38:18.894Z] $ docker top 51c2b2e725ce8930fb0f995176c88e746be2d5d341d4bb358c0b556916c2edad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:38:19.722Z] + make test [2023-11-08T18:38:19.722Z] echo "make test" [2023-11-08T18:38:19.722Z] make test [Pipeline] } [2023-11-08T18:38:19.741Z] $ docker stop --time=1 51c2b2e725ce8930fb0f995176c88e746be2d5d341d4bb358c0b556916c2edad [2023-11-08T18:38:21.410Z] $ docker rm -f --volumes 51c2b2e725ce8930fb0f995176c88e746be2d5d341d4bb358c0b556916c2edad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T18:38:21.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T18:38:22.283Z] + ls -al . [2023-11-08T18:38:22.284Z] total 208 [2023-11-08T18:38:22.284Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:35 . [2023-11-08T18:38:22.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:35 .. [2023-11-08T18:38:22.284Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:35 .git [2023-11-08T18:38:22.284Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:35 .github [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 8 18:35 .gitignore [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 8 18:35 Attribution.txt [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 8 18:35 CHANGELOG.md [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 8 18:35 Doxyfile [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:35 GOVERNANCE.md [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 8 18:35 Jenkinsfile [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 18:35 LICENSE [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 8 18:35 Makefile [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 18:35 OWNERS.md [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 8 18:35 README.IOT.md [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 8 18:35 README.md [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 8 18:35 README.v3.md [2023-11-08T18:38:22.284Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:32 VERSION [2023-11-08T18:38:22.284Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:35 docs [2023-11-08T18:38:22.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:35 include [2023-11-08T18:38:22.284Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:35 scripts [2023-11-08T18:38:22.284Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:35 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:38:22.620Z] + 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=f424e270b446f76ea98725600fbc475946885315 --label arch=arm64 --label version=0.0.0 . [2023-11-08T18:38:22.888Z] Sending build context to Docker daemon 2.975MB [2023-11-08T18:38:23.154Z] Step 1/17 : ARG BASE=alpine:3.18 [2023-11-08T18:38:23.154Z] Step 2/17 : FROM ${BASE} [2023-11-08T18:38:23.154Z] ---> f64a3f0ead8f [2023-11-08T18:38:23.154Z] Step 3/17 : LABEL maintainer="IOTech " [2023-11-08T18:38:23.154Z] ---> Running in b3d01c1e34e6 [2023-11-08T18:38:23.427Z] Removing intermediate container b3d01c1e34e6 [2023-11-08T18:38:23.427Z] ---> 3f24559c64d8 [2023-11-08T18:38:23.427Z] 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 [2023-11-08T18:38:23.694Z] ---> Running in 3f24a5730d9a [2023-11-08T18:38:24.658Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-11-08T18:38:25.242Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-08T18:38:25.242Z] alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA [2023-11-08T18:38:25.242Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-08T18:38:28.583Z] Removing intermediate container 3f24a5730d9a [2023-11-08T18:38:28.583Z] ---> 9d23ad597966 [2023-11-08T18:38:28.583Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-08T18:38:28.850Z] ---> Running in 7cd96670fe6a [2023-11-08T18:38:30.803Z] Removing intermediate container 7cd96670fe6a [2023-11-08T18:38:30.803Z] ---> 955b2a5ce9fb [2023-11-08T18:38:30.803Z] 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 [2023-11-08T18:38:30.803Z] ---> Running in 782cfc2ab6ca [2023-11-08T18:38:31.770Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:38:32.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T18:38:32.622Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T18:38:33.581Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-08T18:38:33.581Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-08T18:38:34.169Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2023-11-08T18:38:34.169Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2023-11-08T18:38:34.169Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2023-11-08T18:38:34.169Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2023-11-08T18:38:34.169Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-08T18:38:34.169Z] (7/11) Installing libblkid (2.38.1-r8) [2023-11-08T18:38:34.169Z] (8/11) Installing libfdisk (2.38.1-r8) [2023-11-08T18:38:34.169Z] (9/11) Installing libmount (2.38.1-r8) [2023-11-08T18:38:34.169Z] (10/11) Installing libsmartcols (2.38.1-r8) [2023-11-08T18:38:34.169Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2023-11-08T18:38:34.169Z] Executing busybox-1.36.1-r4.trigger [2023-11-08T18:38:34.169Z] OK: 333 MiB in 100 packages [2023-11-08T18:38:35.578Z] Removing intermediate container 782cfc2ab6ca [2023-11-08T18:38:35.578Z] ---> 031523a635e0 [2023-11-08T18:38:35.578Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-11-08T18:38:36.160Z] ---> 429fefa214b4 [2023-11-08T18:38:36.160Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-11-08T18:38:36.744Z] ---> f2cc08d019dc [2023-11-08T18:38:36.744Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-11-08T18:38:37.708Z] ---> af4e30ad54c5 [2023-11-08T18:38:37.708Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-11-08T18:38:37.976Z] ---> fc122661974f [2023-11-08T18:38:37.976Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-11-08T18:38:38.564Z] ---> 056e8d00c7ae [2023-11-08T18:38:38.564Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-11-08T18:38:39.148Z] ---> acc30a573905 [2023-11-08T18:38:39.148Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-11-08T18:38:39.148Z] ---> Running in 0d5742bcf608 [2023-11-08T18:38:39.731Z] Removing intermediate container 0d5742bcf608 [2023-11-08T18:38:39.731Z] ---> c2c6c47e3604 [2023-11-08T18:38:39.731Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-11-08T18:38:39.731Z] ---> Running in 20d3377dbc1b [2023-11-08T18:38:39.997Z] Removing intermediate container 20d3377dbc1b [2023-11-08T18:38:39.997Z] ---> fb99ddce659e [2023-11-08T18:38:39.997Z] Step 15/17 : LABEL arch=arm64 [2023-11-08T18:38:39.997Z] ---> Running in 28f87d7ca9dc [2023-11-08T18:38:40.582Z] Removing intermediate container 28f87d7ca9dc [2023-11-08T18:38:40.582Z] ---> 1113eca2b9ba [2023-11-08T18:38:40.582Z] Step 16/17 : LABEL git_sha=f424e270b446f76ea98725600fbc475946885315 [2023-11-08T18:38:40.582Z] ---> Running in c09bf9ec8733 [2023-11-08T18:38:40.852Z] Removing intermediate container c09bf9ec8733 [2023-11-08T18:38:40.853Z] ---> f83c55c84a49 [2023-11-08T18:38:40.853Z] Step 17/17 : LABEL version=0.0.0 [2023-11-08T18:38:40.853Z] ---> Running in 48775ae2267a [2023-11-08T18:38:41.121Z] Removing intermediate container 48775ae2267a [2023-11-08T18:38:41.121Z] ---> bcd8f010a060 [2023-11-08T18:38:41.121Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-11-08T18:38:41.391Z] Successfully built bcd8f010a060 [2023-11-08T18:38:41.391Z] 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 [2023-11-08T18:38:41.845Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T18:38:41.845Z] [2023-11-08T18:38:41.845Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:38:42.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T18:38:42.188Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T18:38:42.188Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T18:38:42.456Z] 04944245beec: Pulling fs layer [2023-11-08T18:38:42.456Z] 699f458cf7ca: Pulling fs layer [2023-11-08T18:38:42.456Z] 765212b225bb: Pulling fs layer [2023-11-08T18:38:42.456Z] f23df028b6ca: Pulling fs layer [2023-11-08T18:38:42.456Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T18:38:42.456Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T18:38:42.456Z] 765212b225bb: Waiting [2023-11-08T18:38:42.456Z] f23df028b6ca: Waiting [2023-11-08T18:38:42.456Z] 2437ff75d9bd: Waiting [2023-11-08T18:38:42.456Z] d65c8cfc05b1: Waiting [2023-11-08T18:38:42.456Z] 04944245beec: Verifying Checksum [2023-11-08T18:38:42.456Z] 04944245beec: Download complete [2023-11-08T18:38:42.456Z] 765212b225bb: Verifying Checksum [2023-11-08T18:38:42.456Z] 765212b225bb: Download complete [2023-11-08T18:38:42.456Z] f23df028b6ca: Verifying Checksum [2023-11-08T18:38:42.456Z] f23df028b6ca: Download complete [2023-11-08T18:38:42.456Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T18:38:42.456Z] d65c8cfc05b1: Download complete [2023-11-08T18:38:42.724Z] 699f458cf7ca: Verifying Checksum [2023-11-08T18:38:42.724Z] 699f458cf7ca: Download complete [2023-11-08T18:38:42.994Z] 8998bd30e6a1: Download complete [2023-11-08T18:38:45.586Z] 2437ff75d9bd: Verifying Checksum [2023-11-08T18:38:45.586Z] 2437ff75d9bd: Download complete [2023-11-08T18:38:48.173Z] 8998bd30e6a1: Pull complete [2023-11-08T18:38:48.440Z] 04944245beec: Pull complete [2023-11-08T18:38:49.847Z] 699f458cf7ca: Pull complete [2023-11-08T18:38:50.115Z] 765212b225bb: Pull complete [2023-11-08T18:38:51.077Z] f23df028b6ca: Pull complete [2023-11-08T18:38:51.355Z] d65c8cfc05b1: Pull complete [2023-11-08T18:39:09.561Z] 2437ff75d9bd: Pull complete [2023-11-08T18:39:09.562Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T18:39:09.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T18:39:09.562Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:39:09.868Z] prd-ubuntu20.04-docker-arm64-4c-16g-17052 does not seem to be running inside a container [2023-11-08T18:39:09.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/7 -v /w/workspace/device-sdk-c/7:/w/workspace/device-sdk-c/7:rw,z -v /w/workspace/device-sdk-c/7@tmp:/w/workspace/device-sdk-c/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-08T18:39:12.604Z] $ docker top 2040ef20d02f76f5d99fc8890e30bd2f728792cb666bb78a9008b4d4495e02ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:39:13.132Z] ---> job-cost.sh [2023-11-08T18:39:13.405Z] lf-activate-venv: SKIPPING [2023-11-08T18:39:13.405Z] INFO: No Stack... [2023-11-08T18:39:13.671Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T18:39:14.631Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T18:39:15.276Z] + cat /w/workspace/device-sdk-c/7/archives/cost.csv [2023-11-08T18:39:15.276Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T18:39:15.342Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-491-7-stack-cost] [2023-11-08T18:39:15.348Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-491-7-stack-cost] did not exist. Created. [2023-11-08T18:39:15.348Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-491-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T18:39:16.012Z] /w/workspace/device-sdk-c/7@tmp/durable-33423a65/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T18:39:16.444Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T18:39:16.480Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T18:39:17.088Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T18:39:17.094Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-491-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T18:39:17.118Z] $ docker stop --time=1 2040ef20d02f76f5d99fc8890e30bd2f728792cb666bb78a9008b4d4495e02ad [2023-11-08T18:39:18.690Z] $ docker rm -f --volumes 2040ef20d02f76f5d99fc8890e30bd2f728792cb666bb78a9008b4d4495e02ad [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 [2023-11-08T18:39:19.464Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives ] [2023-11-08T18:39:19.464Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives [2023-11-08T18:39:19.464Z] total 16 [2023-11-08T18:39:19.464Z] drwxr-xr-x 3 root root 4096 Nov 8 18:33 . [2023-11-08T18:39:19.464Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:33 .. [2023-11-08T18:39:19.464Z] drwxr-xr-x 2 root root 4096 Nov 8 18:33 cost [2023-11-08T18:39:19.464Z] -rw-r--r-- 1 root root 84 Nov 8 18:33 cost.csv [2023-11-08T18:39:19.464Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives [2023-11-08T18:39:19.464Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives [2023-11-08T18:39:19.464Z] total 16 [2023-11-08T18:39:19.464Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:33 . [2023-11-08T18:39:19.464Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:33 .. [2023-11-08T18:39:19.464Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 18:33 cost [2023-11-08T18:39:19.464Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 8 18:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:39:19.752Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:39:20.616Z] ---> package-listing.sh [2023-11-08T18:39:20.616Z] ++ facter osfamily [2023-11-08T18:39:20.616Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T18:39:20.875Z] + OS_FAMILY=debian [2023-11-08T18:39:20.875Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-491 [2023-11-08T18:39:20.875Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T18:39:20.875Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T18:39:20.875Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T18:39:20.875Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T18:39:20.875Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-491 ']' [2023-11-08T18:39:20.875Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T18:39:20.875Z] + case "${OS_FAMILY}" in [2023-11-08T18:39:20.875Z] + dpkg -l [2023-11-08T18:39:20.875Z] + grep '^ii' [2023-11-08T18:39:20.875Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T18:39:20.875Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T18:39:20.875Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T18:39:20.875Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-491 ']' [2023-11-08T18:39:20.875Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives/ [2023-11-08T18:39:20.875Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-491/archives/ [Pipeline] echo [2023-11-08T18:39:20.888Z] 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-491/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-08T18:39:21.168Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T18:39:21.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T18:39:21.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T18:39:21.787Z] prd-ubuntu20.04-docker-8c-8g-17050 does not seem to be running inside a container [2023-11-08T18:39:21.818Z] $ 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-491/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-491 -v /w/workspace/edgexfoundry_device-sdk-c_PR-491:/w/workspace/edgexfoundry_device-sdk-c_PR-491:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-491@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 [2023-11-08T18:39:22.023Z] $ docker top b32ab57f7d39211528345d1fa4134f0c1972ceb5fc79024366ee77c40f76d3a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T18:39:22.362Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T18:39:22.650Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T18:39:22.938Z] + ls /var/log/sa-host [2023-11-08T18:39:22.938Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T18:39:23.007Z] provisioning config files... [2023-11-08T18:39:23.016Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-491@tmp/config6499380814736282821tmp [Pipeline] { [Pipeline] echo [2023-11-08T18:39:23.029Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:39:23.313Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T18:39:23.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:39:23.652Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T18:39:23.662Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:39:23.946Z] ---> sudo-logs.sh [2023-11-08T18:39:23.946Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T18:39:23.977Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:39:24.260Z] ---> job-cost.sh [2023-11-08T18:39:24.260Z] lf-activate-venv: SKIPPING [2023-11-08T18:39:24.260Z] DEBUG: total: 0.2199999988079071 [2023-11-08T18:39:24.260Z] INFO: Retrieving Stack Cost... [2023-11-08T18:39:24.519Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T18:39:24.779Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T18:39:24.792Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T18:39:25.076Z] ---> logs-deploy.sh [2023-11-08T18:39:25.076Z] lf-activate-venv: SKIPPING [2023-11-08T18:39:25.076Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-491/7 [2023-11-08T18:39:25.076Z] INFO: archiving workspace using pattern(s): [2023-11-08T18:39:26.013Z] Archives upload complete. [2023-11-08T18:39:26.013Z] INFO: archiving logs to Nexus