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 ca04866706d2c2069bbe278653aa434b152d5da0+4c52de37db7d3bd0277fba2739b75d0a1bd475b3 (afa01215cfe106ef193dff047478d3ea99d69ba4) 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-ssh11062980775247025023.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-ssh17731537694158349765.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-ssh6576119127648048370.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-ssh13841557258233133080.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-ssh7688240938725695193.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 ‘prd-ubuntu20.04-docker-8c-8g-8708’ Running on prd-ubuntu20.04-docker-8c-8g-8714 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 ca04866706d2c2069bbe278653aa434b152d5da0 Merge succeeded, producing ca04866706d2c2069bbe278653aa434b152d5da0 Checking out Revision ca04866706d2c2069bbe278653aa434b152d5da0 (PR-486) > git config core.sparsecheckout # timeout=10 > git checkout -f ca04866706d2c2069bbe278653aa434b152d5da0 # 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 ca04866706d2c2069bbe278653aa434b152d5da0 # timeout=10 Commit message: "feat: Add command line/environment flag for commonConfig" First time build. Skipping changelog. > git rev-list --no-walk 4caea525620fae8a66350c1457a58ad892a3586e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-08T02:20:03.713Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-08T02:20:03.761Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-08T02:20:03.775Z] ========================================================= [2023-10-08T02:20:03.775Z] EdgeX Global Pipelines Version Info [2023-10-08T02:20:03.775Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:20:04.845Z] ------------------- [2023-10-08T02:20:04.845Z] stable info: [2023-10-08T02:20:04.845Z] ------------------- [2023-10-08T02:20:04.845Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-08T02:20:04.845Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-08T02:20:04.845Z] Message: update stable to v1.0.254 [2023-10-08T02:20:05.106Z] ------------------- [2023-10-08T02:20:05.106Z] experimental info: [2023-10-08T02:20:05.106Z] ------------------- [2023-10-08T02:20:05.106Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-08T02:20:05.106Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-08T02:20:05.106Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-08T02:20:05.257Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-10-08T02:20:05.270Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-10-08T02:20:05.283Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-08T02:20:05.298Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-08T02:20:05.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-08T02:20:05.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-10-08T02:20:05.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-10-08T02:20:05.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-08T02:20:05.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-08T02:20:05.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-10-08T02:20:05.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-08T02:20:05.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-08T02:20:05.407Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-08T02:20:05.420Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-08T02:20:05.438Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-08T02:20:05.448Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-08T02:20:05.460Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-08T02:20:05.472Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo [2023-10-08T02:20:05.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo [2023-10-08T02:20:05.504Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo [2023-10-08T02:20:05.521Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca04866706d2c2069bbe278653aa434b152d5da0 [Pipeline] echo [2023-10-08T02:20:05.539Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca04866 [Pipeline] echo [2023-10-08T02:20:05.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-08T02:20:05.599Z] provisioning config files... [2023-10-08T02:20:05.611Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config8699216969401253459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:20:05.911Z] ---> docker-login.sh [2023-10-08T02:20:05.911Z] nexus3.edgexfoundry.org:10001 [2023-10-08T02:20:06.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:20:06.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:20:06.170Z] Configure a credential helper to remove this warning. See [2023-10-08T02:20:06.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:20:06.170Z] [2023-10-08T02:20:06.170Z] Login Succeeded [2023-10-08T02:20:06.170Z] nexus3.edgexfoundry.org:10002 [2023-10-08T02:20:06.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:20:06.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:20:06.429Z] Configure a credential helper to remove this warning. See [2023-10-08T02:20:06.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:20:06.429Z] [2023-10-08T02:20:06.429Z] Login Succeeded [2023-10-08T02:20:06.429Z] nexus3.edgexfoundry.org:10003 [2023-10-08T02:20:06.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:20:06.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:20:06.429Z] Configure a credential helper to remove this warning. See [2023-10-08T02:20:06.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:20:06.429Z] [2023-10-08T02:20:06.429Z] Login Succeeded [2023-10-08T02:20:06.429Z] nexus3.edgexfoundry.org:10004 [2023-10-08T02:20:06.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:20:06.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:20:06.689Z] Configure a credential helper to remove this warning. See [2023-10-08T02:20:06.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:20:06.689Z] [2023-10-08T02:20:06.689Z] Login Succeeded [2023-10-08T02:20:06.689Z] docker.io [2023-10-08T02:20:06.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:20:08.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:20:08.071Z] Configure a credential helper to remove this warning. See [2023-10-08T02:20:08.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:20:08.071Z] [2023-10-08T02:20:08.071Z] Login Succeeded [2023-10-08T02:20:08.071Z] ---> docker-login.sh ends [Pipeline] } [2023-10-08T02:20:08.079Z] 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-08T02:20:08.453Z] + git rev-list -1 --merges ca04866706d2c2069bbe278653aa434b152d5da0~1..ca04866706d2c2069bbe278653aa434b152d5da0 [Pipeline] echo [2023-10-08T02:20:08.498Z] -----------> git rev-list -1 --merges ca04866706d2c2069bbe278653aa434b152d5da0~1..ca04866706d2c2069bbe278653aa434b152d5da0 ca04866706d2c2069bbe278653aa434b152d5da0 [false] [Pipeline] sh [2023-10-08T02:20:08.792Z] + git log --format=format:%s -1 ca04866706d2c2069bbe278653aa434b152d5da0 [Pipeline] echo [2023-10-08T02:20:08.808Z] ========================================================= [2023-10-08T02:20:08.808Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-08T02:20:08.808Z] ========================================================= 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-08T02:20:09.197Z] + git rev-list -1 --merges ca04866706d2c2069bbe278653aa434b152d5da0~1..ca04866706d2c2069bbe278653aa434b152d5da0 [Pipeline] echo [2023-10-08T02:20:09.209Z] -----------> git rev-list -1 --merges ca04866706d2c2069bbe278653aa434b152d5da0~1..ca04866706d2c2069bbe278653aa434b152d5da0 ca04866706d2c2069bbe278653aa434b152d5da0 [false] [Pipeline] sh [2023-10-08T02:20:09.494Z] + git log --format=format:%s -1 ca04866706d2c2069bbe278653aa434b152d5da0 [Pipeline] echo [2023-10-08T02:20:09.508Z] ========================================================= [2023-10-08T02:20:09.508Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-08T02:20:09.508Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-10-08T02:20:09.951Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-08T02:20:09.951Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-08T02:20:09.951Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-08T02:20:09.951Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-08T02:20:09.951Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-08T02:20:09.951Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-08T02:20:09.951Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-08T02:20:10.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-08T02:20:10.371Z] [2023-10-08T02:20:10.371Z] 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-08T02:20:10.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-08T02:20:10.666Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-08T02:20:10.666Z] b85a868b505f: Pulling fs layer [2023-10-08T02:20:10.666Z] e2be974225ed: Pulling fs layer [2023-10-08T02:20:10.666Z] 339a4e72a1f5: Pulling fs layer [2023-10-08T02:20:10.666Z] 988bab9f4d93: Pulling fs layer [2023-10-08T02:20:10.666Z] 1469e6f7b9e6: Pulling fs layer [2023-10-08T02:20:10.666Z] eaf3925da568: Pulling fs layer [2023-10-08T02:20:10.666Z] bab4dde63d76: Pulling fs layer [2023-10-08T02:20:10.666Z] bde34c3a00c8: Pulling fs layer [2023-10-08T02:20:10.666Z] b352a97aabf1: Pulling fs layer [2023-10-08T02:20:10.666Z] 4872d77fe225: Pulling fs layer [2023-10-08T02:20:10.666Z] 5851b861e8e6: Pulling fs layer [2023-10-08T02:20:10.666Z] 988bab9f4d93: Waiting [2023-10-08T02:20:10.666Z] 1469e6f7b9e6: Waiting [2023-10-08T02:20:10.666Z] bab4dde63d76: Waiting [2023-10-08T02:20:10.666Z] eaf3925da568: Waiting [2023-10-08T02:20:10.666Z] bde34c3a00c8: Waiting [2023-10-08T02:20:10.666Z] b352a97aabf1: Waiting [2023-10-08T02:20:10.666Z] 5851b861e8e6: Waiting [2023-10-08T02:20:10.666Z] e2be974225ed: Verifying Checksum [2023-10-08T02:20:10.666Z] e2be974225ed: Download complete [2023-10-08T02:20:10.666Z] 988bab9f4d93: Download complete [2023-10-08T02:20:10.666Z] 1469e6f7b9e6: Verifying Checksum [2023-10-08T02:20:10.666Z] 1469e6f7b9e6: Download complete [2023-10-08T02:20:10.926Z] 339a4e72a1f5: Verifying Checksum [2023-10-08T02:20:10.926Z] 339a4e72a1f5: Download complete [2023-10-08T02:20:10.926Z] eaf3925da568: Verifying Checksum [2023-10-08T02:20:10.926Z] eaf3925da568: Download complete [2023-10-08T02:20:10.926Z] bde34c3a00c8: Download complete [2023-10-08T02:20:10.926Z] b352a97aabf1: Verifying Checksum [2023-10-08T02:20:10.926Z] b352a97aabf1: Download complete [2023-10-08T02:20:10.926Z] 4872d77fe225: Verifying Checksum [2023-10-08T02:20:10.926Z] 4872d77fe225: Download complete [2023-10-08T02:20:10.926Z] 5851b861e8e6: Verifying Checksum [2023-10-08T02:20:10.926Z] 5851b861e8e6: Download complete [2023-10-08T02:20:10.926Z] b85a868b505f: Verifying Checksum [2023-10-08T02:20:10.926Z] b85a868b505f: Download complete [2023-10-08T02:20:11.184Z] bab4dde63d76: Verifying Checksum [2023-10-08T02:20:11.184Z] bab4dde63d76: Download complete [2023-10-08T02:20:12.561Z] b85a868b505f: Pull complete [2023-10-08T02:20:12.821Z] e2be974225ed: Pull complete [2023-10-08T02:20:13.765Z] 339a4e72a1f5: Pull complete [2023-10-08T02:20:13.765Z] 988bab9f4d93: Pull complete [2023-10-08T02:20:14.027Z] 1469e6f7b9e6: Pull complete [2023-10-08T02:20:14.027Z] eaf3925da568: Pull complete [2023-10-08T02:20:15.939Z] bab4dde63d76: Pull complete [2023-10-08T02:20:15.939Z] bde34c3a00c8: Pull complete [2023-10-08T02:20:15.939Z] b352a97aabf1: Pull complete [2023-10-08T02:20:15.939Z] 4872d77fe225: Pull complete [2023-10-08T02:20:16.198Z] 5851b861e8e6: Pull complete [2023-10-08T02:20:16.198Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-08T02:20:16.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-08T02:20:16.198Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-08T02:20:16.285Z] prd-ubuntu20.04-docker-8c-8g-8714 does not seem to be running inside a container [2023-10-08T02:20:16.356Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-08T02:20:19.743Z] $ docker top 1e287f81663d190b8261bcd2e8e3de7bc3240fa261b7b4b4c0ab8a882cb013e4 -eo pid,comm [2023-10-08T02:20:19.798Z] 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-08T02:20:19.798Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-08T02:20:19.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-08T02:20:19.843Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-08T02:20:19.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-08T02:20:19.946Z] $ docker exec 1e287f81663d190b8261bcd2e8e3de7bc3240fa261b7b4b4c0ab8a882cb013e4 ssh-agent [2023-10-08T02:20:20.056Z] SSH_AUTH_SOCK=/tmp/ssh-9gsPNeyG4UmS/agent.33 [2023-10-08T02:20:20.056Z] SSH_AGENT_PID=40 [2023-10-08T02:20:20.062Z] Running ssh-add (command line suppressed) [2023-10-08T02:20:20.154Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_4228430436434821882.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_4228430436434821882.key) [2023-10-08T02:20:20.182Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-08T02:20:20.471Z] + git tag --points-at HEAD [Pipeline] } [2023-10-08T02:20:20.482Z] $ docker exec --env ******** --env ******** 1e287f81663d190b8261bcd2e8e3de7bc3240fa261b7b4b4c0ab8a882cb013e4 ssh-agent -k [2023-10-08T02:20:20.573Z] unset SSH_AUTH_SOCK; [2023-10-08T02:20:20.574Z] unset SSH_AGENT_PID; [2023-10-08T02:20:20.574Z] echo Agent pid 40 killed; [2023-10-08T02:20:20.586Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-08T02:20:20.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-08T02:20:20.609Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-08T02:20:20.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-08T02:20:20.712Z] $ docker exec 1e287f81663d190b8261bcd2e8e3de7bc3240fa261b7b4b4c0ab8a882cb013e4 ssh-agent [2023-10-08T02:20:21.990Z] SSH_AUTH_SOCK=/tmp/ssh-Gj6v8SuwmDAh/agent.72 [2023-10-08T02:20:21.990Z] SSH_AGENT_PID=78 [2023-10-08T02:20:21.996Z] Running ssh-add (command line suppressed) [2023-10-08T02:20:22.114Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_1100741850214436489.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_1100741850214436489.key) [2023-10-08T02:20:22.275Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-08T02:20:24.646Z] + git semver init [2023-10-08T02:20:24.906Z] 2023-10-08 02:20:24,812 [run_init] DEBUG init version:0.0.0 force:False [2023-10-08T02:20:24.906Z] 2023-10-08 02:20:24,812 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver [2023-10-08T02:20:24.906Z] 2023-10-08 02:20:24,813 [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-08T02:20:24.906Z] 2023-10-08 02:20:24,813 [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-08T02:20:25.853Z] 2023-10-08 02:20:25,695 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.git/info/exclude [2023-10-08T02:20:25.854Z] 2023-10-08 02:20:25,696 [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-08T02:20:25.854Z] 2023-10-08 02:20:25,696 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-10-08T02:20:25.854Z] 2023-10-08 02:20:25,700 [execute] INFO git cat-file --batch-check [2023-10-08T02:20:25.854Z] 2023-10-08 02:20:25,701 [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-08T02:20:25.854Z] 2023-10-08 02:20:25,707 [execute] INFO git cat-file --batch [2023-10-08T02:20:25.854Z] 2023-10-08 02:20:25,708 [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-08T02:20:25.854Z] 2023-10-08 02:20:25,713 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-10-08T02:20:25.854Z] 0.0.0 [Pipeline] } [2023-10-08T02:20:25.875Z] $ docker exec --env ******** --env ******** 1e287f81663d190b8261bcd2e8e3de7bc3240fa261b7b4b4c0ab8a882cb013e4 ssh-agent -k [2023-10-08T02:20:25.985Z] unset SSH_AUTH_SOCK; [2023-10-08T02:20:25.985Z] unset SSH_AGENT_PID; [2023-10-08T02:20:25.985Z] echo Agent pid 78 killed; [2023-10-08T02:20:25.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-08T02:20:26.327Z] + git semver [Pipeline] } [2023-10-08T02:20:26.608Z] $ docker stop --time=1 1e287f81663d190b8261bcd2e8e3de7bc3240fa261b7b4b4c0ab8a882cb013e4 [2023-10-08T02:20:27.941Z] $ docker rm -f --volumes 1e287f81663d190b8261bcd2e8e3de7bc3240fa261b7b4b4c0ab8a882cb013e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-08T02:20:28.307Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-08T02:20:28.542Z] Stashed 1 file(s) [Pipeline] echo [2023-10-08T02:20:28.545Z] [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-08T02:20:28.658Z] provisioning config files... [2023-10-08T02:20:28.666Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config15651995051021260002tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:20:28.962Z] ---> docker-login.sh [2023-10-08T02:20:28.962Z] nexus3.edgexfoundry.org:10001 [2023-10-08T02:20:28.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:20:28.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:20:28.962Z] Configure a credential helper to remove this warning. See [2023-10-08T02:20:28.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:20:28.962Z] [2023-10-08T02:20:28.962Z] Login Succeeded [2023-10-08T02:20:28.962Z] nexus3.edgexfoundry.org:10002 [2023-10-08T02:20:28.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:20:28.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:20:28.962Z] Configure a credential helper to remove this warning. See [2023-10-08T02:20:28.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:20:28.962Z] [2023-10-08T02:20:28.962Z] Login Succeeded [2023-10-08T02:20:29.220Z] nexus3.edgexfoundry.org:10003 [2023-10-08T02:20:29.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:20:29.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:20:29.220Z] Configure a credential helper to remove this warning. See [2023-10-08T02:20:29.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:20:29.220Z] [2023-10-08T02:20:29.220Z] Login Succeeded [2023-10-08T02:20:29.220Z] nexus3.edgexfoundry.org:10004 [2023-10-08T02:20:29.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:20:29.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:20:29.220Z] Configure a credential helper to remove this warning. See [2023-10-08T02:20:29.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:20:29.220Z] [2023-10-08T02:20:29.220Z] Login Succeeded [2023-10-08T02:20:29.220Z] docker.io [2023-10-08T02:20:29.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:20:29.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:20:29.751Z] Configure a credential helper to remove this warning. See [2023-10-08T02:20:29.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:20:29.751Z] [2023-10-08T02:20:29.751Z] Login Succeeded [2023-10-08T02:20:29.751Z] ---> docker-login.sh ends [Pipeline] } [2023-10-08T02:20:29.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-08T02:20:29.840Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-08T02:20:29.851Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-10-08T02:20:29.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-08T02:20:29.879Z] ========================================================= [2023-10-08T02:20:29.879Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-10-08T02:20:29.879Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-08T02:20:30.207Z] + 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-08T02:20:30.207Z] Sending build context to Docker daemon 4.944MB [2023-10-08T02:20:30.207Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-08T02:20:30.207Z] Step 2/21 : FROM ${BASE} as builder [2023-10-08T02:20:30.207Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-10-08T02:20:30.207Z] 91d30c5bc195: Pulling fs layer [2023-10-08T02:20:30.207Z] 316e5a4585fb: Pulling fs layer [2023-10-08T02:20:30.482Z] 91d30c5bc195: Verifying Checksum [2023-10-08T02:20:30.482Z] 91d30c5bc195: Download complete [2023-10-08T02:20:30.482Z] 91d30c5bc195: Pull complete [2023-10-08T02:20:31.428Z] 316e5a4585fb: Verifying Checksum [2023-10-08T02:20:31.428Z] 316e5a4585fb: Download complete [2023-10-08T02:20:33.987Z] 316e5a4585fb: Pull complete [2023-10-08T02:20:33.987Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-10-08T02:20:33.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-10-08T02:20:33.987Z] ---> e83ffa357ff4 [2023-10-08T02:20:33.987Z] 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-08T02:20:36.555Z] ---> Running in 564c3a02eaed [2023-10-08T02:20:36.817Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-08T02:20:37.084Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-08T02:20:37.084Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-08T02:20:37.084Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-08T02:20:37.350Z] Removing intermediate container 564c3a02eaed [2023-10-08T02:20:37.350Z] ---> fcfe59898649 [2023-10-08T02:20:37.350Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-08T02:20:37.350Z] ---> Running in fb214c77056c [2023-10-08T02:20:37.920Z] Removing intermediate container fb214c77056c [2023-10-08T02:20:37.920Z] ---> 79334148805d [2023-10-08T02:20:37.920Z] 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-08T02:20:37.920Z] ---> Running in 0f7dfcce1a32 [2023-10-08T02:20:38.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-08T02:20:38.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-08T02:20:38.711Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-08T02:20:39.294Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-08T02:20:39.294Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-08T02:20:39.294Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-08T02:20:39.294Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-08T02:20:39.294Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-08T02:20:39.294Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-08T02:20:39.878Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-08T02:20:39.878Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-08T02:20:39.878Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-08T02:20:40.155Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-08T02:20:40.155Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-08T02:20:40.726Z] (11/16) Installing libblkid (2.38-r1) [2023-10-08T02:20:40.726Z] (12/16) Installing libuuid (2.38-r1) [2023-10-08T02:20:40.726Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-08T02:20:40.726Z] (14/16) Installing libmount (2.38-r1) [2023-10-08T02:20:40.726Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-08T02:20:40.726Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-08T02:20:40.726Z] Executing busybox-1.35.0-r17.trigger [2023-10-08T02:20:40.726Z] OK: 280 MiB in 90 packages [2023-10-08T02:20:42.126Z] Removing intermediate container 0f7dfcce1a32 [2023-10-08T02:20:42.126Z] ---> 079724f57ff1 [2023-10-08T02:20:42.126Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-08T02:20:42.126Z] ---> Running in 157dc0bda26c [2023-10-08T02:20:42.696Z] Removing intermediate container 157dc0bda26c [2023-10-08T02:20:42.696Z] ---> 27a3f912d759 [2023-10-08T02:20:42.696Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-08T02:20:42.696Z] ---> 3adb22f50303 [2023-10-08T02:20:42.696Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-08T02:20:42.956Z] ---> 4638b4290131 [2023-10-08T02:20:42.956Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-08T02:20:43.217Z] ---> 262db790c393 [2023-10-08T02:20:43.217Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-08T02:20:43.217Z] ---> 486e5f161229 [2023-10-08T02:20:43.217Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-08T02:20:43.478Z] ---> 84e176d991b2 [2023-10-08T02:20:43.478Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-08T02:20:43.478Z] ---> de8c575702cd [2023-10-08T02:20:43.478Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-08T02:20:43.478Z] ---> Running in f662e864150a [2023-10-08T02:20:43.618Z] Still waiting to schedule task [2023-10-08T02:20:43.618Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8712’ [2023-10-08T02:20:43.738Z] + CPPCHECK=false [2023-10-08T02:20:43.738Z] + DOCGEN=false [2023-10-08T02:20:43.738Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-08T02:20:43.738Z] + '[' 0 -gt 0 ] [2023-10-08T02:20:43.738Z] + readlink -f ./scripts/build.sh [2023-10-08T02:20:43.738Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-08T02:20:43.738Z] + dirname /tmp/sdk/scripts [2023-10-08T02:20:43.738Z] + ROOT=/tmp/sdk [2023-10-08T02:20:43.738Z] + cd /tmp/sdk [2023-10-08T02:20:43.738Z] + mkdir -p /tmp/sdk/build/release [2023-10-08T02:20:43.738Z] + cd /tmp/sdk/build/release [2023-10-08T02:20:43.738Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-08T02:20:43.995Z] -- The C compiler identification is GNU 11.2.1 [2023-10-08T02:20:43.995Z] -- Detecting C compiler ABI info [2023-10-08T02:20:43.995Z] -- Detecting C compiler ABI info - done [2023-10-08T02:20:43.995Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-08T02:20:43.995Z] -- Detecting C compile features [2023-10-08T02:20:43.995Z] -- Detecting C compile features - done [2023-10-08T02:20:43.995Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-08T02:20:43.995Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-08T02:20:43.995Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-08T02:20:43.995Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-08T02:20:43.995Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-08T02:20:43.995Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-08T02:20:43.995Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-08T02:20:43.995Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-08T02:20:43.995Z] -- /opt/iotech/iot/1.5/include [2023-10-08T02:20:43.995Z] -- C SDK 0.0.0 for Linux [2023-10-08T02:20:43.995Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-08T02:20:44.255Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-08T02:20:44.255Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-08T02:20:44.255Z] -- Configuring done [2023-10-08T02:20:44.255Z] -- Generating done [2023-10-08T02:20:44.255Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-08T02:20:44.255Z] + make all package [2023-10-08T02:20:44.255Z] + tee release.log [2023-10-08T02:20:44.255Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-08T02:20:44.515Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-08T02:20:44.774Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-08T02:20:44.774Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-08T02:20:45.034Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-08T02:20:45.034Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-08T02:20:45.294Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-08T02:20:45.554Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-08T02:20:45.554Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-08T02:20:45.554Z] 294 | while (privateConfig) [2023-10-08T02:20:45.554Z] | ^~~~~~~~~~~~~ [2023-10-08T02:20:45.554Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-08T02:20:45.554Z] 271 | while (result) [2023-10-08T02:20:45.554Z] | ^~~~~~ [2023-10-08T02:20:45.554Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-08T02:20:45.554Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-08T02:20:45.814Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-08T02:20:46.080Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-08T02:20:46.340Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-08T02:20:46.340Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-08T02:20:46.600Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-08T02:20:46.600Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-08T02:20:46.859Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-08T02:20:46.859Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-08T02:20:47.425Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-08T02:20:47.425Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-08T02:20:47.425Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-08T02:20:47.684Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-08T02:20:48.621Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-08T02:20:48.621Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-08T02:20:48.879Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-08T02:20:48.879Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-08T02:20:48.879Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-08T02:20:49.137Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-08T02:20:49.706Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-08T02:20:49.706Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-08T02:20:49.965Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-08T02:20:49.965Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-08T02:20:49.965Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-08T02:20:49.965Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-08T02:20:49.965Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-10-08T02:20:49.965Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-08T02:20:49.965Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-08T02:20:49.965Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-10-08T02:20:49.965Z] | ^ [2023-10-08T02:20:50.224Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-08T02:20:50.224Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-10-08T02:20:50.224Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-08T02:20:50.484Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-08T02:20:50.484Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-08T02:20:50.743Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-08T02:20:50.743Z] [ 68%] Linking C shared library libcsdk.so [2023-10-08T02:20:50.743Z] [ 68%] Built target csdk [2023-10-08T02:20:50.743Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-08T02:20:51.003Z] [ 72%] Linking C executable template [2023-10-08T02:20:51.003Z] [ 72%] Built target template [2023-10-08T02:20:51.003Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-08T02:20:51.003Z] [ 76%] Linking C executable device-counter [2023-10-08T02:20:51.263Z] [ 76%] Built target device-counter [2023-10-08T02:20:51.263Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-08T02:20:51.263Z] [ 80%] Linking C executable device-random [2023-10-08T02:20:51.263Z] [ 80%] Built target device-random [2023-10-08T02:20:51.263Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-08T02:20:51.522Z] [ 84%] Linking C executable device-gyro [2023-10-08T02:20:51.522Z] [ 84%] Built target device-gyro [2023-10-08T02:20:51.522Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-08T02:20:51.781Z] [ 88%] Linking C executable device-bitfields [2023-10-08T02:20:51.781Z] [ 88%] Built target device-bitfields [2023-10-08T02:20:51.781Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-08T02:20:52.041Z] [ 92%] Linking C executable template-discovery [2023-10-08T02:20:52.041Z] [ 92%] Built target template-discovery [2023-10-08T02:20:52.041Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-08T02:20:52.041Z] [ 96%] Linking C executable device-file [2023-10-08T02:20:52.300Z] [ 96%] Built target device-file [2023-10-08T02:20:52.300Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-08T02:20:52.300Z] [100%] Linking C executable device-terminal [2023-10-08T02:20:52.300Z] [100%] Built target device-terminal [2023-10-08T02:20:52.300Z] Run CPack packaging tool... [2023-10-08T02:20:52.300Z] CPack: Create package using TGZ [2023-10-08T02:20:52.300Z] CPack: Install projects [2023-10-08T02:20:52.300Z] CPack: - Run preinstall target for: Csdk [2023-10-08T02:20:52.560Z] CPack: - Install project: Csdk [] [2023-10-08T02:20:52.560Z] CPack: Create package [2023-10-08T02:20:52.560Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-08T02:20:52.560Z] + '[' false '=' true ] [2023-10-08T02:20:52.560Z] + '[' false '=' true ] [2023-10-08T02:20:52.560Z] + mkdir -p /tmp/sdk/build/debug [2023-10-08T02:20:52.560Z] + cd /tmp/sdk/build/debug [2023-10-08T02:20:52.560Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-08T02:20:52.820Z] -- The C compiler identification is GNU 11.2.1 [2023-10-08T02:20:52.820Z] -- Detecting C compiler ABI info [2023-10-08T02:20:52.820Z] -- Detecting C compiler ABI info - done [2023-10-08T02:20:52.820Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-08T02:20:52.820Z] -- Detecting C compile features [2023-10-08T02:20:52.820Z] -- Detecting C compile features - done [2023-10-08T02:20:52.820Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-08T02:20:52.820Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-08T02:20:52.820Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-08T02:20:52.820Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-08T02:20:52.820Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-08T02:20:52.820Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-08T02:20:52.820Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-08T02:20:52.820Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-08T02:20:52.820Z] -- /opt/iotech/iot/1.5/include [2023-10-08T02:20:52.820Z] -- C SDK 0.0.0 for Linux [2023-10-08T02:20:52.820Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-08T02:20:53.078Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-08T02:20:53.078Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-08T02:20:53.078Z] -- Configuring done [2023-10-08T02:20:53.078Z] -- Generating done [2023-10-08T02:20:53.078Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-08T02:20:53.078Z] + tee debug.log [2023-10-08T02:20:53.079Z] + make [2023-10-08T02:20:53.079Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-08T02:20:53.338Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-08T02:20:53.338Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-08T02:20:53.338Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-08T02:20:53.338Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-08T02:20:53.597Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-08T02:20:53.597Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-08T02:20:53.856Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-08T02:20:53.856Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-08T02:20:53.856Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-08T02:20:54.115Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-08T02:20:54.115Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-08T02:20:54.115Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-08T02:20:54.115Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-08T02:20:54.373Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-08T02:20:54.373Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-08T02:20:54.373Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-08T02:20:54.633Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-08T02:20:54.633Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-08T02:20:54.633Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-08T02:20:54.892Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-08T02:20:55.153Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-08T02:20:55.153Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-08T02:20:55.153Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-08T02:20:55.153Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-08T02:20:55.412Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-08T02:20:55.412Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-08T02:20:55.675Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-08T02:20:55.675Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-08T02:20:55.675Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-08T02:20:55.936Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-08T02:20:55.936Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-08T02:20:55.936Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-08T02:20:55.936Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-10-08T02:20:55.936Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-08T02:20:55.936Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-08T02:20:55.936Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-10-08T02:20:55.936Z] | ^ [2023-10-08T02:20:55.936Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-08T02:20:56.195Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-08T02:20:56.195Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-08T02:20:56.195Z] [ 68%] Linking C shared library libcsdk.so [2023-10-08T02:20:56.195Z] [ 68%] Built target csdk [2023-10-08T02:20:56.195Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-08T02:20:56.455Z] [ 72%] Linking C executable template [2023-10-08T02:20:56.455Z] [ 72%] Built target template [2023-10-08T02:20:56.455Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-08T02:20:56.455Z] [ 76%] Linking C executable device-counter [2023-10-08T02:20:56.713Z] [ 76%] Built target device-counter [2023-10-08T02:20:56.713Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-08T02:20:56.713Z] [ 80%] Linking C executable device-random [2023-10-08T02:20:56.713Z] [ 80%] Built target device-random [2023-10-08T02:20:56.713Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-08T02:20:56.713Z] [ 84%] Linking C executable device-gyro [2023-10-08T02:20:56.972Z] [ 84%] Built target device-gyro [2023-10-08T02:20:56.972Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-08T02:20:56.972Z] [ 88%] Linking C executable device-bitfields [2023-10-08T02:20:56.972Z] [ 88%] Built target device-bitfields [2023-10-08T02:20:56.972Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-08T02:20:57.231Z] [ 92%] Linking C executable template-discovery [2023-10-08T02:20:57.231Z] [ 92%] Built target template-discovery [2023-10-08T02:20:57.231Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-08T02:20:57.231Z] [ 96%] Linking C executable device-file [2023-10-08T02:20:57.231Z] [ 96%] Built target device-file [2023-10-08T02:20:57.231Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-08T02:20:57.490Z] [100%] Linking C executable device-terminal [2023-10-08T02:20:57.490Z] [100%] Built target device-terminal [2023-10-08T02:20:57.490Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.490Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.490Z] [ 68%] Built target csdk [2023-10-08T02:20:57.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.490Z] [ 72%] Built target template [2023-10-08T02:20:57.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.490Z] [ 76%] Built target device-counter [2023-10-08T02:20:57.490Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.490Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.490Z] [ 80%] Built target device-random [2023-10-08T02:20:57.749Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] [ 84%] Built target device-gyro [2023-10-08T02:20:57.749Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] [ 88%] Built target device-bitfields [2023-10-08T02:20:57.749Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] [ 92%] Built target template-discovery [2023-10-08T02:20:57.749Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] [ 96%] Built target device-file [2023-10-08T02:20:57.749Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] [100%] Built target device-terminal [2023-10-08T02:20:57.749Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:57.749Z] Install the project... [2023-10-08T02:20:57.749Z] -- Install configuration: "Release" [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-08T02:20:57.749Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include/devsdk [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include/edgex [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-08T02:20:57.749Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-08T02:20:57.749Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:20:58.317Z] Removing intermediate container f662e864150a [2023-10-08T02:20:58.317Z] ---> ae007e5d4f08 [2023-10-08T02:20:58.317Z] Step 14/21 : FROM ${BASE} [2023-10-08T02:20:58.317Z] ---> e83ffa357ff4 [2023-10-08T02:20:58.317Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-08T02:20:58.317Z] ---> Running in fb498015b7d2 [2023-10-08T02:20:58.576Z] Removing intermediate container fb498015b7d2 [2023-10-08T02:20:58.576Z] ---> 0a31ba64d760 [2023-10-08T02:20:58.576Z] 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-08T02:20:58.576Z] ---> Running in 38d043f83ee8 [2023-10-08T02:20:58.834Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-08T02:20:59.094Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-08T02:20:59.094Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-08T02:20:59.094Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-08T02:20:59.353Z] Removing intermediate container 38d043f83ee8 [2023-10-08T02:20:59.353Z] ---> 44ec3529bff3 [2023-10-08T02:20:59.353Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-08T02:20:59.353Z] ---> Running in 1f0b234d9486 [2023-10-08T02:20:59.920Z] Removing intermediate container 1f0b234d9486 [2023-10-08T02:20:59.920Z] ---> a58a91afe8a8 [2023-10-08T02:20:59.920Z] 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-08T02:20:59.920Z] ---> Running in da796383e230 [2023-10-08T02:21:00.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-08T02:21:00.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-08T02:21:00.698Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-08T02:21:01.266Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-08T02:21:01.266Z] (1/7) Installing curl (8.3.0-r0) [2023-10-08T02:21:01.266Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-08T02:21:01.266Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-08T02:21:01.266Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-08T02:21:01.834Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-08T02:21:01.834Z] (6/7) Installing libuuid (2.38-r1) [2023-10-08T02:21:01.834Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-08T02:21:02.777Z] Executing busybox-1.35.0-r17.trigger [2023-10-08T02:21:02.777Z] OK: 276 MiB in 83 packages [2023-10-08T02:21:03.037Z] Removing intermediate container da796383e230 [2023-10-08T02:21:03.037Z] ---> 9459ca4bd309 [2023-10-08T02:21:03.037Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-08T02:21:03.300Z] ---> 18b3ab8eed26 [2023-10-08T02:21:03.300Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-08T02:21:03.560Z] ---> 2b990a4214d6 [2023-10-08T02:21:03.560Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-08T02:21:03.560Z] ---> f4eed51aaf3e [2023-10-08T02:21:03.560Z] Successfully built f4eed51aaf3e [2023-10-08T02:21:03.560Z] 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-08T02:21:03.934Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-08T02:21:03.934Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-08T02:21:04.002Z] prd-ubuntu20.04-docker-8c-8g-8714 does not seem to be running inside a container [2023-10-08T02:21:04.038Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2023-10-08T02:21:04.371Z] $ docker top c560e5a2084b2e3ab6716e07718809968a49ab68841ee91800aae4d3ebf363d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-08T02:21:04.710Z] + make test [2023-10-08T02:21:04.710Z] echo "make test" [2023-10-08T02:21:04.710Z] make test [Pipeline] } [2023-10-08T02:21:04.727Z] $ docker stop --time=1 c560e5a2084b2e3ab6716e07718809968a49ab68841ee91800aae4d3ebf363d2 [2023-10-08T02:21:06.005Z] $ docker rm -f --volumes c560e5a2084b2e3ab6716e07718809968a49ab68841ee91800aae4d3ebf363d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-08T02:21:06.610Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-08T02:21:06.891Z] + ls -al . [2023-10-08T02:21:06.891Z] total 212 [2023-10-08T02:21:06.891Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 8 02:20 . [2023-10-08T02:21:06.891Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 02:19 .. [2023-10-08T02:21:06.891Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 02:20 .git [2023-10-08T02:21:06.891Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 02:19 .github [2023-10-08T02:21:06.891Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 8 02:19 .gitignore [2023-10-08T02:21:06.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 02:20 .semver [2023-10-08T02:21:06.891Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 8 02:19 Attribution.txt [2023-10-08T02:21:06.891Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 8 02:19 CHANGES [2023-10-08T02:21:06.891Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 8 02:19 Doxyfile [2023-10-08T02:21:06.891Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 02:19 GOVERNANCE.md [2023-10-08T02:21:06.891Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 8 02:19 Jenkinsfile [2023-10-08T02:21:06.891Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 8 02:19 LICENSE [2023-10-08T02:21:06.891Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 8 02:19 Makefile [2023-10-08T02:21:06.892Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 8 02:19 OWNERS.md [2023-10-08T02:21:06.892Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 8 02:19 README.IOT.md [2023-10-08T02:21:06.892Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 8 02:19 README.md [2023-10-08T02:21:06.892Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 8 02:19 README.v3.md [2023-10-08T02:21:06.892Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 02:20 VERSION [2023-10-08T02:21:06.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 02:19 docs [2023-10-08T02:21:06.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 02:19 include [2023-10-08T02:21:06.892Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 02:19 scripts [2023-10-08T02:21:06.892Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 02:19 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-08T02:21:07.204Z] + 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=ca04866706d2c2069bbe278653aa434b152d5da0 --label arch=amd64 --label version=0.0.0 . [2023-10-08T02:21:07.204Z] Sending build context to Docker daemon 4.944MB [2023-10-08T02:21:07.204Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-08T02:21:07.204Z] Step 2/17 : FROM ${BASE} [2023-10-08T02:21:07.204Z] ---> f4eed51aaf3e [2023-10-08T02:21:07.204Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-08T02:21:07.204Z] ---> Running in 6fe3835ee4fd [2023-10-08T02:21:07.204Z] Removing intermediate container 6fe3835ee4fd [2023-10-08T02:21:07.204Z] ---> 519404c76ec2 [2023-10-08T02:21:07.204Z] 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-08T02:21:07.204Z] ---> Running in 150e97d7db89 [2023-10-08T02:21:07.771Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-10-08T02:21:08.031Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-08T02:21:08.031Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-08T02:21:08.031Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-08T02:21:08.290Z] Removing intermediate container 150e97d7db89 [2023-10-08T02:21:08.290Z] ---> 2fdc50e188e6 [2023-10-08T02:21:08.290Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-08T02:21:08.290Z] ---> Running in 6ce97f998e54 [2023-10-08T02:21:08.858Z] Removing intermediate container 6ce97f998e54 [2023-10-08T02:21:08.858Z] ---> abc6036201a7 [2023-10-08T02:21:08.858Z] 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-08T02:21:08.858Z] ---> Running in 244c564f6eb9 [2023-10-08T02:21:09.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-08T02:21:09.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-10-08T02:21:09.116Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-10-08T02:21:09.682Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-08T02:21:09.682Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-08T02:21:09.682Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-08T02:21:09.941Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-08T02:21:10.508Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-08T02:21:10.508Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-08T02:21:10.508Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-08T02:21:10.767Z] (7/11) Installing libblkid (2.38-r1) [2023-10-08T02:21:10.767Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-08T02:21:10.767Z] (9/11) Installing libmount (2.38-r1) [2023-10-08T02:21:10.767Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-08T02:21:10.767Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-08T02:21:10.767Z] Executing busybox-1.35.0-r17.trigger [2023-10-08T02:21:10.767Z] OK: 281 MiB in 92 packages [2023-10-08T02:21:11.716Z] Removing intermediate container 244c564f6eb9 [2023-10-08T02:21:11.716Z] ---> 16aa848d7a55 [2023-10-08T02:21:11.716Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-08T02:21:11.975Z] ---> d2b4ec6333c6 [2023-10-08T02:21:11.975Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-08T02:21:12.237Z] ---> 3969b1a7c065 [2023-10-08T02:21:12.237Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-08T02:21:12.496Z] ---> 56cd4c40f30a [2023-10-08T02:21:12.496Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-08T02:21:13.067Z] ---> 606d579ebc87 [2023-10-08T02:21:13.067Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-08T02:21:13.325Z] ---> df0242a97de0 [2023-10-08T02:21:13.325Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-08T02:21:13.583Z] ---> 039607fc7a35 [2023-10-08T02:21:13.583Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-08T02:21:13.842Z] ---> Running in a23ef448249d [2023-10-08T02:21:14.101Z] Removing intermediate container a23ef448249d [2023-10-08T02:21:14.102Z] ---> 324b359b7b2c [2023-10-08T02:21:14.102Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-08T02:21:14.361Z] ---> Running in b5cf8fcec502 [2023-10-08T02:21:14.621Z] Removing intermediate container b5cf8fcec502 [2023-10-08T02:21:14.621Z] ---> 705e0612954e [2023-10-08T02:21:14.621Z] Step 15/17 : LABEL arch=amd64 [2023-10-08T02:21:14.878Z] ---> Running in 2665ccdb5e70 [2023-10-08T02:21:15.137Z] Removing intermediate container 2665ccdb5e70 [2023-10-08T02:21:15.137Z] ---> e638bdcb5a38 [2023-10-08T02:21:15.137Z] Step 16/17 : LABEL git_sha=ca04866706d2c2069bbe278653aa434b152d5da0 [2023-10-08T02:21:15.137Z] ---> Running in 5c356e68786f [2023-10-08T02:21:15.137Z] Removing intermediate container 5c356e68786f [2023-10-08T02:21:15.137Z] ---> 77fb7320d73a [2023-10-08T02:21:15.137Z] Step 17/17 : LABEL version=0.0.0 [2023-10-08T02:21:15.137Z] ---> Running in 19131c4bef0e [2023-10-08T02:21:15.396Z] Removing intermediate container 19131c4bef0e [2023-10-08T02:21:15.396Z] ---> 4993d66709cc [2023-10-08T02:21:15.396Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-08T02:21:15.396Z] Successfully built 4993d66709cc [2023-10-08T02:21:15.396Z] 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-08T02:21:15.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-08T02:21:15.836Z] [2023-10-08T02:21:15.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-08T02:21:16.124Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-08T02:21:16.124Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-08T02:21:16.124Z] 5eb5b503b376: Pulling fs layer [2023-10-08T02:21:16.124Z] 5c69ac0246d0: Pulling fs layer [2023-10-08T02:21:16.124Z] ec43610c2a17: Pulling fs layer [2023-10-08T02:21:16.124Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-08T02:21:16.124Z] 33b1e0a273af: Pulling fs layer [2023-10-08T02:21:16.124Z] 5d3b04190fa2: Pulling fs layer [2023-10-08T02:21:16.124Z] 2f39f015ded8: Pulling fs layer [2023-10-08T02:21:16.124Z] 3a2ae6a8a46f: Waiting [2023-10-08T02:21:16.124Z] 5d3b04190fa2: Waiting [2023-10-08T02:21:16.124Z] 2f39f015ded8: Waiting [2023-10-08T02:21:16.124Z] 33b1e0a273af: Waiting [2023-10-08T02:21:16.124Z] 5c69ac0246d0: Download complete [2023-10-08T02:21:16.124Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-08T02:21:16.124Z] 3a2ae6a8a46f: Download complete [2023-10-08T02:21:16.124Z] 33b1e0a273af: Verifying Checksum [2023-10-08T02:21:16.124Z] 33b1e0a273af: Download complete [2023-10-08T02:21:16.124Z] ec43610c2a17: Verifying Checksum [2023-10-08T02:21:16.124Z] ec43610c2a17: Download complete [2023-10-08T02:21:16.381Z] 5d3b04190fa2: Verifying Checksum [2023-10-08T02:21:16.381Z] 5d3b04190fa2: Download complete [2023-10-08T02:21:16.381Z] 5eb5b503b376: Verifying Checksum [2023-10-08T02:21:16.381Z] 5eb5b503b376: Download complete [2023-10-08T02:21:16.957Z] 2f39f015ded8: Download complete [2023-10-08T02:21:17.524Z] 5eb5b503b376: Pull complete [2023-10-08T02:21:17.782Z] 5c69ac0246d0: Pull complete [2023-10-08T02:21:18.349Z] ec43610c2a17: Pull complete [2023-10-08T02:21:18.349Z] 3a2ae6a8a46f: Pull complete [2023-10-08T02:21:18.607Z] 33b1e0a273af: Pull complete [2023-10-08T02:21:18.607Z] 5d3b04190fa2: Pull complete [2023-10-08T02:21:22.789Z] 2f39f015ded8: Pull complete [2023-10-08T02:21:22.789Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-08T02:21:22.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-08T02:21:22.789Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-08T02:21:22.882Z] prd-ubuntu20.04-docker-8c-8g-8714 does not seem to be running inside a container [2023-10-08T02:21:22.919Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-08T02:21:27.955Z] $ docker top e8981890df3e79c93ed9e046f259e411fd18f68d5a4d65c966ebf8b904feb501 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:21:28.333Z] ---> job-cost.sh [2023-10-08T02:21:28.333Z] lf-activate-venv: SKIPPING [2023-10-08T02:21:28.333Z] INFO: No Stack... [2023-10-08T02:21:28.593Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-08T02:21:28.852Z] INFO: Archiving Costs [Pipeline] sh [2023-10-08T02:21:29.138Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/cost.csv [2023-10-08T02:21:29.138Z] + cut -d, -f6 [Pipeline] lock [2023-10-08T02:21:29.151Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-9-stack-cost] [2023-10-08T02:21:29.157Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-9-stack-cost] did not exist. Created. [2023-10-08T02:21:29.157Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-08T02:21:29.454Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-08T02:21:29.498Z] Stashed 1 file(s) [Pipeline] } [2023-10-08T02:21:29.505Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-08T02:21:29.528Z] $ docker stop --time=1 e8981890df3e79c93ed9e046f259e411fd18f68d5a4d65c966ebf8b904feb501 [2023-10-08T02:21:30.680Z] $ docker rm -f --volumes e8981890df3e79c93ed9e046f259e411fd18f68d5a4d65c966ebf8b904feb501 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-08T02:24:27.588Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8715 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [Pipeline] { [Pipeline] ws [2023-10-08T02:24:27.597Z] Running in /w/workspace/device-sdk-c/9 [Pipeline] { [Pipeline] checkout [2023-10-08T02:24:27.630Z] Selected Git installation does not exist. Using Default [2023-10-08T02:24:27.630Z] The recommended git tool is: NONE [2023-10-08T02:24:33.172Z] using credential edgex-jenkins-ssh [2023-10-08T02:24:33.189Z] Cloning the remote Git repository [2023-10-08T02:24:33.233Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-10-08T02:24:33.333Z] > git init /w/workspace/device-sdk-c/9 # timeout=10 [2023-10-08T02:24:33.492Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-08T02:24:33.493Z] > git --version # timeout=10 [2023-10-08T02:24:33.518Z] > git --version # 'git version 2.25.1' [2023-10-08T02:24:33.521Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-08T02:24:33.675Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-08T02:24:34.793Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-08T02:24:34.816Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-08T02:24:36.434Z] Merging remotes/origin/main commit 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 into PR head commit ca04866706d2c2069bbe278653aa434b152d5da0 [2023-10-08T02:24:35.707Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-10-08T02:24:35.751Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-10-08T02:24:35.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-08T02:24:35.771Z] > 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-08T02:24:36.450Z] > git config core.sparsecheckout # timeout=10 [2023-10-08T02:24:36.523Z] > git checkout -f ca04866706d2c2069bbe278653aa434b152d5da0 # timeout=10 [2023-10-08T02:24:36.776Z] Merge succeeded, producing ca04866706d2c2069bbe278653aa434b152d5da0 [2023-10-08T02:24:36.776Z] Checking out Revision ca04866706d2c2069bbe278653aa434b152d5da0 (PR-486) [2023-10-08T02:24:36.656Z] > git remote # timeout=10 [2023-10-08T02:24:36.675Z] > git config --get remote.origin.url # timeout=10 [2023-10-08T02:24:36.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-08T02:24:36.724Z] > git merge 4c52de37db7d3bd0277fba2739b75d0a1bd475b3 # timeout=10 [2023-10-08T02:24:36.755Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-08T02:24:36.781Z] > git config core.sparsecheckout # timeout=10 [2023-10-08T02:24:36.798Z] > git checkout -f ca04866706d2c2069bbe278653aa434b152d5da0 # timeout=10 [2023-10-08T02:24:40.341Z] 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-08T02:24:41.413Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-08T02:24:41.413Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-08T02:24:41.413Z] Dload Upload Total Spent Left Speed [2023-10-08T02:24:41.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-10-08T02:24:42.184Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-08T02:24:42.530Z] + sudo tee /etc/docker/daemon.new [2023-10-08T02:24:42.530Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-08T02:24:42.530Z] { [2023-10-08T02:24:42.530Z] "registry-mirrors": [ [2023-10-08T02:24:42.530Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-08T02:24:42.530Z] ], [2023-10-08T02:24:42.530Z] "bip": "10.250.0.254/24", [2023-10-08T02:24:42.530Z] "hosts": [ [2023-10-08T02:24:42.530Z] "tcp://0.0.0.0:5555", [2023-10-08T02:24:42.530Z] "unix:///var/run/docker.sock" [2023-10-08T02:24:42.530Z] ], [2023-10-08T02:24:42.530Z] "mtu": 1458, [2023-10-08T02:24:42.530Z] "selinux-enabled": true, [2023-10-08T02:24:42.530Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-08T02:24:42.530Z] } [Pipeline] sh [2023-10-08T02:24:42.878Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-08T02:24:43.211Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-08T02:25:01.515Z] provisioning config files... [2023-10-08T02:25:01.544Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/9@tmp/config4299228560639660036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:25:01.914Z] ---> docker-login.sh [2023-10-08T02:25:01.914Z] nexus3.edgexfoundry.org:10001 [2023-10-08T02:25:02.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:25:02.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:25:02.501Z] Configure a credential helper to remove this warning. See [2023-10-08T02:25:02.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:25:02.501Z] [2023-10-08T02:25:02.501Z] Login Succeeded [2023-10-08T02:25:02.501Z] nexus3.edgexfoundry.org:10002 [2023-10-08T02:25:02.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:25:03.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:25:03.053Z] Configure a credential helper to remove this warning. See [2023-10-08T02:25:03.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:25:03.053Z] [2023-10-08T02:25:03.053Z] Login Succeeded [2023-10-08T02:25:03.053Z] nexus3.edgexfoundry.org:10003 [2023-10-08T02:25:03.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:25:03.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:25:03.323Z] Configure a credential helper to remove this warning. See [2023-10-08T02:25:03.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:25:03.323Z] [2023-10-08T02:25:03.323Z] Login Succeeded [2023-10-08T02:25:03.323Z] nexus3.edgexfoundry.org:10004 [2023-10-08T02:25:03.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:25:03.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:25:03.595Z] Configure a credential helper to remove this warning. See [2023-10-08T02:25:03.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:25:03.595Z] [2023-10-08T02:25:03.595Z] Login Succeeded [2023-10-08T02:25:03.868Z] docker.io [2023-10-08T02:25:03.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-08T02:25:04.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-08T02:25:04.459Z] Configure a credential helper to remove this warning. See [2023-10-08T02:25:04.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-08T02:25:04.459Z] [2023-10-08T02:25:04.459Z] Login Succeeded [2023-10-08T02:25:04.459Z] ---> docker-login.sh ends [Pipeline] } [2023-10-08T02:25:04.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-08T02:25:04.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-08T02:25:04.769Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-10-08T02:25:04.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-08T02:25:04.794Z] ========================================================= [2023-10-08T02:25:04.794Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-10-08T02:25:04.794Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-08T02:25:05.137Z] + 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-08T02:25:05.408Z] Sending build context to Docker daemon 2.973MB [2023-10-08T02:25:05.678Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-10-08T02:25:05.678Z] Step 2/21 : FROM ${BASE} as builder [2023-10-08T02:25:05.678Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-10-08T02:25:05.678Z] 547446be3368: Pulling fs layer [2023-10-08T02:25:05.678Z] 76bd08e1cacc: Pulling fs layer [2023-10-08T02:25:05.961Z] 547446be3368: Verifying Checksum [2023-10-08T02:25:05.961Z] 547446be3368: Download complete [2023-10-08T02:25:06.555Z] 547446be3368: Pull complete [2023-10-08T02:25:07.981Z] 76bd08e1cacc: Verifying Checksum [2023-10-08T02:25:07.981Z] 76bd08e1cacc: Download complete [2023-10-08T02:25:17.200Z] 76bd08e1cacc: Pull complete [2023-10-08T02:25:17.200Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-10-08T02:25:17.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-10-08T02:25:17.200Z] ---> 295cd00e64f4 [2023-10-08T02:25:17.200Z] 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-08T02:25:17.472Z] ---> Running in 9ef332152893 [2023-10-08T02:25:18.437Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-08T02:25:19.025Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-08T02:25:19.025Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-08T02:25:19.025Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-08T02:25:22.966Z] Removing intermediate container 9ef332152893 [2023-10-08T02:25:22.966Z] ---> 67526e8ad870 [2023-10-08T02:25:22.966Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-08T02:25:22.966Z] ---> Running in 0113d23c0eeb [2023-10-08T02:25:24.378Z] Removing intermediate container 0113d23c0eeb [2023-10-08T02:25:24.378Z] ---> b29e8d2d31b3 [2023-10-08T02:25:24.378Z] 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-08T02:25:24.378Z] ---> Running in 769b6f9c3405 [2023-10-08T02:25:25.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-08T02:25:25.340Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-08T02:25:25.929Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-08T02:25:26.890Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-08T02:25:26.890Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-08T02:25:26.890Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-08T02:25:26.890Z] (3/16) Installing hiredis (1.0.2-r0) [2023-10-08T02:25:26.890Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-10-08T02:25:27.159Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-08T02:25:27.745Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-08T02:25:28.015Z] (7/16) Installing libcbor (0.9.0-r1) [2023-10-08T02:25:28.015Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-10-08T02:25:28.015Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-08T02:25:28.015Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-08T02:25:28.981Z] (11/16) Installing libblkid (2.38-r1) [2023-10-08T02:25:28.981Z] (12/16) Installing libuuid (2.38-r1) [2023-10-08T02:25:28.981Z] (13/16) Installing libfdisk (2.38-r1) [2023-10-08T02:25:28.981Z] (14/16) Installing libmount (2.38-r1) [2023-10-08T02:25:28.981Z] (15/16) Installing libsmartcols (2.38-r1) [2023-10-08T02:25:28.981Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-10-08T02:25:28.981Z] Executing busybox-1.35.0-r17.trigger [2023-10-08T02:25:29.251Z] OK: 286 MiB in 90 packages [2023-10-08T02:25:30.670Z] Removing intermediate container 769b6f9c3405 [2023-10-08T02:25:30.670Z] ---> f5b9767d3ac6 [2023-10-08T02:25:30.670Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-10-08T02:25:30.670Z] ---> Running in 674d3417e718 [2023-10-08T02:25:32.630Z] Removing intermediate container 674d3417e718 [2023-10-08T02:25:32.630Z] ---> 0fc40ba9a579 [2023-10-08T02:25:32.630Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-10-08T02:25:32.900Z] ---> c0d5262cf8ec [2023-10-08T02:25:32.900Z] Step 8/21 : COPY src /tmp/sdk/src [2023-10-08T02:25:33.882Z] ---> 09e667ec6b6f [2023-10-08T02:25:33.882Z] Step 9/21 : COPY include /tmp/sdk/include [2023-10-08T02:25:34.467Z] ---> fa723816218d [2023-10-08T02:25:34.467Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-10-08T02:25:36.415Z] ---> 209b9f2b85c7 [2023-10-08T02:25:36.415Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-10-08T02:25:36.682Z] ---> f55886ae2340 [2023-10-08T02:25:36.682Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-10-08T02:25:37.264Z] ---> 5627e9798043 [2023-10-08T02:25:37.264Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-10-08T02:25:37.264Z] ---> Running in aaacbe4fa5bb [2023-10-08T02:25:38.227Z] + CPPCHECK=false [2023-10-08T02:25:38.227Z] + DOCGEN=false [2023-10-08T02:25:38.227Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-10-08T02:25:38.227Z] + '[' 0 -gt 0 ] [2023-10-08T02:25:38.227Z] + readlink -f ./scripts/build.sh [2023-10-08T02:25:38.227Z] + dirname /tmp/sdk/scripts/build.sh [2023-10-08T02:25:38.227Z] + dirname /tmp/sdk/scripts [2023-10-08T02:25:38.227Z] + ROOT=/tmp/sdk [2023-10-08T02:25:38.227Z] + cd /tmp/sdk [2023-10-08T02:25:38.227Z] + mkdir -p /tmp/sdk/build/release [2023-10-08T02:25:38.227Z] + cd /tmp/sdk/build/release [2023-10-08T02:25:38.228Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-10-08T02:25:38.495Z] -- The C compiler identification is GNU 11.2.1 [2023-10-08T02:25:38.762Z] -- Detecting C compiler ABI info [2023-10-08T02:25:39.031Z] -- Detecting C compiler ABI info - done [2023-10-08T02:25:39.031Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-08T02:25:39.031Z] -- Detecting C compile features [2023-10-08T02:25:39.031Z] -- Detecting C compile features - done [2023-10-08T02:25:39.031Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-08T02:25:39.299Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-08T02:25:39.299Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-08T02:25:39.299Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-08T02:25:39.299Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-08T02:25:39.299Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-08T02:25:39.299Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-08T02:25:39.567Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-08T02:25:39.567Z] -- /opt/iotech/iot/1.5/include [2023-10-08T02:25:39.567Z] -- C SDK 0.0.0 for Linux [2023-10-08T02:25:39.567Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-08T02:25:39.834Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-08T02:25:39.834Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-08T02:25:40.102Z] -- Configuring done [2023-10-08T02:25:40.686Z] -- Generating done [2023-10-08T02:25:40.686Z] -- Build files have been written to: /tmp/sdk/build/release [2023-10-08T02:25:40.686Z] + make all package [2023-10-08T02:25:40.686Z] + tee release.log [2023-10-08T02:25:40.686Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-08T02:25:42.109Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-08T02:25:43.086Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-08T02:25:44.047Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-08T02:25:45.457Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-08T02:25:46.042Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-08T02:25:49.398Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-08T02:25:50.360Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-10-08T02:25:50.360Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-08T02:25:50.360Z] 294 | while (privateConfig) [2023-10-08T02:25:50.360Z] | ^~~~~~~~~~~~~ [2023-10-08T02:25:50.360Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-08T02:25:50.360Z] 271 | while (result) [2023-10-08T02:25:50.360Z] | ^~~~~~ [2023-10-08T02:25:50.626Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-08T02:25:50.893Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-08T02:25:52.302Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-08T02:25:54.239Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-08T02:25:55.196Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-08T02:25:56.152Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-08T02:25:57.107Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-08T02:25:57.373Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-08T02:25:58.778Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-08T02:25:59.047Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-08T02:26:01.628Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-08T02:26:01.896Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-08T02:26:02.855Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-08T02:26:04.265Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-08T02:26:10.918Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-08T02:26:11.185Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-08T02:26:11.770Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-08T02:26:12.357Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-08T02:26:12.942Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-08T02:26:15.535Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-08T02:26:19.807Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-08T02:26:20.394Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-08T02:26:21.804Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-08T02:26:22.775Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-08T02:26:23.363Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-08T02:26:23.363Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-08T02:26:23.363Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-10-08T02:26:23.363Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-08T02:26:23.363Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-08T02:26:23.363Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-10-08T02:26:23.363Z] | ^ [2023-10-08T02:26:25.954Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-10-08T02:26:25.954Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-10-08T02:26:25.954Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-08T02:26:27.906Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-08T02:26:29.318Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-08T02:26:29.585Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-08T02:26:32.173Z] [ 68%] Linking C shared library libcsdk.so [2023-10-08T02:26:32.173Z] [ 68%] Built target csdk [2023-10-08T02:26:32.458Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-08T02:26:33.897Z] [ 72%] Linking C executable template [2023-10-08T02:26:34.485Z] [ 72%] Built target template [2023-10-08T02:26:34.485Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-08T02:26:35.454Z] [ 76%] Linking C executable device-counter [2023-10-08T02:26:35.725Z] [ 76%] Built target device-counter [2023-10-08T02:26:35.725Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-08T02:26:36.692Z] [ 80%] Linking C executable device-random [2023-10-08T02:26:37.279Z] [ 80%] Built target device-random [2023-10-08T02:26:37.279Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-08T02:26:38.244Z] [ 84%] Linking C executable device-gyro [2023-10-08T02:26:38.514Z] [ 84%] Built target device-gyro [2023-10-08T02:26:38.514Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-08T02:26:39.484Z] [ 88%] Linking C executable device-bitfields [2023-10-08T02:26:39.754Z] [ 88%] Built target device-bitfields [2023-10-08T02:26:40.022Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-08T02:26:41.429Z] [ 92%] Linking C executable template-discovery [2023-10-08T02:26:41.429Z] [ 92%] Built target template-discovery [2023-10-08T02:26:41.429Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-08T02:26:42.393Z] [ 96%] Linking C executable device-file [2023-10-08T02:26:42.662Z] [ 96%] Built target device-file [2023-10-08T02:26:42.662Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-08T02:26:43.620Z] [100%] Linking C executable device-terminal [2023-10-08T02:26:43.885Z] [100%] Built target device-terminal [2023-10-08T02:26:43.885Z] Run CPack packaging tool... [2023-10-08T02:26:43.885Z] CPack: Create package using TGZ [2023-10-08T02:26:43.885Z] CPack: Install projects [2023-10-08T02:26:43.885Z] CPack: - Run preinstall target for: Csdk [2023-10-08T02:26:46.316Z] CPack: - Install project: Csdk [] [2023-10-08T02:26:46.316Z] CPack: Create package [2023-10-08T02:26:46.316Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-10-08T02:26:46.316Z] + '[' false '=' true ] [2023-10-08T02:26:46.316Z] + '[' false '=' true ] [2023-10-08T02:26:46.316Z] + mkdir -p /tmp/sdk/build/debug [2023-10-08T02:26:46.316Z] + cd /tmp/sdk/build/debug [2023-10-08T02:26:46.316Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-10-08T02:26:46.316Z] -- The C compiler identification is GNU 11.2.1 [2023-10-08T02:26:46.316Z] -- Detecting C compiler ABI info [2023-10-08T02:26:46.316Z] -- Detecting C compiler ABI info - done [2023-10-08T02:26:46.316Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-10-08T02:26:46.316Z] -- Detecting C compile features [2023-10-08T02:26:46.316Z] -- Detecting C compile features - done [2023-10-08T02:26:46.316Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-10-08T02:26:46.316Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-10-08T02:26:46.316Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-10-08T02:26:46.316Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-10-08T02:26:46.316Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-10-08T02:26:46.316Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-10-08T02:26:46.316Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-10-08T02:26:46.584Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-10-08T02:26:46.584Z] -- /opt/iotech/iot/1.5/include [2023-10-08T02:26:46.584Z] -- C SDK 0.0.0 for Linux [2023-10-08T02:26:46.584Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-10-08T02:26:46.852Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-10-08T02:26:46.852Z] -- Found Curses: /usr/lib/libcurses.so [2023-10-08T02:26:47.118Z] -- Configuring done [2023-10-08T02:26:47.384Z] -- Generating done [2023-10-08T02:26:47.384Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-10-08T02:26:47.384Z] + + maketee [2023-10-08T02:26:47.384Z] debug.log [2023-10-08T02:26:47.651Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-10-08T02:26:48.233Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-10-08T02:26:48.813Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-10-08T02:26:49.079Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-10-08T02:26:49.661Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-10-08T02:26:50.243Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-10-08T02:26:51.649Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-10-08T02:26:51.917Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-10-08T02:26:52.183Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-10-08T02:26:53.153Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-10-08T02:26:54.113Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-10-08T02:26:54.378Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-10-08T02:26:55.340Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-10-08T02:26:55.608Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-10-08T02:26:56.192Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-10-08T02:26:56.776Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-10-08T02:26:57.041Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-10-08T02:26:58.002Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-10-08T02:26:58.584Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-10-08T02:26:58.852Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-10-08T02:26:59.434Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-10-08T02:27:00.838Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-10-08T02:27:01.421Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-10-08T02:27:01.687Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-10-08T02:27:02.268Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-10-08T02:27:02.536Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-10-08T02:27:03.493Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-10-08T02:27:05.439Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-10-08T02:27:05.705Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-10-08T02:27:06.287Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-10-08T02:27:06.873Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-10-08T02:27:07.137Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-10-08T02:27:07.137Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-08T02:27:07.137Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-10-08T02:27:07.137Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-10-08T02:27:07.137Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-10-08T02:27:07.137Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-10-08T02:27:07.137Z] | ^ [2023-10-08T02:27:07.719Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-10-08T02:27:08.303Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-10-08T02:27:08.885Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-10-08T02:27:09.152Z] [ 68%] Linking C shared library libcsdk.so [2023-10-08T02:27:09.418Z] [ 68%] Built target csdk [2023-10-08T02:27:09.418Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-10-08T02:27:10.000Z] [ 72%] Linking C executable template [2023-10-08T02:27:10.312Z] [ 72%] Built target template [2023-10-08T02:27:10.313Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-10-08T02:27:10.606Z] [ 76%] Linking C executable device-counter [2023-10-08T02:27:11.195Z] [ 76%] Built target device-counter [2023-10-08T02:27:11.195Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-10-08T02:27:11.470Z] [ 80%] Linking C executable device-random [2023-10-08T02:27:11.741Z] [ 80%] Built target device-random [2023-10-08T02:27:11.742Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-10-08T02:27:12.332Z] [ 84%] Linking C executable device-gyro [2023-10-08T02:27:12.603Z] [ 84%] Built target device-gyro [2023-10-08T02:27:12.876Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-10-08T02:27:13.159Z] [ 88%] Linking C executable device-bitfields [2023-10-08T02:27:13.433Z] [ 88%] Built target device-bitfields [2023-10-08T02:27:13.716Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-10-08T02:27:13.994Z] [ 92%] Linking C executable template-discovery [2023-10-08T02:27:14.580Z] [ 92%] Built target template-discovery [2023-10-08T02:27:14.580Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-10-08T02:27:15.164Z] [ 96%] Linking C executable device-file [2023-10-08T02:27:15.431Z] [ 96%] Built target device-file [2023-10-08T02:27:15.431Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-10-08T02:27:16.014Z] [100%] Linking C executable device-terminal [2023-10-08T02:27:16.281Z] [100%] Built target device-terminal [2023-10-08T02:27:16.281Z] make: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.281Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.547Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.547Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.547Z] [ 68%] Built target csdk [2023-10-08T02:27:16.547Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.547Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.547Z] [ 72%] Built target template [2023-10-08T02:27:16.547Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.547Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.547Z] [ 76%] Built target device-counter [2023-10-08T02:27:16.547Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.547Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.814Z] [ 80%] Built target device-random [2023-10-08T02:27:16.814Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.814Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.814Z] [ 84%] Built target device-gyro [2023-10-08T02:27:16.814Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.814Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.814Z] [ 88%] Built target device-bitfields [2023-10-08T02:27:16.814Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.814Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.814Z] [ 92%] Built target template-discovery [2023-10-08T02:27:16.814Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.814Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.814Z] [ 96%] Built target device-file [2023-10-08T02:27:16.814Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-10-08T02:27:16.814Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:17.081Z] [100%] Built target device-terminal [2023-10-08T02:27:17.081Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:17.081Z] Install the project... [2023-10-08T02:27:17.081Z] -- Install configuration: "Release" [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/lib/libcsdk.so [2023-10-08T02:27:17.081Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include/devsdk [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include/edgex [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include/edgex/devices.h [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-10-08T02:27:17.081Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-10-08T02:27:17.081Z] make: Leaving directory '/tmp/sdk/build/release' [2023-10-08T02:27:18.489Z] Removing intermediate container aaacbe4fa5bb [2023-10-08T02:27:18.489Z] ---> 3c4c457bada8 [2023-10-08T02:27:18.489Z] Step 14/21 : FROM ${BASE} [2023-10-08T02:27:18.489Z] ---> 295cd00e64f4 [2023-10-08T02:27:18.489Z] Step 15/21 : LABEL maintainer="IOTech " [2023-10-08T02:27:18.489Z] ---> Running in 5993a30828a6 [2023-10-08T02:27:18.767Z] Removing intermediate container 5993a30828a6 [2023-10-08T02:27:18.767Z] ---> af9beae321c8 [2023-10-08T02:27:18.767Z] 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-08T02:27:18.767Z] ---> Running in 4656f0502ccf [2023-10-08T02:27:19.724Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-10-08T02:27:20.314Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-08T02:27:20.314Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-08T02:27:20.314Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-08T02:27:20.899Z] Removing intermediate container 4656f0502ccf [2023-10-08T02:27:20.899Z] ---> 9bc278e3d14c [2023-10-08T02:27:20.899Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-08T02:27:20.899Z] ---> Running in ffd11e0e75b3 [2023-10-08T02:27:22.855Z] Removing intermediate container ffd11e0e75b3 [2023-10-08T02:27:22.855Z] ---> 3d2141041305 [2023-10-08T02:27:22.855Z] 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-08T02:27:22.855Z] ---> Running in 331259cbe96f [2023-10-08T02:27:23.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-08T02:27:23.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-08T02:27:24.392Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-08T02:27:25.350Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-08T02:27:25.350Z] (1/7) Installing curl (8.2.1-r0) [2023-10-08T02:27:25.350Z] (2/7) Installing hiredis (1.0.2-r0) [2023-10-08T02:27:25.350Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-10-08T02:27:25.350Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-10-08T02:27:26.400Z] (5/7) Installing libcbor (0.9.0-r1) [2023-10-08T02:27:26.400Z] (6/7) Installing libuuid (2.38-r1) [2023-10-08T02:27:26.400Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-10-08T02:27:26.982Z] Executing busybox-1.35.0-r17.trigger [2023-10-08T02:27:26.982Z] OK: 281 MiB in 83 packages [2023-10-08T02:27:27.939Z] Removing intermediate container 331259cbe96f [2023-10-08T02:27:27.939Z] ---> ffe63137653b [2023-10-08T02:27:27.939Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-10-08T02:27:28.523Z] ---> 67db8730c05d [2023-10-08T02:27:28.523Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-10-08T02:27:28.791Z] ---> e124c4399fe0 [2023-10-08T02:27:28.791Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-10-08T02:27:29.375Z] ---> 116a21eb9a37 [2023-10-08T02:27:29.375Z] Successfully built 116a21eb9a37 [2023-10-08T02:27:29.375Z] 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-08T02:27:29.796Z] + docker inspect -f . ci-base-image-arm64 [2023-10-08T02:27:29.796Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-08T02:27:30.010Z] prd-ubuntu20.04-docker-arm64-4c-16g-8715 does not seem to be running inside a container [2023-10-08T02:27:30.090Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/9 -v /w/workspace/device-sdk-c/9:/w/workspace/device-sdk-c/9:rw,z -v /w/workspace/device-sdk-c/9@tmp:/w/workspace/device-sdk-c/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-08T02:27:31.232Z] $ docker top 508edf454be9b5fe4ed9180b21d2086dc39a3ec4cf7c06ca24ca9ed59273997b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-08T02:27:32.035Z] + make test [2023-10-08T02:27:32.035Z] echo "make test" [2023-10-08T02:27:32.035Z] make test [Pipeline] } [2023-10-08T02:27:32.065Z] $ docker stop --time=1 508edf454be9b5fe4ed9180b21d2086dc39a3ec4cf7c06ca24ca9ed59273997b [2023-10-08T02:27:33.742Z] $ docker rm -f --volumes 508edf454be9b5fe4ed9180b21d2086dc39a3ec4cf7c06ca24ca9ed59273997b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-08T02:27:34.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-08T02:27:34.598Z] + ls -al . [2023-10-08T02:27:34.598Z] total 208 [2023-10-08T02:27:34.598Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 02:24 . [2023-10-08T02:27:34.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 02:24 .. [2023-10-08T02:27:34.598Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 8 02:24 .git [2023-10-08T02:27:34.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 8 02:24 .github [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 8 02:24 .gitignore [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 8 02:24 Attribution.txt [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 9802 Oct 8 02:24 CHANGES [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 8 02:24 Doxyfile [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 8 02:24 GOVERNANCE.md [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 8 02:24 Jenkinsfile [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 8 02:24 LICENSE [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 8 02:24 Makefile [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 8 02:24 OWNERS.md [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 8 02:24 README.IOT.md [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 8 02:24 README.md [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 8 02:24 README.v3.md [2023-10-08T02:27:34.598Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 8 02:20 VERSION [2023-10-08T02:27:34.598Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 02:24 docs [2023-10-08T02:27:34.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 02:24 include [2023-10-08T02:27:34.598Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 8 02:24 scripts [2023-10-08T02:27:34.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 8 02:24 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-08T02:27:34.934Z] + 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=ca04866706d2c2069bbe278653aa434b152d5da0 --label arch=arm64 --label version=0.0.0 . [2023-10-08T02:27:35.206Z] Sending build context to Docker daemon 2.973MB [2023-10-08T02:27:35.206Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-10-08T02:27:35.206Z] Step 2/17 : FROM ${BASE} [2023-10-08T02:27:35.206Z] ---> 116a21eb9a37 [2023-10-08T02:27:35.206Z] Step 3/17 : LABEL maintainer="IOTech " [2023-10-08T02:27:35.471Z] ---> Running in 0bfd858c6c02 [2023-10-08T02:27:35.736Z] Removing intermediate container 0bfd858c6c02 [2023-10-08T02:27:35.736Z] ---> eb020f201e2e [2023-10-08T02:27:35.736Z] 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-08T02:27:35.736Z] ---> Running in 18acf3a94abb [2023-10-08T02:27:36.694Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-10-08T02:27:36.959Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-10-08T02:27:36.959Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-10-08T02:27:36.959Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-10-08T02:27:40.299Z] Removing intermediate container 18acf3a94abb [2023-10-08T02:27:40.299Z] ---> 9e58c1d420f4 [2023-10-08T02:27:40.299Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-10-08T02:27:40.299Z] ---> Running in 861e136175a7 [2023-10-08T02:27:41.708Z] Removing intermediate container 861e136175a7 [2023-10-08T02:27:41.708Z] ---> 349cea69e365 [2023-10-08T02:27:41.708Z] 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-08T02:27:41.708Z] ---> Running in 1781039356dc [2023-10-08T02:27:42.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-08T02:27:42.938Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-10-08T02:27:43.518Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-10-08T02:27:44.474Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-10-08T02:27:44.474Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-08T02:27:44.474Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-10-08T02:27:44.474Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-10-08T02:27:45.433Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-10-08T02:27:45.433Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-10-08T02:27:45.433Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-10-08T02:27:45.433Z] (7/11) Installing libblkid (2.38-r1) [2023-10-08T02:27:45.433Z] (8/11) Installing libfdisk (2.38-r1) [2023-10-08T02:27:45.433Z] (9/11) Installing libmount (2.38-r1) [2023-10-08T02:27:45.433Z] (10/11) Installing libsmartcols (2.38-r1) [2023-10-08T02:27:45.433Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-10-08T02:27:45.433Z] Executing busybox-1.35.0-r17.trigger [2023-10-08T02:27:45.433Z] OK: 287 MiB in 92 packages [2023-10-08T02:27:46.843Z] Removing intermediate container 1781039356dc [2023-10-08T02:27:46.843Z] ---> 7ac8f3852e4b [2023-10-08T02:27:46.843Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-10-08T02:27:47.428Z] ---> 9a2d56351ab7 [2023-10-08T02:27:47.428Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-10-08T02:27:48.010Z] ---> ff1ef305357c [2023-10-08T02:27:48.010Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-10-08T02:27:48.592Z] ---> 005beed15e63 [2023-10-08T02:27:48.592Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-10-08T02:27:49.175Z] ---> 6e3e0cade7df [2023-10-08T02:27:49.175Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-10-08T02:27:49.759Z] ---> 992c8aad7a90 [2023-10-08T02:27:49.759Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-10-08T02:27:50.343Z] ---> 02236cf93b23 [2023-10-08T02:27:50.343Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-10-08T02:27:50.343Z] ---> Running in db6f1dd838d4 [2023-10-08T02:27:50.610Z] Removing intermediate container db6f1dd838d4 [2023-10-08T02:27:50.610Z] ---> 62a059d3b0ab [2023-10-08T02:27:50.610Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-10-08T02:27:50.610Z] ---> Running in 88ec3ba9d3c1 [2023-10-08T02:27:51.194Z] Removing intermediate container 88ec3ba9d3c1 [2023-10-08T02:27:51.194Z] ---> 4a25c7b132d8 [2023-10-08T02:27:51.194Z] Step 15/17 : LABEL arch=arm64 [2023-10-08T02:27:51.194Z] ---> Running in 2df837256300 [2023-10-08T02:27:51.461Z] Removing intermediate container 2df837256300 [2023-10-08T02:27:51.461Z] ---> 7667dd9e2478 [2023-10-08T02:27:51.461Z] Step 16/17 : LABEL git_sha=ca04866706d2c2069bbe278653aa434b152d5da0 [2023-10-08T02:27:51.461Z] ---> Running in 09778ac7d036 [2023-10-08T02:27:51.728Z] Removing intermediate container 09778ac7d036 [2023-10-08T02:27:51.728Z] ---> 8a05d058cc2d [2023-10-08T02:27:51.728Z] Step 17/17 : LABEL version=0.0.0 [2023-10-08T02:27:52.001Z] ---> Running in bec902fa5b66 [2023-10-08T02:27:52.268Z] Removing intermediate container bec902fa5b66 [2023-10-08T02:27:52.268Z] ---> 834a72e146de [2023-10-08T02:27:52.268Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-10-08T02:27:52.268Z] Successfully built 834a72e146de [2023-10-08T02:27:52.268Z] 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-08T02:27:52.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-08T02:27:52.722Z] [2023-10-08T02:27:52.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-08T02:27:53.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-08T02:27:53.327Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-08T02:27:53.327Z] 8998bd30e6a1: Pulling fs layer [2023-10-08T02:27:53.327Z] 04944245beec: Pulling fs layer [2023-10-08T02:27:53.327Z] 699f458cf7ca: Pulling fs layer [2023-10-08T02:27:53.327Z] 765212b225bb: Pulling fs layer [2023-10-08T02:27:53.327Z] f23df028b6ca: Pulling fs layer [2023-10-08T02:27:53.327Z] d65c8cfc05b1: Pulling fs layer [2023-10-08T02:27:53.327Z] 2437ff75d9bd: Pulling fs layer [2023-10-08T02:27:53.327Z] 765212b225bb: Waiting [2023-10-08T02:27:53.327Z] f23df028b6ca: Waiting [2023-10-08T02:27:53.327Z] d65c8cfc05b1: Waiting [2023-10-08T02:27:53.327Z] 2437ff75d9bd: Waiting [2023-10-08T02:27:53.327Z] 04944245beec: Verifying Checksum [2023-10-08T02:27:53.327Z] 04944245beec: Download complete [2023-10-08T02:27:53.327Z] 765212b225bb: Verifying Checksum [2023-10-08T02:27:53.327Z] 765212b225bb: Download complete [2023-10-08T02:27:53.605Z] f23df028b6ca: Verifying Checksum [2023-10-08T02:27:53.605Z] f23df028b6ca: Download complete [2023-10-08T02:27:53.605Z] d65c8cfc05b1: Verifying Checksum [2023-10-08T02:27:53.605Z] d65c8cfc05b1: Download complete [2023-10-08T02:27:53.605Z] 699f458cf7ca: Verifying Checksum [2023-10-08T02:27:53.605Z] 699f458cf7ca: Download complete [2023-10-08T02:27:54.188Z] 8998bd30e6a1: Verifying Checksum [2023-10-08T02:27:54.188Z] 8998bd30e6a1: Download complete [2023-10-08T02:27:56.129Z] 2437ff75d9bd: Verifying Checksum [2023-10-08T02:27:56.129Z] 2437ff75d9bd: Download complete [2023-10-08T02:27:58.071Z] 8998bd30e6a1: Pull complete [2023-10-08T02:27:58.338Z] 04944245beec: Pull complete [2023-10-08T02:27:59.750Z] 699f458cf7ca: Pull complete [2023-10-08T02:28:00.016Z] 765212b225bb: Pull complete [2023-10-08T02:28:00.600Z] f23df028b6ca: Pull complete [2023-10-08T02:28:00.865Z] d65c8cfc05b1: Pull complete [2023-10-08T02:28:15.836Z] 2437ff75d9bd: Pull complete [2023-10-08T02:28:15.836Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-08T02:28:15.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-08T02:28:15.836Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-08T02:28:16.022Z] prd-ubuntu20.04-docker-arm64-4c-16g-8715 does not seem to be running inside a container [2023-10-08T02:28:16.093Z] $ 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/9 -v /w/workspace/device-sdk-c/9:/w/workspace/device-sdk-c/9:rw,z -v /w/workspace/device-sdk-c/9@tmp:/w/workspace/device-sdk-c/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-08T02:28:18.531Z] $ docker top b75927cd173bc5ad83fc293903fb17ba21c60d70c6f6f39933ce3513151c3085 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:28:19.042Z] ---> job-cost.sh [2023-10-08T02:28:19.315Z] lf-activate-venv: SKIPPING [2023-10-08T02:28:19.315Z] INFO: No Stack... [2023-10-08T02:28:19.579Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-08T02:28:20.534Z] INFO: Archiving Costs [Pipeline] sh [2023-10-08T02:28:20.855Z] + + cut -d, -f6cat [2023-10-08T02:28:20.855Z] /w/workspace/device-sdk-c/9/archives/cost.csv [Pipeline] lock [2023-10-08T02:28:20.915Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-9-stack-cost] [2023-10-08T02:28:20.921Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-9-stack-cost] did not exist. Created. [2023-10-08T02:28:20.922Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-08T02:28:21.265Z] /w/workspace/device-sdk-c/9@tmp/durable-bcf46034/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-08T02:28:21.930Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-08T02:28:21.950Z] Warning: overwriting stash ‘stack-cost’ [2023-10-08T02:28:22.448Z] Stashed 1 file(s) [Pipeline] } [2023-10-08T02:28:22.454Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-08T02:28:22.485Z] $ docker stop --time=1 b75927cd173bc5ad83fc293903fb17ba21c60d70c6f6f39933ce3513151c3085 [2023-10-08T02:28:23.965Z] $ docker rm -f --volumes b75927cd173bc5ad83fc293903fb17ba21c60d70c6f6f39933ce3513151c3085 [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-08T02:28:24.718Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives ] [2023-10-08T02:28:24.718Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-08T02:28:24.718Z] total 16 [2023-10-08T02:28:24.718Z] drwxr-xr-x 3 root root 4096 Oct 8 02:21 . [2023-10-08T02:28:24.718Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 02:21 .. [2023-10-08T02:28:24.718Z] drwxr-xr-x 2 root root 4096 Oct 8 02:21 cost [2023-10-08T02:28:24.718Z] -rw-r--r-- 1 root root 84 Oct 8 02:21 cost.csv [2023-10-08T02:28:24.718Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-08T02:28:24.718Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-10-08T02:28:24.718Z] total 16 [2023-10-08T02:28:24.718Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 8 02:21 . [2023-10-08T02:28:24.718Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 8 02:21 .. [2023-10-08T02:28:24.718Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 8 02:21 cost [2023-10-08T02:28:24.718Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 8 02:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:28:25.014Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:28:25.877Z] ---> package-listing.sh [2023-10-08T02:28:25.877Z] ++ facter osfamily [2023-10-08T02:28:25.877Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-08T02:28:26.137Z] + OS_FAMILY=debian [2023-10-08T02:28:26.137Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-486 [2023-10-08T02:28:26.137Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-08T02:28:26.137Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-08T02:28:26.137Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-08T02:28:26.137Z] + PACKAGES=/tmp/packages_start.txt [2023-10-08T02:28:26.137Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-10-08T02:28:26.137Z] + PACKAGES=/tmp/packages_end.txt [2023-10-08T02:28:26.137Z] + case "${OS_FAMILY}" in [2023-10-08T02:28:26.137Z] + dpkg -l [2023-10-08T02:28:26.137Z] + grep '^ii' [2023-10-08T02:28:26.137Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-08T02:28:26.137Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-08T02:28:26.137Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-08T02:28:26.137Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-10-08T02:28:26.137Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [2023-10-08T02:28:26.138Z] + 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-08T02:28:26.148Z] 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-08T02:28:26.425Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-08T02:28:26.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-08T02:28:26.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-08T02:28:27.128Z] prd-ubuntu20.04-docker-8c-8g-8714 does not seem to be running inside a container [2023-10-08T02:28:27.170Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-08T02:28:27.373Z] $ docker top 99a3f0fb1d8c0ba85c51aa475ba26deabb2a05cf5304e6a38b9d7bfb7aa239d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-08T02:28:27.714Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-08T02:28:28.000Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-08T02:28:28.296Z] + ls /var/log/sa-host [2023-10-08T02:28:28.296Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-08T02:28:28.452Z] provisioning config files... [2023-10-08T02:28:28.461Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config5851691816534884823tmp [Pipeline] { [Pipeline] echo [2023-10-08T02:28:28.474Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:28:28.757Z] ---> create-netrc.sh [Pipeline] } [2023-10-08T02:28:28.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:28:29.100Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-08T02:28:29.108Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:28:29.395Z] ---> sudo-logs.sh [2023-10-08T02:28:29.395Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-08T02:28:29.428Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:28:29.711Z] ---> job-cost.sh [2023-10-08T02:28:29.711Z] lf-activate-venv: SKIPPING [2023-10-08T02:28:29.711Z] DEBUG: total: 0.2199999988079071 [2023-10-08T02:28:29.711Z] INFO: Retrieving Stack Cost... [2023-10-08T02:28:29.971Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-08T02:28:30.230Z] INFO: Archiving Costs [Pipeline] echo [2023-10-08T02:28:30.241Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-08T02:28:30.527Z] ---> logs-deploy.sh [2023-10-08T02:28:30.527Z] lf-activate-venv: SKIPPING [2023-10-08T02:28:30.527Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-486/9 [2023-10-08T02:28:30.527Z] INFO: archiving workspace using pattern(s): [2023-10-08T02:28:31.462Z] Archives upload complete. [2023-10-08T02:28:31.986Z] INFO: archiving logs to Nexus [2023-10-08T02:28:32.245Z] ---> uname -a: [2023-10-08T02:28:32.245Z] Linux prd-ubuntu20-04-docker-8c-8g-8714 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-10-08T02:28:32.245Z] [2023-10-08T02:28:32.245Z]