Pull request #496 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 lenny-intel for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4410ed02c89f9f775968b3c16ea152ec31bdb83a+1a776ee907d08e39928eb07fc2284b30a6e0a694 (679d299e24ba7e782056faf3075d09993893ce68) 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-ssh5819727643092138561.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13193750914884919554.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh 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-496/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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8946586341252111199.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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3080070153231939998.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh1616773899882073418.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-496/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-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4113160622713139125.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17537 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [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-496 # 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/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a Merge succeeded, producing 4410ed02c89f9f775968b3c16ea152ec31bdb83a Checking out Revision 4410ed02c89f9f775968b3c16ea152ec31bdb83a (PR-496) > git config core.sparsecheckout # timeout=10 > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # 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 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T20:32:20.960Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T20:32:21.112Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T20:32:21.209Z] ========================================================= [2023-11-14T20:32:21.209Z] EdgeX Global Pipelines Version Info [2023-11-14T20:32:21.209Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:32:21.958Z] ------------------- [2023-11-14T20:32:21.958Z] stable info: [2023-11-14T20:32:21.958Z] ------------------- [2023-11-14T20:32:21.958Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T20:32:21.958Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T20:32:21.958Z] Message: update stable to v1.0.257 [2023-11-14T20:32:22.527Z] ------------------- [2023-11-14T20:32:22.527Z] experimental info: [2023-11-14T20:32:22.527Z] ------------------- [2023-11-14T20:32:22.527Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T20:32:22.527Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T20:32:22.527Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T20:32:22.815Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-11-14T20:32:22.859Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-11-14T20:32:22.895Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T20:32:22.934Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T20:32:22.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T20:32:23.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-11-14T20:32:23.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-11-14T20:32:23.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T20:32:23.139Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T20:32:23.180Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-11-14T20:32:23.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T20:32:23.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T20:32:23.301Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T20:32:23.344Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T20:32:23.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T20:32:23.421Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T20:32:23.464Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T20:32:23.503Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo [2023-11-14T20:32:23.540Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo [2023-11-14T20:32:23.580Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo [2023-11-14T20:32:23.620Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4410ed02c89f9f775968b3c16ea152ec31bdb83a [Pipeline] echo [2023-11-14T20:32:23.659Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4410ed0 [Pipeline] echo [2023-11-14T20:32:23.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T20:32:23.820Z] provisioning config files... [2023-11-14T20:32:23.838Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config1990322990145132570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:32:24.188Z] ---> docker-login.sh [2023-11-14T20:32:24.188Z] nexus3.edgexfoundry.org:10001 [2023-11-14T20:32:24.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:32:24.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:32:24.448Z] Configure a credential helper to remove this warning. See [2023-11-14T20:32:24.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:32:24.448Z] [2023-11-14T20:32:24.448Z] Login Succeeded [2023-11-14T20:32:24.448Z] nexus3.edgexfoundry.org:10002 [2023-11-14T20:32:24.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:32:24.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:32:24.448Z] Configure a credential helper to remove this warning. See [2023-11-14T20:32:24.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:32:24.448Z] [2023-11-14T20:32:24.448Z] Login Succeeded [2023-11-14T20:32:24.448Z] nexus3.edgexfoundry.org:10003 [2023-11-14T20:32:24.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:32:24.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:32:24.712Z] Configure a credential helper to remove this warning. See [2023-11-14T20:32:24.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:32:24.712Z] [2023-11-14T20:32:24.712Z] Login Succeeded [2023-11-14T20:32:24.712Z] nexus3.edgexfoundry.org:10004 [2023-11-14T20:32:24.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:32:24.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:32:24.712Z] Configure a credential helper to remove this warning. See [2023-11-14T20:32:24.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:32:24.712Z] [2023-11-14T20:32:24.712Z] Login Succeeded [2023-11-14T20:32:24.712Z] docker.io [2023-11-14T20:32:24.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:32:25.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:32:25.277Z] Configure a credential helper to remove this warning. See [2023-11-14T20:32:25.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:32:25.277Z] [2023-11-14T20:32:25.277Z] Login Succeeded [2023-11-14T20:32:25.277Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T20:32:25.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-11-14T20:32:25.912Z] + git rev-list -1 --merges 4410ed02c89f9f775968b3c16ea152ec31bdb83a~1..4410ed02c89f9f775968b3c16ea152ec31bdb83a [Pipeline] echo [2023-11-14T20:32:25.977Z] -----------> git rev-list -1 --merges 4410ed02c89f9f775968b3c16ea152ec31bdb83a~1..4410ed02c89f9f775968b3c16ea152ec31bdb83a 4410ed02c89f9f775968b3c16ea152ec31bdb83a [false] [Pipeline] sh [2023-11-14T20:32:26.286Z] + git log --format=format:%s -1 4410ed02c89f9f775968b3c16ea152ec31bdb83a [Pipeline] echo [2023-11-14T20:32:26.324Z] ========================================================= [2023-11-14T20:32:26.324Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T20:32:26.324Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T20:32:27.150Z] + git rev-list -1 --merges 4410ed02c89f9f775968b3c16ea152ec31bdb83a~1..4410ed02c89f9f775968b3c16ea152ec31bdb83a [Pipeline] echo [2023-11-14T20:32:27.182Z] -----------> git rev-list -1 --merges 4410ed02c89f9f775968b3c16ea152ec31bdb83a~1..4410ed02c89f9f775968b3c16ea152ec31bdb83a 4410ed02c89f9f775968b3c16ea152ec31bdb83a [false] [Pipeline] sh [2023-11-14T20:32:27.489Z] + git log --format=format:%s -1 4410ed02c89f9f775968b3c16ea152ec31bdb83a [Pipeline] echo [2023-11-14T20:32:27.523Z] ========================================================= [2023-11-14T20:32:27.523Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T20:32:27.523Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-11-14T20:32:27.949Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T20:32:27.949Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T20:32:27.949Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T20:32:27.949Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T20:32:27.949Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T20:32:27.949Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T20:32:27.949Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:32:28.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T20:32:28.386Z] [2023-11-14T20:32:28.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:32:28.759Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T20:32:28.759Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T20:32:28.759Z] b85a868b505f: Pulling fs layer [2023-11-14T20:32:28.759Z] e2be974225ed: Pulling fs layer [2023-11-14T20:32:28.759Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T20:32:28.759Z] 988bab9f4d93: Pulling fs layer [2023-11-14T20:32:28.759Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T20:32:28.759Z] eaf3925da568: Pulling fs layer [2023-11-14T20:32:28.759Z] bab4dde63d76: Pulling fs layer [2023-11-14T20:32:28.759Z] bde34c3a00c8: Pulling fs layer [2023-11-14T20:32:28.759Z] b352a97aabf1: Pulling fs layer [2023-11-14T20:32:28.759Z] 4872d77fe225: Pulling fs layer [2023-11-14T20:32:28.759Z] 5851b861e8e6: Pulling fs layer [2023-11-14T20:32:28.759Z] b352a97aabf1: Waiting [2023-11-14T20:32:28.759Z] bab4dde63d76: Waiting [2023-11-14T20:32:28.759Z] 4872d77fe225: Waiting [2023-11-14T20:32:28.759Z] 5851b861e8e6: Waiting [2023-11-14T20:32:28.759Z] bde34c3a00c8: Waiting [2023-11-14T20:32:28.759Z] 988bab9f4d93: Waiting [2023-11-14T20:32:28.759Z] 1469e6f7b9e6: Waiting [2023-11-14T20:32:28.759Z] eaf3925da568: Waiting [2023-11-14T20:32:28.759Z] e2be974225ed: Download complete [2023-11-14T20:32:28.759Z] 988bab9f4d93: Verifying Checksum [2023-11-14T20:32:28.759Z] 988bab9f4d93: Download complete [2023-11-14T20:32:29.021Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T20:32:29.021Z] 1469e6f7b9e6: Download complete [2023-11-14T20:32:29.021Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T20:32:29.021Z] 339a4e72a1f5: Download complete [2023-11-14T20:32:29.021Z] eaf3925da568: Verifying Checksum [2023-11-14T20:32:29.021Z] eaf3925da568: Download complete [2023-11-14T20:32:29.021Z] bde34c3a00c8: Verifying Checksum [2023-11-14T20:32:29.021Z] bde34c3a00c8: Download complete [2023-11-14T20:32:29.021Z] b352a97aabf1: Download complete [2023-11-14T20:32:29.021Z] 4872d77fe225: Verifying Checksum [2023-11-14T20:32:29.021Z] 4872d77fe225: Download complete [2023-11-14T20:32:29.021Z] 5851b861e8e6: Download complete [2023-11-14T20:32:29.021Z] b85a868b505f: Download complete [2023-11-14T20:32:29.280Z] bab4dde63d76: Verifying Checksum [2023-11-14T20:32:29.280Z] bab4dde63d76: Download complete [2023-11-14T20:32:30.216Z] b85a868b505f: Pull complete [2023-11-14T20:32:30.216Z] e2be974225ed: Pull complete [2023-11-14T20:32:30.783Z] 339a4e72a1f5: Pull complete [2023-11-14T20:32:30.783Z] 988bab9f4d93: Pull complete [2023-11-14T20:32:31.043Z] 1469e6f7b9e6: Pull complete [2023-11-14T20:32:31.043Z] eaf3925da568: Pull complete [2023-11-14T20:32:32.949Z] bab4dde63d76: Pull complete [2023-11-14T20:32:32.949Z] bde34c3a00c8: Pull complete [2023-11-14T20:32:32.949Z] b352a97aabf1: Pull complete [2023-11-14T20:32:33.209Z] 4872d77fe225: Pull complete [2023-11-14T20:32:33.209Z] 5851b861e8e6: Pull complete [2023-11-14T20:32:33.209Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T20:32:33.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T20:32:33.209Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:32:33.441Z] prd-ubuntu20.04-docker-8c-8g-17537 does not seem to be running inside a container [2023-11-14T20:32:33.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-14T20:32:35.599Z] $ docker top afe172db7dfce34f5a3f79b301d1400612d3d55ef19f7b417b9b9a223aaadfb8 -eo pid,comm [2023-11-14T20:32:35.653Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-14T20:32:35.653Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T20:32:35.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T20:32:35.784Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T20:32:35.913Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T20:32:35.918Z] $ docker exec afe172db7dfce34f5a3f79b301d1400612d3d55ef19f7b417b9b9a223aaadfb8 ssh-agent [2023-11-14T20:32:36.027Z] SSH_AUTH_SOCK=/tmp/ssh-PxadGgjKT03Q/agent.31 [2023-11-14T20:32:36.027Z] SSH_AGENT_PID=37 [2023-11-14T20:32:36.034Z] Running ssh-add (command line suppressed) [2023-11-14T20:32:36.155Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_17860889925245492030.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_17860889925245492030.key) [2023-11-14T20:32:36.165Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T20:32:36.497Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T20:32:36.524Z] $ docker exec --env ******** --env ******** afe172db7dfce34f5a3f79b301d1400612d3d55ef19f7b417b9b9a223aaadfb8 ssh-agent -k [2023-11-14T20:32:36.616Z] unset SSH_AUTH_SOCK; [2023-11-14T20:32:36.617Z] unset SSH_AGENT_PID; [2023-11-14T20:32:36.617Z] echo Agent pid 37 killed; [2023-11-14T20:32:36.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T20:32:36.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T20:32:36.716Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T20:32:36.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T20:32:36.836Z] $ docker exec afe172db7dfce34f5a3f79b301d1400612d3d55ef19f7b417b9b9a223aaadfb8 ssh-agent [2023-11-14T20:32:36.954Z] SSH_AUTH_SOCK=/tmp/ssh-DWQkO9oXAnTt/agent.69 [2023-11-14T20:32:36.954Z] SSH_AGENT_PID=75 [2023-11-14T20:32:36.958Z] Running ssh-add (command line suppressed) [2023-11-14T20:32:37.074Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_15587398656637934259.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_15587398656637934259.key) [2023-11-14T20:32:37.085Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T20:32:37.417Z] + git semver init [2023-11-14T20:32:37.676Z] 2023-11-14 20:32:37,623 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T20:32:37.676Z] 2023-11-14 20:32:37,624 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2023-11-14T20:32:37.676Z] 2023-11-14 20:32:37,624 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2023-11-14T20:32:37.676Z] 2023-11-14 20:32:37,625 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496, universal_newlines=False, shell=None, istream=None) [2023-11-14T20:32:38.613Z] 2023-11-14 20:32:38,520 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.git/info/exclude [2023-11-14T20:32:38.613Z] 2023-11-14 20:32:38,521 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 with force:False [2023-11-14T20:32:38.613Z] 2023-11-14 20:32:38,521 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2023-11-14T20:32:38.613Z] 2023-11-14 20:32:38,524 [execute] INFO git cat-file --batch-check [2023-11-14T20:32:38.613Z] 2023-11-14 20:32:38,525 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T20:32:38.613Z] 2023-11-14 20:32:38,531 [execute] INFO git cat-file --batch [2023-11-14T20:32:38.613Z] 2023-11-14 20:32:38,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T20:32:38.613Z] 2023-11-14 20:32:38,537 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2023-11-14T20:32:38.613Z] 0.0.0 [Pipeline] } [2023-11-14T20:32:38.641Z] $ docker exec --env ******** --env ******** afe172db7dfce34f5a3f79b301d1400612d3d55ef19f7b417b9b9a223aaadfb8 ssh-agent -k [2023-11-14T20:32:38.751Z] unset SSH_AUTH_SOCK; [2023-11-14T20:32:38.752Z] unset SSH_AGENT_PID; [2023-11-14T20:32:38.752Z] echo Agent pid 75 killed; [2023-11-14T20:32:38.760Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T20:32:39.182Z] + git semver [Pipeline] } [2023-11-14T20:32:39.471Z] $ docker stop --time=1 afe172db7dfce34f5a3f79b301d1400612d3d55ef19f7b417b9b9a223aaadfb8 [2023-11-14T20:32:40.780Z] $ docker rm -f --volumes afe172db7dfce34f5a3f79b301d1400612d3d55ef19f7b417b9b9a223aaadfb8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T20:32:41.183Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T20:32:41.458Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T20:32:41.474Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T20:32:41.959Z] provisioning config files... [2023-11-14T20:32:41.969Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config18040831729689015611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:32:42.312Z] ---> docker-login.sh [2023-11-14T20:32:42.312Z] nexus3.edgexfoundry.org:10001 [2023-11-14T20:32:42.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:32:42.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:32:42.312Z] Configure a credential helper to remove this warning. See [2023-11-14T20:32:42.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:32:42.312Z] [2023-11-14T20:32:42.312Z] Login Succeeded [2023-11-14T20:32:42.312Z] nexus3.edgexfoundry.org:10002 [2023-11-14T20:32:42.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:32:42.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:32:42.312Z] Configure a credential helper to remove this warning. See [2023-11-14T20:32:42.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:32:42.312Z] [2023-11-14T20:32:42.312Z] Login Succeeded [2023-11-14T20:32:42.312Z] nexus3.edgexfoundry.org:10003 [2023-11-14T20:32:42.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:32:42.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:32:42.572Z] Configure a credential helper to remove this warning. See [2023-11-14T20:32:42.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:32:42.572Z] [2023-11-14T20:32:42.572Z] Login Succeeded [2023-11-14T20:32:42.572Z] nexus3.edgexfoundry.org:10004 [2023-11-14T20:32:42.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:32:42.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:32:42.572Z] Configure a credential helper to remove this warning. See [2023-11-14T20:32:42.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:32:42.572Z] [2023-11-14T20:32:42.572Z] Login Succeeded [2023-11-14T20:32:42.572Z] docker.io [2023-11-14T20:32:42.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:32:42.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:32:42.833Z] Configure a credential helper to remove this warning. See [2023-11-14T20:32:42.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:32:42.833Z] [2023-11-14T20:32:42.833Z] Login Succeeded [2023-11-14T20:32:42.833Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T20:32:42.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T20:32:43.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T20:32:43.085Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-11-14T20:32:43.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T20:32:43.154Z] ========================================================= [2023-11-14T20:32:43.154Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-11-14T20:32:43.154Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:32:43.574Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-11-14T20:32:43.574Z] Sending build context to Docker daemon 4.958MB [2023-11-14T20:32:43.574Z] Step 1/22 : ARG BASE=alpine:3.18 [2023-11-14T20:32:43.574Z] Step 2/22 : FROM ${BASE} as builder [2023-11-14T20:32:43.574Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-11-14T20:32:43.574Z] 96526aa774ef: Pulling fs layer [2023-11-14T20:32:43.574Z] da60e534fd72: Pulling fs layer [2023-11-14T20:32:43.574Z] 96526aa774ef: Verifying Checksum [2023-11-14T20:32:43.574Z] 96526aa774ef: Download complete [2023-11-14T20:32:43.834Z] 96526aa774ef: Pull complete [2023-11-14T20:32:44.404Z] da60e534fd72: Verifying Checksum [2023-11-14T20:32:44.404Z] da60e534fd72: Download complete [2023-11-14T20:32:47.700Z] da60e534fd72: Pull complete [2023-11-14T20:32:47.700Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2023-11-14T20:32:47.700Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-11-14T20:32:47.700Z] ---> 6605166a5db4 [2023-11-14T20:32:47.700Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-11-14T20:32:48.647Z] ---> Running in ff1e43e27d3e [2023-11-14T20:32:48.906Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-11-14T20:32:49.473Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-14T20:32:49.473Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-14T20:32:49.473Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-14T20:32:49.731Z] Removing intermediate container ff1e43e27d3e [2023-11-14T20:32:49.731Z] ---> 881c402ab15e [2023-11-14T20:32:49.731Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-14T20:32:49.731Z] ---> Running in fcd048bd22a5 [2023-11-14T20:32:50.300Z] Removing intermediate container fcd048bd22a5 [2023-11-14T20:32:50.300Z] ---> d703d89227c3 [2023-11-14T20:32:50.300Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-11-14T20:32:50.300Z] ---> Running in bf9ca0ad4a42 [2023-11-14T20:32:50.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:32:50.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T20:32:50.823Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:32:51.394Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-14T20:32:51.394Z] (1/17) Installing hiredis (1.1.0-r2) [2023-11-14T20:32:51.394Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-11-14T20:32:51.394Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-14T20:32:52.333Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-14T20:32:52.333Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-14T20:32:52.594Z] (6/17) Installing libcbor (0.10.2-r1) [2023-11-14T20:32:52.594Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-11-14T20:32:52.594Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-11-14T20:32:52.594Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-11-14T20:32:52.594Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-11-14T20:32:52.594Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-14T20:32:52.594Z] (12/17) Installing libblkid (2.38.1-r8) [2023-11-14T20:32:52.594Z] (13/17) Installing libuuid (2.38.1-r8) [2023-11-14T20:32:52.594Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-11-14T20:32:52.594Z] (15/17) Installing libmount (2.38.1-r8) [2023-11-14T20:32:52.594Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-11-14T20:32:52.594Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-11-14T20:32:52.594Z] Executing busybox-1.36.1-r4.trigger [2023-11-14T20:32:52.594Z] OK: 336 MiB in 99 packages [2023-11-14T20:32:53.162Z] Removing intermediate container bf9ca0ad4a42 [2023-11-14T20:32:53.162Z] ---> 57dbc8924b43 [2023-11-14T20:32:53.162Z] Step 6/22 : RUN mkdir /tmp/sdk [2023-11-14T20:32:53.162Z] ---> Running in 468f6fb5fe4a [2023-11-14T20:32:53.729Z] Removing intermediate container 468f6fb5fe4a [2023-11-14T20:32:53.729Z] ---> 7237cc00298e [2023-11-14T20:32:53.729Z] Step 7/22 : COPY VERSION /tmp/sdk [2023-11-14T20:32:53.988Z] ---> 3b92d2afc3d4 [2023-11-14T20:32:53.988Z] Step 8/22 : COPY src /tmp/sdk/src [2023-11-14T20:32:53.988Z] ---> d298bcc35be8 [2023-11-14T20:32:53.988Z] Step 9/22 : COPY include /tmp/sdk/include [2023-11-14T20:32:54.246Z] ---> 13e7f2a25e32 [2023-11-14T20:32:54.246Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2023-11-14T20:32:54.246Z] ---> c64d60c686b1 [2023-11-14T20:32:54.247Z] Step 11/22 : COPY LICENSE /tmp/sdk [2023-11-14T20:32:54.506Z] ---> 3b3a9a9c4d48 [2023-11-14T20:32:54.506Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2023-11-14T20:32:54.506Z] ---> 64b197241468 [2023-11-14T20:32:54.506Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-11-14T20:32:54.766Z] ---> Running in 6de51914bb63 [2023-11-14T20:32:55.026Z] + CPPCHECK=false [2023-11-14T20:32:55.026Z] + DOCGEN=false [2023-11-14T20:32:55.026Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-11-14T20:32:55.026Z] + '[' 0 -gt 0 ] [2023-11-14T20:32:55.026Z] + readlink -f ./scripts/build.sh [2023-11-14T20:32:55.026Z] + dirname /tmp/sdk/scripts/build.sh [2023-11-14T20:32:55.026Z] + dirname /tmp/sdk/scripts [2023-11-14T20:32:55.026Z] + ROOT=/tmp/sdk [2023-11-14T20:32:55.026Z] + cd /tmp/sdk [2023-11-14T20:32:55.026Z] + mkdir -p /tmp/sdk/build/release [2023-11-14T20:32:55.026Z] + cd /tmp/sdk/build/release [2023-11-14T20:32:55.026Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-11-14T20:32:55.026Z] -- The C compiler identification is GNU 12.2.1 [2023-11-14T20:32:55.026Z] -- Detecting C compiler ABI info [2023-11-14T20:32:55.026Z] -- Detecting C compiler ABI info - done [2023-11-14T20:32:55.026Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-14T20:32:55.026Z] -- Detecting C compile features [2023-11-14T20:32:55.026Z] -- Detecting C compile features - done [2023-11-14T20:32:55.286Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-14T20:32:55.286Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-14T20:32:55.286Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-14T20:32:55.286Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-14T20:32:55.286Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-14T20:32:55.286Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-14T20:32:55.286Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-14T20:32:55.286Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-14T20:32:55.286Z] -- /opt/iotech/iot/1.5/include [2023-11-14T20:32:55.286Z] -- C SDK 0.0.0 for Linux [2023-11-14T20:32:55.286Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-14T20:32:55.286Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-14T20:32:55.286Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-14T20:32:55.286Z] -- Configuring done (0.4s) [2023-11-14T20:32:55.546Z] -- Generating done (0.0s) [2023-11-14T20:32:55.546Z] -- Build files have been written to: /tmp/sdk/build/release [2023-11-14T20:32:55.546Z] + make all package [2023-11-14T20:32:55.546Z] + tee release.log [2023-11-14T20:32:55.546Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-14T20:32:55.546Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-14T20:32:55.804Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-14T20:32:55.804Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-14T20:32:56.063Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-14T20:32:56.063Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-14T20:32:56.322Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-14T20:32:56.582Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-11-14T20:32:56.582Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-14T20:32:56.582Z] 294 | while (privateConfig) [2023-11-14T20:32:56.582Z] | ^~~~~~~~~~~~~ [2023-11-14T20:32:56.582Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-11-14T20:32:56.582Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-14T20:32:56.582Z] | ^~~~~~~~~~~~~ [2023-11-14T20:32:56.582Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-14T20:32:56.582Z] 271 | while (result) [2023-11-14T20:32:56.582Z] | ^~~~~~ [2023-11-14T20:32:56.582Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-11-14T20:32:56.582Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-14T20:32:56.582Z] | ^~~~~~ [2023-11-14T20:32:56.582Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-14T20:32:56.582Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-14T20:32:56.793Z] Still waiting to schedule task [2023-11-14T20:32:56.793Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-14T20:32:56.841Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-14T20:32:57.100Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-14T20:32:57.100Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-14T20:32:57.360Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-14T20:32:57.360Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-14T20:32:57.618Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-14T20:32:57.618Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-14T20:32:57.618Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-14T20:32:58.187Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-14T20:32:58.187Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-14T20:32:58.187Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-14T20:32:58.447Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-14T20:32:59.384Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-14T20:32:59.645Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-14T20:32:59.645Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-14T20:32:59.645Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-14T20:32:59.645Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-14T20:32:59.905Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-14T20:33:00.474Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-14T20:33:00.474Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-14T20:33:00.474Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-14T20:33:00.735Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-14T20:33:00.735Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-14T20:33:00.735Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-14T20:33:00.735Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-14T20:33:00.735Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-14T20:33:00.735Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-14T20:33:00.735Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-14T20:33:00.735Z] | ^ [2023-11-14T20:33:00.995Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-14T20:33:00.995Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-11-14T20:33:00.995Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-14T20:33:00.995Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-11-14T20:33:00.995Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-11-14T20:33:00.995Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-11-14T20:33:00.995Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-14T20:33:01.254Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-14T20:33:01.254Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-14T20:33:01.254Z] [ 68%] Linking C shared library libcsdk.so [2023-11-14T20:33:01.254Z] [ 68%] Built target csdk [2023-11-14T20:33:01.254Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-14T20:33:01.514Z] [ 72%] Linking C executable template [2023-11-14T20:33:01.514Z] [ 72%] Built target template [2023-11-14T20:33:01.514Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-14T20:33:01.776Z] [ 76%] Linking C executable device-counter [2023-11-14T20:33:01.776Z] [ 76%] Built target device-counter [2023-11-14T20:33:01.776Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-14T20:33:01.776Z] [ 80%] Linking C executable device-random [2023-11-14T20:33:02.034Z] [ 80%] Built target device-random [2023-11-14T20:33:02.034Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-14T20:33:02.034Z] [ 84%] Linking C executable device-gyro [2023-11-14T20:33:02.034Z] [ 84%] Built target device-gyro [2023-11-14T20:33:02.034Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-14T20:33:02.294Z] [ 88%] Linking C executable device-bitfields [2023-11-14T20:33:02.294Z] [ 88%] Built target device-bitfields [2023-11-14T20:33:02.294Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-14T20:33:02.294Z] [ 92%] Linking C executable template-discovery [2023-11-14T20:33:02.553Z] [ 92%] Built target template-discovery [2023-11-14T20:33:02.553Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-14T20:33:02.553Z] [ 96%] Linking C executable device-file [2023-11-14T20:33:02.812Z] [ 96%] Built target device-file [2023-11-14T20:33:02.812Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-14T20:33:02.812Z] [100%] Linking C executable device-terminal [2023-11-14T20:33:02.812Z] [100%] Built target device-terminal [2023-11-14T20:33:02.812Z] Run CPack packaging tool... [2023-11-14T20:33:02.812Z] CPack: Create package using TGZ [2023-11-14T20:33:02.812Z] CPack: Install projects [2023-11-14T20:33:02.812Z] CPack: - Run preinstall target for: Csdk [2023-11-14T20:33:03.071Z] CPack: - Install project: Csdk [] [2023-11-14T20:33:03.071Z] CPack: Create package [2023-11-14T20:33:03.071Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-11-14T20:33:03.071Z] + '[' false '=' true ] [2023-11-14T20:33:03.071Z] + '[' false '=' true ] [2023-11-14T20:33:03.071Z] + mkdir -p /tmp/sdk/build/debug [2023-11-14T20:33:03.071Z] + cd /tmp/sdk/build/debug [2023-11-14T20:33:03.071Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-11-14T20:33:03.332Z] -- The C compiler identification is GNU 12.2.1 [2023-11-14T20:33:03.332Z] -- Detecting C compiler ABI info [2023-11-14T20:33:03.332Z] -- Detecting C compiler ABI info - done [2023-11-14T20:33:03.332Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-14T20:33:03.332Z] -- Detecting C compile features [2023-11-14T20:33:03.332Z] -- Detecting C compile features - done [2023-11-14T20:33:03.332Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-14T20:33:03.332Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-14T20:33:03.332Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-14T20:33:03.332Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-14T20:33:03.332Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-14T20:33:03.332Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-14T20:33:03.332Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-14T20:33:03.332Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-14T20:33:03.332Z] -- /opt/iotech/iot/1.5/include [2023-11-14T20:33:03.332Z] -- C SDK 0.0.0 for Linux [2023-11-14T20:33:03.332Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-14T20:33:03.592Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-14T20:33:03.592Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-14T20:33:03.592Z] -- Configuring done (0.4s) [2023-11-14T20:33:03.592Z] -- Generating done (0.0s) [2023-11-14T20:33:03.592Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-11-14T20:33:03.592Z] + make [2023-11-14T20:33:03.592Z] + tee debug.log [2023-11-14T20:33:03.592Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-14T20:33:03.850Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-14T20:33:03.850Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-14T20:33:03.850Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-14T20:33:03.850Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-14T20:33:04.110Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-14T20:33:04.110Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-14T20:33:04.369Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-14T20:33:04.369Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-14T20:33:04.369Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-14T20:33:04.369Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-14T20:33:04.629Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-14T20:33:04.629Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-14T20:33:04.629Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-14T20:33:04.900Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-14T20:33:04.900Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-14T20:33:04.900Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-14T20:33:05.160Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-14T20:33:05.160Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-14T20:33:05.160Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-14T20:33:05.160Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-14T20:33:05.419Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-14T20:33:05.419Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-14T20:33:05.682Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-14T20:33:05.682Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-14T20:33:05.682Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-14T20:33:05.682Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-14T20:33:05.941Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-14T20:33:05.941Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-14T20:33:06.199Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-14T20:33:06.200Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-14T20:33:06.200Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-14T20:33:06.200Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-14T20:33:06.200Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-14T20:33:06.200Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-14T20:33:06.200Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-14T20:33:06.200Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-14T20:33:06.200Z] | ^ [2023-11-14T20:33:06.458Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-14T20:33:06.458Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-14T20:33:06.458Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-14T20:33:06.458Z] [ 68%] Linking C shared library libcsdk.so [2023-11-14T20:33:06.716Z] [ 68%] Built target csdk [2023-11-14T20:33:06.716Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-14T20:33:06.716Z] [ 72%] Linking C executable template [2023-11-14T20:33:06.716Z] [ 72%] Built target template [2023-11-14T20:33:06.716Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-14T20:33:06.716Z] [ 76%] Linking C executable device-counter [2023-11-14T20:33:06.975Z] [ 76%] Built target device-counter [2023-11-14T20:33:06.975Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-14T20:33:06.975Z] [ 80%] Linking C executable device-random [2023-11-14T20:33:06.975Z] [ 80%] Built target device-random [2023-11-14T20:33:06.975Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-14T20:33:07.234Z] [ 84%] Linking C executable device-gyro [2023-11-14T20:33:07.234Z] [ 84%] Built target device-gyro [2023-11-14T20:33:07.234Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-14T20:33:07.234Z] [ 88%] Linking C executable device-bitfields [2023-11-14T20:33:07.234Z] [ 88%] Built target device-bitfields [2023-11-14T20:33:07.494Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-14T20:33:07.494Z] [ 92%] Linking C executable template-discovery [2023-11-14T20:33:07.494Z] [ 92%] Built target template-discovery [2023-11-14T20:33:07.494Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-14T20:33:07.494Z] [ 96%] Linking C executable device-file [2023-11-14T20:33:07.753Z] [ 96%] Built target device-file [2023-11-14T20:33:07.753Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-14T20:33:07.753Z] [100%] Linking C executable device-terminal [2023-11-14T20:33:07.753Z] [100%] Built target device-terminal [2023-11-14T20:33:07.753Z] make: Entering directory '/tmp/sdk/build/release' [2023-11-14T20:33:08.012Z] [ 68%] Built target csdk [2023-11-14T20:33:08.012Z] [ 72%] Built target template [2023-11-14T20:33:08.012Z] [ 76%] Built target device-counter [2023-11-14T20:33:08.012Z] [ 80%] Built target device-random [2023-11-14T20:33:08.012Z] [ 84%] Built target device-gyro [2023-11-14T20:33:08.012Z] [ 88%] Built target device-bitfields [2023-11-14T20:33:08.012Z] [ 92%] Built target template-discovery [2023-11-14T20:33:08.012Z] [ 96%] Built target device-file [2023-11-14T20:33:08.012Z] [100%] Built target device-terminal [2023-11-14T20:33:08.012Z] Install the project... [2023-11-14T20:33:08.012Z] -- Install configuration: "Release" [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/lib/libcsdk.so [2023-11-14T20:33:08.012Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include/devsdk [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include/edgex [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include/edgex/devices.h [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-11-14T20:33:08.012Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-11-14T20:33:08.012Z] make: Leaving directory '/tmp/sdk/build/release' [2023-11-14T20:33:08.579Z] Removing intermediate container 6de51914bb63 [2023-11-14T20:33:08.579Z] ---> 83d6e8cb4270 [2023-11-14T20:33:08.579Z] Step 14/22 : FROM ${BASE} [2023-11-14T20:33:08.579Z] ---> 6605166a5db4 [2023-11-14T20:33:08.579Z] Step 15/22 : LABEL maintainer="IOTech " [2023-11-14T20:33:08.579Z] ---> Running in 26ad64f8b42f [2023-11-14T20:33:08.836Z] Removing intermediate container 26ad64f8b42f [2023-11-14T20:33:08.836Z] ---> 7f230c6a7b29 [2023-11-14T20:33:08.836Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-11-14T20:33:08.836Z] ---> Running in 5491d2eddb27 [2023-11-14T20:33:09.095Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-11-14T20:33:09.665Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-14T20:33:09.665Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-14T20:33:09.665Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-14T20:33:09.665Z] Removing intermediate container 5491d2eddb27 [2023-11-14T20:33:09.665Z] ---> 978f8a919a41 [2023-11-14T20:33:09.665Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-14T20:33:09.926Z] ---> Running in 4e6a533a39e6 [2023-11-14T20:33:10.495Z] Removing intermediate container 4e6a533a39e6 [2023-11-14T20:33:10.495Z] ---> 661c6802ea6b [2023-11-14T20:33:10.495Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2023-11-14T20:33:10.495Z] ---> Running in 5751b368284f [2023-11-14T20:33:10.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:10.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:10.755Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:11.324Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-14T20:33:11.324Z] (1/8) Installing curl (8.4.0-r0) [2023-11-14T20:33:11.324Z] (2/8) Installing dumb-init (1.2.5-r2) [2023-11-14T20:33:11.324Z] (3/8) Installing hiredis (1.1.0-r2) [2023-11-14T20:33:11.324Z] (4/8) Installing hiredis-dev (1.1.0-r2) [2023-11-14T20:33:11.324Z] (5/8) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-14T20:33:12.262Z] (6/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-14T20:33:12.262Z] (7/8) Installing libcbor (0.10.2-r1) [2023-11-14T20:33:12.262Z] (8/8) Installing libuuid (2.38.1-r8) [2023-11-14T20:33:12.262Z] Executing busybox-1.36.1-r4.trigger [2023-11-14T20:33:12.262Z] OK: 331 MiB in 90 packages [2023-11-14T20:33:12.831Z] Removing intermediate container 5751b368284f [2023-11-14T20:33:12.831Z] ---> ec32567eafe0 [2023-11-14T20:33:12.831Z] Step 19/22 : RUN apk --no-cache upgrade [2023-11-14T20:33:12.831Z] ---> Running in 43ace9615fb7 [2023-11-14T20:33:13.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:13.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:13.350Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:13.918Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-14T20:33:13.918Z] (1/6) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2023-11-14T20:33:13.918Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T20:33:13.918Z] (2/6) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2023-11-14T20:33:13.918Z] (3/6) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r1) [2023-11-14T20:33:13.918Z] (4/6) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r1) [2023-11-14T20:33:13.918Z] (5/6) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2023-11-14T20:33:13.918Z] (6/6) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r1) [2023-11-14T20:33:13.918Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T20:33:13.918Z] Executing ca-certificates-20230506-r0.trigger [2023-11-14T20:33:13.918Z] OK: 331 MiB in 90 packages [2023-11-14T20:33:14.484Z] Removing intermediate container 43ace9615fb7 [2023-11-14T20:33:14.484Z] ---> b04f3aea38c7 [2023-11-14T20:33:14.484Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-11-14T20:33:14.743Z] ---> 06a8948ed98a [2023-11-14T20:33:14.743Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-11-14T20:33:14.743Z] ---> c62afc40da4f [2023-11-14T20:33:14.743Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-11-14T20:33:15.003Z] ---> caeb372ddbee [2023-11-14T20:33:15.003Z] Successfully built caeb372ddbee [2023-11-14T20:33:15.003Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:33:15.668Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T20:33:15.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:33:15.823Z] prd-ubuntu20.04-docker-8c-8g-17537 does not seem to be running inside a container [2023-11-14T20:33:15.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T20:33:16.204Z] $ docker top 4611d32f717121875f1445533bfaea70123d930d9493d9e92fdc83bf3913a9f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T20:33:16.590Z] + make test [2023-11-14T20:33:16.590Z] echo "make test" [2023-11-14T20:33:16.590Z] make test [Pipeline] } [2023-11-14T20:33:16.626Z] $ docker stop --time=1 4611d32f717121875f1445533bfaea70123d930d9493d9e92fdc83bf3913a9f8 [2023-11-14T20:33:17.917Z] $ docker rm -f --volumes 4611d32f717121875f1445533bfaea70123d930d9493d9e92fdc83bf3913a9f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T20:33:18.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T20:33:18.964Z] + ls -al . [2023-11-14T20:33:18.964Z] total 212 [2023-11-14T20:33:18.964Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 20:32 . [2023-11-14T20:33:18.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 20:32 .. [2023-11-14T20:33:18.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 20:32 .git [2023-11-14T20:33:18.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:32 .github [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 14 20:32 .gitignore [2023-11-14T20:33:18.964Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 20:32 .semver [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 14 20:32 Attribution.txt [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 14 20:32 CHANGELOG.md [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 14 20:32 Doxyfile [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 20:32 GOVERNANCE.md [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 14 20:32 Jenkinsfile [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 14 20:32 LICENSE [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 14 20:32 Makefile [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 14 20:32 OWNERS.md [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 14 20:32 README.IOT.md [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 14 20:32 README.md [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 14 20:32 README.v3.md [2023-11-14T20:33:18.964Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 20:32 VERSION [2023-11-14T20:33:18.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 20:32 docs [2023-11-14T20:33:18.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 20:32 include [2023-11-14T20:33:18.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 20:32 scripts [2023-11-14T20:33:18.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 20:32 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:33:19.357Z] + 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=4410ed02c89f9f775968b3c16ea152ec31bdb83a --label arch=amd64 --label version=0.0.0 . [2023-11-14T20:33:19.357Z] Sending build context to Docker daemon 4.958MB [2023-11-14T20:33:19.357Z] Step 1/18 : ARG BASE=alpine:3.18 [2023-11-14T20:33:19.357Z] Step 2/18 : FROM ${BASE} [2023-11-14T20:33:19.357Z] ---> caeb372ddbee [2023-11-14T20:33:19.357Z] Step 3/18 : LABEL maintainer="IOTech " [2023-11-14T20:33:19.357Z] ---> Running in 900e61a80e08 [2023-11-14T20:33:19.357Z] Removing intermediate container 900e61a80e08 [2023-11-14T20:33:19.357Z] ---> 53a9ac32bba6 [2023-11-14T20:33:19.357Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-11-14T20:33:19.616Z] ---> Running in 727cf2b7cb2f [2023-11-14T20:33:19.616Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-11-14T20:33:20.184Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-14T20:33:20.184Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-14T20:33:20.184Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-14T20:33:20.444Z] Removing intermediate container 727cf2b7cb2f [2023-11-14T20:33:20.444Z] ---> c5ee74b8db21 [2023-11-14T20:33:20.444Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-14T20:33:20.444Z] ---> Running in ccb064f10ab6 [2023-11-14T20:33:21.012Z] Removing intermediate container ccb064f10ab6 [2023-11-14T20:33:21.012Z] ---> fbe55481bab6 [2023-11-14T20:33:21.012Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2023-11-14T20:33:21.012Z] ---> Running in acee1909e705 [2023-11-14T20:33:21.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:21.531Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:21.790Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:22.358Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-14T20:33:22.358Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-14T20:33:22.617Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2023-11-14T20:33:22.617Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2023-11-14T20:33:22.617Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2023-11-14T20:33:22.617Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2023-11-14T20:33:22.617Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-14T20:33:22.617Z] (7/11) Installing libblkid (2.38.1-r8) [2023-11-14T20:33:22.617Z] (8/11) Installing libfdisk (2.38.1-r8) [2023-11-14T20:33:22.617Z] (9/11) Installing libmount (2.38.1-r8) [2023-11-14T20:33:22.617Z] (10/11) Installing libsmartcols (2.38.1-r8) [2023-11-14T20:33:22.617Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2023-11-14T20:33:22.617Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T20:33:22.617Z] OK: 337 MiB in 101 packages [2023-11-14T20:33:23.184Z] Removing intermediate container acee1909e705 [2023-11-14T20:33:23.184Z] ---> 9370d89b3bd9 [2023-11-14T20:33:23.184Z] Step 7/18 : RUN apk --no-cache upgrade [2023-11-14T20:33:23.184Z] ---> Running in abd6ffdc3e8d [2023-11-14T20:33:23.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:23.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:23.703Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:33:24.272Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-14T20:33:24.272Z] OK: 337 MiB in 101 packages [2023-11-14T20:33:24.533Z] Removing intermediate container abd6ffdc3e8d [2023-11-14T20:33:24.533Z] ---> 2007981a51eb [2023-11-14T20:33:24.533Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2023-11-14T20:33:24.533Z] ---> 8c7e0182eae0 [2023-11-14T20:33:24.533Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2023-11-14T20:33:24.792Z] ---> 3c80f2eb1d29 [2023-11-14T20:33:24.792Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2023-11-14T20:33:25.051Z] ---> 48689b35ed2c [2023-11-14T20:33:25.051Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2023-11-14T20:33:25.051Z] ---> 420c4f6c022a [2023-11-14T20:33:25.051Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2023-11-14T20:33:25.311Z] ---> 13885c65ad15 [2023-11-14T20:33:25.311Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2023-11-14T20:33:25.311Z] ---> 50bd22dbb337 [2023-11-14T20:33:25.311Z] Step 14/18 : WORKDIR /edgex-c-sdk [2023-11-14T20:33:25.311Z] ---> Running in c6540c9c14c5 [2023-11-14T20:33:25.571Z] Removing intermediate container c6540c9c14c5 [2023-11-14T20:33:25.571Z] ---> f93fa49fb01f [2023-11-14T20:33:25.571Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-11-14T20:33:25.571Z] ---> Running in 5c45401437c2 [2023-11-14T20:33:25.571Z] Removing intermediate container 5c45401437c2 [2023-11-14T20:33:25.571Z] ---> 3df1da0527ab [2023-11-14T20:33:25.571Z] Step 16/18 : LABEL arch=amd64 [2023-11-14T20:33:25.571Z] ---> Running in 761d37b2aa79 [2023-11-14T20:33:25.831Z] Removing intermediate container 761d37b2aa79 [2023-11-14T20:33:25.831Z] ---> e61f0e6b746d [2023-11-14T20:33:25.831Z] Step 17/18 : LABEL git_sha=4410ed02c89f9f775968b3c16ea152ec31bdb83a [2023-11-14T20:33:25.831Z] ---> Running in f6e0d1d2cf7d [2023-11-14T20:33:25.831Z] Removing intermediate container f6e0d1d2cf7d [2023-11-14T20:33:25.831Z] ---> 5eb78973b5f7 [2023-11-14T20:33:25.831Z] Step 18/18 : LABEL version=0.0.0 [2023-11-14T20:33:25.831Z] ---> Running in 5e578b3849c0 [2023-11-14T20:33:25.831Z] Removing intermediate container 5e578b3849c0 [2023-11-14T20:33:25.831Z] ---> ba4e129fc888 [2023-11-14T20:33:25.831Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-11-14T20:33:25.831Z] Successfully built ba4e129fc888 [2023-11-14T20:33:25.831Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:33:26.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T20:33:26.747Z] [2023-11-14T20:33:26.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:33:27.126Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T20:33:27.126Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T20:33:27.126Z] 5eb5b503b376: Pulling fs layer [2023-11-14T20:33:27.126Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T20:33:27.126Z] ec43610c2a17: Pulling fs layer [2023-11-14T20:33:27.126Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T20:33:27.126Z] 33b1e0a273af: Pulling fs layer [2023-11-14T20:33:27.126Z] 3a2ae6a8a46f: Waiting [2023-11-14T20:33:27.126Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T20:33:27.126Z] 2f39f015ded8: Pulling fs layer [2023-11-14T20:33:27.126Z] 33b1e0a273af: Waiting [2023-11-14T20:33:27.126Z] 5d3b04190fa2: Waiting [2023-11-14T20:33:27.126Z] 5c69ac0246d0: Download complete [2023-11-14T20:33:27.126Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T20:33:27.126Z] 3a2ae6a8a46f: Download complete [2023-11-14T20:33:27.126Z] ec43610c2a17: Verifying Checksum [2023-11-14T20:33:27.126Z] ec43610c2a17: Download complete [2023-11-14T20:33:27.126Z] 33b1e0a273af: Verifying Checksum [2023-11-14T20:33:27.126Z] 33b1e0a273af: Download complete [2023-11-14T20:33:27.126Z] 5d3b04190fa2: Download complete [2023-11-14T20:33:27.384Z] 5eb5b503b376: Verifying Checksum [2023-11-14T20:33:27.384Z] 5eb5b503b376: Download complete [2023-11-14T20:33:27.953Z] 2f39f015ded8: Download complete [2023-11-14T20:33:28.519Z] 5eb5b503b376: Pull complete [2023-11-14T20:33:28.519Z] 5c69ac0246d0: Pull complete [2023-11-14T20:33:29.085Z] ec43610c2a17: Pull complete [2023-11-14T20:33:29.085Z] 3a2ae6a8a46f: Pull complete [2023-11-14T20:33:29.343Z] 33b1e0a273af: Pull complete [2023-11-14T20:33:29.344Z] 5d3b04190fa2: Pull complete [2023-11-14T20:33:33.527Z] 2f39f015ded8: Pull complete [2023-11-14T20:33:33.527Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T20:33:33.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T20:33:33.527Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:33:33.742Z] prd-ubuntu20.04-docker-8c-8g-17537 does not seem to be running inside a container [2023-11-14T20:33:33.774Z] $ 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-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T20:33:36.765Z] $ docker top 6f4a0ac0b4f79996b8bfe42c8a127e9f4949a68e9df85e13d42e4592a2dc6e9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:33:37.196Z] ---> job-cost.sh [2023-11-14T20:33:37.196Z] lf-activate-venv: SKIPPING [2023-11-14T20:33:37.196Z] INFO: No Stack... [2023-11-14T20:33:37.456Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T20:33:37.716Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T20:33:38.031Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/cost.csv [2023-11-14T20:33:38.032Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T20:33:38.073Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-1-stack-cost] [2023-11-14T20:33:38.078Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-1-stack-cost] did not exist. Created. [2023-11-14T20:33:38.078Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T20:33:38.470Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T20:33:38.533Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T20:33:38.550Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T20:33:38.641Z] $ docker stop --time=1 6f4a0ac0b4f79996b8bfe42c8a127e9f4949a68e9df85e13d42e4592a2dc6e9f [2023-11-14T20:33:39.783Z] $ docker rm -f --volumes 6f4a0ac0b4f79996b8bfe42c8a127e9f4949a68e9df85e13d42e4592a2dc6e9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T20:36:28.694Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17538 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] ws [2023-11-14T20:36:28.750Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-11-14T20:36:28.833Z] Selected Git installation does not exist. Using Default [2023-11-14T20:36:28.833Z] The recommended git tool is: NONE [2023-11-14T20:36:34.327Z] using credential edgex-jenkins-ssh [2023-11-14T20:36:34.347Z] Cloning the remote Git repository [2023-11-14T20:36:34.392Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-11-14T20:36:34.512Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-11-14T20:36:34.673Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-11-14T20:36:34.674Z] > git --version # timeout=10 [2023-11-14T20:36:34.697Z] > git --version # 'git version 2.25.1' [2023-11-14T20:36:34.700Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T20:36:34.862Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T20:36:35.921Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-11-14T20:36:35.941Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T20:36:37.434Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a [2023-11-14T20:36:36.757Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-11-14T20:36:36.791Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-11-14T20:36:36.792Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T20:36:36.808Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T20:36:37.454Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T20:36:37.524Z] > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 [2023-11-14T20:36:37.780Z] Merge succeeded, producing 4410ed02c89f9f775968b3c16ea152ec31bdb83a [2023-11-14T20:36:37.781Z] Checking out Revision 4410ed02c89f9f775968b3c16ea152ec31bdb83a (PR-496) [2023-11-14T20:36:37.668Z] > git remote # timeout=10 [2023-11-14T20:36:37.694Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T20:36:37.713Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T20:36:37.728Z] > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [2023-11-14T20:36:37.761Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T20:36:37.786Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T20:36:37.800Z] > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 [2023-11-14T20:36:41.283Z] Commit message: "fix: Address CVE in Alpine base image" [2023-11-14T20:36:41.325Z] > git --version # timeout=10 [2023-11-14T20:36:41.335Z] > git --version # 'git version 2.25.1' [2023-11-14T20:36:41.345Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T20:36:42.520Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T20:36:42.520Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T20:36:42.520Z] Dload Upload Total Spent Left Speed [2023-11-14T20:36:42.788Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 33373 0 --:--:-- --:--:-- --:--:-- 33373 [Pipeline] sh [2023-11-14T20:36:43.528Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T20:36:43.871Z] + sudo tee /etc/docker/daemon.new [2023-11-14T20:36:43.871Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T20:36:43.871Z] { [2023-11-14T20:36:43.871Z] "registry-mirrors": [ [2023-11-14T20:36:43.871Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T20:36:43.871Z] ], [2023-11-14T20:36:43.871Z] "bip": "10.250.0.254/24", [2023-11-14T20:36:43.871Z] "hosts": [ [2023-11-14T20:36:43.871Z] "tcp://0.0.0.0:5555", [2023-11-14T20:36:43.871Z] "unix:///var/run/docker.sock" [2023-11-14T20:36:43.871Z] ], [2023-11-14T20:36:43.871Z] "mtu": 1458, [2023-11-14T20:36:43.871Z] "selinux-enabled": true, [2023-11-14T20:36:43.871Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T20:36:43.871Z] } [Pipeline] sh [2023-11-14T20:36:44.223Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T20:36:44.584Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T20:37:03.058Z] provisioning config files... [2023-11-14T20:37:03.089Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config7617429083335105453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:37:03.476Z] ---> docker-login.sh [2023-11-14T20:37:03.476Z] nexus3.edgexfoundry.org:10001 [2023-11-14T20:37:03.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:37:04.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:37:04.019Z] Configure a credential helper to remove this warning. See [2023-11-14T20:37:04.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:37:04.019Z] [2023-11-14T20:37:04.019Z] Login Succeeded [2023-11-14T20:37:04.019Z] nexus3.edgexfoundry.org:10002 [2023-11-14T20:37:04.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:37:04.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:37:04.288Z] Configure a credential helper to remove this warning. See [2023-11-14T20:37:04.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:37:04.288Z] [2023-11-14T20:37:04.288Z] Login Succeeded [2023-11-14T20:37:04.288Z] nexus3.edgexfoundry.org:10003 [2023-11-14T20:37:04.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:37:04.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:37:04.839Z] Configure a credential helper to remove this warning. See [2023-11-14T20:37:04.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:37:04.839Z] [2023-11-14T20:37:04.839Z] Login Succeeded [2023-11-14T20:37:04.839Z] nexus3.edgexfoundry.org:10004 [2023-11-14T20:37:04.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:37:05.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:37:05.107Z] Configure a credential helper to remove this warning. See [2023-11-14T20:37:05.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:37:05.107Z] [2023-11-14T20:37:05.107Z] Login Succeeded [2023-11-14T20:37:05.107Z] docker.io [2023-11-14T20:37:05.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:37:05.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:37:05.641Z] Configure a credential helper to remove this warning. See [2023-11-14T20:37:05.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:37:05.641Z] [2023-11-14T20:37:05.641Z] Login Succeeded [2023-11-14T20:37:05.641Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T20:37:05.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T20:37:06.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T20:37:06.097Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-11-14T20:37:06.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T20:37:06.168Z] ========================================================= [2023-11-14T20:37:06.168Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-11-14T20:37:06.168Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:37:06.687Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-11-14T20:37:06.975Z] Sending build context to Docker daemon 2.971MB [2023-11-14T20:37:06.975Z] Step 1/22 : ARG BASE=alpine:3.18 [2023-11-14T20:37:06.975Z] Step 2/22 : FROM ${BASE} as builder [2023-11-14T20:37:07.244Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-11-14T20:37:07.244Z] 579b34f0a95b: Pulling fs layer [2023-11-14T20:37:07.244Z] e71477ac5e1b: Pulling fs layer [2023-11-14T20:37:07.244Z] 579b34f0a95b: Download complete [2023-11-14T20:37:07.828Z] 579b34f0a95b: Pull complete [2023-11-14T20:37:09.771Z] e71477ac5e1b: Verifying Checksum [2023-11-14T20:37:09.771Z] e71477ac5e1b: Download complete [2023-11-14T20:37:22.084Z] e71477ac5e1b: Pull complete [2023-11-14T20:37:22.084Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2023-11-14T20:37:22.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-11-14T20:37:22.084Z] ---> 2b552cad5dd9 [2023-11-14T20:37:22.084Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-11-14T20:37:22.084Z] ---> Running in 4c70601810a8 [2023-11-14T20:37:22.350Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-11-14T20:37:22.936Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-14T20:37:22.936Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-14T20:37:22.936Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-14T20:37:23.526Z] Removing intermediate container 4c70601810a8 [2023-11-14T20:37:23.526Z] ---> ab1db15d466b [2023-11-14T20:37:23.526Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-14T20:37:23.795Z] ---> Running in 9e45dc3a2641 [2023-11-14T20:37:25.213Z] Removing intermediate container 9e45dc3a2641 [2023-11-14T20:37:25.213Z] ---> fb86ebabf7ab [2023-11-14T20:37:25.213Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-11-14T20:37:25.213Z] ---> Running in 5240a3775022 [2023-11-14T20:37:26.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:37:26.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T20:37:27.361Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:37:28.319Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-14T20:37:28.319Z] (1/17) Installing hiredis (1.1.0-r2) [2023-11-14T20:37:28.319Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-11-14T20:37:28.319Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-14T20:37:29.300Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-14T20:37:29.300Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-14T20:37:29.566Z] (6/17) Installing libcbor (0.10.2-r1) [2023-11-14T20:37:29.566Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-11-14T20:37:29.566Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-11-14T20:37:29.566Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-11-14T20:37:29.566Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-11-14T20:37:29.566Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-14T20:37:29.566Z] (12/17) Installing libblkid (2.38.1-r8) [2023-11-14T20:37:29.566Z] (13/17) Installing libuuid (2.38.1-r8) [2023-11-14T20:37:29.566Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-11-14T20:37:29.566Z] (15/17) Installing libmount (2.38.1-r8) [2023-11-14T20:37:29.566Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-11-14T20:37:29.566Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-11-14T20:37:29.832Z] Executing busybox-1.36.1-r4.trigger [2023-11-14T20:37:29.832Z] OK: 333 MiB in 99 packages [2023-11-14T20:37:31.241Z] Removing intermediate container 5240a3775022 [2023-11-14T20:37:31.241Z] ---> 7c0075ed1fce [2023-11-14T20:37:31.241Z] Step 6/22 : RUN mkdir /tmp/sdk [2023-11-14T20:37:31.241Z] ---> Running in 91daccac707f [2023-11-14T20:37:32.658Z] Removing intermediate container 91daccac707f [2023-11-14T20:37:32.658Z] ---> a12667f567e5 [2023-11-14T20:37:32.658Z] Step 7/22 : COPY VERSION /tmp/sdk [2023-11-14T20:37:33.242Z] ---> 1113b645f897 [2023-11-14T20:37:33.242Z] Step 8/22 : COPY src /tmp/sdk/src [2023-11-14T20:37:34.204Z] ---> 7e7036041025 [2023-11-14T20:37:34.204Z] Step 9/22 : COPY include /tmp/sdk/include [2023-11-14T20:37:34.472Z] ---> be1ef5fee3f8 [2023-11-14T20:37:34.472Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2023-11-14T20:37:35.054Z] ---> 5fb6a3d47f56 [2023-11-14T20:37:35.054Z] Step 11/22 : COPY LICENSE /tmp/sdk [2023-11-14T20:37:35.638Z] ---> a4a29c3a0725 [2023-11-14T20:37:35.638Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2023-11-14T20:37:35.907Z] ---> 095ccbb1a57b [2023-11-14T20:37:35.907Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-11-14T20:37:35.907Z] ---> Running in 5143fa76a354 [2023-11-14T20:37:36.873Z] + CPPCHECK=false [2023-11-14T20:37:36.873Z] + DOCGEN=false [2023-11-14T20:37:36.873Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-11-14T20:37:36.873Z] + '[' 0 -gt 0 ] [2023-11-14T20:37:36.873Z] + readlink -f ./scripts/build.sh [2023-11-14T20:37:36.873Z] + dirname /tmp/sdk/scripts/build.sh [2023-11-14T20:37:36.873Z] + dirname /tmp/sdk/scripts [2023-11-14T20:37:36.873Z] + ROOT=/tmp/sdk [2023-11-14T20:37:36.873Z] + cd /tmp/sdk [2023-11-14T20:37:36.873Z] + mkdir -p /tmp/sdk/build/release [2023-11-14T20:37:36.873Z] + cd /tmp/sdk/build/release [2023-11-14T20:37:36.873Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-11-14T20:37:37.139Z] -- The C compiler identification is GNU 12.2.1 [2023-11-14T20:37:37.139Z] -- Detecting C compiler ABI info [2023-11-14T20:37:37.723Z] -- Detecting C compiler ABI info - done [2023-11-14T20:37:37.723Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-14T20:37:37.723Z] -- Detecting C compile features [2023-11-14T20:37:37.723Z] -- Detecting C compile features - done [2023-11-14T20:37:37.723Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-14T20:37:37.723Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-14T20:37:37.723Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-14T20:37:37.992Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-14T20:37:37.992Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-14T20:37:37.992Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-14T20:37:37.992Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-14T20:37:37.992Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-14T20:37:37.992Z] -- /opt/iotech/iot/1.5/include [2023-11-14T20:37:37.992Z] -- C SDK 0.0.0 for Linux [2023-11-14T20:37:37.992Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-14T20:37:38.261Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-14T20:37:38.529Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-14T20:37:38.529Z] -- Configuring done (1.6s) [2023-11-14T20:37:38.796Z] -- Generating done (0.2s) [2023-11-14T20:37:38.796Z] -- Build files have been written to: /tmp/sdk/build/release [2023-11-14T20:37:38.796Z] + make all package [2023-11-14T20:37:38.796Z] + tee release.log [2023-11-14T20:37:39.065Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-14T20:37:39.647Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-14T20:37:40.615Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-14T20:37:41.201Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-14T20:37:41.785Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-14T20:37:42.369Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-14T20:37:44.322Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-14T20:37:45.285Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-11-14T20:37:45.285Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-14T20:37:45.285Z] 294 | while (privateConfig) [2023-11-14T20:37:45.285Z] | ^~~~~~~~~~~~~ [2023-11-14T20:37:45.285Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-11-14T20:37:45.285Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-14T20:37:45.285Z] | ^~~~~~~~~~~~~ [2023-11-14T20:37:45.285Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-14T20:37:45.285Z] 271 | while (result) [2023-11-14T20:37:45.285Z] | ^~~~~~ [2023-11-14T20:37:45.285Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-11-14T20:37:45.285Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-14T20:37:45.285Z] | ^~~~~~ [2023-11-14T20:37:45.556Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-14T20:37:45.821Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-14T20:37:46.778Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-14T20:37:48.724Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-14T20:37:48.991Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-14T20:37:49.951Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-14T20:37:50.533Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-14T20:37:50.800Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-14T20:37:51.767Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-14T20:37:52.035Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-14T20:37:54.027Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-14T20:37:54.611Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-14T20:37:54.878Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-14T20:37:56.282Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-14T20:38:04.500Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-14T20:38:04.500Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-14T20:38:04.500Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-14T20:38:04.767Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-14T20:38:05.033Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-14T20:38:06.442Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-14T20:38:08.756Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-14T20:38:08.756Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-14T20:38:09.715Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-14T20:38:10.298Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-14T20:38:10.577Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-14T20:38:10.577Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-14T20:38:10.577Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-14T20:38:10.577Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-14T20:38:10.577Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-14T20:38:10.577Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-14T20:38:10.577Z] | ^ [2023-11-14T20:38:11.983Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-14T20:38:11.983Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-11-14T20:38:11.983Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-14T20:38:11.983Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-11-14T20:38:11.983Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-11-14T20:38:11.983Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-11-14T20:38:12.958Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-14T20:38:13.922Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-14T20:38:14.190Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-14T20:38:14.776Z] [ 68%] Linking C shared library libcsdk.so [2023-11-14T20:38:14.776Z] [ 68%] Built target csdk [2023-11-14T20:38:14.776Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-14T20:38:15.749Z] [ 72%] Linking C executable template [2023-11-14T20:38:16.019Z] [ 72%] Built target template [2023-11-14T20:38:16.019Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-14T20:38:16.605Z] [ 76%] Linking C executable device-counter [2023-11-14T20:38:16.871Z] [ 76%] Built target device-counter [2023-11-14T20:38:16.871Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-14T20:38:17.452Z] [ 80%] Linking C executable device-random [2023-11-14T20:38:17.719Z] [ 80%] Built target device-random [2023-11-14T20:38:17.719Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-14T20:38:18.311Z] [ 84%] Linking C executable device-gyro [2023-11-14T20:38:18.593Z] [ 84%] Built target device-gyro [2023-11-14T20:38:18.593Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-14T20:38:19.182Z] [ 88%] Linking C executable device-bitfields [2023-11-14T20:38:19.764Z] [ 88%] Built target device-bitfields [2023-11-14T20:38:19.764Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-14T20:38:20.724Z] [ 92%] Linking C executable template-discovery [2023-11-14T20:38:20.724Z] [ 92%] Built target template-discovery [2023-11-14T20:38:20.992Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-14T20:38:21.575Z] [ 96%] Linking C executable device-file [2023-11-14T20:38:21.844Z] [ 96%] Built target device-file [2023-11-14T20:38:21.844Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-14T20:38:22.427Z] [100%] Linking C executable device-terminal [2023-11-14T20:38:23.012Z] [100%] Built target device-terminal [2023-11-14T20:38:23.012Z] Run CPack packaging tool... [2023-11-14T20:38:23.012Z] CPack: Create package using TGZ [2023-11-14T20:38:23.012Z] CPack: Install projects [2023-11-14T20:38:23.012Z] CPack: - Run preinstall target for: Csdk [2023-11-14T20:38:23.972Z] CPack: - Install project: Csdk [] [2023-11-14T20:38:23.972Z] CPack: Create package [2023-11-14T20:38:23.972Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-11-14T20:38:23.972Z] + '[' false '=' true ] [2023-11-14T20:38:23.972Z] + '[' false '=' true ] [2023-11-14T20:38:23.972Z] + mkdir -p /tmp/sdk/build/debug [2023-11-14T20:38:23.972Z] + cd /tmp/sdk/build/debug [2023-11-14T20:38:23.972Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-11-14T20:38:24.240Z] -- The C compiler identification is GNU 12.2.1 [2023-11-14T20:38:24.240Z] -- Detecting C compiler ABI info [2023-11-14T20:38:24.508Z] -- Detecting C compiler ABI info - done [2023-11-14T20:38:24.780Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-14T20:38:24.780Z] -- Detecting C compile features [2023-11-14T20:38:24.780Z] -- Detecting C compile features - done [2023-11-14T20:38:24.780Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-14T20:38:24.780Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-14T20:38:24.780Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-14T20:38:24.780Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-14T20:38:25.046Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-14T20:38:25.046Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-14T20:38:25.046Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-14T20:38:25.046Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-14T20:38:25.046Z] -- /opt/iotech/iot/1.5/include [2023-11-14T20:38:25.046Z] -- C SDK 0.0.0 for Linux [2023-11-14T20:38:25.046Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-14T20:38:28.383Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-14T20:38:28.383Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-14T20:38:28.650Z] -- Configuring done (4.7s) [2023-11-14T20:38:28.917Z] -- Generating done (0.2s) [2023-11-14T20:38:28.917Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-11-14T20:38:28.917Z] + make [2023-11-14T20:38:28.917Z] + tee debug.log [2023-11-14T20:38:28.917Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-14T20:38:29.501Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-14T20:38:29.768Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-14T20:38:30.042Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-14T20:38:30.637Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-14T20:38:30.903Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-14T20:38:31.485Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-14T20:38:32.069Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-14T20:38:32.069Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-14T20:38:32.665Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-14T20:38:33.247Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-14T20:38:33.514Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-14T20:38:33.782Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-14T20:38:34.365Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-14T20:38:34.632Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-14T20:38:34.900Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-14T20:38:35.168Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-14T20:38:35.751Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-14T20:38:36.017Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-14T20:38:36.283Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-14T20:38:36.865Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-14T20:38:38.270Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-14T20:38:38.270Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-14T20:38:38.537Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-14T20:38:39.125Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-14T20:38:39.125Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-14T20:38:39.709Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-14T20:38:41.117Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-14T20:38:41.382Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-14T20:38:41.647Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-14T20:38:41.912Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-14T20:38:42.177Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-14T20:38:42.177Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-14T20:38:42.177Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-14T20:38:42.177Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-14T20:38:42.177Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-14T20:38:42.177Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-14T20:38:42.177Z] | ^ [2023-11-14T20:38:42.756Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-14T20:38:43.345Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-14T20:38:43.345Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-14T20:38:43.926Z] [ 68%] Linking C shared library libcsdk.so [2023-11-14T20:38:43.926Z] [ 68%] Built target csdk [2023-11-14T20:38:43.926Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-14T20:38:44.508Z] [ 72%] Linking C executable template [2023-11-14T20:38:44.774Z] [ 72%] Built target template [2023-11-14T20:38:44.774Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-14T20:38:45.040Z] [ 76%] Linking C executable device-counter [2023-11-14T20:38:45.307Z] [ 76%] Built target device-counter [2023-11-14T20:38:45.307Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-14T20:38:45.573Z] [ 80%] Linking C executable device-random [2023-11-14T20:38:45.840Z] [ 80%] Built target device-random [2023-11-14T20:38:46.109Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-14T20:38:46.375Z] [ 84%] Linking C executable device-gyro [2023-11-14T20:38:46.643Z] [ 84%] Built target device-gyro [2023-11-14T20:38:46.643Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-14T20:38:46.910Z] [ 88%] Linking C executable device-bitfields [2023-11-14T20:38:47.177Z] [ 88%] Built target device-bitfields [2023-11-14T20:38:47.177Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-14T20:38:47.757Z] [ 92%] Linking C executable template-discovery [2023-11-14T20:38:48.023Z] [ 92%] Built target template-discovery [2023-11-14T20:38:48.023Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-14T20:38:48.288Z] [ 96%] Linking C executable device-file [2023-11-14T20:38:48.555Z] [ 96%] Built target device-file [2023-11-14T20:38:48.555Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-14T20:38:49.138Z] [100%] Linking C executable device-terminal [2023-11-14T20:38:49.403Z] [100%] Built target device-terminal [2023-11-14T20:38:49.403Z] make: Entering directory '/tmp/sdk/build/release' [2023-11-14T20:38:49.669Z] [ 68%] Built target csdk [2023-11-14T20:38:49.669Z] [ 72%] Built target template [2023-11-14T20:38:49.669Z] [ 76%] Built target device-counter [2023-11-14T20:38:49.669Z] [ 80%] Built target device-random [2023-11-14T20:38:49.669Z] [ 84%] Built target device-gyro [2023-11-14T20:38:49.935Z] [ 88%] Built target device-bitfields [2023-11-14T20:38:49.935Z] [ 92%] Built target template-discovery [2023-11-14T20:38:49.935Z] [ 96%] Built target device-file [2023-11-14T20:38:49.935Z] [100%] Built target device-terminal [2023-11-14T20:38:50.204Z] Install the project... [2023-11-14T20:38:50.204Z] -- Install configuration: "Release" [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/lib/libcsdk.so [2023-11-14T20:38:50.204Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include/devsdk [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include/edgex [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include/edgex/devices.h [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-11-14T20:38:50.204Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-11-14T20:38:50.204Z] make: Leaving directory '/tmp/sdk/build/release' [2023-11-14T20:38:52.255Z] Removing intermediate container 5143fa76a354 [2023-11-14T20:38:52.255Z] ---> 78d833722318 [2023-11-14T20:38:52.255Z] Step 14/22 : FROM ${BASE} [2023-11-14T20:38:52.255Z] ---> 2b552cad5dd9 [2023-11-14T20:38:52.255Z] Step 15/22 : LABEL maintainer="IOTech " [2023-11-14T20:38:52.255Z] ---> Running in 081461b0fbda [2023-11-14T20:38:52.255Z] Removing intermediate container 081461b0fbda [2023-11-14T20:38:52.255Z] ---> 8358a9561b8b [2023-11-14T20:38:52.255Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-11-14T20:38:52.255Z] ---> Running in 50eb8b019e49 [2023-11-14T20:38:53.240Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-11-14T20:38:53.834Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-14T20:38:53.834Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-14T20:38:53.834Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-14T20:38:58.258Z] Removing intermediate container 50eb8b019e49 [2023-11-14T20:38:58.258Z] ---> 9cd7ca8e0f78 [2023-11-14T20:38:58.258Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-14T20:38:58.258Z] ---> Running in 8233aa6f1f69 [2023-11-14T20:38:59.671Z] Removing intermediate container 8233aa6f1f69 [2023-11-14T20:38:59.671Z] ---> 5da6bf762d59 [2023-11-14T20:38:59.671Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2023-11-14T20:38:59.671Z] ---> Running in 7b5998d14fc9 [2023-11-14T20:39:00.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:00.909Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:01.491Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:02.448Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-14T20:39:02.448Z] (1/8) Installing curl (8.4.0-r0) [2023-11-14T20:39:02.448Z] (2/8) Installing dumb-init (1.2.5-r2) [2023-11-14T20:39:02.448Z] (3/8) Installing hiredis (1.1.0-r2) [2023-11-14T20:39:02.448Z] (4/8) Installing hiredis-dev (1.1.0-r2) [2023-11-14T20:39:02.448Z] (5/8) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-14T20:39:03.406Z] (6/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-14T20:39:03.672Z] (7/8) Installing libcbor (0.10.2-r1) [2023-11-14T20:39:03.672Z] (8/8) Installing libuuid (2.38.1-r8) [2023-11-14T20:39:03.672Z] Executing busybox-1.36.1-r4.trigger [2023-11-14T20:39:03.672Z] OK: 328 MiB in 90 packages [2023-11-14T20:39:04.637Z] Removing intermediate container 7b5998d14fc9 [2023-11-14T20:39:04.637Z] ---> 283b1564f0ac [2023-11-14T20:39:04.637Z] Step 19/22 : RUN apk --no-cache upgrade [2023-11-14T20:39:04.637Z] ---> Running in 11b8a88beee4 [2023-11-14T20:39:05.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:05.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:06.123Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:07.079Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-14T20:39:07.079Z] (1/6) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2023-11-14T20:39:07.079Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T20:39:07.346Z] (2/6) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2023-11-14T20:39:07.346Z] (3/6) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r1) [2023-11-14T20:39:07.346Z] (4/6) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r1) [2023-11-14T20:39:07.346Z] (5/6) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2023-11-14T20:39:07.346Z] (6/6) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r1) [2023-11-14T20:39:07.346Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T20:39:07.613Z] Executing ca-certificates-20230506-r0.trigger [2023-11-14T20:39:07.613Z] OK: 328 MiB in 90 packages [2023-11-14T20:39:09.019Z] Removing intermediate container 11b8a88beee4 [2023-11-14T20:39:09.019Z] ---> 14943835e4e9 [2023-11-14T20:39:09.019Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-11-14T20:39:12.348Z] ---> 7b2dfc54a7a9 [2023-11-14T20:39:12.348Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-11-14T20:39:12.931Z] ---> d71f9cbcc0af [2023-11-14T20:39:12.931Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-11-14T20:39:13.511Z] ---> f2718c67ed0f [2023-11-14T20:39:13.511Z] Successfully built f2718c67ed0f [2023-11-14T20:39:13.511Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:39:14.268Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T20:39:14.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:39:14.519Z] prd-ubuntu20.04-docker-arm64-4c-16g-17538 does not seem to be running inside a container [2023-11-14T20:39:14.583Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T20:39:15.694Z] $ docker top 6614feb339efaeb16845834f18725b1ab6315ef95e321e1c450ef37622cff664 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T20:39:16.554Z] + make test [2023-11-14T20:39:16.554Z] echo "make test" [2023-11-14T20:39:16.554Z] make test [Pipeline] } [2023-11-14T20:39:16.596Z] $ docker stop --time=1 6614feb339efaeb16845834f18725b1ab6315ef95e321e1c450ef37622cff664 [2023-11-14T20:39:18.203Z] $ docker rm -f --volumes 6614feb339efaeb16845834f18725b1ab6315ef95e321e1c450ef37622cff664 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T20:39:19.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T20:39:19.345Z] + ls -al . [2023-11-14T20:39:19.345Z] total 208 [2023-11-14T20:39:19.345Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 20:36 . [2023-11-14T20:39:19.345Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 20:36 .. [2023-11-14T20:39:19.345Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 20:36 .git [2023-11-14T20:39:19.345Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:36 .github [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 14 20:36 .gitignore [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 14 20:36 Attribution.txt [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 14 20:36 CHANGELOG.md [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 14 20:36 Doxyfile [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 20:36 GOVERNANCE.md [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 14 20:36 Jenkinsfile [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 14 20:36 LICENSE [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 14 20:36 Makefile [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 14 20:36 OWNERS.md [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 14 20:36 README.IOT.md [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 14 20:36 README.md [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 14 20:36 README.v3.md [2023-11-14T20:39:19.345Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 20:32 VERSION [2023-11-14T20:39:19.345Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 20:36 docs [2023-11-14T20:39:19.345Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 20:36 include [2023-11-14T20:39:19.345Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 20:36 scripts [2023-11-14T20:39:19.345Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 20:36 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:39:19.759Z] + 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=4410ed02c89f9f775968b3c16ea152ec31bdb83a --label arch=arm64 --label version=0.0.0 . [2023-11-14T20:39:20.023Z] Sending build context to Docker daemon 2.971MB [2023-11-14T20:39:20.023Z] Step 1/18 : ARG BASE=alpine:3.18 [2023-11-14T20:39:20.023Z] Step 2/18 : FROM ${BASE} [2023-11-14T20:39:20.023Z] ---> f2718c67ed0f [2023-11-14T20:39:20.023Z] Step 3/18 : LABEL maintainer="IOTech " [2023-11-14T20:39:20.297Z] ---> Running in 65b97152c946 [2023-11-14T20:39:20.563Z] Removing intermediate container 65b97152c946 [2023-11-14T20:39:20.563Z] ---> a91074a890bb [2023-11-14T20:39:20.563Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-11-14T20:39:20.563Z] ---> Running in cdfa13f09d52 [2023-11-14T20:39:21.521Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-11-14T20:39:22.101Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-14T20:39:22.101Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-14T20:39:22.101Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-14T20:39:22.682Z] Removing intermediate container cdfa13f09d52 [2023-11-14T20:39:22.682Z] ---> fc1bd6783dd4 [2023-11-14T20:39:22.682Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-14T20:39:22.949Z] ---> Running in 58dd66a1d6c4 [2023-11-14T20:39:28.290Z] Removing intermediate container 58dd66a1d6c4 [2023-11-14T20:39:28.290Z] ---> 3791882ce290 [2023-11-14T20:39:28.290Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2023-11-14T20:39:28.290Z] ---> Running in 2c5ec13390f4 [2023-11-14T20:39:28.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:29.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:29.721Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:30.675Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-14T20:39:30.675Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-14T20:39:30.941Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2023-11-14T20:39:30.941Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2023-11-14T20:39:30.941Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2023-11-14T20:39:30.941Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2023-11-14T20:39:30.941Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-14T20:39:30.941Z] (7/11) Installing libblkid (2.38.1-r8) [2023-11-14T20:39:30.941Z] (8/11) Installing libfdisk (2.38.1-r8) [2023-11-14T20:39:30.942Z] (9/11) Installing libmount (2.38.1-r8) [2023-11-14T20:39:30.942Z] (10/11) Installing libsmartcols (2.38.1-r8) [2023-11-14T20:39:30.942Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2023-11-14T20:39:31.209Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T20:39:31.209Z] OK: 333 MiB in 101 packages [2023-11-14T20:39:32.169Z] Removing intermediate container 2c5ec13390f4 [2023-11-14T20:39:32.170Z] ---> c49ba0e179f5 [2023-11-14T20:39:32.170Z] Step 7/18 : RUN apk --no-cache upgrade [2023-11-14T20:39:32.436Z] ---> Running in 10ac24a603be [2023-11-14T20:39:33.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:33.659Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:33.925Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:39:34.883Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-14T20:39:35.151Z] OK: 333 MiB in 101 packages [2023-11-14T20:39:36.116Z] Removing intermediate container 10ac24a603be [2023-11-14T20:39:36.117Z] ---> 47428d532b81 [2023-11-14T20:39:36.117Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2023-11-14T20:39:36.381Z] ---> bf4fcbbbd6ba [2023-11-14T20:39:36.381Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2023-11-14T20:39:37.339Z] ---> 262bffa0a560 [2023-11-14T20:39:37.339Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2023-11-14T20:39:40.667Z] ---> 168da6bdb695 [2023-11-14T20:39:40.667Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2023-11-14T20:39:41.250Z] ---> 0aae309653db [2023-11-14T20:39:41.250Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2023-11-14T20:39:41.831Z] ---> b755a81e1b22 [2023-11-14T20:39:41.831Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2023-11-14T20:39:42.096Z] ---> 0b3b64e60156 [2023-11-14T20:39:42.096Z] Step 14/18 : WORKDIR /edgex-c-sdk [2023-11-14T20:39:42.366Z] ---> Running in 93e69a6bd5a7 [2023-11-14T20:39:42.631Z] Removing intermediate container 93e69a6bd5a7 [2023-11-14T20:39:42.631Z] ---> 4dfd4fc431c4 [2023-11-14T20:39:42.631Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-11-14T20:39:42.631Z] ---> Running in f3e686523e97 [2023-11-14T20:39:42.897Z] Removing intermediate container f3e686523e97 [2023-11-14T20:39:42.898Z] ---> 68e1c8359a40 [2023-11-14T20:39:42.898Z] Step 16/18 : LABEL arch=arm64 [2023-11-14T20:39:43.164Z] ---> Running in 750c77e8ad6b [2023-11-14T20:39:43.431Z] Removing intermediate container 750c77e8ad6b [2023-11-14T20:39:43.431Z] ---> 1b741224fdd7 [2023-11-14T20:39:43.431Z] Step 17/18 : LABEL git_sha=4410ed02c89f9f775968b3c16ea152ec31bdb83a [2023-11-14T20:39:43.431Z] ---> Running in 2c495cbbb10c [2023-11-14T20:39:43.697Z] Removing intermediate container 2c495cbbb10c [2023-11-14T20:39:43.697Z] ---> 02fff224d747 [2023-11-14T20:39:43.697Z] Step 18/18 : LABEL version=0.0.0 [2023-11-14T20:39:43.697Z] ---> Running in edb8dab0a29e [2023-11-14T20:39:43.971Z] Removing intermediate container edb8dab0a29e [2023-11-14T20:39:43.971Z] ---> c2bc77b414b6 [2023-11-14T20:39:43.971Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-11-14T20:39:43.971Z] Successfully built c2bc77b414b6 [2023-11-14T20:39:43.971Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:39:44.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T20:39:44.761Z] [2023-11-14T20:39:44.761Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:39:45.154Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T20:39:45.155Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T20:39:45.155Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T20:39:45.155Z] 04944245beec: Pulling fs layer [2023-11-14T20:39:45.155Z] 699f458cf7ca: Pulling fs layer [2023-11-14T20:39:45.155Z] 765212b225bb: Pulling fs layer [2023-11-14T20:39:45.155Z] f23df028b6ca: Pulling fs layer [2023-11-14T20:39:45.155Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T20:39:45.155Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T20:39:45.155Z] 765212b225bb: Waiting [2023-11-14T20:39:45.155Z] f23df028b6ca: Waiting [2023-11-14T20:39:45.155Z] d65c8cfc05b1: Waiting [2023-11-14T20:39:45.155Z] 2437ff75d9bd: Waiting [2023-11-14T20:39:45.424Z] 04944245beec: Verifying Checksum [2023-11-14T20:39:45.424Z] 04944245beec: Download complete [2023-11-14T20:39:45.424Z] 765212b225bb: Verifying Checksum [2023-11-14T20:39:45.424Z] 765212b225bb: Download complete [2023-11-14T20:39:45.424Z] f23df028b6ca: Download complete [2023-11-14T20:39:45.424Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T20:39:45.424Z] d65c8cfc05b1: Download complete [2023-11-14T20:39:45.424Z] 699f458cf7ca: Verifying Checksum [2023-11-14T20:39:45.424Z] 699f458cf7ca: Download complete [2023-11-14T20:39:46.006Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T20:39:46.006Z] 8998bd30e6a1: Download complete [2023-11-14T20:39:48.583Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T20:39:48.583Z] 2437ff75d9bd: Download complete [2023-11-14T20:39:50.523Z] 8998bd30e6a1: Pull complete [2023-11-14T20:39:50.789Z] 04944245beec: Pull complete [2023-11-14T20:39:55.035Z] 699f458cf7ca: Pull complete [2023-11-14T20:39:55.035Z] 765212b225bb: Pull complete [2023-11-14T20:39:55.302Z] f23df028b6ca: Pull complete [2023-11-14T20:39:55.568Z] d65c8cfc05b1: Pull complete [2023-11-14T20:40:13.756Z] 2437ff75d9bd: Pull complete [2023-11-14T20:40:13.756Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T20:40:13.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T20:40:13.756Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:40:14.067Z] prd-ubuntu20.04-docker-arm64-4c-16g-17538 does not seem to be running inside a container [2023-11-14T20:40:14.131Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-14T20:40:16.617Z] $ docker top db09054c304d62bfaec625775e520919f87abc3e46e578b2c17b812a18b6d597 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:40:17.177Z] ---> job-cost.sh [2023-11-14T20:40:17.442Z] lf-activate-venv: SKIPPING [2023-11-14T20:40:17.442Z] INFO: No Stack... [2023-11-14T20:40:17.707Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T20:40:18.662Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T20:40:19.333Z] + cut -d, -f6 [2023-11-14T20:40:19.333Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [Pipeline] lock [2023-11-14T20:40:19.388Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-1-stack-cost] [2023-11-14T20:40:19.394Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-1-stack-cost] did not exist. Created. [2023-11-14T20:40:19.394Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T20:40:20.118Z] /w/workspace/device-sdk-c/1@tmp/durable-31008e39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T20:40:20.477Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T20:40:20.775Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T20:40:21.233Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T20:40:21.249Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T20:40:21.337Z] $ docker stop --time=1 db09054c304d62bfaec625775e520919f87abc3e46e578b2c17b812a18b6d597 [2023-11-14T20:40:24.174Z] $ docker rm -f --volumes db09054c304d62bfaec625775e520919f87abc3e46e578b2c17b812a18b6d597 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-14T20:40:25.891Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives ] [2023-11-14T20:40:25.891Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2023-11-14T20:40:25.891Z] total 16 [2023-11-14T20:40:25.891Z] drwxr-xr-x 3 root root 4096 Nov 14 20:33 . [2023-11-14T20:40:25.891Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 20:33 .. [2023-11-14T20:40:25.891Z] drwxr-xr-x 2 root root 4096 Nov 14 20:33 cost [2023-11-14T20:40:25.891Z] -rw-r--r-- 1 root root 84 Nov 14 20:33 cost.csv [2023-11-14T20:40:25.891Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2023-11-14T20:40:25.891Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2023-11-14T20:40:25.891Z] total 16 [2023-11-14T20:40:25.891Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 20:33 . [2023-11-14T20:40:25.891Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 20:33 .. [2023-11-14T20:40:25.891Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 20:33 cost [2023-11-14T20:40:25.891Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 14 20:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:40:26.220Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:40:27.113Z] ---> package-listing.sh [2023-11-14T20:40:27.113Z] ++ facter osfamily [2023-11-14T20:40:27.113Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T20:40:27.373Z] + OS_FAMILY=debian [2023-11-14T20:40:27.374Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-496 [2023-11-14T20:40:27.374Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T20:40:27.374Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T20:40:27.374Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T20:40:27.374Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T20:40:27.374Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2023-11-14T20:40:27.374Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T20:40:27.374Z] + case "${OS_FAMILY}" in [2023-11-14T20:40:27.374Z] + dpkg -l [2023-11-14T20:40:27.374Z] + grep '^ii' [2023-11-14T20:40:27.374Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T20:40:27.374Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T20:40:27.374Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T20:40:27.374Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2023-11-14T20:40:27.374Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [2023-11-14T20:40:27.374Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [Pipeline] echo [2023-11-14T20:40:27.410Z] 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-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T20:40:27.707Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:40:28.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T20:40:28.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:40:28.488Z] prd-ubuntu20.04-docker-8c-8g-17537 does not seem to be running inside a container [2023-11-14T20:40:28.517Z] $ 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-496/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-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@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-11-14T20:40:28.713Z] $ docker top 38f32bf8b33ff98c931b9c568e0a5fb540131940361d28c2782a523c47edae9e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T20:40:29.101Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T20:40:29.410Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T20:40:29.719Z] + ls /var/log/sa-host [2023-11-14T20:40:29.719Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T20:40:29.857Z] provisioning config files... [2023-11-14T20:40:29.866Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config7455501806034985720tmp [Pipeline] { [Pipeline] echo [2023-11-14T20:40:29.916Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:40:30.231Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T20:40:30.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:40:30.663Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T20:40:30.693Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:40:31.010Z] ---> sudo-logs.sh [2023-11-14T20:40:31.010Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T20:40:31.094Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:40:31.410Z] ---> job-cost.sh [2023-11-14T20:40:31.411Z] lf-activate-venv: SKIPPING [2023-11-14T20:40:31.411Z] DEBUG: total: 0.2199999988079071 [2023-11-14T20:40:31.411Z] INFO: Retrieving Stack Cost... [2023-11-14T20:40:31.980Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T20:40:32.550Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T20:40:32.584Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:40:32.895Z] ---> logs-deploy.sh [2023-11-14T20:40:32.895Z] lf-activate-venv: SKIPPING [2023-11-14T20:40:32.895Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-496/1 [2023-11-14T20:40:32.895Z] INFO: archiving workspace using pattern(s): [2023-11-14T20:40:33.832Z] Archives upload complete. [2023-11-14T20:40:33.832Z] INFO: archiving logs to Nexus