Pull request #486 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from fce8b44c181640430d6cf7146f864b97eec8f6cd+4c52de37db7d3bd0277fba2739b75d0a1bd475b3 (b263c8059146ed746043590d5a1bbc0a25832978) 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-ssh2340462275236864327.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh2320242846277155982.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-486/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-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1800370382152163806.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh15592149753804418088.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-486/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-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12015361993373427349.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8618 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [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-486 # 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/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 into PR head commit fce8b44c181640430d6cf7146f864b97eec8f6cd Merge succeeded, producing fce8b44c181640430d6cf7146f864b97eec8f6cd Checking out Revision fce8b44c181640430d6cf7146f864b97eec8f6cd (PR-486) > git config core.sparsecheckout # timeout=10 > git checkout -f fce8b44c181640430d6cf7146f864b97eec8f6cd # 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 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fce8b44c181640430d6cf7146f864b97eec8f6cd # timeout=10 Commit message: "feat: Add command line/environment flag for commonConfig" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-06T04:23:21.745Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-06T04:23:21.805Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-06T04:23:21.824Z] ========================================================= [2023-10-06T04:23:21.824Z] EdgeX Global Pipelines Version Info [2023-10-06T04:23:21.824Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 2b47a9a9c00fa5544f5b67708c05c1916b77c526 # timeout=10 [2023-10-06T04:23:22.534Z] ------------------- [2023-10-06T04:23:22.534Z] stable info: [2023-10-06T04:23:22.534Z] ------------------- [2023-10-06T04:23:22.534Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-06T04:23:22.534Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-06T04:23:22.534Z] Message: update stable to v1.0.254 [2023-10-06T04:23:23.103Z] ------------------- [2023-10-06T04:23:23.103Z] experimental info: [2023-10-06T04:23:23.103Z] ------------------- [2023-10-06T04:23:23.103Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-06T04:23:23.103Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-06T04:23:23.103Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-06T04:23:23.259Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-10-06T04:23:23.270Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-10-06T04:23:23.286Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-06T04:23:23.296Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-06T04:23:23.312Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-06T04:23:23.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-10-06T04:23:23.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-10-06T04:23:23.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-06T04:23:23.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-06T04:23:23.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-10-06T04:23:23.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-06T04:23:23.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-06T04:23:23.407Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-06T04:23:23.419Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-06T04:23:23.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-06T04:23:23.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-06T04:23:23.457Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-06T04:23:23.469Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo [2023-10-06T04:23:23.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo [2023-10-06T04:23:23.501Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo [2023-10-06T04:23:23.517Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fce8b44c181640430d6cf7146f864b97eec8f6cd [Pipeline] echo [2023-10-06T04:23:23.530Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fce8b44 [Pipeline] echo [2023-10-06T04:23:23.545Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-06T04:23:23.590Z] provisioning config files... [2023-10-06T04:23:23.603Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config1810956407882116013tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:23:23.923Z] ---> docker-login.sh [2023-10-06T04:23:23.923Z] nexus3.edgexfoundry.org:10001 [2023-10-06T04:23:24.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:23:24.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:23:24.184Z] Configure a credential helper to remove this warning. See [2023-10-06T04:23:24.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:23:24.184Z] [2023-10-06T04:23:24.184Z] Login Succeeded [2023-10-06T04:23:24.184Z] nexus3.edgexfoundry.org:10002 [2023-10-06T04:23:24.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:23:24.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:23:24.450Z] Configure a credential helper to remove this warning. See [2023-10-06T04:23:24.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:23:24.450Z] [2023-10-06T04:23:24.450Z] Login Succeeded [2023-10-06T04:23:24.450Z] nexus3.edgexfoundry.org:10003 [2023-10-06T04:23:24.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:23:24.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:23:24.450Z] Configure a credential helper to remove this warning. See [2023-10-06T04:23:24.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:23:24.450Z] [2023-10-06T04:23:24.450Z] Login Succeeded [2023-10-06T04:23:24.450Z] nexus3.edgexfoundry.org:10004 [2023-10-06T04:23:24.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:23:24.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:23:24.711Z] Configure a credential helper to remove this warning. See [2023-10-06T04:23:24.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:23:24.711Z] [2023-10-06T04:23:24.711Z] Login Succeeded [2023-10-06T04:23:24.711Z] docker.io [2023-10-06T04:23:24.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:23:24.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:23:24.970Z] Configure a credential helper to remove this warning. See [2023-10-06T04:23:24.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:23:24.970Z] [2023-10-06T04:23:24.970Z] Login Succeeded [2023-10-06T04:23:24.970Z] ---> docker-login.sh ends [Pipeline] } [2023-10-06T04:23:24.977Z] 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-10-06T04:23:25.367Z] + git rev-list -1 --merges fce8b44c181640430d6cf7146f864b97eec8f6cd~1..fce8b44c181640430d6cf7146f864b97eec8f6cd [Pipeline] echo [2023-10-06T04:23:25.419Z] -----------> git rev-list -1 --merges fce8b44c181640430d6cf7146f864b97eec8f6cd~1..fce8b44c181640430d6cf7146f864b97eec8f6cd fce8b44c181640430d6cf7146f864b97eec8f6cd [false] [Pipeline] sh [2023-10-06T04:23:25.707Z] + git log --format=format:%s -1 fce8b44c181640430d6cf7146f864b97eec8f6cd [Pipeline] echo [2023-10-06T04:23:25.723Z] ========================================================= [2023-10-06T04:23:25.723Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-06T04:23:25.723Z] ========================================================= 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-10-06T04:23:26.097Z] + git rev-list -1 --merges fce8b44c181640430d6cf7146f864b97eec8f6cd~1..fce8b44c181640430d6cf7146f864b97eec8f6cd [Pipeline] echo [2023-10-06T04:23:26.108Z] -----------> git rev-list -1 --merges fce8b44c181640430d6cf7146f864b97eec8f6cd~1..fce8b44c181640430d6cf7146f864b97eec8f6cd fce8b44c181640430d6cf7146f864b97eec8f6cd [false] [Pipeline] sh [2023-10-06T04:23:26.396Z] + git log --format=format:%s -1 fce8b44c181640430d6cf7146f864b97eec8f6cd [Pipeline] echo [2023-10-06T04:23:26.413Z] ========================================================= [2023-10-06T04:23:26.413Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-06T04:23:26.413Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-10-06T04:23:26.853Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-06T04:23:26.853Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-06T04:23:26.853Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-06T04:23:26.853Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-06T04:23:26.853Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-06T04:23:26.853Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-06T04:23:26.853Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:23:27.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T04:23:27.300Z] [2023-10-06T04:23:27.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:23:27.596Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T04:23:27.596Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-06T04:23:27.596Z] b85a868b505f: Pulling fs layer [2023-10-06T04:23:27.596Z] e2be974225ed: Pulling fs layer [2023-10-06T04:23:27.596Z] 339a4e72a1f5: Pulling fs layer [2023-10-06T04:23:27.596Z] 988bab9f4d93: Pulling fs layer [2023-10-06T04:23:27.596Z] 1469e6f7b9e6: Pulling fs layer [2023-10-06T04:23:27.596Z] eaf3925da568: Pulling fs layer [2023-10-06T04:23:27.596Z] bab4dde63d76: Pulling fs layer [2023-10-06T04:23:27.596Z] bde34c3a00c8: Pulling fs layer [2023-10-06T04:23:27.596Z] b352a97aabf1: Pulling fs layer [2023-10-06T04:23:27.596Z] 4872d77fe225: Pulling fs layer [2023-10-06T04:23:27.596Z] 5851b861e8e6: Pulling fs layer [2023-10-06T04:23:27.596Z] 4872d77fe225: Waiting [2023-10-06T04:23:27.596Z] b352a97aabf1: Waiting [2023-10-06T04:23:27.596Z] bab4dde63d76: Waiting [2023-10-06T04:23:27.596Z] bde34c3a00c8: Waiting [2023-10-06T04:23:27.596Z] 5851b861e8e6: Waiting [2023-10-06T04:23:27.596Z] 988bab9f4d93: Waiting [2023-10-06T04:23:27.596Z] 1469e6f7b9e6: Waiting [2023-10-06T04:23:27.596Z] eaf3925da568: Waiting [2023-10-06T04:23:27.596Z] e2be974225ed: Download complete [2023-10-06T04:23:27.596Z] 988bab9f4d93: Verifying Checksum [2023-10-06T04:23:27.596Z] 988bab9f4d93: Download complete [2023-10-06T04:23:27.861Z] 1469e6f7b9e6: Verifying Checksum [2023-10-06T04:23:27.861Z] 1469e6f7b9e6: Download complete [2023-10-06T04:23:27.861Z] 339a4e72a1f5: Verifying Checksum [2023-10-06T04:23:27.861Z] 339a4e72a1f5: Download complete [2023-10-06T04:23:27.861Z] eaf3925da568: Download complete [2023-10-06T04:23:27.861Z] bde34c3a00c8: Download complete [2023-10-06T04:23:27.861Z] b352a97aabf1: Download complete [2023-10-06T04:23:27.861Z] 4872d77fe225: Verifying Checksum [2023-10-06T04:23:27.861Z] 5851b861e8e6: Verifying Checksum [2023-10-06T04:23:27.861Z] 5851b861e8e6: Download complete [2023-10-06T04:23:27.861Z] b85a868b505f: Verifying Checksum [2023-10-06T04:23:27.861Z] b85a868b505f: Download complete [2023-10-06T04:23:28.119Z] bab4dde63d76: Verifying Checksum [2023-10-06T04:23:28.119Z] bab4dde63d76: Download complete [2023-10-06T04:23:29.054Z] b85a868b505f: Pull complete [2023-10-06T04:23:29.315Z] e2be974225ed: Pull complete [2023-10-06T04:23:29.881Z] 339a4e72a1f5: Pull complete [2023-10-06T04:23:29.881Z] 988bab9f4d93: Pull complete [2023-10-06T04:23:30.141Z] 1469e6f7b9e6: Pull complete [2023-10-06T04:23:30.400Z] eaf3925da568: Pull complete [2023-10-06T04:23:32.313Z] bab4dde63d76: Pull complete [2023-10-06T04:23:32.313Z] bde34c3a00c8: Pull complete [2023-10-06T04:23:32.574Z] b352a97aabf1: Pull complete [2023-10-06T04:23:32.574Z] 4872d77fe225: Pull complete [2023-10-06T04:23:32.835Z] 5851b861e8e6: Pull complete [2023-10-06T04:23:32.835Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-06T04:23:32.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-06T04:23:32.835Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:23:32.935Z] prd-ubuntu20.04-docker-8c-8g-8618 does not seem to be running inside a container [2023-10-06T04:23:32.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@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-10-06T04:23:36.549Z] $ docker top 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 -eo pid,comm [2023-10-06T04:23:36.596Z] 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-10-06T04:23:36.596Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-06T04:23:36.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-06T04:23:36.633Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-06T04:23:36.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-06T04:23:36.758Z] $ docker exec 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 ssh-agent [2023-10-06T04:23:36.875Z] SSH_AUTH_SOCK=/tmp/ssh-b6BfJyKvxce5/agent.32 [2023-10-06T04:23:36.875Z] SSH_AGENT_PID=38 [2023-10-06T04:23:36.883Z] Running ssh-add (command line suppressed) [2023-10-06T04:23:36.987Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_13555789507678435680.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_13555789507678435680.key) [2023-10-06T04:23:36.997Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-06T04:23:37.287Z] + git tag --points-at HEAD [Pipeline] } [2023-10-06T04:23:37.305Z] $ docker exec --env ******** --env ******** 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 ssh-agent -k [2023-10-06T04:23:37.402Z] unset SSH_AUTH_SOCK; [2023-10-06T04:23:37.403Z] unset SSH_AGENT_PID; [2023-10-06T04:23:37.403Z] echo Agent pid 38 killed; [2023-10-06T04:23:37.410Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-06T04:23:37.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-06T04:23:37.439Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-06T04:23:37.552Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-06T04:23:37.559Z] $ docker exec 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 ssh-agent [2023-10-06T04:23:37.662Z] SSH_AUTH_SOCK=/tmp/ssh-8JRYosiJRmQa/agent.70 [2023-10-06T04:23:37.662Z] SSH_AGENT_PID=76 [2023-10-06T04:23:37.667Z] Running ssh-add (command line suppressed) [2023-10-06T04:23:37.782Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_12023173192105782096.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_12023173192105782096.key) [2023-10-06T04:23:37.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-06T04:23:38.100Z] + git semver init [2023-10-06T04:23:38.359Z] 2023-10-06 04:23:38,302 [run_init] DEBUG init version:0.0.0 force:False [2023-10-06T04:23:38.359Z] 2023-10-06 04:23:38,302 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver [2023-10-06T04:23:38.359Z] 2023-10-06 04:23:38,303 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver [2023-10-06T04:23:38.359Z] 2023-10-06 04:23:38,303 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486, universal_newlines=False, shell=None, istream=None) [2023-10-06T04:23:39.296Z] 2023-10-06 04:23:39,212 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.git/info/exclude [2023-10-06T04:23:39.296Z] 2023-10-06 04:23:39,212 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 with force:False [2023-10-06T04:23:39.296Z] 2023-10-06 04:23:39,212 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-10-06T04:23:39.296Z] 2023-10-06 04:23:39,216 [execute] INFO git cat-file --batch-check [2023-10-06T04:23:39.296Z] 2023-10-06 04:23:39,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2023-10-06T04:23:39.296Z] 2023-10-06 04:23:39,223 [execute] INFO git cat-file --batch [2023-10-06T04:23:39.296Z] 2023-10-06 04:23:39,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2023-10-06T04:23:39.296Z] 2023-10-06 04:23:39,229 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-10-06T04:23:39.296Z] 0.0.0 [Pipeline] } [2023-10-06T04:23:39.310Z] $ docker exec --env ******** --env ******** 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 ssh-agent -k [2023-10-06T04:23:39.416Z] unset SSH_AUTH_SOCK; [2023-10-06T04:23:39.417Z] unset SSH_AGENT_PID; [2023-10-06T04:23:39.417Z] echo Agent pid 76 killed; [2023-10-06T04:23:39.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-06T04:23:39.733Z] + git semver [Pipeline] } [2023-10-06T04:23:40.011Z] $ docker stop --time=1 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 [2023-10-06T04:23:41.283Z] $ docker rm -f --volumes 51b3dae5e51715387c39fccf5466addeb420959de46398919bbd7105aba6b359 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-06T04:23:41.620Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-06T04:23:41.825Z] Stashed 1 file(s) [Pipeline] echo [2023-10-06T04:23:41.828Z] [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-10-06T04:23:41.966Z] provisioning config files... [2023-10-06T04:23:41.975Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config8954315047849446148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:23:42.270Z] ---> docker-login.sh [2023-10-06T04:23:42.270Z] nexus3.edgexfoundry.org:10001 [2023-10-06T04:23:42.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:23:42.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:23:42.270Z] Configure a credential helper to remove this warning. See [2023-10-06T04:23:42.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:23:42.270Z] [2023-10-06T04:23:42.270Z] Login Succeeded [2023-10-06T04:23:42.270Z] nexus3.edgexfoundry.org:10002 [2023-10-06T04:23:42.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:23:42.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:23:42.270Z] Configure a credential helper to remove this warning. See [2023-10-06T04:23:42.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:23:42.270Z] [2023-10-06T04:23:42.270Z] Login Succeeded [2023-10-06T04:23:42.270Z] nexus3.edgexfoundry.org:10003 [2023-10-06T04:23:42.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:23:42.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:23:42.529Z] Configure a credential helper to remove this warning. See [2023-10-06T04:23:42.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:23:42.529Z] [2023-10-06T04:23:42.529Z] Login Succeeded [2023-10-06T04:23:42.529Z] nexus3.edgexfoundry.org:10004 [2023-10-06T04:23:42.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:23:42.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:23:42.529Z] Configure a credential helper to remove this warning. See [2023-10-06T04:23:42.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:23:42.529Z] [2023-10-06T04:23:42.529Z] Login Succeeded [2023-10-06T04:23:42.529Z] docker.io [2023-10-06T04:23:42.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:23:43.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:23:43.049Z] Configure a credential helper to remove this warning. See [2023-10-06T04:23:43.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:23:43.049Z] [2023-10-06T04:23:43.049Z] Login Succeeded [2023-10-06T04:23:43.049Z] ---> docker-login.sh ends [Pipeline] } [2023-10-06T04:23:43.056Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-06T04:23:43.118Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T04:23:43.125Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-10-06T04:23:43.132Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T04:23:43.139Z] ========================================================= [2023-10-06T04:23:43.139Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-10-06T04:23:43.139Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:23:43.435Z] + 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-10-06T04:23:43.435Z] Sending build context to Docker daemon 4.937MB [2023-10-06T04:23:43.435Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-06T04:23:43.435Z] Step 2/21 : FROM ${BASE} as builder [2023-10-06T04:23:43.435Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-10-06T04:23:43.435Z] 91d30c5bc195: Pulling fs layer [2023-10-06T04:23:43.435Z] 316e5a4585fb: Pulling fs layer [2023-10-06T04:23:43.435Z] 91d30c5bc195: Verifying Checksum [2023-10-06T04:23:43.435Z] 91d30c5bc195: Download complete [2023-10-06T04:23:43.697Z] 91d30c5bc195: Pull complete [2023-10-06T04:23:44.280Z] 316e5a4585fb: Verifying Checksum [2023-10-06T04:23:44.280Z] 316e5a4585fb: Download complete [2023-10-06T04:23:47.591Z] 316e5a4585fb: Pull complete [2023-10-06T04:23:47.592Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-10-06T04:23:47.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-10-06T04:23:47.592Z] ---> e83ffa357ff4 [2023-10-06T04:23:47.592Z] 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-10-06T04:23:50.130Z] ---> Running in 8ae66cdc22c6 [2023-10-06T04:23:50.389Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-06T04:23:50.651Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:23:50.651Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:23:50.651Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:23:50.912Z] Removing intermediate container 8ae66cdc22c6 [2023-10-06T04:23:50.912Z] ---> 7b1c53ca6078 [2023-10-06T04:23:50.912Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:23:50.912Z] ---> Running in 90f1a6a2a20b [2023-10-06T04:23:51.483Z] Removing intermediate container 90f1a6a2a20b [2023-10-06T04:23:51.483Z] ---> b7366f2490ff [2023-10-06T04:23:51.483Z] 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 paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-10-06T04:23:51.483Z] ---> Running in 43f892a3d188 [2023-10-06T04:23:52.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:23:52.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-06T04:23:52.313Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:23:52.882Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:23:52.882Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:23:52.882Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:23:53.142Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-06T04:23:53.142Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-06T04:23:53.142Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T04:23:53.712Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T04:23:53.712Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-06T04:23:53.712Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-06T04:23:53.712Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T04:23:53.712Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T04:23:54.652Z] (11/16) Installing libblkid (2.38-r1) [2023-10-06T04:23:54.652Z] (12/16) Installing libuuid (2.38-r1) [2023-10-06T04:23:54.652Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-06T04:23:54.652Z] (14/16) Installing libmount (2.38-r1) [2023-10-06T04:23:54.652Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-06T04:23:54.652Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-06T04:23:54.652Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:23:54.652Z] OK: 280 MiB in 90 packages [2023-10-06T04:23:55.220Z] Removing intermediate container 43f892a3d188 [2023-10-06T04:23:55.220Z] ---> d6d466a13654 [2023-10-06T04:23:55.220Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-06T04:23:55.220Z] ---> Running in 3c976c5a8907 [2023-10-06T04:23:56.157Z] Removing intermediate container 3c976c5a8907 [2023-10-06T04:23:56.157Z] ---> 3dbe5df55c1f [2023-10-06T04:23:56.157Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-06T04:23:56.157Z] ---> 3a7f41537817 [2023-10-06T04:23:56.157Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-06T04:23:56.417Z] ---> e63b008cb468 [2023-10-06T04:23:56.417Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-06T04:23:56.417Z] ---> da1cd4d191d3 [2023-10-06T04:23:56.417Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-06T04:23:56.676Z] ---> c6f3a0707ce8 [2023-10-06T04:23:56.676Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-06T04:23:56.918Z] Still waiting to schedule task [2023-10-06T04:23:56.918Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-06T04:23:56.935Z] ---> a792bb36cb25 [2023-10-06T04:23:56.936Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-06T04:23:56.936Z] ---> 318e3d7ae09c [2023-10-06T04:23:56.936Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-06T04:23:56.936Z] ---> Running in 01e99016f42c [2023-10-06T04:23:57.195Z] + CPPCHECK=false [2023-10-06T04:23:57.195Z] + DOCGEN=false [2023-10-06T04:23:57.195Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-06T04:23:57.195Z] + '[' 0 -gt 0 ] [2023-10-06T04:23:57.195Z] + readlink -f ./scripts/build.sh [2023-10-06T04:23:57.195Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-06T04:23:57.195Z] + dirname /tmp/sdk/scripts [2023-10-06T04:23:57.195Z] + ROOT=/tmp/sdk [2023-10-06T04:23:57.195Z] + cd /tmp/sdk [2023-10-06T04:23:57.195Z] + mkdir -p /tmp/sdk/build/release [2023-10-06T04:23:57.195Z] + cd /tmp/sdk/build/release [2023-10-06T04:23:57.195Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-06T04:23:57.454Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T04:23:57.454Z] -- Detecting C compiler ABI info [2023-10-06T04:23:57.454Z] -- Detecting C compiler ABI info - done [2023-10-06T04:23:57.454Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T04:23:57.454Z] -- Detecting C compile features [2023-10-06T04:23:57.454Z] -- Detecting C compile features - done [2023-10-06T04:23:57.454Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T04:23:57.454Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T04:23:57.454Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T04:23:57.454Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T04:23:57.454Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T04:23:57.454Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T04:23:57.454Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T04:23:57.454Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T04:23:57.454Z] -- /opt/iotech/iot/1.5/include [2023-10-06T04:23:57.454Z] -- C SDK 0.0.0 for Linux [2023-10-06T04:23:57.454Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T04:23:57.715Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T04:23:57.715Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T04:23:57.715Z] -- Configuring done [2023-10-06T04:23:57.715Z] -- Generating done [2023-10-06T04:23:57.715Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-06T04:23:57.715Z] + make all package [2023-10-06T04:23:57.715Z] + tee release.log [2023-10-06T04:23:57.715Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T04:23:57.974Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T04:23:58.234Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T04:23:58.234Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T04:23:58.494Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T04:23:58.494Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T04:23:59.241Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T04:23:59.241Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-06T04:23:59.241Z] /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:23:59.241Z] 297 | while (privateConfig) [2023-10-06T04:23:59.241Z] | ^~~~~~~~~~~~~ [2023-10-06T04:23:59.241Z] /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:23:59.241Z] 274 | while (result) [2023-10-06T04:23:59.241Z] | ^~~~~~ [2023-10-06T04:23:59.241Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T04:23:59.241Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T04:23:59.241Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T04:23:59.809Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T04:23:59.809Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T04:24:00.071Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T04:24:00.071Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T04:24:00.332Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T04:24:00.332Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T04:24:00.593Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T04:24:00.853Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T04:24:00.853Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T04:24:01.115Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T04:24:01.373Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T04:24:02.315Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T04:24:02.315Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T04:24:02.315Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T04:24:02.576Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T04:24:02.576Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T04:24:02.836Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T04:24:03.405Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T04:24:03.405Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T04:24:03.405Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T04:24:03.665Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T04:24:03.665Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-06T04:24:03.665Z] /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:24:03.665Z] 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-06T04:24:03.665Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:24:03.665Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:24:03.665Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-06T04:24:03.665Z] | ^ [2023-10-06T04:24:03.924Z] /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:24:03.924Z] 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-10-06T04:24:03.924Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:24:04.184Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T04:24:04.184Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T04:24:04.444Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T04:24:04.444Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T04:24:04.444Z] [ 68%] Built target csdk [2023-10-06T04:24:04.444Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T04:24:04.703Z] [ 72%] Linking C executable template [2023-10-06T04:24:04.703Z] [ 72%] Built target template [2023-10-06T04:24:04.703Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T04:24:04.962Z] [ 76%] Linking C executable device-counter [2023-10-06T04:24:04.962Z] [ 76%] Built target device-counter [2023-10-06T04:24:04.962Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T04:24:04.962Z] [ 80%] Linking C executable device-random [2023-10-06T04:24:05.222Z] [ 80%] Built target device-random [2023-10-06T04:24:05.222Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T04:24:05.222Z] [ 84%] Linking C executable device-gyro [2023-10-06T04:24:05.222Z] [ 84%] Built target device-gyro [2023-10-06T04:24:05.222Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T04:24:05.481Z] [ 88%] Linking C executable device-bitfields [2023-10-06T04:24:05.481Z] [ 88%] Built target device-bitfields [2023-10-06T04:24:05.481Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T04:24:05.741Z] [ 92%] Linking C executable template-discovery [2023-10-06T04:24:05.741Z] [ 92%] Built target template-discovery [2023-10-06T04:24:05.741Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T04:24:06.000Z] [ 96%] Linking C executable device-file [2023-10-06T04:24:06.000Z] [ 96%] Built target device-file [2023-10-06T04:24:06.000Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T04:24:06.000Z] [100%] Linking C executable device-terminal [2023-10-06T04:24:06.259Z] [100%] Built target device-terminal [2023-10-06T04:24:06.259Z] Run CPack packaging tool... [2023-10-06T04:24:06.259Z] CPack: Create package using TGZ [2023-10-06T04:24:06.259Z] CPack: Install projects [2023-10-06T04:24:06.259Z] CPack: - Run preinstall target for: Csdk [2023-10-06T04:24:06.518Z] CPack: - Install project: Csdk [] [2023-10-06T04:24:06.518Z] CPack: Create package [2023-10-06T04:24:06.518Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-06T04:24:06.518Z] + '[' false '=' true ] [2023-10-06T04:24:06.518Z] + '[' false '=' true ] [2023-10-06T04:24:06.518Z] + mkdir -p /tmp/sdk/build/debug [2023-10-06T04:24:06.518Z] + cd /tmp/sdk/build/debug [2023-10-06T04:24:06.518Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-06T04:24:06.518Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T04:24:06.518Z] -- Detecting C compiler ABI info [2023-10-06T04:24:06.518Z] -- Detecting C compiler ABI info - done [2023-10-06T04:24:06.518Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T04:24:06.518Z] -- Detecting C compile features [2023-10-06T04:24:06.518Z] -- Detecting C compile features - done [2023-10-06T04:24:06.518Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T04:24:06.777Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T04:24:06.777Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T04:24:06.777Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T04:24:06.777Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T04:24:06.777Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T04:24:06.777Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T04:24:06.777Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T04:24:06.777Z] -- /opt/iotech/iot/1.5/include [2023-10-06T04:24:06.777Z] -- C SDK 0.0.0 for Linux [2023-10-06T04:24:06.777Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T04:24:06.777Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T04:24:06.777Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T04:24:06.777Z] -- Configuring done [2023-10-06T04:24:06.777Z] -- Generating done [2023-10-06T04:24:06.777Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-06T04:24:06.777Z] + make [2023-10-06T04:24:06.777Z] + tee debug.log [2023-10-06T04:24:07.036Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T04:24:07.036Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T04:24:07.036Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T04:24:07.036Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T04:24:07.294Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T04:24:07.294Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T04:24:07.554Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T04:24:07.554Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T04:24:07.554Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T04:24:07.812Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T04:24:07.812Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T04:24:07.812Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T04:24:08.071Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T04:24:08.071Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T04:24:08.071Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T04:24:08.330Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T04:24:08.330Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T04:24:08.330Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T04:24:08.589Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T04:24:08.589Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T04:24:08.589Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T04:24:08.848Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T04:24:09.108Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T04:24:09.108Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T04:24:09.108Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T04:24:09.108Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T04:24:09.366Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T04:24:09.625Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T04:24:09.625Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T04:24:09.625Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T04:24:09.884Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T04:24:09.884Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-06T04:24:09.884Z] /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:24:09.884Z] 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-06T04:24:09.884Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:24:09.884Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:24:09.884Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-06T04:24:09.884Z] | ^ [2023-10-06T04:24:09.884Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T04:24:10.143Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T04:24:10.143Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T04:24:10.143Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T04:24:10.143Z] [ 68%] Built target csdk [2023-10-06T04:24:10.143Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T04:24:10.402Z] [ 72%] Linking C executable template [2023-10-06T04:24:10.402Z] [ 72%] Built target template [2023-10-06T04:24:10.402Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T04:24:10.402Z] [ 76%] Linking C executable device-counter [2023-10-06T04:24:10.661Z] [ 76%] Built target device-counter [2023-10-06T04:24:10.661Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T04:24:10.661Z] [ 80%] Linking C executable device-random [2023-10-06T04:24:10.661Z] [ 80%] Built target device-random [2023-10-06T04:24:10.661Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T04:24:10.661Z] [ 84%] Linking C executable device-gyro [2023-10-06T04:24:10.921Z] [ 84%] Built target device-gyro [2023-10-06T04:24:10.921Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T04:24:10.921Z] [ 88%] Linking C executable device-bitfields [2023-10-06T04:24:10.922Z] [ 88%] Built target device-bitfields [2023-10-06T04:24:10.922Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T04:24:11.180Z] [ 92%] Linking C executable template-discovery [2023-10-06T04:24:11.180Z] [ 92%] Built target template-discovery [2023-10-06T04:24:11.180Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T04:24:11.180Z] [ 96%] Linking C executable device-file [2023-10-06T04:24:11.440Z] [ 96%] Built target device-file [2023-10-06T04:24:11.440Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T04:24:11.440Z] [100%] Linking C executable device-terminal [2023-10-06T04:24:11.440Z] [100%] Built target device-terminal [2023-10-06T04:24:11.440Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.440Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.440Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.440Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.440Z] [ 68%] Built target csdk [2023-10-06T04:24:11.440Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.440Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] [ 72%] Built target template [2023-10-06T04:24:11.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] [ 76%] Built target device-counter [2023-10-06T04:24:11.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] [ 80%] Built target device-random [2023-10-06T04:24:11.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] [ 84%] Built target device-gyro [2023-10-06T04:24:11.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] [ 88%] Built target device-bitfields [2023-10-06T04:24:11.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] [ 92%] Built target template-discovery [2023-10-06T04:24:11.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] [ 96%] Built target device-file [2023-10-06T04:24:11.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] [100%] Built target device-terminal [2023-10-06T04:24:11.699Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:11.699Z] Install the project... [2023-10-06T04:24:11.699Z] -- Install configuration: "Release" [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-06T04:24:11.699Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include/devsdk [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include/edgex [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-06T04:24:11.699Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-06T04:24:11.699Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:24:12.268Z] Removing intermediate container 01e99016f42c [2023-10-06T04:24:12.268Z] ---> fed9d3936c6d [2023-10-06T04:24:12.268Z] Step 14/21 : FROM ${BASE} [2023-10-06T04:24:12.268Z] ---> e83ffa357ff4 [2023-10-06T04:24:12.268Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-06T04:24:12.527Z] ---> Running in 90a691314fd4 [2023-10-06T04:24:12.527Z] Removing intermediate container 90a691314fd4 [2023-10-06T04:24:12.527Z] ---> 20222e978f78 [2023-10-06T04:24:12.527Z] 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-10-06T04:24:12.527Z] ---> Running in 590567ca3003 [2023-10-06T04:24:12.787Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-06T04:24:13.356Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:24:13.356Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:24:13.356Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:24:13.615Z] Removing intermediate container 590567ca3003 [2023-10-06T04:24:13.615Z] ---> dad5b86c255a [2023-10-06T04:24:13.615Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:24:13.615Z] ---> Running in e4dadec20275 [2023-10-06T04:24:14.183Z] Removing intermediate container e4dadec20275 [2023-10-06T04:24:14.183Z] ---> 364ad5c32fc0 [2023-10-06T04:24:14.183Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-10-06T04:24:14.183Z] ---> Running in 79cfb7d0acc7 [2023-10-06T04:24:14.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:24:14.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-06T04:24:14.702Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:24:15.271Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:24:15.271Z] (1/7) Installing curl (8.3.0-r0) [2023-10-06T04:24:15.271Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-06T04:24:15.271Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-06T04:24:15.271Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-06T04:24:15.840Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-06T04:24:15.840Z] (6/7) Installing libuuid (2.38-r1) [2023-10-06T04:24:15.840Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T04:24:16.775Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:24:16.775Z] OK: 276 MiB in 83 packages [2023-10-06T04:24:17.033Z] Removing intermediate container 79cfb7d0acc7 [2023-10-06T04:24:17.033Z] ---> c89c30486807 [2023-10-06T04:24:17.033Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-06T04:24:17.033Z] ---> b6b5e3d2f462 [2023-10-06T04:24:17.033Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-06T04:24:17.295Z] ---> f9271a8715cf [2023-10-06T04:24:17.295Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-06T04:24:17.295Z] ---> 2d5277abb3ba [2023-10-06T04:24:17.295Z] Successfully built 2d5277abb3ba [2023-10-06T04:24:17.295Z] 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-10-06T04:24:17.651Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-06T04:24:17.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:24:17.722Z] prd-ubuntu20.04-docker-8c-8g-8618 does not seem to be running inside a container [2023-10-06T04:24:17.768Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@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-10-06T04:24:18.098Z] $ docker top d02389f3f4e97af83063964cea12048ec97bdc841241227d7590cfae11e1534e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-06T04:24:18.441Z] + make test [2023-10-06T04:24:18.441Z] echo "make test" [2023-10-06T04:24:18.441Z] make test [Pipeline] } [2023-10-06T04:24:18.455Z] $ docker stop --time=1 d02389f3f4e97af83063964cea12048ec97bdc841241227d7590cfae11e1534e [2023-10-06T04:24:19.751Z] $ docker rm -f --volumes d02389f3f4e97af83063964cea12048ec97bdc841241227d7590cfae11e1534e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-06T04:24:20.437Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-06T04:24:20.724Z] + ls -al . [2023-10-06T04:24:20.724Z] total 212 [2023-10-06T04:24:20.724Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 6 04:23 . [2023-10-06T04:24:20.724Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:23 .. [2023-10-06T04:24:20.724Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:23 .git [2023-10-06T04:24:20.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:23 .github [2023-10-06T04:24:20.724Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 6 04:23 .gitignore [2023-10-06T04:24:20.724Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:23 .semver [2023-10-06T04:24:20.724Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 6 04:23 Attribution.txt [2023-10-06T04:24:20.724Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 6 04:23 CHANGES [2023-10-06T04:24:20.724Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 6 04:23 Doxyfile [2023-10-06T04:24:20.724Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:23 GOVERNANCE.md [2023-10-06T04:24:20.724Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 6 04:23 Jenkinsfile [2023-10-06T04:24:20.725Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 04:23 LICENSE [2023-10-06T04:24:20.725Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 6 04:23 Makefile [2023-10-06T04:24:20.725Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 04:23 OWNERS.md [2023-10-06T04:24:20.725Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 6 04:23 README.IOT.md [2023-10-06T04:24:20.725Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 6 04:23 README.md [2023-10-06T04:24:20.725Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 6 04:23 README.v3.md [2023-10-06T04:24:20.725Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:23 VERSION [2023-10-06T04:24:20.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:23 docs [2023-10-06T04:24:20.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:23 include [2023-10-06T04:24:20.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:23 scripts [2023-10-06T04:24:20.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:23 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:24:21.026Z] + 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=fce8b44c181640430d6cf7146f864b97eec8f6cd --label arch=amd64 --label version=0.0.0 . [2023-10-06T04:24:21.026Z] Sending build context to Docker daemon 4.937MB [2023-10-06T04:24:21.026Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-06T04:24:21.026Z] Step 2/17 : FROM ${BASE} [2023-10-06T04:24:21.026Z] ---> 2d5277abb3ba [2023-10-06T04:24:21.026Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-06T04:24:21.026Z] ---> Running in 95e08d74cb3c [2023-10-06T04:24:21.285Z] Removing intermediate container 95e08d74cb3c [2023-10-06T04:24:21.285Z] ---> 8f146ff8f2aa [2023-10-06T04:24:21.285Z] 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-10-06T04:24:21.285Z] ---> Running in bfd94cc69fbf [2023-10-06T04:24:21.543Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-06T04:24:21.809Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:24:21.809Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:24:21.809Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:24:22.068Z] Removing intermediate container bfd94cc69fbf [2023-10-06T04:24:22.068Z] ---> 45f5eca01808 [2023-10-06T04:24:22.068Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:24:22.328Z] ---> Running in a55bdf7e0667 [2023-10-06T04:24:22.896Z] Removing intermediate container a55bdf7e0667 [2023-10-06T04:24:22.896Z] ---> 94029d1ff67f [2023-10-06T04:24:22.896Z] 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 paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-10-06T04:24:22.896Z] ---> Running in 0dd760c9ac03 [2023-10-06T04:24:22.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:24:23.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-06T04:24:23.154Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-06T04:24:23.722Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:24:23.722Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:24:23.722Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:24:23.722Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T04:24:24.656Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T04:24:24.656Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-06T04:24:24.656Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T04:24:24.656Z] (7/11) Installing libblkid (2.38-r1) [2023-10-06T04:24:24.656Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-06T04:24:24.656Z] (9/11) Installing libmount (2.38-r1) [2023-10-06T04:24:24.656Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-06T04:24:24.656Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-06T04:24:24.656Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:24:24.656Z] OK: 281 MiB in 92 packages [2023-10-06T04:24:25.222Z] Removing intermediate container 0dd760c9ac03 [2023-10-06T04:24:25.222Z] ---> 5e5f36cd08bc [2023-10-06T04:24:25.222Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-06T04:24:25.479Z] ---> 9057dcd3ec4e [2023-10-06T04:24:25.479Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-06T04:24:25.479Z] ---> c66ee1e976fe [2023-10-06T04:24:25.479Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-06T04:24:25.737Z] ---> 42b35ec69ca5 [2023-10-06T04:24:25.737Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-06T04:24:25.737Z] ---> 7c4d2fcb2399 [2023-10-06T04:24:25.737Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-06T04:24:25.995Z] ---> cbfac0a27dc3 [2023-10-06T04:24:25.996Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-06T04:24:25.996Z] ---> 035d489c53c5 [2023-10-06T04:24:25.996Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-06T04:24:25.996Z] ---> Running in 96999f6a9431 [2023-10-06T04:24:25.996Z] Removing intermediate container 96999f6a9431 [2023-10-06T04:24:25.996Z] ---> cd860325f56e [2023-10-06T04:24:25.996Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-06T04:24:26.255Z] ---> Running in de1824f8e4ab [2023-10-06T04:24:26.255Z] Removing intermediate container de1824f8e4ab [2023-10-06T04:24:26.255Z] ---> 0c7897e325ed [2023-10-06T04:24:26.255Z] Step 15/17 : LABEL arch=amd64 [2023-10-06T04:24:26.255Z] ---> Running in 354b03de1b06 [2023-10-06T04:24:26.255Z] Removing intermediate container 354b03de1b06 [2023-10-06T04:24:26.255Z] ---> 1d9b9f6ffc2a [2023-10-06T04:24:26.255Z] Step 16/17 : LABEL git_sha=fce8b44c181640430d6cf7146f864b97eec8f6cd [2023-10-06T04:24:26.255Z] ---> Running in ac14c68ff2fa [2023-10-06T04:24:26.514Z] Removing intermediate container ac14c68ff2fa [2023-10-06T04:24:26.514Z] ---> a73d5052c9c9 [2023-10-06T04:24:26.514Z] Step 17/17 : LABEL version=0.0.0 [2023-10-06T04:24:26.514Z] ---> Running in a9027878c25b [2023-10-06T04:24:26.514Z] Removing intermediate container a9027878c25b [2023-10-06T04:24:26.514Z] ---> 12a2405a9702 [2023-10-06T04:24:26.514Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-06T04:24:26.514Z] Successfully built 12a2405a9702 [2023-10-06T04:24:26.514Z] 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-10-06T04:24:26.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T04:24:26.971Z] [2023-10-06T04:24:26.971Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:24:27.272Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T04:24:27.272Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-06T04:24:27.272Z] 5eb5b503b376: Pulling fs layer [2023-10-06T04:24:27.272Z] 5c69ac0246d0: Pulling fs layer [2023-10-06T04:24:27.272Z] ec43610c2a17: Pulling fs layer [2023-10-06T04:24:27.272Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-06T04:24:27.272Z] 33b1e0a273af: Pulling fs layer [2023-10-06T04:24:27.272Z] 5d3b04190fa2: Pulling fs layer [2023-10-06T04:24:27.272Z] 2f39f015ded8: Pulling fs layer [2023-10-06T04:24:27.272Z] 33b1e0a273af: Waiting [2023-10-06T04:24:27.272Z] 5d3b04190fa2: Waiting [2023-10-06T04:24:27.272Z] 3a2ae6a8a46f: Waiting [2023-10-06T04:24:27.272Z] 5c69ac0246d0: Verifying Checksum [2023-10-06T04:24:27.272Z] 5c69ac0246d0: Download complete [2023-10-06T04:24:27.272Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-06T04:24:27.272Z] 3a2ae6a8a46f: Download complete [2023-10-06T04:24:27.272Z] 33b1e0a273af: Verifying Checksum [2023-10-06T04:24:27.272Z] 33b1e0a273af: Download complete [2023-10-06T04:24:27.272Z] 5d3b04190fa2: Verifying Checksum [2023-10-06T04:24:27.272Z] 5d3b04190fa2: Download complete [2023-10-06T04:24:27.530Z] ec43610c2a17: Verifying Checksum [2023-10-06T04:24:27.530Z] ec43610c2a17: Download complete [2023-10-06T04:24:27.530Z] 5eb5b503b376: Verifying Checksum [2023-10-06T04:24:27.530Z] 5eb5b503b376: Download complete [2023-10-06T04:24:28.112Z] 2f39f015ded8: Download complete [2023-10-06T04:24:28.679Z] 5eb5b503b376: Pull complete [2023-10-06T04:24:28.940Z] 5c69ac0246d0: Pull complete [2023-10-06T04:24:29.506Z] ec43610c2a17: Pull complete [2023-10-06T04:24:29.506Z] 3a2ae6a8a46f: Pull complete [2023-10-06T04:24:29.765Z] 33b1e0a273af: Pull complete [2023-10-06T04:24:29.765Z] 5d3b04190fa2: Pull complete [2023-10-06T04:24:33.950Z] 2f39f015ded8: Pull complete [2023-10-06T04:24:33.950Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-06T04:24:33.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T04:24:33.950Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:24:34.034Z] prd-ubuntu20.04-docker-8c-8g-8618 does not seem to be running inside a container [2023-10-06T04:24:34.072Z] $ 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-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@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-10-06T04:24:38.169Z] $ docker top 7f4d1f1974e80371a440a65e75ff9ce4b34dff3221f3c985e12e1cd9af92ec69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:24:38.551Z] ---> job-cost.sh [2023-10-06T04:24:38.551Z] lf-activate-venv: SKIPPING [2023-10-06T04:24:38.551Z] INFO: No Stack... [2023-10-06T04:24:38.809Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-06T04:24:39.376Z] INFO: Archiving Costs [Pipeline] sh [2023-10-06T04:24:39.663Z] + + cut -d, -f6 [2023-10-06T04:24:39.663Z] cat /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/cost.csv [Pipeline] lock [2023-10-06T04:24:39.673Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] [2023-10-06T04:24:39.680Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] did not exist. Created. [2023-10-06T04:24:39.680Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-06T04:24:39.992Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-06T04:24:40.030Z] Stashed 1 file(s) [Pipeline] } [2023-10-06T04:24:40.039Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-06T04:24:40.068Z] $ docker stop --time=1 7f4d1f1974e80371a440a65e75ff9ce4b34dff3221f3c985e12e1cd9af92ec69 [2023-10-06T04:24:41.216Z] $ docker rm -f --volumes 7f4d1f1974e80371a440a65e75ff9ce4b34dff3221f3c985e12e1cd9af92ec69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-06T04:26:33.363Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8619 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [Pipeline] { [Pipeline] ws [2023-10-06T04:26:33.376Z] Running in /w/workspace/device-sdk-c/7 [Pipeline] { [Pipeline] checkout [2023-10-06T04:26:33.476Z] Selected Git installation does not exist. Using Default [2023-10-06T04:26:33.476Z] The recommended git tool is: NONE [2023-10-06T04:26:38.160Z] using credential edgex-jenkins-ssh [2023-10-06T04:26:38.179Z] Cloning the remote Git repository [2023-10-06T04:26:38.219Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-10-06T04:26:38.307Z] > git init /w/workspace/device-sdk-c/7 # timeout=10 [2023-10-06T04:26:38.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-06T04:26:38.437Z] > git --version # timeout=10 [2023-10-06T04:26:38.461Z] > git --version # 'git version 2.25.1' [2023-10-06T04:26:38.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-06T04:26:38.623Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-06T04:26:39.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-06T04:26:39.714Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-06T04:26:40.576Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-06T04:26:40.631Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-06T04:26:40.632Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-06T04:26:40.649Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-06T04:26:41.274Z] Merging remotes/origin/main commit 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 into PR head commit fce8b44c181640430d6cf7146f864b97eec8f6cd [2023-10-06T04:26:41.578Z] Merge succeeded, producing fce8b44c181640430d6cf7146f864b97eec8f6cd [2023-10-06T04:26:41.579Z] Checking out Revision fce8b44c181640430d6cf7146f864b97eec8f6cd (PR-486) [2023-10-06T04:26:41.290Z] > git config core.sparsecheckout # timeout=10 [2023-10-06T04:26:41.363Z] > git checkout -f fce8b44c181640430d6cf7146f864b97eec8f6cd # timeout=10 [2023-10-06T04:26:41.482Z] > git remote # timeout=10 [2023-10-06T04:26:41.503Z] > git config --get remote.origin.url # timeout=10 [2023-10-06T04:26:41.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-06T04:26:41.533Z] > git merge 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 [2023-10-06T04:26:41.559Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-06T04:26:41.584Z] > git config core.sparsecheckout # timeout=10 [2023-10-06T04:26:41.598Z] > git checkout -f fce8b44c181640430d6cf7146f864b97eec8f6cd # timeout=10 [2023-10-06T04:26:45.095Z] Commit message: "feat: Add command line/environment flag for commonConfig" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-06T04:26:45.944Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-06T04:26:45.944Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-06T04:26:45.944Z] Dload Upload Total Spent Left Speed [2023-10-06T04:26:45.944Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 117k 0 --:--:-- --:--:-- --:--:-- 118k [Pipeline] sh [2023-10-06T04:26:46.610Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-06T04:26:46.949Z] + sudo tee /etc/docker/daemon.new [2023-10-06T04:26:46.949Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-06T04:26:46.949Z] { [2023-10-06T04:26:46.949Z] "registry-mirrors": [ [2023-10-06T04:26:46.949Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-06T04:26:46.949Z] ], [2023-10-06T04:26:46.949Z] "bip": "10.250.0.254/24", [2023-10-06T04:26:46.949Z] "hosts": [ [2023-10-06T04:26:46.949Z] "tcp://0.0.0.0:5555", [2023-10-06T04:26:46.949Z] "unix:///var/run/docker.sock" [2023-10-06T04:26:46.949Z] ], [2023-10-06T04:26:46.949Z] "mtu": 1458, [2023-10-06T04:26:46.949Z] "selinux-enabled": true, [2023-10-06T04:26:46.949Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-06T04:26:46.949Z] } [Pipeline] sh [2023-10-06T04:26:47.271Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-06T04:26:47.600Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-06T04:27:05.849Z] provisioning config files... [2023-10-06T04:27:05.871Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/7@tmp/config11947503079649081616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:27:06.206Z] ---> docker-login.sh [2023-10-06T04:27:06.206Z] nexus3.edgexfoundry.org:10001 [2023-10-06T04:27:06.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:27:06.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:27:06.741Z] Configure a credential helper to remove this warning. See [2023-10-06T04:27:06.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:27:06.741Z] [2023-10-06T04:27:06.741Z] Login Succeeded [2023-10-06T04:27:06.741Z] nexus3.edgexfoundry.org:10002 [2023-10-06T04:27:07.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:27:07.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:27:07.009Z] Configure a credential helper to remove this warning. See [2023-10-06T04:27:07.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:27:07.009Z] [2023-10-06T04:27:07.009Z] Login Succeeded [2023-10-06T04:27:07.009Z] nexus3.edgexfoundry.org:10003 [2023-10-06T04:27:07.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:27:07.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:27:07.278Z] Configure a credential helper to remove this warning. See [2023-10-06T04:27:07.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:27:07.278Z] [2023-10-06T04:27:07.278Z] Login Succeeded [2023-10-06T04:27:07.278Z] nexus3.edgexfoundry.org:10004 [2023-10-06T04:27:07.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:27:07.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:27:07.545Z] Configure a credential helper to remove this warning. See [2023-10-06T04:27:07.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:27:07.545Z] [2023-10-06T04:27:07.545Z] Login Succeeded [2023-10-06T04:27:07.810Z] docker.io [2023-10-06T04:27:07.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-06T04:27:08.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-06T04:27:08.078Z] Configure a credential helper to remove this warning. See [2023-10-06T04:27:08.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-06T04:27:08.078Z] [2023-10-06T04:27:08.078Z] Login Succeeded [2023-10-06T04:27:08.078Z] ---> docker-login.sh ends [Pipeline] } [2023-10-06T04:27:08.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-06T04:27:08.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T04:27:08.333Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-10-06T04:27:08.347Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-06T04:27:08.359Z] ========================================================= [2023-10-06T04:27:08.359Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-10-06T04:27:08.359Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:27:08.694Z] + 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-10-06T04:27:08.960Z] Sending build context to Docker daemon 2.967MB [2023-10-06T04:27:08.960Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-06T04:27:08.960Z] Step 2/21 : FROM ${BASE} as builder [2023-10-06T04:27:09.228Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-10-06T04:27:09.228Z] 547446be3368: Pulling fs layer [2023-10-06T04:27:09.228Z] 76bd08e1cacc: Pulling fs layer [2023-10-06T04:27:09.228Z] 547446be3368: Verifying Checksum [2023-10-06T04:27:09.228Z] 547446be3368: Download complete [2023-10-06T04:27:09.815Z] 547446be3368: Pull complete [2023-10-06T04:27:11.772Z] 76bd08e1cacc: Verifying Checksum [2023-10-06T04:27:11.772Z] 76bd08e1cacc: Download complete [2023-10-06T04:27:20.007Z] 76bd08e1cacc: Pull complete [2023-10-06T04:27:20.007Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-10-06T04:27:20.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-10-06T04:27:20.007Z] ---> 295cd00e64f4 [2023-10-06T04:27:20.007Z] 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-10-06T04:27:20.278Z] ---> Running in 657391bc8c17 [2023-10-06T04:27:21.236Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-06T04:27:21.821Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:27:21.821Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:27:21.821Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:27:22.409Z] Removing intermediate container 657391bc8c17 [2023-10-06T04:27:22.409Z] ---> f3a4d8181c10 [2023-10-06T04:27:22.409Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:27:22.409Z] ---> Running in 161b654604d3 [2023-10-06T04:27:23.827Z] Removing intermediate container 161b654604d3 [2023-10-06T04:27:23.827Z] ---> cb8252f5b4a6 [2023-10-06T04:27:23.827Z] 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 paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-10-06T04:27:24.110Z] ---> Running in 4b3ba009a297 [2023-10-06T04:27:25.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:27:25.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-06T04:27:25.668Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:27:26.637Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:27:26.637Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:27:26.637Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:27:26.637Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-06T04:27:26.637Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-06T04:27:26.637Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T04:27:27.597Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T04:27:27.597Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-06T04:27:27.597Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-06T04:27:27.597Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T04:27:27.597Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T04:27:28.556Z] (11/16) Installing libblkid (2.38-r1) [2023-10-06T04:27:28.556Z] (12/16) Installing libuuid (2.38-r1) [2023-10-06T04:27:28.556Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-06T04:27:28.556Z] (14/16) Installing libmount (2.38-r1) [2023-10-06T04:27:28.556Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-06T04:27:28.556Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-06T04:27:28.556Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:27:28.556Z] OK: 286 MiB in 90 packages [2023-10-06T04:27:29.967Z] Removing intermediate container 4b3ba009a297 [2023-10-06T04:27:29.967Z] ---> b2963d987618 [2023-10-06T04:27:29.967Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-06T04:27:29.967Z] ---> Running in a040e4b18565 [2023-10-06T04:27:31.375Z] Removing intermediate container a040e4b18565 [2023-10-06T04:27:31.375Z] ---> 49d76b6aebc1 [2023-10-06T04:27:31.375Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-06T04:27:31.642Z] ---> 1041d4ac49e8 [2023-10-06T04:27:31.642Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-06T04:27:32.603Z] ---> b44adfd26ea3 [2023-10-06T04:27:32.603Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-06T04:27:32.871Z] ---> 9fb80c32a211 [2023-10-06T04:27:32.871Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-06T04:27:33.454Z] ---> 413e1eb6f916 [2023-10-06T04:27:33.454Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-06T04:27:33.721Z] ---> 2e37ca5c307f [2023-10-06T04:27:33.721Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-06T04:27:34.328Z] ---> 5ecdcc91d641 [2023-10-06T04:27:34.329Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-06T04:27:34.329Z] ---> Running in 7ecf52468e10 [2023-10-06T04:27:35.294Z] + CPPCHECK=false [2023-10-06T04:27:35.294Z] + DOCGEN=false [2023-10-06T04:27:35.294Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-06T04:27:35.294Z] + '[' 0 -gt 0 ] [2023-10-06T04:27:35.294Z] + readlink -f ./scripts/build.sh [2023-10-06T04:27:35.294Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-06T04:27:35.294Z] + dirname /tmp/sdk/scripts [2023-10-06T04:27:35.294Z] + ROOT=/tmp/sdk [2023-10-06T04:27:35.294Z] + cd /tmp/sdk [2023-10-06T04:27:35.294Z] + mkdir -p /tmp/sdk/build/release [2023-10-06T04:27:35.294Z] + cd /tmp/sdk/build/release [2023-10-06T04:27:35.294Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-06T04:27:35.561Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T04:27:35.561Z] -- Detecting C compiler ABI info [2023-10-06T04:27:35.827Z] -- Detecting C compiler ABI info - done [2023-10-06T04:27:36.093Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T04:27:36.093Z] -- Detecting C compile features [2023-10-06T04:27:36.093Z] -- Detecting C compile features - done [2023-10-06T04:27:36.093Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T04:27:36.093Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T04:27:36.359Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T04:27:36.359Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T04:27:36.359Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T04:27:36.359Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T04:27:36.360Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T04:27:36.360Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T04:27:36.360Z] -- /opt/iotech/iot/1.5/include [2023-10-06T04:27:36.360Z] -- C SDK 0.0.0 for Linux [2023-10-06T04:27:36.360Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T04:27:36.628Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T04:27:36.895Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T04:27:36.895Z] -- Configuring done [2023-10-06T04:27:37.163Z] -- Generating done [2023-10-06T04:27:37.163Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-06T04:27:37.163Z] + make all package [2023-10-06T04:27:37.163Z] + tee release.log [2023-10-06T04:27:37.432Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T04:27:38.392Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T04:27:39.348Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T04:27:39.932Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T04:27:40.891Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T04:27:41.476Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T04:27:44.058Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T04:27:44.694Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-06T04:27:44.694Z] /tmp/sdk/src/c/consul.c:297:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:27:44.694Z] 297 | while (privateConfig) [2023-10-06T04:27:44.694Z] | ^~~~~~~~~~~~~ [2023-10-06T04:27:44.694Z] /tmp/sdk/src/c/consul.c:274:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:27:44.694Z] 274 | while (result) [2023-10-06T04:27:44.694Z] | ^~~~~~ [2023-10-06T04:27:45.274Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T04:27:45.540Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T04:27:46.498Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T04:27:49.073Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T04:27:49.339Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T04:27:50.296Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T04:27:51.255Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T04:27:51.521Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T04:27:52.931Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T04:27:53.198Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T04:27:55.777Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T04:27:55.777Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T04:27:56.736Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T04:27:58.141Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T04:28:03.476Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T04:28:04.058Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T04:28:04.642Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T04:28:05.225Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T04:28:05.492Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T04:28:07.434Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T04:28:10.014Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T04:28:10.281Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T04:28:11.240Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T04:28:11.823Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T04:28:12.089Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-06T04:28:12.089Z] /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:28:12.089Z] 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-06T04:28:12.089Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:28:12.089Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:28:12.089Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-06T04:28:12.089Z] | ^ [2023-10-06T04:28:14.030Z] /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-06T04:28:14.030Z] 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-10-06T04:28:14.030Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:28:15.438Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T04:28:16.021Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T04:28:16.606Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T04:28:17.190Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T04:28:17.457Z] [ 68%] Built target csdk [2023-10-06T04:28:17.457Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T04:28:18.418Z] [ 72%] Linking C executable template [2023-10-06T04:28:18.686Z] [ 72%] Built target template [2023-10-06T04:28:18.686Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T04:28:19.270Z] [ 76%] Linking C executable device-counter [2023-10-06T04:28:19.537Z] [ 76%] Built target device-counter [2023-10-06T04:28:19.805Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T04:28:20.388Z] [ 80%] Linking C executable device-random [2023-10-06T04:28:20.655Z] [ 80%] Built target device-random [2023-10-06T04:28:20.655Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T04:28:21.237Z] [ 84%] Linking C executable device-gyro [2023-10-06T04:28:21.505Z] [ 84%] Built target device-gyro [2023-10-06T04:28:21.505Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T04:28:22.089Z] [ 88%] Linking C executable device-bitfields [2023-10-06T04:28:22.357Z] [ 88%] Built target device-bitfields [2023-10-06T04:28:22.357Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T04:28:23.317Z] [ 92%] Linking C executable template-discovery [2023-10-06T04:28:23.584Z] [ 92%] Built target template-discovery [2023-10-06T04:28:23.584Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T04:28:24.543Z] [ 96%] Linking C executable device-file [2023-10-06T04:28:24.809Z] [ 96%] Built target device-file [2023-10-06T04:28:24.809Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T04:28:25.769Z] [100%] Linking C executable device-terminal [2023-10-06T04:28:25.769Z] [100%] Built target device-terminal [2023-10-06T04:28:25.769Z] Run CPack packaging tool... [2023-10-06T04:28:26.037Z] CPack: Create package using TGZ [2023-10-06T04:28:26.037Z] CPack: Install projects [2023-10-06T04:28:26.037Z] CPack: - Run preinstall target for: Csdk [2023-10-06T04:28:26.619Z] CPack: - Install project: Csdk [] [2023-10-06T04:28:26.619Z] CPack: Create package [2023-10-06T04:28:26.889Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-06T04:28:26.889Z] + '[' false '=' true ] [2023-10-06T04:28:26.889Z] + '[' false '=' true ] [2023-10-06T04:28:26.889Z] + mkdir -p /tmp/sdk/build/debug [2023-10-06T04:28:26.889Z] + cd /tmp/sdk/build/debug [2023-10-06T04:28:26.889Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-06T04:28:27.155Z] -- The C compiler identification is GNU 11.2.1 [2023-10-06T04:28:27.155Z] -- Detecting C compiler ABI info [2023-10-06T04:28:27.422Z] -- Detecting C compiler ABI info - done [2023-10-06T04:28:27.422Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-06T04:28:27.422Z] -- Detecting C compile features [2023-10-06T04:28:27.422Z] -- Detecting C compile features - done [2023-10-06T04:28:27.422Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-06T04:28:27.691Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-06T04:28:27.691Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-06T04:28:27.691Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-06T04:28:27.691Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-06T04:28:27.691Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-06T04:28:27.691Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-06T04:28:27.691Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-06T04:28:27.692Z] -- /opt/iotech/iot/1.5/include [2023-10-06T04:28:27.692Z] -- C SDK 0.0.0 for Linux [2023-10-06T04:28:27.692Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-06T04:28:28.277Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-06T04:28:28.277Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-06T04:28:28.277Z] -- Configuring done [2023-10-06T04:28:28.542Z] -- Generating done [2023-10-06T04:28:28.810Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-06T04:28:28.810Z] + make [2023-10-06T04:28:28.810Z] + tee debug.log [2023-10-06T04:28:28.810Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-06T04:28:29.393Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-06T04:28:29.659Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-06T04:28:30.241Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-06T04:28:30.508Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-06T04:28:31.090Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-06T04:28:31.670Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-06T04:28:32.252Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-06T04:28:32.518Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-06T04:28:32.784Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-06T04:28:33.740Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-06T04:28:34.006Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-06T04:28:34.273Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-06T04:28:34.855Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-06T04:28:35.122Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-06T04:28:35.702Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-06T04:28:35.968Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-06T04:28:36.549Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-06T04:28:36.814Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-06T04:28:37.081Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-06T04:28:38.037Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-06T04:28:38.993Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-06T04:28:39.577Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-06T04:28:39.577Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-06T04:28:40.161Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-06T04:28:40.426Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-06T04:28:41.006Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-06T04:28:42.944Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-06T04:28:42.944Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-06T04:28:43.210Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-06T04:28:43.790Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-06T04:28:44.055Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-06T04:28:44.055Z] /tmp/sdk/src/c/service.c:873:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:28:44.055Z] 873 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-10-06T04:28:44.055Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-10-06T04:28:44.055Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-06T04:28:44.055Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-10-06T04:28:44.055Z] | ^ [2023-10-06T04:28:44.635Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-06T04:28:45.213Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-06T04:28:45.478Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-06T04:28:45.745Z] [ 68%] Linking C shared library libcsdk.so [2023-10-06T04:28:46.012Z] [ 68%] Built target csdk [2023-10-06T04:28:46.012Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-06T04:28:46.277Z] [ 72%] Linking C executable template [2023-10-06T04:28:46.546Z] [ 72%] Built target template [2023-10-06T04:28:46.812Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-06T04:28:47.077Z] [ 76%] Linking C executable device-counter [2023-10-06T04:28:47.342Z] [ 76%] Built target device-counter [2023-10-06T04:28:47.342Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-06T04:28:47.608Z] [ 80%] Linking C executable device-random [2023-10-06T04:28:47.872Z] [ 80%] Built target device-random [2023-10-06T04:28:47.873Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-06T04:28:48.453Z] [ 84%] Linking C executable device-gyro [2023-10-06T04:28:48.453Z] [ 84%] Built target device-gyro [2023-10-06T04:28:48.718Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-06T04:28:48.982Z] [ 88%] Linking C executable device-bitfields [2023-10-06T04:28:49.248Z] [ 88%] Built target device-bitfields [2023-10-06T04:28:49.248Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-06T04:28:49.513Z] [ 92%] Linking C executable template-discovery [2023-10-06T04:28:49.781Z] [ 92%] Built target template-discovery [2023-10-06T04:28:50.048Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-06T04:28:50.316Z] [ 96%] Linking C executable device-file [2023-10-06T04:28:50.582Z] [ 96%] Built target device-file [2023-10-06T04:28:50.582Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-06T04:28:51.166Z] [100%] Linking C executable device-terminal [2023-10-06T04:28:51.432Z] [100%] Built target device-terminal [2023-10-06T04:28:51.432Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.432Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.432Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.432Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.432Z] [ 68%] Built target csdk [2023-10-06T04:28:51.432Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.432Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] [ 72%] Built target template [2023-10-06T04:28:51.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] [ 76%] Built target device-counter [2023-10-06T04:28:51.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] [ 80%] Built target device-random [2023-10-06T04:28:51.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] [ 84%] Built target device-gyro [2023-10-06T04:28:51.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] [ 88%] Built target device-bitfields [2023-10-06T04:28:51.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] [ 92%] Built target template-discovery [2023-10-06T04:28:51.699Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.699Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.965Z] [ 96%] Built target device-file [2023-10-06T04:28:51.965Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.965Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.965Z] [100%] Built target device-terminal [2023-10-06T04:28:51.965Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:51.965Z] Install the project... [2023-10-06T04:28:51.965Z] -- Install configuration: "Release" [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-06T04:28:51.965Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include/devsdk [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include/edgex [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-06T04:28:51.965Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-06T04:28:51.966Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-06T04:28:51.966Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-06T04:28:53.369Z] Removing intermediate container 7ecf52468e10 [2023-10-06T04:28:53.369Z] ---> c302575ab19f [2023-10-06T04:28:53.369Z] Step 14/21 : FROM ${BASE} [2023-10-06T04:28:53.369Z] ---> 295cd00e64f4 [2023-10-06T04:28:53.369Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-06T04:28:53.369Z] ---> Running in 9a8ce8fa0a94 [2023-10-06T04:28:53.369Z] Removing intermediate container 9a8ce8fa0a94 [2023-10-06T04:28:53.369Z] ---> faabbbcabb5c [2023-10-06T04:28:53.369Z] 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-10-06T04:28:53.635Z] ---> Running in 3f98a6990b2e [2023-10-06T04:28:54.592Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-06T04:28:54.857Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:28:54.857Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:28:54.857Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:28:55.440Z] Removing intermediate container 3f98a6990b2e [2023-10-06T04:28:55.440Z] ---> 90d4ea02fecc [2023-10-06T04:28:55.440Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:28:55.709Z] ---> Running in f3f80079e139 [2023-10-06T04:29:00.058Z] Removing intermediate container f3f80079e139 [2023-10-06T04:29:00.058Z] ---> 1ed77a94abc6 [2023-10-06T04:29:00.058Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor paho-mqtt-c-dev-1.3 iotech-iot-1.4 hiredis-dev [2023-10-06T04:29:00.058Z] ---> Running in eafa3b5cc087 [2023-10-06T04:29:00.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:29:00.602Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-06T04:29:01.196Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:29:02.167Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:29:02.167Z] (1/7) Installing curl (8.2.1-r0) [2023-10-06T04:29:02.167Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-06T04:29:02.167Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-06T04:29:02.167Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-06T04:29:02.748Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-06T04:29:02.748Z] (6/7) Installing libuuid (2.38-r1) [2023-10-06T04:29:02.748Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-06T04:29:03.704Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:29:03.704Z] OK: 281 MiB in 83 packages [2023-10-06T04:29:04.662Z] Removing intermediate container eafa3b5cc087 [2023-10-06T04:29:04.662Z] ---> 74fea73c41e3 [2023-10-06T04:29:04.662Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-06T04:29:04.929Z] ---> 88ffb475696a [2023-10-06T04:29:04.929Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-06T04:29:05.511Z] ---> 37fcc0925e0f [2023-10-06T04:29:05.511Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-06T04:29:06.231Z] ---> 9c7f409f213d [2023-10-06T04:29:06.231Z] Successfully built 9c7f409f213d [2023-10-06T04:29:06.231Z] 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-10-06T04:29:06.618Z] + docker inspect -f . ci-base-image-arm64 [2023-10-06T04:29:06.618Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:29:06.817Z] prd-ubuntu20.04-docker-arm64-4c-16g-8619 does not seem to be running inside a container [2023-10-06T04:29:06.879Z] $ 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-10-06T04:29:08.025Z] $ docker top d7f27913b14319ed2c2011e3bc96e8eaf6e7e6ef7c0eda8e9de0d81d6c17d0ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-06T04:29:08.843Z] + make test [2023-10-06T04:29:08.844Z] echo "make test" [2023-10-06T04:29:08.844Z] make test [Pipeline] } [2023-10-06T04:29:08.861Z] $ docker stop --time=1 d7f27913b14319ed2c2011e3bc96e8eaf6e7e6ef7c0eda8e9de0d81d6c17d0ef [2023-10-06T04:29:11.995Z] $ docker rm -f --volumes d7f27913b14319ed2c2011e3bc96e8eaf6e7e6ef7c0eda8e9de0d81d6c17d0ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-06T04:29:12.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-06T04:29:12.851Z] + ls -al . [2023-10-06T04:29:12.851Z] total 208 [2023-10-06T04:29:12.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:26 . [2023-10-06T04:29:12.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:26 .. [2023-10-06T04:29:12.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 6 04:26 .git [2023-10-06T04:29:12.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 6 04:26 .github [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 6 04:26 .gitignore [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 6 04:26 Attribution.txt [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 6 04:26 CHANGES [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 6 04:26 Doxyfile [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 6 04:26 GOVERNANCE.md [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 6 04:26 Jenkinsfile [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 6 04:26 LICENSE [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 6 04:26 Makefile [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 6 04:26 OWNERS.md [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 6 04:26 README.IOT.md [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 6 04:26 README.md [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 6 04:26 README.v3.md [2023-10-06T04:29:12.851Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 6 04:23 VERSION [2023-10-06T04:29:12.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:26 docs [2023-10-06T04:29:12.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:26 include [2023-10-06T04:29:12.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 6 04:26 scripts [2023-10-06T04:29:12.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 6 04:26 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:29:13.185Z] + 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=fce8b44c181640430d6cf7146f864b97eec8f6cd --label arch=arm64 --label version=0.0.0 . [2023-10-06T04:29:13.456Z] Sending build context to Docker daemon 2.967MB [2023-10-06T04:29:13.456Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-06T04:29:13.456Z] Step 2/17 : FROM ${BASE} [2023-10-06T04:29:13.456Z] ---> 9c7f409f213d [2023-10-06T04:29:13.456Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-06T04:29:13.721Z] ---> Running in 85028c98979f [2023-10-06T04:29:13.987Z] Removing intermediate container 85028c98979f [2023-10-06T04:29:13.987Z] ---> 00136af111b9 [2023-10-06T04:29:13.987Z] 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-10-06T04:29:13.987Z] ---> Running in d850d5894225 [2023-10-06T04:29:14.946Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-06T04:29:15.211Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-06T04:29:15.211Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-06T04:29:15.211Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-06T04:29:16.176Z] Removing intermediate container d850d5894225 [2023-10-06T04:29:16.177Z] ---> 46ef9a28dc6d [2023-10-06T04:29:16.177Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-06T04:29:16.177Z] ---> Running in c6f788ad2c4e [2023-10-06T04:29:17.584Z] Removing intermediate container c6f788ad2c4e [2023-10-06T04:29:17.584Z] ---> 680ef7712dc1 [2023-10-06T04:29:17.584Z] 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 paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-10-06T04:29:17.584Z] ---> Running in 6088a73d113f [2023-10-06T04:29:18.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:29:18.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-06T04:29:19.386Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-06T04:29:20.338Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-06T04:29:20.338Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:29:20.338Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-06T04:29:20.338Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-06T04:29:20.917Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-06T04:29:20.918Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-06T04:29:20.918Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-06T04:29:20.918Z] (7/11) Installing libblkid (2.38-r1) [2023-10-06T04:29:20.918Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-06T04:29:20.918Z] (9/11) Installing libmount (2.38-r1) [2023-10-06T04:29:21.184Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-06T04:29:21.184Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-06T04:29:21.184Z] Executing busybox-1.35.0-r17.trigger [2023-10-06T04:29:21.184Z] OK: 287 MiB in 92 packages [2023-10-06T04:29:25.430Z] Removing intermediate container 6088a73d113f [2023-10-06T04:29:25.430Z] ---> 2a74d8da19b3 [2023-10-06T04:29:25.430Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-06T04:29:25.430Z] ---> 871522084425 [2023-10-06T04:29:25.430Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-06T04:29:26.014Z] ---> 70b8cb16ab14 [2023-10-06T04:29:26.014Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-06T04:29:26.595Z] ---> 90b492974194 [2023-10-06T04:29:26.595Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-06T04:29:27.180Z] ---> 64ec6f48a94e [2023-10-06T04:29:27.180Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-06T04:29:27.764Z] ---> 7d826c8f6847 [2023-10-06T04:29:27.764Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-06T04:29:28.029Z] ---> 8e8fd7644099 [2023-10-06T04:29:28.029Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-06T04:29:28.297Z] ---> Running in 6aadcab8c685 [2023-10-06T04:29:28.563Z] Removing intermediate container 6aadcab8c685 [2023-10-06T04:29:28.564Z] ---> f4d7eef8736e [2023-10-06T04:29:28.564Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-06T04:29:28.564Z] ---> Running in af00831cb63d [2023-10-06T04:29:28.832Z] Removing intermediate container af00831cb63d [2023-10-06T04:29:28.832Z] ---> d38893a55ca5 [2023-10-06T04:29:28.832Z] Step 15/17 : LABEL arch=arm64 [2023-10-06T04:29:28.832Z] ---> Running in 7bebd3343ee0 [2023-10-06T04:29:29.102Z] Removing intermediate container 7bebd3343ee0 [2023-10-06T04:29:29.102Z] ---> 149a2f000b91 [2023-10-06T04:29:29.102Z] Step 16/17 : LABEL git_sha=fce8b44c181640430d6cf7146f864b97eec8f6cd [2023-10-06T04:29:29.371Z] ---> Running in 4f7157ca8acd [2023-10-06T04:29:29.638Z] Removing intermediate container 4f7157ca8acd [2023-10-06T04:29:29.638Z] ---> dd07b056910e [2023-10-06T04:29:29.638Z] Step 17/17 : LABEL version=0.0.0 [2023-10-06T04:29:29.638Z] ---> Running in 9bd24b9a9919 [2023-10-06T04:29:29.902Z] Removing intermediate container 9bd24b9a9919 [2023-10-06T04:29:29.902Z] ---> a2740c23f387 [2023-10-06T04:29:29.902Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-06T04:29:29.902Z] Successfully built a2740c23f387 [2023-10-06T04:29:29.902Z] 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-10-06T04:29:30.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-06T04:29:30.328Z] [2023-10-06T04:29:30.328Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:29:30.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-06T04:29:30.915Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-06T04:29:30.915Z] 8998bd30e6a1: Pulling fs layer [2023-10-06T04:29:30.915Z] 04944245beec: Pulling fs layer [2023-10-06T04:29:30.915Z] 699f458cf7ca: Pulling fs layer [2023-10-06T04:29:30.915Z] 765212b225bb: Pulling fs layer [2023-10-06T04:29:30.915Z] f23df028b6ca: Pulling fs layer [2023-10-06T04:29:30.915Z] d65c8cfc05b1: Pulling fs layer [2023-10-06T04:29:30.915Z] 2437ff75d9bd: Pulling fs layer [2023-10-06T04:29:30.915Z] f23df028b6ca: Waiting [2023-10-06T04:29:30.915Z] d65c8cfc05b1: Waiting [2023-10-06T04:29:30.915Z] 765212b225bb: Waiting [2023-10-06T04:29:30.915Z] 2437ff75d9bd: Waiting [2023-10-06T04:29:30.915Z] 04944245beec: Verifying Checksum [2023-10-06T04:29:30.915Z] 04944245beec: Download complete [2023-10-06T04:29:30.915Z] 765212b225bb: Verifying Checksum [2023-10-06T04:29:30.915Z] 765212b225bb: Download complete [2023-10-06T04:29:30.915Z] f23df028b6ca: Verifying Checksum [2023-10-06T04:29:30.915Z] f23df028b6ca: Download complete [2023-10-06T04:29:30.915Z] d65c8cfc05b1: Verifying Checksum [2023-10-06T04:29:30.915Z] d65c8cfc05b1: Download complete [2023-10-06T04:29:31.179Z] 699f458cf7ca: Verifying Checksum [2023-10-06T04:29:31.179Z] 699f458cf7ca: Download complete [2023-10-06T04:29:31.446Z] 8998bd30e6a1: Verifying Checksum [2023-10-06T04:29:31.447Z] 8998bd30e6a1: Download complete [2023-10-06T04:29:34.022Z] 2437ff75d9bd: Verifying Checksum [2023-10-06T04:29:34.022Z] 2437ff75d9bd: Download complete [2023-10-06T04:29:34.982Z] 8998bd30e6a1: Pull complete [2023-10-06T04:29:35.565Z] 04944245beec: Pull complete [2023-10-06T04:29:38.904Z] 699f458cf7ca: Pull complete [2023-10-06T04:29:39.173Z] 765212b225bb: Pull complete [2023-10-06T04:29:39.755Z] f23df028b6ca: Pull complete [2023-10-06T04:29:40.021Z] d65c8cfc05b1: Pull complete [2023-10-06T04:29:55.006Z] 2437ff75d9bd: Pull complete [2023-10-06T04:29:55.006Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-06T04:29:55.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-06T04:29:55.006Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:29:55.186Z] prd-ubuntu20.04-docker-arm64-4c-16g-8619 does not seem to be running inside a container [2023-10-06T04:29:55.246Z] $ 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-10-06T04:29:57.567Z] $ docker top 121141f761c9b7894c16f2ca8787f8b83b4792c6ee396bc44c0c6650599a2089 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:29:58.073Z] ---> job-cost.sh [2023-10-06T04:29:58.339Z] lf-activate-venv: SKIPPING [2023-10-06T04:29:58.339Z] INFO: No Stack... [2023-10-06T04:29:58.918Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-06T04:29:59.495Z] INFO: Archiving Costs [Pipeline] sh [2023-10-06T04:29:59.811Z] + cat /w/workspace/device-sdk-c/7/archives/cost.csv [2023-10-06T04:29:59.811Z] + cut -d, -f6 [Pipeline] lock [2023-10-06T04:30:00.132Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] [2023-10-06T04:30:00.138Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] did not exist. Created. [2023-10-06T04:30:00.138Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-06T04:30:00.788Z] /w/workspace/device-sdk-c/7@tmp/durable-17b68ab5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-06T04:30:01.116Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-06T04:30:01.135Z] Warning: overwriting stash ‘stack-cost’ [2023-10-06T04:30:01.561Z] Stashed 1 file(s) [Pipeline] } [2023-10-06T04:30:01.568Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-06T04:30:01.587Z] $ docker stop --time=1 121141f761c9b7894c16f2ca8787f8b83b4792c6ee396bc44c0c6650599a2089 [2023-10-06T04:30:03.055Z] $ docker rm -f --volumes 121141f761c9b7894c16f2ca8787f8b83b4792c6ee396bc44c0c6650599a2089 [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-10-06T04:30:03.838Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives ] [2023-10-06T04:30:03.838Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-06T04:30:03.838Z] total 16 [2023-10-06T04:30:03.838Z] drwxr-xr-x 3 root root 4096 Oct 6 04:24 . [2023-10-06T04:30:03.838Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 04:24 .. [2023-10-06T04:30:03.838Z] drwxr-xr-x 2 root root 4096 Oct 6 04:24 cost [2023-10-06T04:30:03.838Z] -rw-r--r-- 1 root root 84 Oct 6 04:24 cost.csv [2023-10-06T04:30:03.838Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-06T04:30:03.838Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-06T04:30:03.838Z] total 16 [2023-10-06T04:30:03.838Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 6 04:24 . [2023-10-06T04:30:03.838Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 6 04:24 .. [2023-10-06T04:30:03.838Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 6 04:24 cost [2023-10-06T04:30:03.838Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 6 04:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:30:04.131Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:30:04.988Z] ---> package-listing.sh [2023-10-06T04:30:04.988Z] ++ facter osfamily [2023-10-06T04:30:04.988Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-06T04:30:05.247Z] + OS_FAMILY=debian [2023-10-06T04:30:05.247Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-486 [2023-10-06T04:30:05.247Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-06T04:30:05.247Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-06T04:30:05.247Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-06T04:30:05.247Z] + PACKAGES=/tmp/packages_start.txt [2023-10-06T04:30:05.247Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-10-06T04:30:05.247Z] + PACKAGES=/tmp/packages_end.txt [2023-10-06T04:30:05.247Z] + case "${OS_FAMILY}" in [2023-10-06T04:30:05.247Z] + dpkg -l [2023-10-06T04:30:05.247Z] + grep '^ii' [2023-10-06T04:30:05.247Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-06T04:30:05.247Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-06T04:30:05.247Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-06T04:30:05.247Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-10-06T04:30:05.247Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [2023-10-06T04:30:05.247Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [Pipeline] echo [2023-10-06T04:30:05.273Z] 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-486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-06T04:30:05.551Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-06T04:30:06.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-06T04:30:06.111Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-06T04:30:06.174Z] prd-ubuntu20.04-docker-8c-8g-8618 does not seem to be running inside a container [2023-10-06T04:30:06.208Z] $ 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-486/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-486 -v /w/workspace/edgexfoundry_device-sdk-c_PR-486:/w/workspace/edgexfoundry_device-sdk-c_PR-486:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-486@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-10-06T04:30:06.479Z] $ docker top d736ee70ad7a2541cc40f31931c10b77258a54af62c2694d1f1aa666ddc6aac9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-06T04:30:06.834Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-06T04:30:07.119Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-06T04:30:07.403Z] + ls /var/log/sa-host [2023-10-06T04:30:07.403Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-06T04:30:07.560Z] provisioning config files... [2023-10-06T04:30:07.571Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config731083533929663441tmp [Pipeline] { [Pipeline] echo [2023-10-06T04:30:07.585Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:30:07.868Z] ---> create-netrc.sh [Pipeline] } [2023-10-06T04:30:07.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:30:08.197Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-06T04:30:08.205Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:30:08.492Z] ---> sudo-logs.sh [2023-10-06T04:30:08.492Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-06T04:30:08.518Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:30:08.807Z] ---> job-cost.sh [2023-10-06T04:30:08.807Z] lf-activate-venv: SKIPPING [2023-10-06T04:30:08.807Z] DEBUG: total: 0.2199999988079071 [2023-10-06T04:30:08.807Z] INFO: Retrieving Stack Cost... [2023-10-06T04:30:09.066Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-06T04:30:09.325Z] INFO: Archiving Costs [Pipeline] echo [2023-10-06T04:30:09.335Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-06T04:30:09.615Z] ---> logs-deploy.sh [2023-10-06T04:30:09.615Z] lf-activate-venv: SKIPPING [2023-10-06T04:30:09.615Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-486/7 [2023-10-06T04:30:09.615Z] INFO: archiving workspace using pattern(s): [2023-10-06T04:30:10.550Z] Archives upload complete. [2023-10-06T04:30:10.550Z] INFO: archiving logs to Nexus