Pull request #486 opened 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 fd31eaabfbe4d05f04eb3bd97443a0daf862140e+b359547df5a09ee3070876df63645d58a75503b0 (ddbaa33182a1d2e8907b4626143ac8c9ce4dbbaa) 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-ssh14340368793756124030.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-ssh2949536707279535324.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh16267958891603080228.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh15175310431346952114.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15984306170137383104.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh7541821315359629181.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8036 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 b359547df5a09ee3070876df63645d58a75503b0 into PR head commit fd31eaabfbe4d05f04eb3bd97443a0daf862140e Merge succeeded, producing cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 Checking out Revision cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 (PR-486) > git config core.sparsecheckout # timeout=10 > git checkout -f fd31eaabfbe4d05f04eb3bd97443a0daf862140e # 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 b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 # timeout=10 Commit message: "Merge commit 'b359547df5a09ee3070876df63645d58a75503b0' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-27T15:07:43.260Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-27T15:07:43.430Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-27T15:07:43.523Z] ========================================================= [2023-09-27T15:07:43.523Z] EdgeX Global Pipelines Version Info [2023-09-27T15:07:43.523Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:07:44.614Z] ------------------- [2023-09-27T15:07:44.614Z] stable info: [2023-09-27T15:07:44.614Z] ------------------- [2023-09-27T15:07:44.614Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-27T15:07:44.614Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T15:07:44.614Z] Message: update stable to v1.0.254 [2023-09-27T15:07:44.874Z] ------------------- [2023-09-27T15:07:44.874Z] experimental info: [2023-09-27T15:07:44.874Z] ------------------- [2023-09-27T15:07:44.875Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-27T15:07:44.875Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T15:07:44.875Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-27T15:07:45.161Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-09-27T15:07:45.202Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-09-27T15:07:45.238Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-27T15:07:45.278Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-27T15:07:45.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-27T15:07:45.355Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-09-27T15:07:45.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-09-27T15:07:45.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-27T15:07:45.468Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-27T15:07:45.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-09-27T15:07:45.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-27T15:07:45.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-27T15:07:45.634Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T15:07:45.675Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T15:07:45.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-27T15:07:45.760Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-27T15:07:45.814Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-27T15:07:45.854Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo [2023-09-27T15:07:45.895Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo [2023-09-27T15:07:45.941Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo [2023-09-27T15:07:45.983Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 [Pipeline] echo [2023-09-27T15:07:46.025Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cedb153 [Pipeline] echo [2023-09-27T15:07:46.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T15:07:46.182Z] provisioning config files... [2023-09-27T15:07:46.196Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config3199328337403034090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:07:46.540Z] ---> docker-login.sh [2023-09-27T15:07:46.540Z] nexus3.edgexfoundry.org:10001 [2023-09-27T15:07:46.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:07:46.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:07:46.800Z] Configure a credential helper to remove this warning. See [2023-09-27T15:07:46.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:07:46.800Z] [2023-09-27T15:07:46.800Z] Login Succeeded [2023-09-27T15:07:46.800Z] nexus3.edgexfoundry.org:10002 [2023-09-27T15:07:47.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:07:47.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:07:47.061Z] Configure a credential helper to remove this warning. See [2023-09-27T15:07:47.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:07:47.061Z] [2023-09-27T15:07:47.061Z] Login Succeeded [2023-09-27T15:07:47.061Z] nexus3.edgexfoundry.org:10003 [2023-09-27T15:07:47.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:07:47.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:07:47.061Z] Configure a credential helper to remove this warning. See [2023-09-27T15:07:47.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:07:47.061Z] [2023-09-27T15:07:47.061Z] Login Succeeded [2023-09-27T15:07:47.061Z] nexus3.edgexfoundry.org:10004 [2023-09-27T15:07:47.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:07:47.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:07:47.322Z] Configure a credential helper to remove this warning. See [2023-09-27T15:07:47.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:07:47.322Z] [2023-09-27T15:07:47.322Z] Login Succeeded [2023-09-27T15:07:47.322Z] docker.io [2023-09-27T15:07:47.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:07:47.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:07:47.586Z] Configure a credential helper to remove this warning. See [2023-09-27T15:07:47.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:07:47.586Z] [2023-09-27T15:07:47.586Z] Login Succeeded [2023-09-27T15:07:47.586Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T15:07:47.614Z] 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-09-27T15:07:48.247Z] + git rev-list -1 --merges cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783~1..cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 [Pipeline] echo [2023-09-27T15:07:48.307Z] -----------> git rev-list -1 --merges cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783~1..cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 [2023-09-27T15:07:48.307Z] cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 [false] [Pipeline] sh [2023-09-27T15:07:48.620Z] + git log --format=format:%s -1 cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 [Pipeline] echo [2023-09-27T15:07:48.657Z] ========================================================= [2023-09-27T15:07:48.657Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-27T15:07:48.657Z] ========================================================= 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-09-27T15:07:49.453Z] + git rev-list -1 --merges cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783~1..cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 [Pipeline] echo [2023-09-27T15:07:49.493Z] -----------> git rev-list -1 --merges cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783~1..cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 [2023-09-27T15:07:49.493Z] cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 [false] [Pipeline] sh [2023-09-27T15:07:49.950Z] + git log --format=format:%s -1 cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 [Pipeline] echo [2023-09-27T15:07:49.986Z] ========================================================= [2023-09-27T15:07:49.986Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-27T15:07:49.986Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-09-27T15:07:50.482Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T15:07:50.482Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-27T15:07:50.482Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-27T15:07:50.482Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-27T15:07:50.482Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-27T15:07:50.482Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-27T15:07:50.482Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:07:50.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T15:07:50.969Z] [2023-09-27T15:07:50.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:07:51.332Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T15:07:51.592Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-27T15:07:51.592Z] b85a868b505f: Pulling fs layer [2023-09-27T15:07:51.592Z] e2be974225ed: Pulling fs layer [2023-09-27T15:07:51.592Z] 339a4e72a1f5: Pulling fs layer [2023-09-27T15:07:51.592Z] 988bab9f4d93: Pulling fs layer [2023-09-27T15:07:51.592Z] 1469e6f7b9e6: Pulling fs layer [2023-09-27T15:07:51.592Z] eaf3925da568: Pulling fs layer [2023-09-27T15:07:51.592Z] bab4dde63d76: Pulling fs layer [2023-09-27T15:07:51.592Z] bde34c3a00c8: Pulling fs layer [2023-09-27T15:07:51.592Z] b352a97aabf1: Pulling fs layer [2023-09-27T15:07:51.592Z] 988bab9f4d93: Waiting [2023-09-27T15:07:51.592Z] 4872d77fe225: Pulling fs layer [2023-09-27T15:07:51.592Z] 5851b861e8e6: Pulling fs layer [2023-09-27T15:07:51.592Z] 1469e6f7b9e6: Waiting [2023-09-27T15:07:51.592Z] eaf3925da568: Waiting [2023-09-27T15:07:51.592Z] bab4dde63d76: Waiting [2023-09-27T15:07:51.592Z] bde34c3a00c8: Waiting [2023-09-27T15:07:51.592Z] b352a97aabf1: Waiting [2023-09-27T15:07:51.592Z] 4872d77fe225: Waiting [2023-09-27T15:07:51.592Z] 5851b861e8e6: Waiting [2023-09-27T15:07:51.592Z] e2be974225ed: Verifying Checksum [2023-09-27T15:07:51.592Z] e2be974225ed: Download complete [2023-09-27T15:07:51.592Z] 988bab9f4d93: Download complete [2023-09-27T15:07:51.851Z] 1469e6f7b9e6: Verifying Checksum [2023-09-27T15:07:51.851Z] 1469e6f7b9e6: Download complete [2023-09-27T15:07:51.851Z] eaf3925da568: Verifying Checksum [2023-09-27T15:07:51.851Z] eaf3925da568: Download complete [2023-09-27T15:07:51.851Z] 339a4e72a1f5: Verifying Checksum [2023-09-27T15:07:51.851Z] 339a4e72a1f5: Download complete [2023-09-27T15:07:51.851Z] bde34c3a00c8: Verifying Checksum [2023-09-27T15:07:51.851Z] bde34c3a00c8: Download complete [2023-09-27T15:07:51.851Z] b352a97aabf1: Download complete [2023-09-27T15:07:51.851Z] 4872d77fe225: Verifying Checksum [2023-09-27T15:07:51.851Z] 4872d77fe225: Download complete [2023-09-27T15:07:51.851Z] 5851b861e8e6: Download complete [2023-09-27T15:07:51.851Z] b85a868b505f: Download complete [2023-09-27T15:07:52.109Z] bab4dde63d76: Verifying Checksum [2023-09-27T15:07:52.109Z] bab4dde63d76: Download complete [2023-09-27T15:07:53.043Z] b85a868b505f: Pull complete [2023-09-27T15:07:53.301Z] e2be974225ed: Pull complete [2023-09-27T15:07:53.560Z] 339a4e72a1f5: Pull complete [2023-09-27T15:07:53.818Z] 988bab9f4d93: Pull complete [2023-09-27T15:07:54.077Z] 1469e6f7b9e6: Pull complete [2023-09-27T15:07:54.077Z] eaf3925da568: Pull complete [2023-09-27T15:07:55.978Z] bab4dde63d76: Pull complete [2023-09-27T15:07:55.978Z] bde34c3a00c8: Pull complete [2023-09-27T15:07:56.546Z] b352a97aabf1: Pull complete [2023-09-27T15:07:56.546Z] 4872d77fe225: Pull complete [2023-09-27T15:07:56.546Z] 5851b861e8e6: Pull complete [2023-09-27T15:07:56.546Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-27T15:07:56.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T15:07:56.546Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:07:56.748Z] prd-ubuntu20.04-docker-8c-8g-8036 does not seem to be running inside a container [2023-09-27T15:07:56.781Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T15:08:01.282Z] $ docker top 38a58cf2829c4c533a1db77f9a4d6d2a730c070900201f1d043469be62678759 -eo pid,comm [2023-09-27T15:08:01.333Z] 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-09-27T15:08:01.333Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T15:08:01.450Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T15:08:01.450Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T15:08:01.560Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T15:08:01.565Z] $ docker exec 38a58cf2829c4c533a1db77f9a4d6d2a730c070900201f1d043469be62678759 ssh-agent [2023-09-27T15:08:01.666Z] SSH_AUTH_SOCK=/tmp/ssh-Uy0ajw90KGJG/agent.32 [2023-09-27T15:08:01.666Z] SSH_AGENT_PID=38 [2023-09-27T15:08:01.672Z] Running ssh-add (command line suppressed) [2023-09-27T15:08:01.761Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_8316954345304390972.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_8316954345304390972.key) [2023-09-27T15:08:01.772Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T15:08:02.101Z] + git tag --points-at HEAD [Pipeline] } [2023-09-27T15:08:02.134Z] $ docker exec --env ******** --env ******** 38a58cf2829c4c533a1db77f9a4d6d2a730c070900201f1d043469be62678759 ssh-agent -k [2023-09-27T15:08:02.231Z] unset SSH_AUTH_SOCK; [2023-09-27T15:08:02.232Z] unset SSH_AGENT_PID; [2023-09-27T15:08:02.232Z] echo Agent pid 38 killed; [2023-09-27T15:08:02.238Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-27T15:08:02.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T15:08:02.335Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T15:08:02.447Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T15:08:02.452Z] $ docker exec 38a58cf2829c4c533a1db77f9a4d6d2a730c070900201f1d043469be62678759 ssh-agent [2023-09-27T15:08:02.545Z] SSH_AUTH_SOCK=/tmp/ssh-BkEpdZhZXeZg/agent.71 [2023-09-27T15:08:02.546Z] SSH_AGENT_PID=77 [2023-09-27T15:08:02.551Z] Running ssh-add (command line suppressed) [2023-09-27T15:08:02.664Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_16006655734472039597.key (/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/private_key_16006655734472039597.key) [2023-09-27T15:08:02.676Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T15:08:03.047Z] + git semver init [2023-09-27T15:08:03.307Z] 2023-09-27 15:08:03,223 [run_init] DEBUG init version:0.0.0 force:False [2023-09-27T15:08:03.307Z] 2023-09-27 15:08:03,224 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver [2023-09-27T15:08:03.307Z] 2023-09-27 15:08:03,225 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver [2023-09-27T15:08:03.307Z] 2023-09-27 15:08:03,225 [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-09-27T15:08:04.747Z] 2023-09-27 15:08:04,322 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.git/info/exclude [2023-09-27T15:08:04.747Z] 2023-09-27 15:08:04,323 [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-09-27T15:08:04.747Z] 2023-09-27 15:08:04,323 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-09-27T15:08:04.747Z] 2023-09-27 15:08:04,327 [execute] INFO git cat-file --batch-check [2023-09-27T15:08:04.747Z] 2023-09-27 15:08:04,328 [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-09-27T15:08:04.747Z] 2023-09-27 15:08:04,332 [execute] INFO git cat-file --batch [2023-09-27T15:08:04.747Z] 2023-09-27 15:08:04,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T15:08:04.747Z] 2023-09-27 15:08:04,336 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-486/.semver/PR-486 [2023-09-27T15:08:04.747Z] 0.0.0 [Pipeline] } [2023-09-27T15:08:04.871Z] $ docker exec --env ******** --env ******** 38a58cf2829c4c533a1db77f9a4d6d2a730c070900201f1d043469be62678759 ssh-agent -k [2023-09-27T15:08:04.979Z] unset SSH_AUTH_SOCK; [2023-09-27T15:08:04.979Z] unset SSH_AGENT_PID; [2023-09-27T15:08:04.979Z] echo Agent pid 77 killed; [2023-09-27T15:08:04.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T15:08:05.527Z] + git semver [Pipeline] } [2023-09-27T15:08:05.811Z] $ docker stop --time=1 38a58cf2829c4c533a1db77f9a4d6d2a730c070900201f1d043469be62678759 [2023-09-27T15:08:07.075Z] $ docker rm -f --volumes 38a58cf2829c4c533a1db77f9a4d6d2a730c070900201f1d043469be62678759 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T15:08:07.471Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-27T15:08:07.762Z] Stashed 1 file(s) [Pipeline] echo [2023-09-27T15:08:07.777Z] [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-09-27T15:08:08.305Z] provisioning config files... [2023-09-27T15:08:08.314Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config2603509870639965623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:08:08.663Z] ---> docker-login.sh [2023-09-27T15:08:08.664Z] nexus3.edgexfoundry.org:10001 [2023-09-27T15:08:08.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:08:08.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:08:08.664Z] Configure a credential helper to remove this warning. See [2023-09-27T15:08:08.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:08:08.664Z] [2023-09-27T15:08:08.664Z] Login Succeeded [2023-09-27T15:08:08.664Z] nexus3.edgexfoundry.org:10002 [2023-09-27T15:08:08.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:08:08.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:08:08.664Z] Configure a credential helper to remove this warning. See [2023-09-27T15:08:08.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:08:08.664Z] [2023-09-27T15:08:08.664Z] Login Succeeded [2023-09-27T15:08:08.664Z] nexus3.edgexfoundry.org:10003 [2023-09-27T15:08:08.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:08:08.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:08:08.924Z] Configure a credential helper to remove this warning. See [2023-09-27T15:08:08.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:08:08.924Z] [2023-09-27T15:08:08.924Z] Login Succeeded [2023-09-27T15:08:08.924Z] nexus3.edgexfoundry.org:10004 [2023-09-27T15:08:08.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:08:08.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:08:08.924Z] Configure a credential helper to remove this warning. See [2023-09-27T15:08:08.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:08:08.924Z] [2023-09-27T15:08:08.924Z] Login Succeeded [2023-09-27T15:08:08.924Z] docker.io [2023-09-27T15:08:08.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:08:09.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:08:09.184Z] Configure a credential helper to remove this warning. See [2023-09-27T15:08:09.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:08:09.184Z] [2023-09-27T15:08:09.184Z] Login Succeeded [2023-09-27T15:08:09.184Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T15:08:09.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T15:08:09.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T15:08:09.438Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-09-27T15:08:09.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T15:08:09.514Z] ========================================================= [2023-09-27T15:08:09.514Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-09-27T15:08:09.514Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:08:09.930Z] + 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-09-27T15:08:09.930Z] Sending build context to Docker daemon 5.029MB [2023-09-27T15:08:09.930Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-09-27T15:08:09.930Z] Step 2/21 : FROM ${BASE} as builder [2023-09-27T15:08:09.930Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-09-27T15:08:09.930Z] 91d30c5bc195: Pulling fs layer [2023-09-27T15:08:09.930Z] 316e5a4585fb: Pulling fs layer [2023-09-27T15:08:10.204Z] 91d30c5bc195: Verifying Checksum [2023-09-27T15:08:10.204Z] 91d30c5bc195: Download complete [2023-09-27T15:08:10.204Z] 91d30c5bc195: Pull complete [2023-09-27T15:08:10.772Z] 316e5a4585fb: Verifying Checksum [2023-09-27T15:08:10.772Z] 316e5a4585fb: Download complete [2023-09-27T15:08:14.061Z] 316e5a4585fb: Pull complete [2023-09-27T15:08:14.061Z] Digest: sha256:46ce083f99ae49712d4f1141acdd2e69c9eb8e11ca29cc7d79d78bb0a10585c4 [2023-09-27T15:08:14.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-09-27T15:08:14.061Z] ---> e83ffa357ff4 [2023-09-27T15:08:14.061Z] 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-09-27T15:08:16.602Z] ---> Running in 0560bf5bb9d0 [2023-09-27T15:08:16.602Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-27T15:08:16.863Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-27T15:08:16.863Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-27T15:08:16.863Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-27T15:08:17.121Z] Removing intermediate container 0560bf5bb9d0 [2023-09-27T15:08:17.121Z] ---> b0a73ca76065 [2023-09-27T15:08:17.121Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-27T15:08:17.121Z] ---> Running in 02c29bbf74a5 [2023-09-27T15:08:17.691Z] Removing intermediate container 02c29bbf74a5 [2023-09-27T15:08:17.691Z] ---> c8ced1448f66 [2023-09-27T15:08:17.691Z] 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-09-27T15:08:17.691Z] ---> Running in c5608b0d2cba [2023-09-27T15:08:18.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-27T15:08:18.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-27T15:08:18.518Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-27T15:08:19.085Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-27T15:08:19.085Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-27T15:08:19.085Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-27T15:08:19.086Z] (3/16) Installing hiredis (1.0.2-r0) [2023-09-27T15:08:19.086Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-09-27T15:08:19.086Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-27T15:08:19.675Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-27T15:08:19.933Z] (7/16) Installing libcbor (0.9.0-r1) [2023-09-27T15:08:19.933Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-09-27T15:08:19.933Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-27T15:08:19.933Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-27T15:08:20.904Z] (11/16) Installing libblkid (2.38-r1) [2023-09-27T15:08:20.904Z] (12/16) Installing libuuid (2.38-r1) [2023-09-27T15:08:20.904Z] (13/16) Installing libfdisk (2.38-r1) [2023-09-27T15:08:20.904Z] (14/16) Installing libmount (2.38-r1) [2023-09-27T15:08:20.904Z] (15/16) Installing libsmartcols (2.38-r1) [2023-09-27T15:08:20.904Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-09-27T15:08:20.904Z] Executing busybox-1.35.0-r17.trigger [2023-09-27T15:08:20.904Z] OK: 280 MiB in 90 packages [2023-09-27T15:08:21.470Z] Removing intermediate container c5608b0d2cba [2023-09-27T15:08:21.470Z] ---> a34287136219 [2023-09-27T15:08:21.470Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-09-27T15:08:21.470Z] ---> Running in 1cc601f7591e [2023-09-27T15:08:22.035Z] Removing intermediate container 1cc601f7591e [2023-09-27T15:08:22.035Z] ---> c0f3cb7feec3 [2023-09-27T15:08:22.035Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-09-27T15:08:22.035Z] ---> 51a0856c533c [2023-09-27T15:08:22.035Z] Step 8/21 : COPY src /tmp/sdk/src [2023-09-27T15:08:22.293Z] ---> 10dbfa7a8341 [2023-09-27T15:08:22.293Z] Step 9/21 : COPY include /tmp/sdk/include [2023-09-27T15:08:22.552Z] ---> 91d648e8146e [2023-09-27T15:08:22.552Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-09-27T15:08:22.552Z] ---> 8c201bf3eeb4 [2023-09-27T15:08:22.552Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-09-27T15:08:22.811Z] ---> 420a248202a2 [2023-09-27T15:08:22.811Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-09-27T15:08:22.811Z] ---> 2db0f29e9d78 [2023-09-27T15:08:22.811Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-09-27T15:08:22.811Z] ---> Running in 02b0ee082297 [2023-09-27T15:08:23.129Z] Still waiting to schedule task [2023-09-27T15:08:23.129Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-27T15:08:23.378Z] + CPPCHECK=false [2023-09-27T15:08:23.378Z] + DOCGEN=false [2023-09-27T15:08:23.378Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-09-27T15:08:23.378Z] + '[' 0 -gt 0 ] [2023-09-27T15:08:23.378Z] + readlink -f ./scripts/build.sh [2023-09-27T15:08:23.378Z] + dirname /tmp/sdk/scripts/build.sh [2023-09-27T15:08:23.378Z] + dirname /tmp/sdk/scripts [2023-09-27T15:08:23.378Z] + ROOT=/tmp/sdk [2023-09-27T15:08:23.378Z] + cd /tmp/sdk [2023-09-27T15:08:23.378Z] + mkdir -p /tmp/sdk/build/release [2023-09-27T15:08:23.378Z] + cd /tmp/sdk/build/release [2023-09-27T15:08:23.378Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-09-27T15:08:23.378Z] -- The C compiler identification is GNU 11.2.1 [2023-09-27T15:08:23.378Z] -- Detecting C compiler ABI info [2023-09-27T15:08:23.636Z] -- Detecting C compiler ABI info - done [2023-09-27T15:08:23.636Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-27T15:08:23.636Z] -- Detecting C compile features [2023-09-27T15:08:23.636Z] -- Detecting C compile features - done [2023-09-27T15:08:23.636Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-27T15:08:23.636Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-27T15:08:23.636Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-27T15:08:23.636Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-27T15:08:23.636Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-27T15:08:23.636Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-27T15:08:23.636Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-27T15:08:23.636Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-27T15:08:23.637Z] -- /opt/iotech/iot/1.5/include [2023-09-27T15:08:23.637Z] -- C SDK 0.0.0 for Linux [2023-09-27T15:08:23.637Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-27T15:08:23.637Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-27T15:08:23.637Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-27T15:08:23.895Z] -- Configuring done [2023-09-27T15:08:23.895Z] -- Generating done [2023-09-27T15:08:23.895Z] -- Build files have been written to: /tmp/sdk/build/release [2023-09-27T15:08:23.895Z] + make all package [2023-09-27T15:08:23.895Z] + tee release.log [2023-09-27T15:08:23.895Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-27T15:08:23.895Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-27T15:08:24.153Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-27T15:08:24.411Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-27T15:08:24.411Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-27T15:08:24.702Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-27T15:08:24.960Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-27T15:08:24.960Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-09-27T15:08:24.960Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-27T15:08:24.960Z] 294 | while (privateConfig) [2023-09-27T15:08:24.960Z] | ^~~~~~~~~~~~~ [2023-09-27T15:08:24.960Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-27T15:08:24.960Z] 271 | while (result) [2023-09-27T15:08:24.960Z] | ^~~~~~ [2023-09-27T15:08:25.220Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-27T15:08:25.220Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-27T15:08:25.220Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-27T15:08:25.790Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-27T15:08:25.790Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-27T15:08:26.048Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-27T15:08:26.048Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-27T15:08:26.306Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-27T15:08:26.306Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-27T15:08:26.565Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-27T15:08:26.823Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-27T15:08:26.823Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-27T15:08:27.080Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-27T15:08:27.338Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-27T15:08:28.275Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-27T15:08:28.275Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-27T15:08:28.275Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-27T15:08:28.533Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-27T15:08:28.533Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-27T15:08:28.793Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-27T15:08:29.051Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-27T15:08:29.309Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-27T15:08:29.309Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-27T15:08:29.566Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-27T15:08:29.566Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-09-27T15:08:29.566Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-27T15:08:29.566Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-09-27T15:08:29.566Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-09-27T15:08:29.566Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-27T15:08:29.566Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-09-27T15:08:29.566Z] | ^ [2023-09-27T15:08:29.832Z] /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-27T15:08:29.832Z] 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-09-27T15:08:29.832Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-09-27T15:08:30.090Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-27T15:08:30.090Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-27T15:08:30.090Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-27T15:08:30.349Z] [ 68%] Linking C shared library libcsdk.so [2023-09-27T15:08:30.349Z] [ 68%] Built target csdk [2023-09-27T15:08:30.349Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-27T15:08:30.607Z] [ 72%] Linking C executable template [2023-09-27T15:08:30.607Z] [ 72%] Built target template [2023-09-27T15:08:30.607Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-27T15:08:30.607Z] [ 76%] Linking C executable device-counter [2023-09-27T15:08:30.866Z] [ 76%] Built target device-counter [2023-09-27T15:08:30.866Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-27T15:08:30.866Z] [ 80%] Linking C executable device-random [2023-09-27T15:08:30.866Z] [ 80%] Built target device-random [2023-09-27T15:08:30.866Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-27T15:08:31.125Z] [ 84%] Linking C executable device-gyro [2023-09-27T15:08:31.125Z] [ 84%] Built target device-gyro [2023-09-27T15:08:31.125Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-27T15:08:31.125Z] [ 88%] Linking C executable device-bitfields [2023-09-27T15:08:31.125Z] [ 88%] Built target device-bitfields [2023-09-27T15:08:31.125Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-27T15:08:31.384Z] [ 92%] Linking C executable template-discovery [2023-09-27T15:08:31.384Z] [ 92%] Built target template-discovery [2023-09-27T15:08:31.384Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-27T15:08:31.642Z] [ 96%] Linking C executable device-file [2023-09-27T15:08:31.642Z] [ 96%] Built target device-file [2023-09-27T15:08:31.642Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-27T15:08:31.902Z] [100%] Linking C executable device-terminal [2023-09-27T15:08:31.902Z] [100%] Built target device-terminal [2023-09-27T15:08:31.902Z] Run CPack packaging tool... [2023-09-27T15:08:31.902Z] CPack: Create package using TGZ [2023-09-27T15:08:31.902Z] CPack: Install projects [2023-09-27T15:08:31.902Z] CPack: - Run preinstall target for: Csdk [2023-09-27T15:08:32.162Z] CPack: - Install project: Csdk [] [2023-09-27T15:08:32.162Z] CPack: Create package [2023-09-27T15:08:32.162Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-09-27T15:08:32.162Z] + '[' false '=' true ] [2023-09-27T15:08:32.162Z] + '[' false '=' true ] [2023-09-27T15:08:32.162Z] + mkdir -p /tmp/sdk/build/debug [2023-09-27T15:08:32.162Z] + cd /tmp/sdk/build/debug [2023-09-27T15:08:32.162Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-09-27T15:08:32.162Z] -- The C compiler identification is GNU 11.2.1 [2023-09-27T15:08:32.162Z] -- Detecting C compiler ABI info [2023-09-27T15:08:32.419Z] -- Detecting C compiler ABI info - done [2023-09-27T15:08:32.419Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-27T15:08:32.419Z] -- Detecting C compile features [2023-09-27T15:08:32.419Z] -- Detecting C compile features - done [2023-09-27T15:08:32.419Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-27T15:08:32.420Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-27T15:08:32.420Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-27T15:08:32.420Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-27T15:08:32.420Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-27T15:08:32.420Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-27T15:08:32.420Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-27T15:08:32.420Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-27T15:08:32.420Z] -- /opt/iotech/iot/1.5/include [2023-09-27T15:08:32.420Z] -- C SDK 0.0.0 for Linux [2023-09-27T15:08:32.420Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-27T15:08:32.420Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-27T15:08:32.420Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-27T15:08:32.683Z] -- Configuring done [2023-09-27T15:08:32.683Z] -- Generating done [2023-09-27T15:08:32.683Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-09-27T15:08:32.683Z] + make [2023-09-27T15:08:32.683Z] + tee debug.log [2023-09-27T15:08:32.683Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-27T15:08:32.683Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-27T15:08:32.943Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-27T15:08:32.943Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-27T15:08:32.943Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-27T15:08:32.943Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-27T15:08:33.201Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-27T15:08:33.201Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-27T15:08:33.201Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-27T15:08:33.460Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-27T15:08:33.460Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-27T15:08:33.719Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-27T15:08:33.719Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-27T15:08:33.719Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-27T15:08:33.719Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-27T15:08:33.977Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-27T15:08:33.977Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-27T15:08:34.236Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-27T15:08:34.236Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-27T15:08:34.237Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-27T15:08:34.237Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-27T15:08:34.495Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-27T15:08:34.754Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-27T15:08:34.754Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-27T15:08:34.754Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-27T15:08:34.754Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-27T15:08:35.012Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-27T15:08:35.269Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-27T15:08:35.269Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-27T15:08:35.269Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-27T15:08:35.526Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-27T15:08:35.526Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-09-27T15:08:35.526Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-27T15:08:35.526Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-09-27T15:08:35.526Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-09-27T15:08:35.526Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-27T15:08:35.526Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-09-27T15:08:35.526Z] | ^ [2023-09-27T15:08:35.526Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-27T15:08:35.784Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-27T15:08:35.784Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-27T15:08:35.784Z] [ 68%] Linking C shared library libcsdk.so [2023-09-27T15:08:35.784Z] [ 68%] Built target csdk [2023-09-27T15:08:35.784Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-27T15:08:36.041Z] [ 72%] Linking C executable template [2023-09-27T15:08:36.041Z] [ 72%] Built target template [2023-09-27T15:08:36.042Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-27T15:08:36.042Z] [ 76%] Linking C executable device-counter [2023-09-27T15:08:36.042Z] [ 76%] Built target device-counter [2023-09-27T15:08:36.299Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-27T15:08:36.299Z] [ 80%] Linking C executable device-random [2023-09-27T15:08:36.299Z] [ 80%] Built target device-random [2023-09-27T15:08:36.299Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-27T15:08:36.299Z] [ 84%] Linking C executable device-gyro [2023-09-27T15:08:36.557Z] [ 84%] Built target device-gyro [2023-09-27T15:08:36.557Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-27T15:08:36.557Z] [ 88%] Linking C executable device-bitfields [2023-09-27T15:08:36.557Z] [ 88%] Built target device-bitfields [2023-09-27T15:08:36.557Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-27T15:08:36.557Z] [ 92%] Linking C executable template-discovery [2023-09-27T15:08:36.815Z] [ 92%] Built target template-discovery [2023-09-27T15:08:36.815Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-27T15:08:36.815Z] [ 96%] Linking C executable device-file [2023-09-27T15:08:36.815Z] [ 96%] Built target device-file [2023-09-27T15:08:36.815Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-27T15:08:37.074Z] [100%] Linking C executable device-terminal [2023-09-27T15:08:37.074Z] [100%] Built target device-terminal [2023-09-27T15:08:37.074Z] make: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] [ 68%] Built target csdk [2023-09-27T15:08:37.074Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] [ 72%] Built target template [2023-09-27T15:08:37.074Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] [ 76%] Built target device-counter [2023-09-27T15:08:37.074Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] [ 80%] Built target device-random [2023-09-27T15:08:37.074Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] [ 84%] Built target device-gyro [2023-09-27T15:08:37.074Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] [ 88%] Built target device-bitfields [2023-09-27T15:08:37.074Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] [ 92%] Built target template-discovery [2023-09-27T15:08:37.074Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.074Z] [ 96%] Built target device-file [2023-09-27T15:08:37.331Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.331Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.331Z] [100%] Built target device-terminal [2023-09-27T15:08:37.331Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.331Z] Install the project... [2023-09-27T15:08:37.331Z] -- Install configuration: "Release" [2023-09-27T15:08:37.331Z] -- Installing: /usr/local/lib/libcsdk.so [2023-09-27T15:08:37.331Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-09-27T15:08:37.331Z] -- Installing: /usr/local/include [2023-09-27T15:08:37.331Z] -- Installing: /usr/local/include/devsdk [2023-09-27T15:08:37.331Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-09-27T15:08:37.331Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-09-27T15:08:37.331Z] -- Installing: /usr/local/include/edgex [2023-09-27T15:08:37.331Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-09-27T15:08:37.331Z] -- Installing: /usr/local/include/edgex/devices.h [2023-09-27T15:08:37.332Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-09-27T15:08:37.332Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-09-27T15:08:37.332Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-09-27T15:08:37.332Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-09-27T15:08:37.332Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-09-27T15:08:37.332Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-09-27T15:08:37.332Z] make: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:08:37.898Z] Removing intermediate container 02b0ee082297 [2023-09-27T15:08:37.898Z] ---> 806adbf1607d [2023-09-27T15:08:37.898Z] Step 14/21 : FROM ${BASE} [2023-09-27T15:08:37.898Z] ---> e83ffa357ff4 [2023-09-27T15:08:37.898Z] Step 15/21 : LABEL maintainer="IOTech " [2023-09-27T15:08:38.155Z] ---> Running in 5e0892c16a9b [2023-09-27T15:08:38.155Z] Removing intermediate container 5e0892c16a9b [2023-09-27T15:08:38.155Z] ---> 8c8140dcb6f7 [2023-09-27T15:08:38.155Z] 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-09-27T15:08:38.155Z] ---> Running in f76fc99ecdbc [2023-09-27T15:08:38.413Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-09-27T15:08:38.979Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-27T15:08:38.979Z] alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA [2023-09-27T15:08:38.979Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-27T15:08:39.238Z] Removing intermediate container f76fc99ecdbc [2023-09-27T15:08:39.238Z] ---> e40c58ee8687 [2023-09-27T15:08:39.238Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-27T15:08:39.238Z] ---> Running in 6f3d43393cec [2023-09-27T15:08:39.806Z] Removing intermediate container 6f3d43393cec [2023-09-27T15:08:39.806Z] ---> b83b457a982b [2023-09-27T15:08:39.806Z] 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-09-27T15:08:39.806Z] ---> Running in b40d5f61c0d0 [2023-09-27T15:08:40.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-27T15:08:40.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-27T15:08:40.324Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-27T15:08:40.892Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-27T15:08:40.892Z] (1/7) Installing curl (8.3.0-r0) [2023-09-27T15:08:40.892Z] (2/7) Installing hiredis (1.0.2-r0) [2023-09-27T15:08:40.892Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-09-27T15:08:40.892Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-09-27T15:08:41.460Z] (5/7) Installing libcbor (0.9.0-r1) [2023-09-27T15:08:41.460Z] (6/7) Installing libuuid (2.38-r1) [2023-09-27T15:08:41.460Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-27T15:08:42.419Z] Executing busybox-1.35.0-r17.trigger [2023-09-27T15:08:42.419Z] OK: 276 MiB in 83 packages [2023-09-27T15:08:42.681Z] Removing intermediate container b40d5f61c0d0 [2023-09-27T15:08:42.681Z] ---> 28671c9d3697 [2023-09-27T15:08:42.681Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-09-27T15:08:42.943Z] ---> 24e64006b907 [2023-09-27T15:08:42.943Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-09-27T15:08:42.943Z] ---> 0d3af2a3b7c1 [2023-09-27T15:08:42.943Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-09-27T15:08:43.201Z] ---> 8d18b0b70cd8 [2023-09-27T15:08:43.201Z] Successfully built 8d18b0b70cd8 [2023-09-27T15:08:43.201Z] 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-09-27T15:08:43.866Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T15:08:43.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:08:44.019Z] prd-ubuntu20.04-docker-8c-8g-8036 does not seem to be running inside a container [2023-09-27T15:08:44.052Z] $ 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 ******** ci-base-image-x86_64 cat [2023-09-27T15:08:44.361Z] $ docker top 9a2fd86f54ba0dd316b13ca458ecba2cfc15cd5f834f917cf7222a690f52e31c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T15:08:44.753Z] + make test [2023-09-27T15:08:44.753Z] echo "make test" [2023-09-27T15:08:44.753Z] make test [Pipeline] } [2023-09-27T15:08:44.787Z] $ docker stop --time=1 9a2fd86f54ba0dd316b13ca458ecba2cfc15cd5f834f917cf7222a690f52e31c [2023-09-27T15:08:46.055Z] $ docker rm -f --volumes 9a2fd86f54ba0dd316b13ca458ecba2cfc15cd5f834f917cf7222a690f52e31c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T15:08:46.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T15:08:47.215Z] + ls -al . [2023-09-27T15:08:47.215Z] total 212 [2023-09-27T15:08:47.215Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 15:08 . [2023-09-27T15:08:47.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:07 .. [2023-09-27T15:08:47.215Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:08 .git [2023-09-27T15:08:47.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:07 .github [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 27 15:07 .gitignore [2023-09-27T15:08:47.215Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 15:08 .semver [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 27 15:07 Attribution.txt [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 9802 Sep 27 15:07 CHANGES [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 27 15:07 Doxyfile [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 15:07 GOVERNANCE.md [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 27 15:07 Jenkinsfile [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 27 15:07 LICENSE [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 27 15:07 Makefile [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 27 15:07 OWNERS.md [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 27 15:07 README.IOT.md [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 27 15:07 README.md [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 27 15:07 README.v3.md [2023-09-27T15:08:47.215Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 15:08 VERSION [2023-09-27T15:08:47.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:07 docs [2023-09-27T15:08:47.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:07 include [2023-09-27T15:08:47.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:07 scripts [2023-09-27T15:08:47.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:07 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:08:47.610Z] + 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=cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 --label arch=amd64 --label version=0.0.0 . [2023-09-27T15:08:47.610Z] Sending build context to Docker daemon 5.029MB [2023-09-27T15:08:47.610Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-09-27T15:08:47.610Z] Step 2/17 : FROM ${BASE} [2023-09-27T15:08:47.610Z] ---> 8d18b0b70cd8 [2023-09-27T15:08:47.610Z] Step 3/17 : LABEL maintainer="IOTech " [2023-09-27T15:08:47.610Z] ---> Running in cd7021a3f76e [2023-09-27T15:08:47.869Z] Removing intermediate container cd7021a3f76e [2023-09-27T15:08:47.869Z] ---> 59fb5643092c [2023-09-27T15:08:47.869Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-09-27T15:08:47.869Z] ---> Running in 412618d9f622 [2023-09-27T15:08:48.129Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-27T15:08:48.700Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-27T15:08:48.700Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-27T15:08:48.700Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-27T15:08:48.961Z] Removing intermediate container 412618d9f622 [2023-09-27T15:08:48.961Z] ---> 9f6caf006fe9 [2023-09-27T15:08:48.961Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-27T15:08:48.961Z] ---> Running in 869598cd6994 [2023-09-27T15:08:49.531Z] Removing intermediate container 869598cd6994 [2023-09-27T15:08:49.531Z] ---> 645819075859 [2023-09-27T15:08:49.531Z] 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-09-27T15:08:49.531Z] ---> Running in 34ea51dc9a6c [2023-09-27T15:08:49.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-27T15:08:49.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-09-27T15:08:49.791Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz [2023-09-27T15:08:50.360Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-27T15:08:50.360Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-27T15:08:50.360Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-27T15:08:50.360Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-27T15:08:51.298Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-27T15:08:51.298Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-09-27T15:08:51.298Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-27T15:08:51.298Z] (7/11) Installing libblkid (2.38-r1) [2023-09-27T15:08:51.298Z] (8/11) Installing libfdisk (2.38-r1) [2023-09-27T15:08:51.298Z] (9/11) Installing libmount (2.38-r1) [2023-09-27T15:08:51.298Z] (10/11) Installing libsmartcols (2.38-r1) [2023-09-27T15:08:51.298Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-09-27T15:08:51.298Z] Executing busybox-1.35.0-r17.trigger [2023-09-27T15:08:51.298Z] OK: 281 MiB in 92 packages [2023-09-27T15:08:51.879Z] Removing intermediate container 34ea51dc9a6c [2023-09-27T15:08:51.879Z] ---> 3991da59442f [2023-09-27T15:08:51.879Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-09-27T15:08:52.146Z] ---> 765bcb46131c [2023-09-27T15:08:52.146Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-09-27T15:08:52.406Z] ---> d2c019254552 [2023-09-27T15:08:52.406Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-09-27T15:08:52.406Z] ---> a5a25766bcb4 [2023-09-27T15:08:52.406Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-09-27T15:08:52.666Z] ---> a7546f038fc2 [2023-09-27T15:08:52.666Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-09-27T15:08:52.666Z] ---> 500f93146579 [2023-09-27T15:08:52.666Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-09-27T15:08:52.925Z] ---> 20137eecefba [2023-09-27T15:08:52.925Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-09-27T15:08:52.925Z] ---> Running in a34f395b5684 [2023-09-27T15:08:52.925Z] Removing intermediate container a34f395b5684 [2023-09-27T15:08:52.925Z] ---> b4535106bfed [2023-09-27T15:08:52.925Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-09-27T15:08:52.925Z] ---> Running in c49b356ef50e [2023-09-27T15:08:52.925Z] Removing intermediate container c49b356ef50e [2023-09-27T15:08:52.925Z] ---> 72f73b5e2c8b [2023-09-27T15:08:52.925Z] Step 15/17 : LABEL arch=amd64 [2023-09-27T15:08:52.925Z] ---> Running in e350de1c609e [2023-09-27T15:08:53.185Z] Removing intermediate container e350de1c609e [2023-09-27T15:08:53.185Z] ---> 50dc7de119d9 [2023-09-27T15:08:53.185Z] Step 16/17 : LABEL git_sha=cedb153b5ccf5ccdb8cba7ddf3a69291c2e1e783 [2023-09-27T15:08:53.185Z] ---> Running in f6f03f7e9134 [2023-09-27T15:08:53.185Z] Removing intermediate container f6f03f7e9134 [2023-09-27T15:08:53.185Z] ---> e6ca1771f36f [2023-09-27T15:08:53.185Z] Step 17/17 : LABEL version=0.0.0 [2023-09-27T15:08:53.185Z] ---> Running in 0b4459af3b9d [2023-09-27T15:08:53.185Z] Removing intermediate container 0b4459af3b9d [2023-09-27T15:08:53.185Z] ---> fbbfd0db9415 [2023-09-27T15:08:53.185Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2023-09-27T15:08:53.185Z] Successfully built fbbfd0db9415 [2023-09-27T15:08:53.185Z] 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-09-27T15:08:54.111Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T15:08:54.112Z] [2023-09-27T15:08:54.112Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:08:54.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T15:08:54.494Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-27T15:08:54.494Z] 5eb5b503b376: Pulling fs layer [2023-09-27T15:08:54.494Z] 5c69ac0246d0: Pulling fs layer [2023-09-27T15:08:54.494Z] ec43610c2a17: Pulling fs layer [2023-09-27T15:08:54.494Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-27T15:08:54.494Z] 33b1e0a273af: Pulling fs layer [2023-09-27T15:08:54.494Z] 5d3b04190fa2: Pulling fs layer [2023-09-27T15:08:54.494Z] 2f39f015ded8: Pulling fs layer [2023-09-27T15:08:54.494Z] 5d3b04190fa2: Waiting [2023-09-27T15:08:54.494Z] 33b1e0a273af: Waiting [2023-09-27T15:08:54.494Z] 2f39f015ded8: Waiting [2023-09-27T15:08:54.494Z] 3a2ae6a8a46f: Waiting [2023-09-27T15:08:54.494Z] 5c69ac0246d0: Verifying Checksum [2023-09-27T15:08:54.494Z] 5c69ac0246d0: Download complete [2023-09-27T15:08:54.494Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-27T15:08:54.494Z] 3a2ae6a8a46f: Download complete [2023-09-27T15:08:54.494Z] ec43610c2a17: Verifying Checksum [2023-09-27T15:08:54.494Z] ec43610c2a17: Download complete [2023-09-27T15:08:54.494Z] 33b1e0a273af: Download complete [2023-09-27T15:08:54.494Z] 5d3b04190fa2: Verifying Checksum [2023-09-27T15:08:54.494Z] 5d3b04190fa2: Download complete [2023-09-27T15:08:54.755Z] 5eb5b503b376: Verifying Checksum [2023-09-27T15:08:54.755Z] 5eb5b503b376: Download complete [2023-09-27T15:08:55.322Z] 2f39f015ded8: Download complete [2023-09-27T15:08:55.889Z] 5eb5b503b376: Pull complete [2023-09-27T15:08:55.889Z] 5c69ac0246d0: Pull complete [2023-09-27T15:08:56.456Z] ec43610c2a17: Pull complete [2023-09-27T15:08:56.456Z] 3a2ae6a8a46f: Pull complete [2023-09-27T15:08:56.714Z] 33b1e0a273af: Pull complete [2023-09-27T15:08:56.714Z] 5d3b04190fa2: Pull complete [2023-09-27T15:09:00.897Z] 2f39f015ded8: Pull complete [2023-09-27T15:09:00.898Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-27T15:09:00.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T15:09:00.898Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:09:01.105Z] prd-ubuntu20.04-docker-8c-8g-8036 does not seem to be running inside a container [2023-09-27T15:09:01.141Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T15:09:04.965Z] $ docker top 2b882ead67c35657073db13cf49b9390834168d7e7e406f539d2673f98ec2d6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:09:05.431Z] ---> job-cost.sh [2023-09-27T15:09:05.431Z] lf-activate-venv: SKIPPING [2023-09-27T15:09:05.431Z] INFO: No Stack... [2023-09-27T15:09:05.690Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T15:09:05.949Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T15:09:06.270Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/cost.csv [2023-09-27T15:09:06.270Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T15:09:06.308Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-1-stack-cost] [2023-09-27T15:09:06.314Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-1-stack-cost] did not exist. Created. [2023-09-27T15:09:06.314Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T15:09:06.702Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-27T15:09:06.768Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T15:09:06.785Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T15:09:06.871Z] $ docker stop --time=1 2b882ead67c35657073db13cf49b9390834168d7e7e406f539d2673f98ec2d6e [2023-09-27T15:09:08.031Z] $ docker rm -f --volumes 2b882ead67c35657073db13cf49b9390834168d7e7e406f539d2673f98ec2d6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-27T15:09:55.521Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8037 in /w/workspace/edgexfoundry_device-sdk-c_PR-486 [Pipeline] { [Pipeline] ws [2023-09-27T15:09:55.582Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-09-27T15:09:55.659Z] Selected Git installation does not exist. Using Default [2023-09-27T15:09:55.659Z] The recommended git tool is: NONE [2023-09-27T15:10:00.400Z] using credential edgex-jenkins-ssh [2023-09-27T15:10:00.414Z] Cloning the remote Git repository [2023-09-27T15:10:00.451Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-09-27T15:10:00.543Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-09-27T15:10:00.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-09-27T15:10:00.687Z] > git --version # timeout=10 [2023-09-27T15:10:00.707Z] > git --version # 'git version 2.25.1' [2023-09-27T15:10:00.709Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T15:10:00.854Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T15:10:02.144Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-09-27T15:10:02.167Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T15:10:02.994Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-09-27T15:10:03.804Z] Merging remotes/origin/main commit b359547df5a09ee3070876df63645d58a75503b0 into PR head commit fd31eaabfbe4d05f04eb3bd97443a0daf862140e [2023-09-27T15:10:04.155Z] Merge succeeded, producing c205757f5d25cfd1bd6a32780a34104ae8b30202 [2023-09-27T15:10:04.156Z] Checking out Revision c205757f5d25cfd1bd6a32780a34104ae8b30202 (PR-486) [2023-09-27T15:10:03.058Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-09-27T15:10:03.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T15:10:03.075Z] > 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-09-27T15:10:03.820Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T15:10:03.889Z] > git checkout -f fd31eaabfbe4d05f04eb3bd97443a0daf862140e # timeout=10 [2023-09-27T15:10:04.004Z] > git remote # timeout=10 [2023-09-27T15:10:04.023Z] > git config --get remote.origin.url # timeout=10 [2023-09-27T15:10:04.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T15:10:04.053Z] > git merge b359547df5a09ee3070876df63645d58a75503b0 # timeout=10 [2023-09-27T15:10:04.137Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-27T15:10:04.159Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T15:10:04.176Z] > git checkout -f c205757f5d25cfd1bd6a32780a34104ae8b30202 # timeout=10 [2023-09-27T15:10:07.610Z] Commit message: "Merge commit 'b359547df5a09ee3070876df63645d58a75503b0' into HEAD" [2023-09-27T15:10:07.611Z] First time build. Skipping changelog. [2023-09-27T15:10:07.661Z] > git --version # timeout=10 [2023-09-27T15:10:07.673Z] > git --version # 'git version 2.25.1' [2023-09-27T15:10:07.690Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T15:10:09.058Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-27T15:10:09.058Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T15:10:09.058Z] Dload Upload Total Spent Left Speed [2023-09-27T15:10:09.058Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 12751 97 12393 0 0 78936 0 --:--:-- --:--:-- --:--:-- 78436 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80194 [Pipeline] sh [2023-09-27T15:10:09.756Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-27T15:10:10.099Z] + sudo tee /etc/docker/daemon.new [2023-09-27T15:10:10.099Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-27T15:10:10.099Z] { [2023-09-27T15:10:10.099Z] "registry-mirrors": [ [2023-09-27T15:10:10.099Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-27T15:10:10.099Z] ], [2023-09-27T15:10:10.099Z] "bip": "10.250.0.254/24", [2023-09-27T15:10:10.099Z] "hosts": [ [2023-09-27T15:10:10.099Z] "tcp://0.0.0.0:5555", [2023-09-27T15:10:10.099Z] "unix:///var/run/docker.sock" [2023-09-27T15:10:10.099Z] ], [2023-09-27T15:10:10.099Z] "mtu": 1458, [2023-09-27T15:10:10.099Z] "selinux-enabled": true, [2023-09-27T15:10:10.099Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-27T15:10:10.099Z] } [Pipeline] sh [2023-09-27T15:10:10.442Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-27T15:10:10.783Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T15:10:29.073Z] provisioning config files... [2023-09-27T15:10:29.096Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config16580841815163947478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:10:29.472Z] ---> docker-login.sh [2023-09-27T15:10:29.472Z] nexus3.edgexfoundry.org:10001 [2023-09-27T15:10:29.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:10:30.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:10:30.010Z] Configure a credential helper to remove this warning. See [2023-09-27T15:10:30.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:10:30.010Z] [2023-09-27T15:10:30.010Z] Login Succeeded [2023-09-27T15:10:30.010Z] nexus3.edgexfoundry.org:10002 [2023-09-27T15:10:30.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:10:30.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:10:30.277Z] Configure a credential helper to remove this warning. See [2023-09-27T15:10:30.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:10:30.277Z] [2023-09-27T15:10:30.277Z] Login Succeeded [2023-09-27T15:10:30.277Z] nexus3.edgexfoundry.org:10003 [2023-09-27T15:10:30.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:10:30.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:10:30.545Z] Configure a credential helper to remove this warning. See [2023-09-27T15:10:30.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:10:30.545Z] [2023-09-27T15:10:30.545Z] Login Succeeded [2023-09-27T15:10:30.545Z] nexus3.edgexfoundry.org:10004 [2023-09-27T15:10:30.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:10:31.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:10:31.080Z] Configure a credential helper to remove this warning. See [2023-09-27T15:10:31.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:10:31.080Z] [2023-09-27T15:10:31.080Z] Login Succeeded [2023-09-27T15:10:31.080Z] docker.io [2023-09-27T15:10:31.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T15:10:31.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T15:10:31.346Z] Configure a credential helper to remove this warning. See [2023-09-27T15:10:31.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T15:10:31.346Z] [2023-09-27T15:10:31.346Z] Login Succeeded [2023-09-27T15:10:31.346Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T15:10:31.378Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T15:10:31.750Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T15:10:31.779Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-09-27T15:10:31.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T15:10:31.843Z] ========================================================= [2023-09-27T15:10:31.843Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-09-27T15:10:31.843Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:10:32.289Z] + 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-09-27T15:10:32.559Z] Sending build context to Docker daemon 3.051MB [2023-09-27T15:10:32.559Z] Step 1/21 : ARG BASE=alpine:3.16 [2023-09-27T15:10:32.559Z] Step 2/21 : FROM ${BASE} as builder [2023-09-27T15:10:36.821Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-09-27T15:10:36.821Z] 547446be3368: Pulling fs layer [2023-09-27T15:10:36.821Z] 76bd08e1cacc: Pulling fs layer [2023-09-27T15:10:36.821Z] 547446be3368: Verifying Checksum [2023-09-27T15:10:36.821Z] 547446be3368: Download complete [2023-09-27T15:10:36.821Z] 547446be3368: Pull complete [2023-09-27T15:10:38.768Z] 76bd08e1cacc: Verifying Checksum [2023-09-27T15:10:38.768Z] 76bd08e1cacc: Download complete [2023-09-27T15:10:47.001Z] 76bd08e1cacc: Pull complete [2023-09-27T15:10:47.001Z] Digest: sha256:e2ae639067a511a7973e9e369d25ddd915310c8cf663528363fa06e26cb01fbe [2023-09-27T15:10:47.001Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-09-27T15:10:47.001Z] ---> 295cd00e64f4 [2023-09-27T15:10:47.001Z] 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-09-27T15:10:47.001Z] ---> Running in db7067232e5c [2023-09-27T15:10:48.416Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-09-27T15:10:48.681Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-27T15:10:48.682Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-27T15:10:48.682Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-27T15:10:50.091Z] Removing intermediate container db7067232e5c [2023-09-27T15:10:50.091Z] ---> 40ee3bc7a35d [2023-09-27T15:10:50.091Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-27T15:10:50.091Z] ---> Running in e942bef3b445 [2023-09-27T15:10:51.500Z] Removing intermediate container e942bef3b445 [2023-09-27T15:10:51.500Z] ---> 72b7232deb1c [2023-09-27T15:10:51.500Z] 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-09-27T15:10:51.500Z] ---> Running in 436dd306be03 [2023-09-27T15:10:52.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-27T15:10:52.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-27T15:10:52.993Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-27T15:10:53.975Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-27T15:10:53.975Z] (1/16) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-27T15:10:53.975Z] (2/16) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-27T15:10:53.975Z] (3/16) Installing hiredis (1.0.2-r0) [2023-09-27T15:10:53.975Z] (4/16) Installing hiredis-dev (1.0.2-r0) [2023-09-27T15:10:53.975Z] (5/16) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-27T15:10:54.926Z] (6/16) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-27T15:10:54.926Z] (7/16) Installing libcbor (0.9.0-r1) [2023-09-27T15:10:54.926Z] (8/16) Installing libcbor-dev (0.9.0-r1) [2023-09-27T15:10:55.191Z] (9/16) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-27T15:10:55.191Z] (10/16) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-27T15:10:56.145Z] (11/16) Installing libblkid (2.38-r1) [2023-09-27T15:10:56.145Z] (12/16) Installing libuuid (2.38-r1) [2023-09-27T15:10:56.145Z] (13/16) Installing libfdisk (2.38-r1) [2023-09-27T15:10:56.145Z] (14/16) Installing libmount (2.38-r1) [2023-09-27T15:10:56.145Z] (15/16) Installing libsmartcols (2.38-r1) [2023-09-27T15:10:56.145Z] (16/16) Installing util-linux-dev (2.38-r1) [2023-09-27T15:10:56.145Z] Executing busybox-1.35.0-r17.trigger [2023-09-27T15:10:56.145Z] OK: 286 MiB in 90 packages [2023-09-27T15:10:57.563Z] Removing intermediate container 436dd306be03 [2023-09-27T15:10:57.563Z] ---> c869cfab2d55 [2023-09-27T15:10:57.563Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-09-27T15:10:57.563Z] ---> Running in e299e112357e [2023-09-27T15:10:58.977Z] Removing intermediate container e299e112357e [2023-09-27T15:10:58.977Z] ---> 5c7ff5a71420 [2023-09-27T15:10:58.977Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-09-27T15:10:59.247Z] ---> 339e0614a800 [2023-09-27T15:10:59.247Z] Step 8/21 : COPY src /tmp/sdk/src [2023-09-27T15:11:02.589Z] ---> ae31738ebbad [2023-09-27T15:11:02.589Z] Step 9/21 : COPY include /tmp/sdk/include [2023-09-27T15:11:02.856Z] ---> 1c067d352209 [2023-09-27T15:11:02.856Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-09-27T15:11:03.439Z] ---> dd512fbd5c13 [2023-09-27T15:11:03.439Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-09-27T15:11:04.023Z] ---> 54dfcfcd18c0 [2023-09-27T15:11:04.023Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-09-27T15:11:04.293Z] ---> 46899bdbc347 [2023-09-27T15:11:04.293Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-09-27T15:11:04.293Z] ---> Running in 49f3efbadc12 [2023-09-27T15:11:05.258Z] + CPPCHECK=false [2023-09-27T15:11:05.258Z] + DOCGEN=false [2023-09-27T15:11:05.258Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-09-27T15:11:05.258Z] + '[' 0 -gt 0 ] [2023-09-27T15:11:05.258Z] + readlink -f ./scripts/build.sh [2023-09-27T15:11:05.258Z] + dirname /tmp/sdk/scripts/build.sh [2023-09-27T15:11:05.258Z] + dirname /tmp/sdk/scripts [2023-09-27T15:11:05.258Z] + ROOT=/tmp/sdk [2023-09-27T15:11:05.258Z] + cd /tmp/sdk [2023-09-27T15:11:05.258Z] + mkdir -p /tmp/sdk/build/release [2023-09-27T15:11:05.258Z] + cd /tmp/sdk/build/release [2023-09-27T15:11:05.258Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-09-27T15:11:05.525Z] -- The C compiler identification is GNU 11.2.1 [2023-09-27T15:11:05.525Z] -- Detecting C compiler ABI info [2023-09-27T15:11:05.791Z] -- Detecting C compiler ABI info - done [2023-09-27T15:11:06.057Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-27T15:11:06.057Z] -- Detecting C compile features [2023-09-27T15:11:06.057Z] -- Detecting C compile features - done [2023-09-27T15:11:06.057Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-27T15:11:06.325Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-27T15:11:06.325Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-27T15:11:06.325Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-27T15:11:06.325Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-27T15:11:06.325Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-27T15:11:06.325Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-27T15:11:06.325Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-27T15:11:06.325Z] -- /opt/iotech/iot/1.5/include [2023-09-27T15:11:06.325Z] -- C SDK 0.0.0 for Linux [2023-09-27T15:11:06.325Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-27T15:11:06.597Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-27T15:11:06.862Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-27T15:11:06.862Z] -- Configuring done [2023-09-27T15:11:07.130Z] -- Generating done [2023-09-27T15:11:07.130Z] -- Build files have been written to: /tmp/sdk/build/release [2023-09-27T15:11:07.130Z] + make all package [2023-09-27T15:11:07.130Z] + tee release.log [2023-09-27T15:11:07.396Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-27T15:11:08.357Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-27T15:11:09.315Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-27T15:11:09.900Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-27T15:11:10.858Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-27T15:11:11.442Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-27T15:11:14.022Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-27T15:11:14.979Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-09-27T15:11:14.979Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-27T15:11:14.979Z] 294 | while (privateConfig) [2023-09-27T15:11:14.979Z] | ^~~~~~~~~~~~~ [2023-09-27T15:11:14.979Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-27T15:11:14.979Z] 271 | while (result) [2023-09-27T15:11:14.979Z] | ^~~~~~ [2023-09-27T15:11:16.716Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-27T15:11:16.716Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-27T15:11:16.716Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-27T15:11:18.658Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-27T15:11:19.241Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-27T15:11:20.200Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-27T15:11:21.159Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-27T15:11:21.741Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-27T15:11:22.697Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-27T15:11:22.965Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-27T15:11:25.545Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-27T15:11:25.813Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-27T15:11:26.398Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-27T15:11:27.807Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-27T15:11:33.151Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-27T15:11:34.109Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-27T15:11:34.375Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-27T15:11:34.958Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-27T15:11:35.224Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-27T15:11:37.165Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-27T15:11:39.747Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-27T15:11:39.747Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-27T15:11:41.157Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-27T15:11:41.425Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-27T15:11:42.008Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-09-27T15:11:42.009Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-27T15:11:42.009Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-09-27T15:11:42.009Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-09-27T15:11:42.009Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-27T15:11:42.009Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-09-27T15:11:42.009Z] | ^ [2023-09-27T15:11:43.950Z] /tmp/sdk/src/c/service.c:1030:5: warning: 'deviceservices_config' may be used uninitialized in this function [-Wmaybe-uninitialized] [2023-09-27T15:11:43.950Z] 1030 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-09-27T15:11:43.950Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-09-27T15:11:44.907Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-27T15:11:45.864Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-27T15:11:46.129Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-27T15:11:46.710Z] [ 68%] Linking C shared library libcsdk.so [2023-09-27T15:11:46.977Z] [ 68%] Built target csdk [2023-09-27T15:11:46.977Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-27T15:11:47.933Z] [ 72%] Linking C executable template [2023-09-27T15:11:48.201Z] [ 72%] Built target template [2023-09-27T15:11:48.201Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-27T15:11:49.159Z] [ 76%] Linking C executable device-counter [2023-09-27T15:11:49.159Z] [ 76%] Built target device-counter [2023-09-27T15:11:49.159Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-27T15:11:49.741Z] [ 80%] Linking C executable device-random [2023-09-27T15:11:50.008Z] [ 80%] Built target device-random [2023-09-27T15:11:50.274Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-27T15:11:50.858Z] [ 84%] Linking C executable device-gyro [2023-09-27T15:11:50.858Z] [ 84%] Built target device-gyro [2023-09-27T15:11:51.124Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-27T15:11:51.705Z] [ 88%] Linking C executable device-bitfields [2023-09-27T15:11:51.973Z] [ 88%] Built target device-bitfields [2023-09-27T15:11:51.973Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-27T15:11:52.930Z] [ 92%] Linking C executable template-discovery [2023-09-27T15:11:53.196Z] [ 92%] Built target template-discovery [2023-09-27T15:11:53.196Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-27T15:11:54.155Z] [ 96%] Linking C executable device-file [2023-09-27T15:11:54.155Z] [ 96%] Built target device-file [2023-09-27T15:11:54.421Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-27T15:11:55.003Z] [100%] Linking C executable device-terminal [2023-09-27T15:11:55.269Z] [100%] Built target device-terminal [2023-09-27T15:11:56.672Z] Run CPack packaging tool... [2023-09-27T15:11:56.672Z] CPack: Create package using TGZ [2023-09-27T15:11:56.672Z] CPack: Install projects [2023-09-27T15:11:56.672Z] CPack: - Run preinstall target for: Csdk [2023-09-27T15:11:57.633Z] CPack: - Install project: Csdk [] [2023-09-27T15:11:57.633Z] CPack: Create package [2023-09-27T15:11:57.633Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-09-27T15:11:57.633Z] + '[' false '=' true ] [2023-09-27T15:11:57.633Z] + '[' false '=' true ] [2023-09-27T15:11:57.633Z] + mkdir -p /tmp/sdk/build/debug [2023-09-27T15:11:57.633Z] + cd /tmp/sdk/build/debug [2023-09-27T15:11:57.633Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-09-27T15:11:57.899Z] -- The C compiler identification is GNU 11.2.1 [2023-09-27T15:11:57.899Z] -- Detecting C compiler ABI info [2023-09-27T15:11:58.166Z] -- Detecting C compiler ABI info - done [2023-09-27T15:11:58.433Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-09-27T15:11:58.434Z] -- Detecting C compile features [2023-09-27T15:11:58.434Z] -- Detecting C compile features - done [2023-09-27T15:11:58.434Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-09-27T15:11:58.434Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.0.1") [2023-09-27T15:11:58.700Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-09-27T15:11:58.700Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-09-27T15:11:58.700Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-09-27T15:11:58.700Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-09-27T15:11:58.700Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-09-27T15:11:58.700Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-09-27T15:11:58.700Z] -- /opt/iotech/iot/1.5/include [2023-09-27T15:11:58.700Z] -- C SDK 0.0.0 for Linux [2023-09-27T15:11:58.700Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-09-27T15:11:58.969Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-09-27T15:11:59.236Z] -- Found Curses: /usr/lib/libcurses.so [2023-09-27T15:11:59.236Z] -- Configuring done [2023-09-27T15:11:59.502Z] -- Generating done [2023-09-27T15:11:59.502Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-09-27T15:11:59.502Z] + + maketee [2023-09-27T15:11:59.502Z] debug.log [2023-09-27T15:11:59.768Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-09-27T15:12:00.034Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-09-27T15:12:00.617Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-09-27T15:12:00.883Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-09-27T15:12:01.466Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-09-27T15:12:01.732Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-09-27T15:12:02.689Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-09-27T15:12:02.955Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-09-27T15:12:03.221Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-09-27T15:12:03.805Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-09-27T15:12:04.385Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-09-27T15:12:04.653Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-09-27T15:12:05.236Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-09-27T15:12:05.502Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-09-27T15:12:06.083Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-09-27T15:12:06.348Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-09-27T15:12:06.617Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-09-27T15:12:07.573Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-09-27T15:12:07.840Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-09-27T15:12:07.840Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-09-27T15:12:08.793Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-09-27T15:12:09.751Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-09-27T15:12:10.334Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-09-27T15:12:10.598Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-09-27T15:12:10.862Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-09-27T15:12:11.443Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-09-27T15:12:11.710Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-09-27T15:12:13.654Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-09-27T15:12:13.654Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-09-27T15:12:14.238Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-09-27T15:12:14.503Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-09-27T15:12:15.084Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-09-27T15:12:15.084Z] /tmp/sdk/src/c/service.c:874:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-27T15:12:15.084Z] 874 | iot_data_t *allservices_config = iot_data_map_get_map(common_config_file, allservices_config_key); [2023-09-27T15:12:15.084Z] | ^~~~~~~~~~~~~~~~~~~~ [2023-09-27T15:12:15.084Z] /tmp/sdk/src/c/service.c:875:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-09-27T15:12:15.084Z] 875 | deviceservices_config = iot_data_map_get_map(common_config_file, deviceservices_config_key); [2023-09-27T15:12:15.084Z] | ^ [2023-09-27T15:12:15.431Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-09-27T15:12:16.022Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-09-27T15:12:16.297Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-09-27T15:12:16.570Z] [ 68%] Linking C shared library libcsdk.so [2023-09-27T15:12:16.845Z] [ 68%] Built target csdk [2023-09-27T15:12:16.845Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-09-27T15:12:17.433Z] [ 72%] Linking C executable template [2023-09-27T15:12:17.704Z] [ 72%] Built target template [2023-09-27T15:12:17.704Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-09-27T15:12:17.980Z] [ 76%] Linking C executable device-counter [2023-09-27T15:12:18.251Z] [ 76%] Built target device-counter [2023-09-27T15:12:18.251Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-09-27T15:12:18.843Z] [ 80%] Linking C executable device-random [2023-09-27T15:12:18.843Z] [ 80%] Built target device-random [2023-09-27T15:12:19.113Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-09-27T15:12:19.381Z] [ 84%] Linking C executable device-gyro [2023-09-27T15:12:19.645Z] [ 84%] Built target device-gyro [2023-09-27T15:12:19.645Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-09-27T15:12:19.910Z] [ 88%] Linking C executable device-bitfields [2023-09-27T15:12:20.177Z] [ 88%] Built target device-bitfields [2023-09-27T15:12:20.177Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-09-27T15:12:20.760Z] [ 92%] Linking C executable template-discovery [2023-09-27T15:12:21.025Z] [ 92%] Built target template-discovery [2023-09-27T15:12:21.025Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-09-27T15:12:21.291Z] [ 96%] Linking C executable device-file [2023-09-27T15:12:21.568Z] [ 96%] Built target device-file [2023-09-27T15:12:21.569Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-09-27T15:12:22.150Z] [100%] Linking C executable device-terminal [2023-09-27T15:12:22.415Z] [100%] Built target device-terminal [2023-09-27T15:12:22.996Z] make: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:22.996Z] make[1]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.262Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.262Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.262Z] [ 68%] Built target csdk [2023-09-27T15:12:23.262Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.262Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.262Z] [ 72%] Built target template [2023-09-27T15:12:23.262Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.262Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.262Z] [ 76%] Built target device-counter [2023-09-27T15:12:23.262Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.262Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.262Z] [ 80%] Built target device-random [2023-09-27T15:12:23.262Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.262Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.530Z] [ 84%] Built target device-gyro [2023-09-27T15:12:23.530Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.530Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.530Z] [ 88%] Built target device-bitfields [2023-09-27T15:12:23.530Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.530Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.530Z] [ 92%] Built target template-discovery [2023-09-27T15:12:23.530Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.530Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.530Z] [ 96%] Built target device-file [2023-09-27T15:12:23.530Z] make[2]: Entering directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.530Z] make[2]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.530Z] [100%] Built target device-terminal [2023-09-27T15:12:23.530Z] make[1]: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:23.530Z] Install the project... [2023-09-27T15:12:23.799Z] -- Install configuration: "Release" [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/lib/libcsdk.so [2023-09-27T15:12:23.799Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include/devsdk [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include/edgex [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include/edgex/devices.h [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-09-27T15:12:23.799Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-09-27T15:12:23.799Z] make: Leaving directory '/tmp/sdk/build/release' [2023-09-27T15:12:25.207Z] Removing intermediate container 49f3efbadc12 [2023-09-27T15:12:25.207Z] ---> bc43d1396d2b [2023-09-27T15:12:25.207Z] Step 14/21 : FROM ${BASE} [2023-09-27T15:12:25.207Z] ---> 295cd00e64f4 [2023-09-27T15:12:25.207Z] Step 15/21 : LABEL maintainer="IOTech " [2023-09-27T15:12:25.207Z] ---> Running in 44f7c6c7bd14 [2023-09-27T15:12:25.207Z] Removing intermediate container 44f7c6c7bd14 [2023-09-27T15:12:25.207Z] ---> 2438a6c40d55 [2023-09-27T15:12:25.207Z] 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-09-27T15:12:25.207Z] ---> Running in 1f55e2c2ebce [2023-09-27T15:12:26.164Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-09-27T15:12:26.744Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-27T15:12:26.744Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-27T15:12:26.744Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-27T15:12:27.329Z] Removing intermediate container 1f55e2c2ebce [2023-09-27T15:12:27.329Z] ---> c3f02ebd887e [2023-09-27T15:12:27.329Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-27T15:12:27.329Z] ---> Running in bbe1938bda99 [2023-09-27T15:12:28.736Z] Removing intermediate container bbe1938bda99 [2023-09-27T15:12:28.736Z] ---> df68b9d292f7 [2023-09-27T15:12:28.736Z] 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-09-27T15:12:29.004Z] ---> Running in bb7ae6606d31 [2023-09-27T15:12:29.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-27T15:12:29.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-27T15:12:30.541Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-27T15:12:31.492Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-27T15:12:31.492Z] (1/7) Installing curl (8.2.1-r0) [2023-09-27T15:12:31.492Z] (2/7) Installing hiredis (1.0.2-r0) [2023-09-27T15:12:31.492Z] (3/7) Installing hiredis-dev (1.0.2-r0) [2023-09-27T15:12:31.492Z] (4/7) Installing iotech-iot-1.4 (1.4.2-r0) [2023-09-27T15:12:32.072Z] (5/7) Installing libcbor (0.9.0-r1) [2023-09-27T15:12:32.072Z] (6/7) Installing libuuid (2.38-r1) [2023-09-27T15:12:32.072Z] (7/7) Installing paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-09-27T15:12:33.030Z] Executing busybox-1.35.0-r17.trigger [2023-09-27T15:12:33.030Z] OK: 281 MiB in 83 packages [2023-09-27T15:12:37.279Z] Removing intermediate container bb7ae6606d31 [2023-09-27T15:12:37.279Z] ---> b7d11c133d1b [2023-09-27T15:12:37.279Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-09-27T15:12:37.861Z] ---> c595f0131152 [2023-09-27T15:12:37.861Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-09-27T15:12:38.444Z] ---> 30bf76eaaac5 [2023-09-27T15:12:38.444Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-09-27T15:12:38.709Z] ---> 7471881a2d36 [2023-09-27T15:12:38.977Z] Successfully built 7471881a2d36 [2023-09-27T15:12:38.977Z] 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-09-27T15:12:39.684Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T15:12:39.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:12:39.952Z] prd-ubuntu20.04-docker-arm64-4c-16g-8037 does not seem to be running inside a container [2023-09-27T15:12:40.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** ci-base-image-arm64 cat [2023-09-27T15:12:41.144Z] $ docker top 07adaa5063d25537df22c51b7d42ad4f6afad70fdf09d89c79bd2d6abc3e77f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T15:12:41.998Z] + make test [2023-09-27T15:12:41.998Z] echo "make test" [2023-09-27T15:12:41.998Z] make test [Pipeline] } [2023-09-27T15:12:42.039Z] $ docker stop --time=1 07adaa5063d25537df22c51b7d42ad4f6afad70fdf09d89c79bd2d6abc3e77f0 [2023-09-27T15:12:43.615Z] $ docker rm -f --volumes 07adaa5063d25537df22c51b7d42ad4f6afad70fdf09d89c79bd2d6abc3e77f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T15:12:44.405Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T15:12:44.736Z] + ls -al . [2023-09-27T15:12:44.736Z] total 208 [2023-09-27T15:12:44.736Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:10 . [2023-09-27T15:12:44.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:10 .. [2023-09-27T15:12:44.736Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:10 .git [2023-09-27T15:12:44.736Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:10 .github [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 176 Sep 27 15:10 .gitignore [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 2908 Sep 27 15:10 Attribution.txt [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 9802 Sep 27 15:10 CHANGES [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 108574 Sep 27 15:10 Doxyfile [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 15:10 GOVERNANCE.md [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 784 Sep 27 15:10 Jenkinsfile [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 10174 Sep 27 15:10 LICENSE [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 444 Sep 27 15:10 Makefile [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 618 Sep 27 15:10 OWNERS.md [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 1651 Sep 27 15:10 README.IOT.md [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 4215 Sep 27 15:10 README.md [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 1245 Sep 27 15:10 README.v3.md [2023-09-27T15:12:44.736Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 15:08 VERSION [2023-09-27T15:12:44.736Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:10 docs [2023-09-27T15:12:44.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:10 include [2023-09-27T15:12:44.736Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:10 scripts [2023-09-27T15:12:44.736Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:10 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:12:45.142Z] + 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=c205757f5d25cfd1bd6a32780a34104ae8b30202 --label arch=arm64 --label version=0.0.0 . [2023-09-27T15:12:45.406Z] Sending build context to Docker daemon 3.051MB [2023-09-27T15:12:45.406Z] Step 1/17 : ARG BASE=alpine:3.16 [2023-09-27T15:12:45.406Z] Step 2/17 : FROM ${BASE} [2023-09-27T15:12:45.406Z] ---> 7471881a2d36 [2023-09-27T15:12:45.406Z] Step 3/17 : LABEL maintainer="IOTech " [2023-09-27T15:12:45.672Z] ---> Running in a99cd503cb41 [2023-09-27T15:12:45.938Z] Removing intermediate container a99cd503cb41 [2023-09-27T15:12:45.938Z] ---> 5166c6e2704e [2023-09-27T15:12:45.938Z] 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-09-27T15:12:45.938Z] ---> Running in c68e896122d6 [2023-09-27T15:12:46.895Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-09-27T15:12:47.163Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-09-27T15:12:47.163Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-09-27T15:12:47.163Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-09-27T15:12:48.122Z] Removing intermediate container c68e896122d6 [2023-09-27T15:12:48.122Z] ---> 0a9dff0b5cfe [2023-09-27T15:12:48.122Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories [2023-09-27T15:12:48.122Z] ---> Running in dc5f9e20984d [2023-09-27T15:12:51.451Z] Removing intermediate container dc5f9e20984d [2023-09-27T15:12:51.452Z] ---> 1702249246cd [2023-09-27T15:12:51.452Z] 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-09-27T15:12:51.452Z] ---> Running in 3b8040a53458 [2023-09-27T15:12:52.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-27T15:12:52.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-09-27T15:12:52.879Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/aarch64/APKINDEX.tar.gz [2023-09-27T15:12:53.830Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-09-27T15:12:53.830Z] (1/11) Upgrading ncurses-terminfo-base (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-27T15:12:53.830Z] (2/11) Upgrading ncurses-libs (6.3_p20220521-r0 -> 6.3_p20220521-r1) [2023-09-27T15:12:53.830Z] (3/11) Installing iotech-iot-1.5 (1.5.0-r0) [2023-09-27T15:12:54.409Z] (4/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-09-27T15:12:54.409Z] (5/11) Installing libcbor-dev (0.9.0-r1) [2023-09-27T15:12:54.409Z] (6/11) Installing ncurses-dev (6.3_p20220521-r1) [2023-09-27T15:12:54.674Z] (7/11) Installing libblkid (2.38-r1) [2023-09-27T15:12:54.674Z] (8/11) Installing libfdisk (2.38-r1) [2023-09-27T15:12:54.674Z] (9/11) Installing libmount (2.38-r1) [2023-09-27T15:12:54.674Z] (10/11) Installing libsmartcols (2.38-r1) [2023-09-27T15:12:54.674Z] (11/11) Installing util-linux-dev (2.38-r1) [2023-09-27T15:12:54.674Z] Executing busybox-1.35.0-r17.trigger [2023-09-27T15:12:54.674Z] OK: 287 MiB in 92 packages [2023-09-27T15:12:56.077Z] Removing intermediate container 3b8040a53458 [2023-09-27T15:12:56.077Z] ---> 3bdeab521495 [2023-09-27T15:12:56.077Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-09-27T15:12:56.342Z] ---> 04a42aac08ee [2023-09-27T15:12:56.342Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-09-27T15:12:56.925Z] ---> 8c6f1a3ce250 [2023-09-27T15:12:56.925Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-09-27T15:12:57.506Z] ---> 5967791fb5a8 [2023-09-27T15:12:57.506Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-09-27T15:12:57.771Z] ---> 37d443a1e82b [2023-09-27T15:12:57.771Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-09-27T15:12:58.353Z] ---> 17bb0a8b2833 [2023-09-27T15:12:58.353Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-09-27T15:12:58.933Z] ---> 99b8e27b58e9 [2023-09-27T15:12:58.933Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-09-27T15:12:58.933Z] ---> Running in 9996b855ba13 [2023-09-27T15:12:59.200Z] Removing intermediate container 9996b855ba13 [2023-09-27T15:12:59.200Z] ---> fb3cf708c270 [2023-09-27T15:12:59.200Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-09-27T15:12:59.200Z] ---> Running in c0eb2507a3ce [2023-09-27T15:12:59.467Z] Removing intermediate container c0eb2507a3ce [2023-09-27T15:12:59.467Z] ---> 39bfc6d4dec3 [2023-09-27T15:12:59.467Z] Step 15/17 : LABEL arch=arm64 [2023-09-27T15:12:59.739Z] ---> Running in 43b3f762cd8f [2023-09-27T15:13:00.005Z] Removing intermediate container 43b3f762cd8f [2023-09-27T15:13:00.005Z] ---> 8c3cca5d726b [2023-09-27T15:13:00.005Z] Step 16/17 : LABEL git_sha=c205757f5d25cfd1bd6a32780a34104ae8b30202 [2023-09-27T15:13:00.005Z] ---> Running in f5fdc2b63a1d [2023-09-27T15:13:00.270Z] Removing intermediate container f5fdc2b63a1d [2023-09-27T15:13:00.270Z] ---> 81dfe40c178c [2023-09-27T15:13:00.270Z] Step 17/17 : LABEL version=0.0.0 [2023-09-27T15:13:00.270Z] ---> Running in c5d8918451f6 [2023-09-27T15:13:00.533Z] Removing intermediate container c5d8918451f6 [2023-09-27T15:13:00.534Z] ---> a90a3b233873 [2023-09-27T15:13:00.534Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-09-27T15:13:00.534Z] Successfully built a90a3b233873 [2023-09-27T15:13:00.534Z] 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-09-27T15:13:01.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T15:13:01.318Z] [2023-09-27T15:13:01.318Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:13:01.711Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T15:13:01.976Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-27T15:13:01.976Z] 8998bd30e6a1: Pulling fs layer [2023-09-27T15:13:01.976Z] 04944245beec: Pulling fs layer [2023-09-27T15:13:01.976Z] 699f458cf7ca: Pulling fs layer [2023-09-27T15:13:01.976Z] 765212b225bb: Pulling fs layer [2023-09-27T15:13:01.976Z] f23df028b6ca: Pulling fs layer [2023-09-27T15:13:01.976Z] d65c8cfc05b1: Pulling fs layer [2023-09-27T15:13:01.976Z] 2437ff75d9bd: Pulling fs layer [2023-09-27T15:13:01.976Z] f23df028b6ca: Waiting [2023-09-27T15:13:01.976Z] d65c8cfc05b1: Waiting [2023-09-27T15:13:01.976Z] 2437ff75d9bd: Waiting [2023-09-27T15:13:01.976Z] 765212b225bb: Waiting [2023-09-27T15:13:01.976Z] 04944245beec: Verifying Checksum [2023-09-27T15:13:01.976Z] 04944245beec: Download complete [2023-09-27T15:13:01.976Z] 765212b225bb: Download complete [2023-09-27T15:13:01.976Z] f23df028b6ca: Verifying Checksum [2023-09-27T15:13:01.976Z] f23df028b6ca: Download complete [2023-09-27T15:13:01.976Z] d65c8cfc05b1: Verifying Checksum [2023-09-27T15:13:01.976Z] d65c8cfc05b1: Download complete [2023-09-27T15:13:02.241Z] 699f458cf7ca: Verifying Checksum [2023-09-27T15:13:02.241Z] 699f458cf7ca: Download complete [2023-09-27T15:13:02.506Z] 8998bd30e6a1: Verifying Checksum [2023-09-27T15:13:02.506Z] 8998bd30e6a1: Download complete [2023-09-27T15:13:05.074Z] 2437ff75d9bd: Verifying Checksum [2023-09-27T15:13:05.074Z] 2437ff75d9bd: Download complete [2023-09-27T15:13:06.482Z] 8998bd30e6a1: Pull complete [2023-09-27T15:13:06.759Z] 04944245beec: Pull complete [2023-09-27T15:13:08.175Z] 699f458cf7ca: Pull complete [2023-09-27T15:13:08.175Z] 765212b225bb: Pull complete [2023-09-27T15:13:09.134Z] f23df028b6ca: Pull complete [2023-09-27T15:13:09.134Z] d65c8cfc05b1: Pull complete [2023-09-27T15:13:24.119Z] 2437ff75d9bd: Pull complete [2023-09-27T15:13:24.119Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-27T15:13:24.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T15:13:24.119Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:13:24.421Z] prd-ubuntu20.04-docker-arm64-4c-16g-8037 does not seem to be running inside a container [2023-09-27T15:13:24.483Z] $ 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/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-27T15:13:26.762Z] $ docker top 52b8c440ad33eab76193e04427ca02172eac6cd5d9c817561c50bd5908ec637f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:13:27.309Z] ---> job-cost.sh [2023-09-27T15:13:27.728Z] lf-activate-venv: SKIPPING [2023-09-27T15:13:27.728Z] INFO: No Stack... [2023-09-27T15:13:27.993Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-27T15:13:28.573Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T15:13:29.229Z] + + cat /w/workspace/device-sdk-c/1/archives/cost.csvcut [2023-09-27T15:13:29.229Z] -d, -f6 [Pipeline] lock [2023-09-27T15:13:29.303Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-486-1-stack-cost] [2023-09-27T15:13:29.307Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-486-1-stack-cost] did not exist. Created. [2023-09-27T15:13:29.307Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-486-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T15:13:29.710Z] /w/workspace/device-sdk-c/1@tmp/durable-e6bb6e73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-27T15:13:30.058Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-27T15:13:30.094Z] Warning: overwriting stash ‘stack-cost’ [2023-09-27T15:13:30.497Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T15:13:30.511Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-486-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T15:13:30.599Z] $ docker stop --time=1 52b8c440ad33eab76193e04427ca02172eac6cd5d9c817561c50bd5908ec637f [2023-09-27T15:13:32.063Z] $ docker rm -f --volumes 52b8c440ad33eab76193e04427ca02172eac6cd5d9c817561c50bd5908ec637f [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-09-27T15:13:33.773Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives ] [2023-09-27T15:13:33.773Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-09-27T15:13:33.773Z] total 16 [2023-09-27T15:13:33.773Z] drwxr-xr-x 3 root root 4096 Sep 27 15:09 . [2023-09-27T15:13:33.773Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 15:09 .. [2023-09-27T15:13:33.773Z] drwxr-xr-x 2 root root 4096 Sep 27 15:09 cost [2023-09-27T15:13:33.773Z] -rw-r--r-- 1 root root 84 Sep 27 15:09 cost.csv [2023-09-27T15:13:33.773Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-09-27T15:13:33.773Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives [2023-09-27T15:13:33.773Z] total 16 [2023-09-27T15:13:33.773Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 15:09 . [2023-09-27T15:13:33.773Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 15:09 .. [2023-09-27T15:13:33.773Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 15:09 cost [2023-09-27T15:13:33.773Z] -rw-r--r-- 1 jenkins jenkins 84 Sep 27 15:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:13:34.098Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:13:34.983Z] ---> package-listing.sh [2023-09-27T15:13:34.983Z] ++ facter osfamily [2023-09-27T15:13:34.983Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-27T15:13:35.242Z] + OS_FAMILY=debian [2023-09-27T15:13:35.242Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-486 [2023-09-27T15:13:35.242Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-27T15:13:35.242Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-27T15:13:35.242Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-27T15:13:35.242Z] + PACKAGES=/tmp/packages_start.txt [2023-09-27T15:13:35.242Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-09-27T15:13:35.242Z] + PACKAGES=/tmp/packages_end.txt [2023-09-27T15:13:35.242Z] + case "${OS_FAMILY}" in [2023-09-27T15:13:35.242Z] + dpkg -l [2023-09-27T15:13:35.242Z] + grep '^ii' [2023-09-27T15:13:35.242Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-27T15:13:35.242Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-27T15:13:35.242Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-27T15:13:35.242Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-486 ']' [2023-09-27T15:13:35.242Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-486/archives/ [2023-09-27T15:13:35.242Z] + 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-09-27T15:13:35.275Z] 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-09-27T15:13:35.565Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T15:13:35.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T15:13:35.936Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T15:13:36.077Z] prd-ubuntu20.04-docker-8c-8g-8036 does not seem to be running inside a container [2023-09-27T15:13:36.105Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T15:13:36.279Z] $ docker top d1571d0750b1021464d6e2a73b24ddb1d82445d92388f57db5dd79e226a11c15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T15:13:36.662Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-27T15:13:36.974Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-27T15:13:37.284Z] + ls /var/log/sa-host [2023-09-27T15:13:37.284Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T15:13:37.498Z] provisioning config files... [2023-09-27T15:13:37.507Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-486@tmp/config11969267221158508730tmp [Pipeline] { [Pipeline] echo [2023-09-27T15:13:37.557Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:13:37.874Z] ---> create-netrc.sh [Pipeline] } [2023-09-27T15:13:37.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:13:38.318Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-27T15:13:38.350Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:13:38.660Z] ---> sudo-logs.sh [2023-09-27T15:13:38.660Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-27T15:13:38.745Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:13:39.055Z] ---> job-cost.sh [2023-09-27T15:13:39.055Z] lf-activate-venv: SKIPPING [2023-09-27T15:13:39.055Z] DEBUG: total: 0.2199999988079071 [2023-09-27T15:13:39.055Z] INFO: Retrieving Stack Cost... [2023-09-27T15:13:39.315Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T15:13:39.883Z] INFO: Archiving Costs [Pipeline] echo [2023-09-27T15:13:39.915Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T15:13:40.227Z] ---> logs-deploy.sh [2023-09-27T15:13:40.227Z] lf-activate-venv: SKIPPING [2023-09-27T15:13:40.227Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-486/1 [2023-09-27T15:13:40.227Z] INFO: archiving workspace using pattern(s): [2023-09-27T15:13:41.164Z] Archives upload complete. [2023-09-27T15:13:41.164Z] INFO: archiving logs to Nexus