Pull request #508 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 7a8c810441e40b896cce4a73f358e5b48ad0d479+6bdae90b977cdeecb957260a94da902cfcf10c29 (40310cc0ec8ce7466182121b6b935dae46dfbbbb) 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-ssh8228253759104237983.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh2716201234361540651.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-508/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-508/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17051591672746922692.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-508/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2019205714387601823.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh5013933002682005356.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-508/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-508/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1811719736169197330.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-27747’ Running on prd-ubuntu20.04-docker-8c-8g-27756 in /w/workspace/edgexfoundry_device-sdk-c_PR-508 [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-508 # 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/508/head:refs/remotes/origin/PR-508 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6bdae90b977cdeecb957260a94da902cfcf10c29 into PR head commit 7a8c810441e40b896cce4a73f358e5b48ad0d479 Merge succeeded, producing 7a8c810441e40b896cce4a73f358e5b48ad0d479 Checking out Revision 7a8c810441e40b896cce4a73f358e5b48ad0d479 (PR-508) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a8c810441e40b896cce4a73f358e5b48ad0d479 # 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 6bdae90b977cdeecb957260a94da902cfcf10c29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7a8c810441e40b896cce4a73f358e5b48ad0d479 # timeout=10 Commit message: "fix: edgex_device_read does not read labels" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-24T02:31:04.338Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-24T02:31:04.532Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-24T02:31:04.641Z] ========================================================= [2024-01-24T02:31:04.641Z] EdgeX Global Pipelines Version Info [2024-01-24T02:31:04.641Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:31:05.430Z] ------------------- [2024-01-24T02:31:05.430Z] stable info: [2024-01-24T02:31:05.430Z] ------------------- [2024-01-24T02:31:05.430Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-24T02:31:05.430Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-24T02:31:05.430Z] Message: update stable to v1.0.258 [2024-01-24T02:31:06.010Z] ------------------- [2024-01-24T02:31:06.010Z] experimental info: [2024-01-24T02:31:06.010Z] ------------------- [2024-01-24T02:31:06.010Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-24T02:31:06.010Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-24T02:31:06.010Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-24T02:31:06.255Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-24T02:31:06.313Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-24T02:31:06.365Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-24T02:31:06.415Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-24T02:31:06.469Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-24T02:31:06.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-24T02:31:06.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-24T02:31:06.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-24T02:31:06.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-24T02:31:06.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-24T02:31:06.830Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-24T02:31:06.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-24T02:31:06.957Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-24T02:31:07.014Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-24T02:31:07.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-24T02:31:07.136Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-24T02:31:07.202Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-24T02:31:07.263Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-508 [Pipeline] echo [2024-01-24T02:31:07.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-508 [Pipeline] echo [2024-01-24T02:31:07.397Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-508 [Pipeline] echo [2024-01-24T02:31:07.466Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a8c810441e40b896cce4a73f358e5b48ad0d479 [Pipeline] echo [2024-01-24T02:31:07.531Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a8c810 [Pipeline] echo [2024-01-24T02:31:07.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-24T02:31:07.756Z] provisioning config files... [2024-01-24T02:31:07.770Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/config13637865804682309126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:31:08.173Z] ---> ****-login.sh [2024-01-24T02:31:08.173Z] nexus3.edgexfoundry.org:10001 [2024-01-24T02:31:08.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:31:08.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:31:08.432Z] Configure a credential helper to remove this warning. See [2024-01-24T02:31:08.432Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:31:08.432Z] [2024-01-24T02:31:08.432Z] Login Succeeded [2024-01-24T02:31:08.432Z] nexus3.edgexfoundry.org:10002 [2024-01-24T02:31:08.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:31:08.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:31:08.693Z] Configure a credential helper to remove this warning. See [2024-01-24T02:31:08.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:31:08.693Z] [2024-01-24T02:31:08.693Z] Login Succeeded [2024-01-24T02:31:08.693Z] nexus3.edgexfoundry.org:10003 [2024-01-24T02:31:08.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:31:08.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:31:08.693Z] Configure a credential helper to remove this warning. See [2024-01-24T02:31:08.693Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:31:08.693Z] [2024-01-24T02:31:08.693Z] Login Succeeded [2024-01-24T02:31:08.693Z] nexus3.edgexfoundry.org:10004 [2024-01-24T02:31:08.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:31:08.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:31:08.954Z] Configure a credential helper to remove this warning. See [2024-01-24T02:31:08.954Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:31:08.954Z] [2024-01-24T02:31:08.954Z] Login Succeeded [2024-01-24T02:31:08.954Z] ****.io [2024-01-24T02:31:08.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:31:09.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:31:09.215Z] Configure a credential helper to remove this warning. See [2024-01-24T02:31:09.215Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:31:09.215Z] [2024-01-24T02:31:09.215Z] Login Succeeded [2024-01-24T02:31:09.215Z] ---> ****-login.sh ends [Pipeline] } [2024-01-24T02:31:09.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-01-24T02:31:10.004Z] + git rev-list -1 --merges 7a8c810441e40b896cce4a73f358e5b48ad0d479~1..7a8c810441e40b896cce4a73f358e5b48ad0d479 [Pipeline] echo [2024-01-24T02:31:10.043Z] -----------> git rev-list -1 --merges 7a8c810441e40b896cce4a73f358e5b48ad0d479~1..7a8c810441e40b896cce4a73f358e5b48ad0d479 7a8c810441e40b896cce4a73f358e5b48ad0d479 [false] [Pipeline] sh [2024-01-24T02:31:10.368Z] + git log --format=format:%s -1 7a8c810441e40b896cce4a73f358e5b48ad0d479 [Pipeline] echo [2024-01-24T02:31:10.404Z] ========================================================= [2024-01-24T02:31:10.404Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-24T02:31:10.404Z] ========================================================= 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 [2024-01-24T02:31:11.401Z] + git rev-list -1 --merges 7a8c810441e40b896cce4a73f358e5b48ad0d479~1..7a8c810441e40b896cce4a73f358e5b48ad0d479 [Pipeline] echo [2024-01-24T02:31:11.432Z] -----------> git rev-list -1 --merges 7a8c810441e40b896cce4a73f358e5b48ad0d479~1..7a8c810441e40b896cce4a73f358e5b48ad0d479 7a8c810441e40b896cce4a73f358e5b48ad0d479 [false] [Pipeline] sh [2024-01-24T02:31:11.749Z] + git log --format=format:%s -1 7a8c810441e40b896cce4a73f358e5b48ad0d479 [Pipeline] echo [2024-01-24T02:31:11.798Z] ========================================================= [2024-01-24T02:31:11.798Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-24T02:31:11.798Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-24T02:31:12.398Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-24T02:31:12.398Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-24T02:31:12.398Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-24T02:31:12.398Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-24T02:31:12.398Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-24T02:31:12.398Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-24T02:31:12.398Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T02:31:12.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-24T02:31:12.939Z] [2024-01-24T02:31:12.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T02:31:13.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-24T02:31:13.337Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-24T02:31:13.337Z] b85a868b505f: Pulling fs layer [2024-01-24T02:31:13.337Z] e2be974225ed: Pulling fs layer [2024-01-24T02:31:13.337Z] 339a4e72a1f5: Pulling fs layer [2024-01-24T02:31:13.337Z] 988bab9f4d93: Pulling fs layer [2024-01-24T02:31:13.337Z] 1469e6f7b9e6: Pulling fs layer [2024-01-24T02:31:13.337Z] eaf3925da568: Pulling fs layer [2024-01-24T02:31:13.337Z] bab4dde63d76: Pulling fs layer [2024-01-24T02:31:13.337Z] bde34c3a00c8: Pulling fs layer [2024-01-24T02:31:13.337Z] b352a97aabf1: Pulling fs layer [2024-01-24T02:31:13.337Z] 4872d77fe225: Pulling fs layer [2024-01-24T02:31:13.337Z] 5851b861e8e6: Pulling fs layer [2024-01-24T02:31:13.337Z] eaf3925da568: Waiting [2024-01-24T02:31:13.337Z] bab4dde63d76: Waiting [2024-01-24T02:31:13.337Z] 1469e6f7b9e6: Waiting [2024-01-24T02:31:13.337Z] 4872d77fe225: Waiting [2024-01-24T02:31:13.337Z] 988bab9f4d93: Waiting [2024-01-24T02:31:13.337Z] e2be974225ed: Download complete [2024-01-24T02:31:13.337Z] 988bab9f4d93: Verifying Checksum [2024-01-24T02:31:13.337Z] 988bab9f4d93: Download complete [2024-01-24T02:31:13.337Z] 1469e6f7b9e6: Verifying Checksum [2024-01-24T02:31:13.337Z] 1469e6f7b9e6: Download complete [2024-01-24T02:31:13.337Z] eaf3925da568: Verifying Checksum [2024-01-24T02:31:13.337Z] eaf3925da568: Download complete [2024-01-24T02:31:13.337Z] 339a4e72a1f5: Verifying Checksum [2024-01-24T02:31:13.337Z] 339a4e72a1f5: Download complete [2024-01-24T02:31:13.596Z] bde34c3a00c8: Verifying Checksum [2024-01-24T02:31:13.596Z] bde34c3a00c8: Download complete [2024-01-24T02:31:13.596Z] b352a97aabf1: Verifying Checksum [2024-01-24T02:31:13.596Z] b352a97aabf1: Download complete [2024-01-24T02:31:13.596Z] 4872d77fe225: Verifying Checksum [2024-01-24T02:31:13.596Z] 4872d77fe225: Download complete [2024-01-24T02:31:13.596Z] 5851b861e8e6: Verifying Checksum [2024-01-24T02:31:13.596Z] b85a868b505f: Verifying Checksum [2024-01-24T02:31:13.596Z] b85a868b505f: Download complete [2024-01-24T02:31:13.856Z] bab4dde63d76: Verifying Checksum [2024-01-24T02:31:13.856Z] bab4dde63d76: Download complete [2024-01-24T02:31:14.792Z] b85a868b505f: Pull complete [2024-01-24T02:31:15.052Z] e2be974225ed: Pull complete [2024-01-24T02:31:15.621Z] 339a4e72a1f5: Pull complete [2024-01-24T02:31:15.621Z] 988bab9f4d93: Pull complete [2024-01-24T02:31:15.879Z] 1469e6f7b9e6: Pull complete [2024-01-24T02:31:15.879Z] eaf3925da568: Pull complete [2024-01-24T02:31:17.785Z] bab4dde63d76: Pull complete [2024-01-24T02:31:17.785Z] bde34c3a00c8: Pull complete [2024-01-24T02:31:17.785Z] b352a97aabf1: Pull complete [2024-01-24T02:31:18.046Z] 4872d77fe225: Pull complete [2024-01-24T02:31:18.046Z] 5851b861e8e6: Pull complete [2024-01-24T02:31:18.046Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-24T02:31:18.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-24T02:31:18.046Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T02:31:18.372Z] prd-ubuntu20.04-docker-8c-8g-27756 does not seem to be running inside a container [2024-01-24T02:31:18.403Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-508 -v /w/workspace/edgexfoundry_device-sdk-c_PR-508:/w/workspace/edgexfoundry_device-sdk-c_PR-508:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-508@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-24T02:31:22.432Z] $ docker top 3dcbe28898abdb8c230ecd955adc6dee26ed3fe65450f7cf22c28dd97f83f3ad -eo pid,comm [2024-01-24T02:31:22.484Z] 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). [2024-01-24T02:31:22.484Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-24T02:31:22.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-24T02:31:22.673Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-24T02:31:22.790Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-24T02:31:22.794Z] $ docker exec 3dcbe28898abdb8c230ecd955adc6dee26ed3fe65450f7cf22c28dd97f83f3ad ssh-agent [2024-01-24T02:31:22.895Z] SSH_AUTH_SOCK=/tmp/ssh-nNw6USebpHqg/agent.33 [2024-01-24T02:31:22.895Z] SSH_AGENT_PID=39 [2024-01-24T02:31:22.901Z] Running ssh-add (command line suppressed) [2024-01-24T02:31:23.017Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/private_key_15604422578696415268.key (/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/private_key_15604422578696415268.key) [2024-01-24T02:31:23.039Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-24T02:31:23.390Z] + git tag --points-at HEAD [Pipeline] } [2024-01-24T02:31:23.417Z] $ docker exec --env ******** --env ******** 3dcbe28898abdb8c230ecd955adc6dee26ed3fe65450f7cf22c28dd97f83f3ad ssh-agent -k [2024-01-24T02:31:23.526Z] unset SSH_AUTH_SOCK; [2024-01-24T02:31:23.526Z] unset SSH_AGENT_PID; [2024-01-24T02:31:23.526Z] echo Agent pid 39 killed; [2024-01-24T02:31:23.534Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-24T02:31:23.673Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-24T02:31:23.673Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-24T02:31:23.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-24T02:31:23.779Z] $ docker exec 3dcbe28898abdb8c230ecd955adc6dee26ed3fe65450f7cf22c28dd97f83f3ad ssh-agent [2024-01-24T02:31:23.902Z] SSH_AUTH_SOCK=/tmp/ssh-qHKDMbasXdqI/agent.71 [2024-01-24T02:31:23.902Z] SSH_AGENT_PID=77 [2024-01-24T02:31:23.907Z] Running ssh-add (command line suppressed) [2024-01-24T02:31:24.027Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/private_key_1629576067275490397.key (/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/private_key_1629576067275490397.key) [2024-01-24T02:31:24.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-24T02:31:24.392Z] + git semver init [2024-01-24T02:31:24.652Z] 2024-01-24 02:31:24,610 [run_init] DEBUG init version:0.0.0 force:False [2024-01-24T02:31:24.652Z] 2024-01-24 02:31:24,610 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver [2024-01-24T02:31:24.652Z] 2024-01-24 02:31:24,611 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver [2024-01-24T02:31:24.652Z] 2024-01-24 02:31:24,611 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-508, universal_newlines=False, shell=None, istream=None) [2024-01-24T02:31:25.592Z] 2024-01-24 02:31:25,462 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-508/.git/info/exclude [2024-01-24T02:31:25.592Z] 2024-01-24 02:31:25,463 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver/PR-508 with force:False [2024-01-24T02:31:25.592Z] 2024-01-24 02:31:25,463 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver/PR-508 [2024-01-24T02:31:25.592Z] 2024-01-24 02:31:25,467 [execute] INFO git cat-file --batch-check [2024-01-24T02:31:25.592Z] 2024-01-24 02:31:25,468 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver, universal_newlines=False, shell=None, istream=) [2024-01-24T02:31:25.592Z] 2024-01-24 02:31:25,475 [execute] INFO git cat-file --batch [2024-01-24T02:31:25.592Z] 2024-01-24 02:31:25,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver, universal_newlines=False, shell=None, istream=) [2024-01-24T02:31:25.592Z] 2024-01-24 02:31:25,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-508/.semver/PR-508 [2024-01-24T02:31:25.592Z] 0.0.0 [Pipeline] } [2024-01-24T02:31:25.621Z] $ docker exec --env ******** --env ******** 3dcbe28898abdb8c230ecd955adc6dee26ed3fe65450f7cf22c28dd97f83f3ad ssh-agent -k [2024-01-24T02:31:25.713Z] unset SSH_AUTH_SOCK; [2024-01-24T02:31:25.714Z] unset SSH_AGENT_PID; [2024-01-24T02:31:25.714Z] echo Agent pid 77 killed; [2024-01-24T02:31:25.721Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-24T02:31:26.237Z] + git semver [Pipeline] } [2024-01-24T02:31:26.524Z] $ docker stop --time=1 3dcbe28898abdb8c230ecd955adc6dee26ed3fe65450f7cf22c28dd97f83f3ad [2024-01-24T02:31:27.849Z] $ docker rm -f --volumes 3dcbe28898abdb8c230ecd955adc6dee26ed3fe65450f7cf22c28dd97f83f3ad [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-24T02:31:28.285Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-24T02:31:28.608Z] Stashed 1 file(s) [Pipeline] echo [2024-01-24T02:31:28.627Z] [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 [2024-01-24T02:31:29.393Z] provisioning config files... [2024-01-24T02:31:29.404Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/config5493624802706175058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:31:29.803Z] ---> ****-login.sh [2024-01-24T02:31:29.803Z] nexus3.edgexfoundry.org:10001 [2024-01-24T02:31:29.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:31:29.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:31:29.804Z] Configure a credential helper to remove this warning. See [2024-01-24T02:31:29.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:31:29.804Z] [2024-01-24T02:31:29.804Z] Login Succeeded [2024-01-24T02:31:29.804Z] nexus3.edgexfoundry.org:10002 [2024-01-24T02:31:29.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:31:29.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:31:29.804Z] Configure a credential helper to remove this warning. See [2024-01-24T02:31:29.804Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:31:29.804Z] [2024-01-24T02:31:29.804Z] Login Succeeded [2024-01-24T02:31:29.804Z] nexus3.edgexfoundry.org:10003 [2024-01-24T02:31:30.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:31:30.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:31:30.065Z] Configure a credential helper to remove this warning. See [2024-01-24T02:31:30.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:31:30.065Z] [2024-01-24T02:31:30.065Z] Login Succeeded [2024-01-24T02:31:30.065Z] nexus3.edgexfoundry.org:10004 [2024-01-24T02:31:30.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:31:30.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:31:30.065Z] Configure a credential helper to remove this warning. See [2024-01-24T02:31:30.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:31:30.065Z] [2024-01-24T02:31:30.065Z] Login Succeeded [2024-01-24T02:31:30.065Z] ****.io [2024-01-24T02:31:30.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:31:30.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:31:30.326Z] Configure a credential helper to remove this warning. See [2024-01-24T02:31:30.326Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:31:30.326Z] [2024-01-24T02:31:30.326Z] Login Succeeded [2024-01-24T02:31:30.326Z] ---> ****-login.sh ends [Pipeline] } [2024-01-24T02:31:30.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-24T02:31:30.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-24T02:31:30.680Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-24T02:31:30.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-24T02:31:30.796Z] ========================================================= [2024-01-24T02:31:30.796Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-24T02:31:30.796Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T02:31:31.290Z] + 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 . [2024-01-24T02:31:31.290Z] Sending build context to Docker daemon 4.999MB [2024-01-24T02:31:31.290Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-24T02:31:31.290Z] Step 2/21 : FROM ${BASE} as builder [2024-01-24T02:31:31.290Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-24T02:31:31.290Z] 96526aa774ef: Pulling fs layer [2024-01-24T02:31:31.290Z] da60e534fd72: Pulling fs layer [2024-01-24T02:31:31.550Z] 96526aa774ef: Verifying Checksum [2024-01-24T02:31:31.550Z] 96526aa774ef: Download complete [2024-01-24T02:31:31.550Z] 96526aa774ef: Pull complete [2024-01-24T02:31:32.117Z] da60e534fd72: Verifying Checksum [2024-01-24T02:31:32.117Z] da60e534fd72: Download complete [2024-01-24T02:31:35.399Z] da60e534fd72: Pull complete [2024-01-24T02:31:35.399Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-24T02:31:35.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-24T02:31:35.399Z] ---> 6605166a5db4 [2024-01-24T02:31:35.399Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-24T02:31:37.335Z] ---> Running in 04c7b63dccfe [2024-01-24T02:31:37.595Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-24T02:31:37.856Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-24T02:31:37.856Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-24T02:31:37.856Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-24T02:31:38.369Z] Removing intermediate container 04c7b63dccfe [2024-01-24T02:31:38.369Z] ---> 9513180043c6 [2024-01-24T02:31:38.369Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-24T02:31:38.369Z] ---> Running in 5b5a80662f26 [2024-01-24T02:31:38.939Z] Removing intermediate container 5b5a80662f26 [2024-01-24T02:31:38.939Z] ---> faaadb6c00f3 [2024-01-24T02:31:38.939Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-24T02:31:38.939Z] ---> Running in 1476c64fbc1f [2024-01-24T02:31:39.201Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T02:31:39.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-24T02:31:39.460Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T02:31:40.029Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T02:31:40.029Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-24T02:31:40.029Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-24T02:31:40.029Z] (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-24T02:31:40.596Z] (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-24T02:31:40.857Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-24T02:31:41.116Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-24T02:31:41.116Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-24T02:31:41.116Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-24T02:31:41.116Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-24T02:31:41.116Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-24T02:31:41.116Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-24T02:31:41.116Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-24T02:31:41.116Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-24T02:31:41.116Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-24T02:31:41.116Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-24T02:31:41.116Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-24T02:31:41.116Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-24T02:31:41.116Z] Executing busybox-1.36.1-r4.trigger [2024-01-24T02:31:41.116Z] OK: 336 MiB in 99 packages [2024-01-24T02:31:41.683Z] Removing intermediate container 1476c64fbc1f [2024-01-24T02:31:41.683Z] ---> e22d35f43016 [2024-01-24T02:31:41.683Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-24T02:31:41.683Z] ---> Running in 38e64105fe77 [2024-01-24T02:31:42.254Z] Removing intermediate container 38e64105fe77 [2024-01-24T02:31:42.254Z] ---> 04cf0b73d38c [2024-01-24T02:31:42.254Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-24T02:31:42.514Z] ---> 54f26e309684 [2024-01-24T02:31:42.514Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-24T02:31:42.773Z] ---> 97875d6a615e [2024-01-24T02:31:42.773Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-24T02:31:42.773Z] ---> 71a2fbebcc89 [2024-01-24T02:31:42.773Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-24T02:31:43.032Z] ---> 11fc677d2989 [2024-01-24T02:31:43.032Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-24T02:31:43.032Z] ---> 0c96ec2e843a [2024-01-24T02:31:43.032Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-24T02:31:43.291Z] ---> 8a945d2477f0 [2024-01-24T02:31:43.291Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-24T02:31:43.291Z] ---> Running in 0c6812d13701 [2024-01-24T02:31:43.551Z] + CPPCHECK=false [2024-01-24T02:31:43.551Z] + DOCGEN=false [2024-01-24T02:31:43.551Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-24T02:31:43.551Z] + '[' 0 -gt 0 ] [2024-01-24T02:31:43.551Z] + readlink -f ./scripts/build.sh [2024-01-24T02:31:43.551Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-24T02:31:43.551Z] + dirname /tmp/sdk/scripts [2024-01-24T02:31:43.551Z] + ROOT=/tmp/sdk [2024-01-24T02:31:43.551Z] + cd /tmp/sdk [2024-01-24T02:31:43.551Z] + mkdir -p /tmp/sdk/build/release [2024-01-24T02:31:43.551Z] + cd /tmp/sdk/build/release [2024-01-24T02:31:43.551Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-24T02:31:43.551Z] -- The C compiler identification is GNU 12.2.1 [2024-01-24T02:31:43.551Z] -- Detecting C compiler ABI info [2024-01-24T02:31:43.811Z] -- Detecting C compiler ABI info - done [2024-01-24T02:31:43.811Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-24T02:31:43.811Z] -- Detecting C compile features [2024-01-24T02:31:43.811Z] -- Detecting C compile features - done [2024-01-24T02:31:43.811Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-24T02:31:43.811Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-24T02:31:43.811Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-24T02:31:43.811Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-24T02:31:43.811Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-24T02:31:43.811Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-24T02:31:43.811Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-24T02:31:43.811Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-24T02:31:43.811Z] -- /opt/iotech/iot/1.5/include [2024-01-24T02:31:43.811Z] -- C SDK 0.0.0 for Linux [2024-01-24T02:31:43.811Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-24T02:31:43.811Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-24T02:31:43.811Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-24T02:31:44.072Z] -- Configuring done (0.4s) [2024-01-24T02:31:44.072Z] -- Generating done (0.0s) [2024-01-24T02:31:44.072Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-24T02:31:44.072Z] + make all package [2024-01-24T02:31:44.072Z] + tee release.log [2024-01-24T02:31:44.072Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-24T02:31:44.072Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-24T02:31:44.139Z] Still waiting to schedule task [2024-01-24T02:31:44.140Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-27753’ is offline [2024-01-24T02:31:44.332Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-24T02:31:44.332Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-24T02:31:44.591Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-24T02:31:44.591Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-24T02:31:44.850Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-24T02:31:45.109Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-24T02:31:45.109Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T02:31:45.109Z] 294 | while (privateConfig) [2024-01-24T02:31:45.109Z] | ^~~~~~~~~~~~~ [2024-01-24T02:31:45.109Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-24T02:31:45.109Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-24T02:31:45.109Z] | ^~~~~~~~~~~~~ [2024-01-24T02:31:45.109Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T02:31:45.109Z] 271 | while (result) [2024-01-24T02:31:45.109Z] | ^~~~~~ [2024-01-24T02:31:45.109Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-24T02:31:45.109Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-24T02:31:45.109Z] | ^~~~~~ [2024-01-24T02:31:45.109Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-24T02:31:45.109Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-24T02:31:45.369Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-24T02:31:45.628Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-24T02:31:45.628Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-24T02:31:45.888Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-24T02:31:45.888Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-24T02:31:45.888Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-24T02:31:46.147Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-24T02:31:46.147Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-24T02:31:46.407Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-24T02:31:46.408Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-24T02:31:46.668Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-24T02:31:46.929Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-24T02:31:47.868Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-24T02:31:47.868Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-24T02:31:47.868Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-24T02:31:48.127Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-24T02:31:48.127Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-24T02:31:48.388Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-24T02:31:48.648Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-24T02:31:48.648Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-24T02:31:48.909Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-24T02:31:48.909Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-24T02:31:48.909Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-24T02:31:48.909Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T02:31:48.909Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-24T02:31:48.909Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T02:31:48.909Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T02:31:48.909Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-24T02:31:48.909Z] | ^ [2024-01-24T02:31:49.169Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T02:31:49.169Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-24T02:31:49.169Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T02:31:49.169Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-24T02:31:49.169Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-24T02:31:49.169Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-24T02:31:49.430Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-24T02:31:49.430Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-24T02:31:49.430Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-24T02:31:49.691Z] [ 68%] Linking C shared library libcsdk.so [2024-01-24T02:31:49.691Z] [ 68%] Built target csdk [2024-01-24T02:31:49.691Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-24T02:31:49.691Z] [ 72%] Linking C executable template [2024-01-24T02:31:49.952Z] [ 72%] Built target template [2024-01-24T02:31:49.952Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-24T02:31:49.952Z] [ 76%] Linking C executable device-counter [2024-01-24T02:31:49.952Z] [ 76%] Built target device-counter [2024-01-24T02:31:49.952Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-24T02:31:50.213Z] [ 80%] Linking C executable device-random [2024-01-24T02:31:50.213Z] [ 80%] Built target device-random [2024-01-24T02:31:50.213Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-24T02:31:50.213Z] [ 84%] Linking C executable device-gyro [2024-01-24T02:31:50.213Z] [ 84%] Built target device-gyro [2024-01-24T02:31:50.474Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-24T02:31:50.474Z] [ 88%] Linking C executable device-bitfields [2024-01-24T02:31:50.474Z] [ 88%] Built target device-bitfields [2024-01-24T02:31:50.474Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-24T02:31:50.734Z] [ 92%] Linking C executable template-discovery [2024-01-24T02:31:50.734Z] [ 92%] Built target template-discovery [2024-01-24T02:31:50.734Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-24T02:31:50.734Z] [ 96%] Linking C executable device-file [2024-01-24T02:31:51.002Z] [ 96%] Built target device-file [2024-01-24T02:31:51.002Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-24T02:31:51.002Z] [100%] Linking C executable device-terminal [2024-01-24T02:31:51.002Z] [100%] Built target device-terminal [2024-01-24T02:31:51.270Z] Run CPack packaging tool... [2024-01-24T02:31:51.270Z] CPack: Create package using TGZ [2024-01-24T02:31:51.270Z] CPack: Install projects [2024-01-24T02:31:51.270Z] CPack: - Run preinstall target for: Csdk [2024-01-24T02:31:51.270Z] CPack: - Install project: Csdk [] [2024-01-24T02:31:51.270Z] CPack: Create package [2024-01-24T02:31:51.531Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-24T02:31:51.531Z] + '[' false '=' true ] [2024-01-24T02:31:51.531Z] + '[' false '=' true ] [2024-01-24T02:31:51.531Z] + mkdir -p /tmp/sdk/build/debug [2024-01-24T02:31:51.531Z] + cd /tmp/sdk/build/debug [2024-01-24T02:31:51.531Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-24T02:31:51.531Z] -- The C compiler identification is GNU 12.2.1 [2024-01-24T02:31:51.531Z] -- Detecting C compiler ABI info [2024-01-24T02:31:51.531Z] -- Detecting C compiler ABI info - done [2024-01-24T02:31:51.531Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-24T02:31:51.531Z] -- Detecting C compile features [2024-01-24T02:31:51.531Z] -- Detecting C compile features - done [2024-01-24T02:31:51.531Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-24T02:31:51.791Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-24T02:31:51.791Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-24T02:31:51.791Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-24T02:31:51.791Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-24T02:31:51.791Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-24T02:31:51.791Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-24T02:31:51.791Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-24T02:31:51.791Z] -- /opt/iotech/iot/1.5/include [2024-01-24T02:31:51.791Z] -- C SDK 0.0.0 for Linux [2024-01-24T02:31:51.791Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-24T02:31:51.791Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-24T02:31:51.791Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-24T02:31:51.791Z] -- Configuring done (0.4s) [2024-01-24T02:31:51.791Z] -- Generating done (0.0s) [2024-01-24T02:31:51.791Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-24T02:31:51.791Z] + make [2024-01-24T02:31:51.791Z] + tee debug.log [2024-01-24T02:31:52.053Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-24T02:31:52.053Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-24T02:31:52.053Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-24T02:31:52.053Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-24T02:31:52.312Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-24T02:31:52.312Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-24T02:31:52.312Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-24T02:31:52.573Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-24T02:31:52.573Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-24T02:31:52.573Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-24T02:31:52.834Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-24T02:31:52.834Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-24T02:31:52.834Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-24T02:31:52.834Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-24T02:31:53.093Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-24T02:31:53.093Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-24T02:31:53.093Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-24T02:31:53.356Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-24T02:31:53.356Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-24T02:31:53.356Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-24T02:31:53.356Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-24T02:31:54.956Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-24T02:31:54.956Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-24T02:31:54.956Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-24T02:31:54.956Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-24T02:31:54.956Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-24T02:31:54.956Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-24T02:31:54.956Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-24T02:31:54.956Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-24T02:31:54.956Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-24T02:31:54.956Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-24T02:31:54.956Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-24T02:31:54.956Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T02:31:54.956Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-24T02:31:54.956Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T02:31:54.956Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T02:31:54.956Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-24T02:31:54.956Z] | ^ [2024-01-24T02:31:54.956Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-24T02:31:54.956Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-24T02:31:54.956Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-24T02:31:54.956Z] [ 68%] Linking C shared library libcsdk.so [2024-01-24T02:31:54.956Z] [ 68%] Built target csdk [2024-01-24T02:31:54.956Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-24T02:31:54.956Z] [ 72%] Linking C executable template [2024-01-24T02:31:54.956Z] [ 72%] Built target template [2024-01-24T02:31:54.956Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-24T02:31:54.956Z] [ 76%] Linking C executable device-counter [2024-01-24T02:31:54.956Z] [ 76%] Built target device-counter [2024-01-24T02:31:55.215Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-24T02:31:55.215Z] [ 80%] Linking C executable device-random [2024-01-24T02:31:55.215Z] [ 80%] Built target device-random [2024-01-24T02:31:55.215Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-24T02:31:55.215Z] [ 84%] Linking C executable device-gyro [2024-01-24T02:31:55.475Z] [ 84%] Built target device-gyro [2024-01-24T02:31:55.475Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-24T02:31:55.475Z] [ 88%] Linking C executable device-bitfields [2024-01-24T02:31:55.475Z] [ 88%] Built target device-bitfields [2024-01-24T02:31:55.475Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-24T02:31:55.734Z] [ 92%] Linking C executable template-discovery [2024-01-24T02:31:55.734Z] [ 92%] Built target template-discovery [2024-01-24T02:31:55.734Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-24T02:31:55.734Z] [ 96%] Linking C executable device-file [2024-01-24T02:31:55.734Z] [ 96%] Built target device-file [2024-01-24T02:31:55.734Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-24T02:31:55.994Z] [100%] Linking C executable device-terminal [2024-01-24T02:31:55.994Z] [100%] Built target device-terminal [2024-01-24T02:31:55.994Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-24T02:31:55.994Z] [ 68%] Built target csdk [2024-01-24T02:31:55.994Z] [ 72%] Built target template [2024-01-24T02:31:55.994Z] [ 76%] Built target device-counter [2024-01-24T02:31:55.994Z] [ 80%] Built target device-random [2024-01-24T02:31:55.994Z] [ 84%] Built target device-gyro [2024-01-24T02:31:56.255Z] [ 88%] Built target device-bitfields [2024-01-24T02:31:56.255Z] [ 92%] Built target template-discovery [2024-01-24T02:31:56.255Z] [ 96%] Built target device-file [2024-01-24T02:31:56.255Z] [100%] Built target device-terminal [2024-01-24T02:31:56.255Z] Install the project... [2024-01-24T02:31:56.255Z] -- Install configuration: "Release" [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-24T02:31:56.255Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include/devsdk [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include/edgex [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-24T02:31:56.255Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-24T02:31:56.255Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-24T02:31:57.192Z] Removing intermediate container 0c6812d13701 [2024-01-24T02:31:57.192Z] ---> f69dc37710cb [2024-01-24T02:31:57.192Z] Step 14/21 : FROM ${BASE} [2024-01-24T02:31:57.192Z] ---> 6605166a5db4 [2024-01-24T02:31:57.192Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-24T02:31:57.192Z] ---> Running in a75e0bd69602 [2024-01-24T02:31:57.192Z] Removing intermediate container a75e0bd69602 [2024-01-24T02:31:57.192Z] ---> b8ab679f1d46 [2024-01-24T02:31:57.192Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-24T02:31:57.192Z] ---> Running in 62e659c12a9d [2024-01-24T02:31:57.451Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-24T02:31:57.710Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-24T02:31:57.710Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-24T02:31:57.710Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-24T02:31:57.968Z] Removing intermediate container 62e659c12a9d [2024-01-24T02:31:57.968Z] ---> 104cdeb1687c [2024-01-24T02:31:57.968Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-24T02:31:57.968Z] ---> Running in 3dceb2580cee [2024-01-24T02:31:58.537Z] Removing intermediate container 3dceb2580cee [2024-01-24T02:31:58.537Z] ---> 6ef2f72345e7 [2024-01-24T02:31:58.537Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-24T02:31:58.537Z] ---> Running in 6b004e966895 [2024-01-24T02:31:59.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T02:31:59.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-24T02:31:59.107Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T02:31:59.678Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T02:31:59.678Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-24T02:31:59.678Z] (2/9) Installing curl (8.5.0-r0) [2024-01-24T02:31:59.678Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-24T02:31:59.678Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-24T02:31:59.678Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-24T02:31:59.678Z] (6/9) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-24T02:32:00.616Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-24T02:32:00.616Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-24T02:32:00.616Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-24T02:32:00.616Z] Executing busybox-1.36.1-r4.trigger [2024-01-24T02:32:00.616Z] OK: 331 MiB in 89 packages [2024-01-24T02:32:01.185Z] Removing intermediate container 6b004e966895 [2024-01-24T02:32:01.185Z] ---> df7cbba5a76c [2024-01-24T02:32:01.185Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-24T02:32:01.185Z] ---> 04a75ae71009 [2024-01-24T02:32:01.185Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-24T02:32:01.445Z] ---> 5887ef022a6e [2024-01-24T02:32:01.445Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-24T02:32:01.445Z] ---> 22753048496a [2024-01-24T02:32:01.445Z] Successfully built 22753048496a [2024-01-24T02:32:01.445Z] 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 [2024-01-24T02:32:02.428Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-24T02:32:02.428Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T02:32:02.662Z] prd-ubuntu20.04-docker-8c-8g-27756 does not seem to be running inside a container [2024-01-24T02:32:02.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-508 -v /w/workspace/edgexfoundry_device-sdk-c_PR-508:/w/workspace/edgexfoundry_device-sdk-c_PR-508:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-24T02:32:03.076Z] $ docker top 5f6949ea170256791c8cfc7b42eb43324d131967e7e696b4d82d14b11703f779 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-24T02:32:03.527Z] + make test [2024-01-24T02:32:03.527Z] echo "make test" [2024-01-24T02:32:03.527Z] make test [Pipeline] } [2024-01-24T02:32:03.564Z] $ docker stop --time=1 5f6949ea170256791c8cfc7b42eb43324d131967e7e696b4d82d14b11703f779 [2024-01-24T02:32:04.865Z] $ docker rm -f --volumes 5f6949ea170256791c8cfc7b42eb43324d131967e7e696b4d82d14b11703f779 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-24T02:32:06.225Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-24T02:32:06.540Z] + ls -al . [2024-01-24T02:32:06.540Z] total 212 [2024-01-24T02:32:06.540Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 24 02:31 . [2024-01-24T02:32:06.540Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 02:30 .. [2024-01-24T02:32:06.540Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 02:31 .git [2024-01-24T02:32:06.540Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 02:31 .github [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 24 02:31 .gitignore [2024-01-24T02:32:06.540Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 02:31 .semver [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 24 02:31 Attribution.txt [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 24 02:31 CHANGELOG.md [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 24 02:31 Doxyfile [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 02:31 GOVERNANCE.md [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 24 02:31 Jenkinsfile [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 24 02:31 LICENSE [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 24 02:31 Makefile [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 24 02:31 OWNERS.md [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 24 02:31 README.IOT.md [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 24 02:31 README.md [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 24 02:31 README.v3.md [2024-01-24T02:32:06.540Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 02:31 VERSION [2024-01-24T02:32:06.540Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 02:31 docs [2024-01-24T02:32:06.540Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 02:31 include [2024-01-24T02:32:06.540Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 02:31 scripts [2024-01-24T02:32:06.540Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 02:31 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T02:32:06.995Z] + 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=7a8c810441e40b896cce4a73f358e5b48ad0d479 --label arch=amd64 --label version=0.0.0 . [2024-01-24T02:32:06.995Z] Sending build context to Docker daemon 4.999MB [2024-01-24T02:32:06.995Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-24T02:32:06.995Z] Step 2/17 : FROM ${BASE} [2024-01-24T02:32:06.995Z] ---> 22753048496a [2024-01-24T02:32:06.995Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-24T02:32:06.995Z] ---> Running in 908e377943b0 [2024-01-24T02:32:07.261Z] Removing intermediate container 908e377943b0 [2024-01-24T02:32:07.261Z] ---> 459c76bda058 [2024-01-24T02:32:07.261Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-24T02:32:07.261Z] ---> Running in 82b1decf8e81 [2024-01-24T02:32:07.520Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-24T02:32:07.779Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-24T02:32:07.779Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-24T02:32:07.779Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-24T02:32:08.038Z] Removing intermediate container 82b1decf8e81 [2024-01-24T02:32:08.038Z] ---> 27b68e1c9877 [2024-01-24T02:32:08.038Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-24T02:32:08.038Z] ---> Running in 824b2dfc35a0 [2024-01-24T02:32:08.606Z] Removing intermediate container 824b2dfc35a0 [2024-01-24T02:32:08.606Z] ---> b04df84e0b24 [2024-01-24T02:32:08.606Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-24T02:32:08.606Z] ---> Running in b922da328b35 [2024-01-24T02:32:08.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T02:32:09.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-24T02:32:10.189Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-24T02:32:11.205Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T02:32:11.205Z] (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-24T02:32:11.775Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-24T02:32:11.775Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-24T02:32:11.775Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-24T02:32:11.775Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-24T02:32:11.775Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-24T02:32:11.775Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-24T02:32:11.775Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-24T02:32:11.775Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-24T02:32:11.775Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-24T02:32:11.775Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-24T02:32:11.775Z] Executing busybox-1.36.1-r4.trigger [2024-01-24T02:32:11.775Z] OK: 336 MiB in 100 packages [2024-01-24T02:32:12.342Z] Removing intermediate container b922da328b35 [2024-01-24T02:32:12.342Z] ---> 6800a6d9e37a [2024-01-24T02:32:12.342Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-24T02:32:12.342Z] ---> f594d8b947fc [2024-01-24T02:32:12.342Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-24T02:32:12.602Z] ---> c4e8caee7a66 [2024-01-24T02:32:12.603Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-24T02:32:12.603Z] ---> 25eb61b38147 [2024-01-24T02:32:12.603Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-24T02:32:12.862Z] ---> 83c78206b366 [2024-01-24T02:32:12.862Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-24T02:32:12.862Z] ---> 822d9e0a17d8 [2024-01-24T02:32:12.862Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-24T02:32:13.122Z] ---> 14a7e7092beb [2024-01-24T02:32:13.122Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-24T02:32:13.122Z] ---> Running in 945db2ce3ead [2024-01-24T02:32:13.122Z] Removing intermediate container 945db2ce3ead [2024-01-24T02:32:13.122Z] ---> d9879245f95a [2024-01-24T02:32:13.122Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-24T02:32:13.122Z] ---> Running in 94ff3a180709 [2024-01-24T02:32:13.122Z] Removing intermediate container 94ff3a180709 [2024-01-24T02:32:13.122Z] ---> bdc8ccbe311d [2024-01-24T02:32:13.122Z] Step 15/17 : LABEL arch=amd64 [2024-01-24T02:32:13.122Z] ---> Running in 38e71b50d788 [2024-01-24T02:32:13.382Z] Removing intermediate container 38e71b50d788 [2024-01-24T02:32:13.382Z] ---> 38372e1fb56b [2024-01-24T02:32:13.382Z] Step 16/17 : LABEL git_sha=7a8c810441e40b896cce4a73f358e5b48ad0d479 [2024-01-24T02:32:13.382Z] ---> Running in 40daa35364d1 [2024-01-24T02:32:13.382Z] Removing intermediate container 40daa35364d1 [2024-01-24T02:32:13.382Z] ---> 707389bdec99 [2024-01-24T02:32:13.382Z] Step 17/17 : LABEL version=0.0.0 [2024-01-24T02:32:13.382Z] ---> Running in 5d6b4f19717d [2024-01-24T02:32:13.382Z] Removing intermediate container 5d6b4f19717d [2024-01-24T02:32:13.382Z] ---> ae7a39749c8a [2024-01-24T02:32:13.382Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-24T02:32:13.641Z] Successfully built ae7a39749c8a [2024-01-24T02:32:13.641Z] 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 [2024-01-24T02:32:14.968Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-24T02:32:14.968Z] [2024-01-24T02:32:14.968Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T02:32:15.373Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-24T02:32:15.373Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-24T02:32:15.373Z] 5eb5b503b376: Pulling fs layer [2024-01-24T02:32:15.373Z] 5c69ac0246d0: Pulling fs layer [2024-01-24T02:32:15.373Z] ec43610c2a17: Pulling fs layer [2024-01-24T02:32:15.373Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-24T02:32:15.373Z] 33b1e0a273af: Pulling fs layer [2024-01-24T02:32:15.373Z] 5d3b04190fa2: Pulling fs layer [2024-01-24T02:32:15.373Z] 2f39f015ded8: Pulling fs layer [2024-01-24T02:32:15.373Z] 3a2ae6a8a46f: Waiting [2024-01-24T02:32:15.373Z] 2f39f015ded8: Waiting [2024-01-24T02:32:15.373Z] 5d3b04190fa2: Waiting [2024-01-24T02:32:15.373Z] 5c69ac0246d0: Download complete [2024-01-24T02:32:15.373Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-24T02:32:15.373Z] 3a2ae6a8a46f: Download complete [2024-01-24T02:32:15.373Z] 33b1e0a273af: Verifying Checksum [2024-01-24T02:32:15.373Z] 33b1e0a273af: Download complete [2024-01-24T02:32:15.373Z] 5d3b04190fa2: Download complete [2024-01-24T02:32:15.373Z] ec43610c2a17: Download complete [2024-01-24T02:32:15.632Z] 5eb5b503b376: Verifying Checksum [2024-01-24T02:32:15.632Z] 5eb5b503b376: Download complete [2024-01-24T02:32:16.198Z] 2f39f015ded8: Download complete [2024-01-24T02:32:16.766Z] 5eb5b503b376: Pull complete [2024-01-24T02:32:17.024Z] 5c69ac0246d0: Pull complete [2024-01-24T02:32:17.594Z] ec43610c2a17: Pull complete [2024-01-24T02:32:17.594Z] 3a2ae6a8a46f: Pull complete [2024-01-24T02:32:17.854Z] 33b1e0a273af: Pull complete [2024-01-24T02:32:17.854Z] 5d3b04190fa2: Pull complete [2024-01-24T02:32:22.042Z] 2f39f015ded8: Pull complete [2024-01-24T02:32:22.042Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-24T02:32:22.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-24T02:32:22.042Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T02:32:22.367Z] prd-ubuntu20.04-docker-8c-8g-27756 does not seem to be running inside a container [2024-01-24T02:32:22.401Z] $ 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-508 -v /w/workspace/edgexfoundry_device-sdk-c_PR-508:/w/workspace/edgexfoundry_device-sdk-c_PR-508:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-24T02:32:27.817Z] $ docker top 68f89bcba1ca622e33ba75512eba2e53c58eb715fc2e5afd2bc8dd64ebb0333e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:32:28.342Z] ---> job-cost.sh [2024-01-24T02:32:28.342Z] lf-activate-venv: SKIPPING [2024-01-24T02:32:28.342Z] INFO: No Stack... [2024-01-24T02:32:28.601Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-24T02:32:29.168Z] INFO: Archiving Costs [Pipeline] sh [2024-01-24T02:32:29.494Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives/cost.csv [2024-01-24T02:32:29.494Z] + cut -d, -f6 [Pipeline] lock [2024-01-24T02:32:29.537Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-508-1-stack-cost] [2024-01-24T02:32:29.541Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-508-1-stack-cost] did not exist. Created. [2024-01-24T02:32:29.541Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-508-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-24T02:32:30.001Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-24T02:32:30.067Z] Stashed 1 file(s) [Pipeline] } [2024-01-24T02:32:30.115Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-508-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-24T02:32:30.246Z] $ docker stop --time=1 68f89bcba1ca622e33ba75512eba2e53c58eb715fc2e5afd2bc8dd64ebb0333e [2024-01-24T02:32:31.389Z] $ docker rm -f --volumes 68f89bcba1ca622e33ba75512eba2e53c58eb715fc2e5afd2bc8dd64ebb0333e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-24T02:33:27.420Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27757 in /w/workspace/edgexfoundry_device-sdk-c_PR-508 [Pipeline] { [Pipeline] ws [2024-01-24T02:33:27.517Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2024-01-24T02:33:30.645Z] Selected Git installation does not exist. Using Default [2024-01-24T02:33:30.646Z] The recommended git tool is: NONE [2024-01-24T02:33:38.573Z] using credential edgex-jenkins-ssh [2024-01-24T02:33:38.593Z] Cloning the remote Git repository [2024-01-24T02:33:38.637Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-24T02:33:38.726Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2024-01-24T02:33:38.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-24T02:33:38.861Z] > git --version # timeout=10 [2024-01-24T02:33:38.879Z] > git --version # 'git version 2.25.1' [2024-01-24T02:33:38.882Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-24T02:33:39.025Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-24T02:33:40.054Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-24T02:33:40.086Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-24T02:33:40.909Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-24T02:33:40.946Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-24T02:33:40.947Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-24T02:33:40.962Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/508/head:refs/remotes/origin/PR-508 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-24T02:33:41.547Z] Merging remotes/origin/main commit 6bdae90b977cdeecb957260a94da902cfcf10c29 into PR head commit 7a8c810441e40b896cce4a73f358e5b48ad0d479 [2024-01-24T02:33:41.834Z] Merge succeeded, producing 7a8c810441e40b896cce4a73f358e5b48ad0d479 [2024-01-24T02:33:41.835Z] Checking out Revision 7a8c810441e40b896cce4a73f358e5b48ad0d479 (PR-508) [2024-01-24T02:33:41.564Z] > git config core.sparsecheckout # timeout=10 [2024-01-24T02:33:41.632Z] > git checkout -f 7a8c810441e40b896cce4a73f358e5b48ad0d479 # timeout=10 [2024-01-24T02:33:41.748Z] > git remote # timeout=10 [2024-01-24T02:33:41.765Z] > git config --get remote.origin.url # timeout=10 [2024-01-24T02:33:41.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-24T02:33:41.794Z] > git merge 6bdae90b977cdeecb957260a94da902cfcf10c29 # timeout=10 [2024-01-24T02:33:41.818Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-24T02:33:41.840Z] > git config core.sparsecheckout # timeout=10 [2024-01-24T02:33:41.853Z] > git checkout -f 7a8c810441e40b896cce4a73f358e5b48ad0d479 # timeout=10 [2024-01-24T02:33:45.420Z] Commit message: "fix: edgex_device_read does not read labels" [2024-01-24T02:33:45.473Z] > git --version # timeout=10 [2024-01-24T02:33:45.484Z] > git --version # 'git version 2.25.1' [2024-01-24T02:33:45.500Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-24T02:33:46.916Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-24T02:33:46.916Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-24T02:33:46.916Z] Dload Upload Total Spent Left Speed [2024-01-24T02:33:46.916Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96809 0 --:--:-- --:--:-- --:--:-- 96809 [Pipeline] sh [2024-01-24T02:33:47.272Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-24T02:33:47.620Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-24T02:33:47.621Z] + sudo tee /etc/docker/daemon.new [2024-01-24T02:33:47.621Z] { [2024-01-24T02:33:47.621Z] "registry-mirrors": [ [2024-01-24T02:33:47.621Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-24T02:33:47.621Z] ], [2024-01-24T02:33:47.621Z] "bip": "10.250.0.254/24", [2024-01-24T02:33:47.621Z] "hosts": [ [2024-01-24T02:33:47.621Z] "tcp://0.0.0.0:5555", [2024-01-24T02:33:47.621Z] "unix:///var/run/docker.sock" [2024-01-24T02:33:47.621Z] ], [2024-01-24T02:33:47.621Z] "mtu": 1458, [2024-01-24T02:33:47.621Z] "selinux-enabled": true, [2024-01-24T02:33:47.621Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-24T02:33:47.621Z] } [Pipeline] sh [2024-01-24T02:33:47.964Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-24T02:33:48.314Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-24T02:34:06.672Z] provisioning config files... [2024-01-24T02:34:06.696Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config4397319960711822551tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:34:07.210Z] ---> ****-login.sh [2024-01-24T02:34:07.210Z] nexus3.edgexfoundry.org:10001 [2024-01-24T02:34:07.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:34:07.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:34:07.750Z] Configure a credential helper to remove this warning. See [2024-01-24T02:34:07.750Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:34:07.750Z] [2024-01-24T02:34:07.750Z] Login Succeeded [2024-01-24T02:34:07.750Z] nexus3.edgexfoundry.org:10002 [2024-01-24T02:34:07.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:34:08.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:34:08.016Z] Configure a credential helper to remove this warning. See [2024-01-24T02:34:08.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:34:08.016Z] [2024-01-24T02:34:08.016Z] Login Succeeded [2024-01-24T02:34:08.016Z] nexus3.edgexfoundry.org:10003 [2024-01-24T02:34:08.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:34:08.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:34:08.283Z] Configure a credential helper to remove this warning. See [2024-01-24T02:34:08.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:34:08.283Z] [2024-01-24T02:34:08.283Z] Login Succeeded [2024-01-24T02:34:08.283Z] nexus3.edgexfoundry.org:10004 [2024-01-24T02:34:08.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:34:08.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:34:08.550Z] Configure a credential helper to remove this warning. See [2024-01-24T02:34:08.550Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:34:08.550Z] [2024-01-24T02:34:08.550Z] Login Succeeded [2024-01-24T02:34:08.550Z] ****.io [2024-01-24T02:34:08.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-24T02:34:08.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-24T02:34:08.817Z] Configure a credential helper to remove this warning. See [2024-01-24T02:34:08.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-24T02:34:08.818Z] [2024-01-24T02:34:08.818Z] Login Succeeded [2024-01-24T02:34:08.818Z] ---> ****-login.sh ends [Pipeline] } [2024-01-24T02:34:08.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-24T02:34:09.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-24T02:34:09.419Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-24T02:34:09.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-24T02:34:09.554Z] ========================================================= [2024-01-24T02:34:09.554Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-24T02:34:09.554Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T02:34:10.103Z] + 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 . [2024-01-24T02:34:11.062Z] #0 building with "default" instance using docker driver [2024-01-24T02:34:11.062Z] [2024-01-24T02:34:11.062Z] #1 [internal] load build definition from Dockerfile.alpine-base [2024-01-24T02:34:11.062Z] #1 transferring dockerfile: [2024-01-24T02:34:11.338Z] #1 transferring dockerfile: 2.04kB 0.0s done [2024-01-24T02:34:11.338Z] #1 DONE 0.1s [2024-01-24T02:34:11.338Z] [2024-01-24T02:34:11.338Z] #2 [internal] load .dockerignore [2024-01-24T02:34:11.338Z] #2 transferring context: 2B done [2024-01-24T02:34:11.338Z] #2 DONE 0.1s [2024-01-24T02:34:11.338Z] [2024-01-24T02:34:11.338Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-24T02:34:11.338Z] #3 DONE 0.1s [2024-01-24T02:34:11.338Z] [2024-01-24T02:34:11.338Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-24T02:34:11.338Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-24T02:34:11.607Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-24T02:34:11.607Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-24T02:34:11.607Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0B / 3.33MB 0.1s [2024-01-24T02:34:11.607Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 1.05MB / 109.51MB 0.1s [2024-01-24T02:34:11.607Z] #4 ... [2024-01-24T02:34:11.607Z] [2024-01-24T02:34:11.607Z] #5 [internal] load build context [2024-01-24T02:34:11.607Z] #5 transferring context: 628.36kB 0.1s done [2024-01-24T02:34:11.607Z] #5 DONE 0.2s [2024-01-24T02:34:11.607Z] [2024-01-24T02:34:11.607Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-24T02:34:11.607Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.15MB / 3.33MB 0.2s [2024-01-24T02:34:11.607Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-24T02:34:11.607Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-24T02:34:11.607Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 8.37MB / 109.51MB 0.3s [2024-01-24T02:34:11.874Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 15.73MB / 109.51MB 0.5s [2024-01-24T02:34:11.874Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2024-01-24T02:34:12.143Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 26.21MB / 109.51MB 0.7s [2024-01-24T02:34:12.143Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 31.77MB / 109.51MB 0.8s [2024-01-24T02:34:12.411Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 43.59MB / 109.51MB 1.0s [2024-01-24T02:34:12.411Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 49.28MB / 109.51MB 1.1s [2024-01-24T02:34:12.678Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 55.26MB / 109.51MB 1.2s [2024-01-24T02:34:12.678Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 67.11MB / 109.51MB 1.4s [2024-01-24T02:34:12.946Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 73.40MB / 109.51MB 1.5s [2024-01-24T02:34:12.946Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 79.69MB / 109.51MB 1.6s [2024-01-24T02:34:13.277Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 91.23MB / 109.51MB 1.8s [2024-01-24T02:34:13.277Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 97.52MB / 109.51MB 1.9s [2024-01-24T02:34:13.545Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.2s [2024-01-24T02:34:13.813Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.2s done [2024-01-24T02:34:13.813Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-24T02:34:19.161Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.2s [2024-01-24T02:34:25.825Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.4s [2024-01-24T02:34:26.408Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.5s done [2024-01-24T02:34:26.685Z] #4 DONE 15.2s [2024-01-24T02:34:26.685Z] [2024-01-24T02:34:26.685Z] #6 [stage-1 2/7] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-24T02:34:27.271Z] #6 0.728 Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-24T02:34:27.858Z] #6 1.244 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-24T02:34:27.858Z] #6 1.244 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-24T02:34:27.858Z] #6 1.245 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-24T02:34:28.822Z] #6 DONE 2.0s [2024-01-24T02:34:28.822Z] [2024-01-24T02:34:28.822Z] #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-24T02:34:29.406Z] #7 DONE 0.8s [2024-01-24T02:34:29.674Z] [2024-01-24T02:34:29.674Z] #8 [builder 4/12] 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 [2024-01-24T02:34:30.633Z] #8 1.067 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T02:34:31.216Z] #8 1.540 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-24T02:34:31.799Z] #8 2.121 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T02:34:32.756Z] #8 3.051 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T02:34:32.756Z] #8 3.095 (1/17) Installing hiredis (1.1.0-r2) [2024-01-24T02:34:32.756Z] #8 3.103 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-24T02:34:32.756Z] #8 3.136 (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-24T02:34:33.337Z] #8 3.898 (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-24T02:34:33.604Z] #8 4.017 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-24T02:34:33.604Z] #8 4.240 (6/17) Installing libcbor (0.10.2-r1) [2024-01-24T02:34:33.874Z] #8 4.247 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-24T02:34:33.874Z] #8 4.263 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-24T02:34:33.874Z] #8 4.269 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-24T02:34:33.874Z] #8 4.274 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-24T02:34:33.874Z] #8 4.304 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-24T02:34:33.874Z] #8 4.346 (12/17) Installing libblkid (2.38.1-r8) [2024-01-24T02:34:33.874Z] #8 4.362 (13/17) Installing libuuid (2.38.1-r8) [2024-01-24T02:34:33.874Z] #8 4.370 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-24T02:34:33.874Z] #8 4.405 (15/17) Installing libmount (2.38.1-r8) [2024-01-24T02:34:33.874Z] #8 4.420 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-24T02:34:33.874Z] #8 4.435 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-24T02:34:34.145Z] #8 4.532 Executing busybox-1.36.1-r4.trigger [2024-01-24T02:34:34.145Z] #8 4.577 OK: 333 MiB in 99 packages [2024-01-24T02:34:34.145Z] #8 ... [2024-01-24T02:34:34.145Z] [2024-01-24T02:34:34.145Z] #9 [stage-1 4/7] 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 [2024-01-24T02:34:34.145Z] #9 1.068 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T02:34:34.145Z] #9 1.525 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-24T02:34:34.145Z] #9 2.125 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T02:34:34.145Z] #9 3.044 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T02:34:34.145Z] #9 3.090 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-24T02:34:34.145Z] #9 3.131 (2/9) Installing curl (8.5.0-r0) [2024-01-24T02:34:34.145Z] #9 3.146 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-24T02:34:34.145Z] #9 3.167 (4/9) Installing hiredis (1.1.0-r2) [2024-01-24T02:34:34.145Z] #9 3.173 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-24T02:34:34.145Z] #9 3.198 (6/9) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-24T02:34:34.145Z] #9 3.987 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-24T02:34:34.145Z] #9 4.218 (8/9) Installing libcbor (0.10.2-r1) [2024-01-24T02:34:34.145Z] #9 4.226 (9/9) Installing libuuid (2.38.1-r8) [2024-01-24T02:34:34.145Z] #9 4.249 Executing busybox-1.36.1-r4.trigger [2024-01-24T02:34:34.145Z] #9 4.293 OK: 327 MiB in 89 packages [2024-01-24T02:34:34.145Z] #9 DONE 4.7s [2024-01-24T02:34:34.411Z] [2024-01-24T02:34:34.411Z] #8 [builder 4/12] 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 [2024-01-24T02:34:34.411Z] #8 DONE 4.9s [2024-01-24T02:34:34.411Z] [2024-01-24T02:34:34.411Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-24T02:34:34.995Z] #10 DONE 0.7s [2024-01-24T02:34:34.995Z] [2024-01-24T02:34:34.995Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-24T02:34:34.995Z] #11 DONE 0.1s [2024-01-24T02:34:35.263Z] [2024-01-24T02:34:35.263Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-24T02:34:35.263Z] #12 DONE 0.2s [2024-01-24T02:34:35.263Z] [2024-01-24T02:34:35.263Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-24T02:34:35.533Z] #13 DONE 0.1s [2024-01-24T02:34:35.533Z] [2024-01-24T02:34:35.533Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-24T02:34:35.533Z] #14 DONE 0.1s [2024-01-24T02:34:35.533Z] [2024-01-24T02:34:35.533Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-24T02:34:35.533Z] #15 DONE 0.1s [2024-01-24T02:34:35.533Z] [2024-01-24T02:34:35.533Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-24T02:34:35.533Z] #16 DONE 0.1s [2024-01-24T02:34:35.800Z] [2024-01-24T02:34:35.800Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-24T02:34:36.381Z] #17 0.584 + CPPCHECK=false [2024-01-24T02:34:36.381Z] #17 0.584 + DOCGEN=false [2024-01-24T02:34:36.381Z] #17 0.584 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-24T02:34:36.381Z] #17 0.584 + '[' 0 -gt 0 ] [2024-01-24T02:34:36.381Z] #17 0.586 + readlink -f ./scripts/build.sh [2024-01-24T02:34:36.381Z] #17 0.589 + dirname /tmp/sdk/scripts/build.sh [2024-01-24T02:34:36.381Z] #17 0.590 + dirname /tmp/sdk/scripts [2024-01-24T02:34:36.381Z] #17 0.592 + ROOT=/tmp/sdk [2024-01-24T02:34:36.381Z] #17 0.592 + cd /tmp/sdk [2024-01-24T02:34:36.381Z] #17 0.592 + mkdir -p /tmp/sdk/build/release [2024-01-24T02:34:36.381Z] #17 0.595 + cd /tmp/sdk/build/release [2024-01-24T02:34:36.381Z] #17 0.596 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-24T02:34:36.647Z] #17 0.911 -- The C compiler identification is GNU 12.2.1 [2024-01-24T02:34:36.647Z] #17 0.973 -- Detecting C compiler ABI info [2024-01-24T02:34:36.915Z] #17 1.297 -- Detecting C compiler ABI info - done [2024-01-24T02:34:37.182Z] #17 1.378 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-24T02:34:37.182Z] #17 1.381 -- Detecting C compile features [2024-01-24T02:34:37.182Z] #17 1.385 -- Detecting C compile features - done [2024-01-24T02:34:37.182Z] #17 1.408 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-24T02:34:37.449Z] #17 1.581 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-24T02:34:37.449Z] #17 1.598 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-24T02:34:37.449Z] #17 1.613 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-24T02:34:37.449Z] #17 1.628 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-24T02:34:37.449Z] #17 1.642 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-24T02:34:37.449Z] #17 1.657 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-24T02:34:37.449Z] #17 1.673 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-24T02:34:37.449Z] #17 1.673 -- /opt/iotech/iot/1.5/include [2024-01-24T02:34:37.449Z] #17 1.673 -- C SDK 0.0.0 for Linux [2024-01-24T02:34:37.449Z] #17 1.685 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-24T02:34:37.714Z] #17 1.991 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-24T02:34:37.983Z] #17 2.145 -- Found Curses: /usr/lib/libcurses.so [2024-01-24T02:34:37.983Z] #17 2.248 -- Configuring done (1.6s) [2024-01-24T02:34:38.249Z] #17 2.501 -- Generating done (0.2s) [2024-01-24T02:34:38.249Z] #17 2.520 -- Build files have been written to: /tmp/sdk/build/release [2024-01-24T02:34:38.249Z] #17 2.543 + make all package+ [2024-01-24T02:34:38.249Z] #17 2.544 tee release.log [2024-01-24T02:34:38.517Z] #17 2.672 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-24T02:34:39.106Z] #17 3.347 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-24T02:34:40.071Z] #17 4.188 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-24T02:34:40.657Z] #17 4.882 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-24T02:34:41.627Z] #17 5.650 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-24T02:34:42.211Z] #17 6.253 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-24T02:34:44.158Z] #17 8.272 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-24T02:34:44.739Z] #17 9.095 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-24T02:34:44.739Z] #17 9.096 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T02:34:44.739Z] #17 9.096 294 | while (privateConfig) [2024-01-24T02:34:44.739Z] #17 9.096 | ^~~~~~~~~~~~~ [2024-01-24T02:34:44.739Z] #17 9.096 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-24T02:34:44.739Z] #17 9.096 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-24T02:34:44.739Z] #17 9.096 | ^~~~~~~~~~~~~ [2024-01-24T02:34:45.005Z] #17 9.096 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T02:34:45.005Z] #17 9.096 271 | while (result) [2024-01-24T02:34:45.005Z] #17 9.096 | ^~~~~~ [2024-01-24T02:34:45.005Z] #17 9.096 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-24T02:34:45.005Z] #17 9.096 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-24T02:34:45.005Z] #17 9.096 | ^~~~~~ [2024-01-24T02:34:45.276Z] #17 9.421 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-24T02:34:45.277Z] #17 9.647 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-24T02:34:46.238Z] #17 10.51 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-24T02:34:48.216Z] #17 12.36 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-24T02:34:48.481Z] #17 12.92 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-24T02:34:49.442Z] #17 13.74 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-24T02:34:50.406Z] #17 14.49 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-24T02:34:50.675Z] #17 14.97 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-24T02:34:51.640Z] #17 15.99 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-24T02:34:52.224Z] #17 16.30 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-24T02:34:54.169Z] #17 18.34 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-24T02:34:54.436Z] #17 18.69 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-24T02:34:55.017Z] #17 19.25 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-24T02:34:56.430Z] #17 20.50 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-24T02:35:03.091Z] #17 26.79 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-24T02:35:03.091Z] #17 27.39 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-24T02:35:03.357Z] #17 27.78 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-24T02:35:03.940Z] #17 28.28 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-24T02:35:04.520Z] #17 28.58 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-24T02:35:05.481Z] #17 29.92 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-24T02:35:08.052Z] #17 31.97 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-24T02:35:08.052Z] #17 32.38 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-24T02:35:09.008Z] #17 33.23 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-24T02:35:09.596Z] #17 33.80 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-24T02:35:09.863Z] #17 34.08 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-24T02:35:09.863Z] #17 34.09 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T02:35:09.863Z] #17 34.09 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-24T02:35:09.863Z] #17 34.09 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T02:35:09.863Z] #17 34.09 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T02:35:09.863Z] #17 34.09 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-24T02:35:09.863Z] #17 34.09 | ^ [2024-01-24T02:35:11.273Z] #17 35.55 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-24T02:35:11.273Z] #17 35.55 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-24T02:35:11.273Z] #17 35.55 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T02:35:11.273Z] #17 35.55 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-24T02:35:11.273Z] #17 35.55 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-24T02:35:11.273Z] #17 35.55 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-24T02:35:12.233Z] #17 36.60 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-24T02:35:13.191Z] #17 37.33 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-24T02:35:13.459Z] #17 37.67 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-24T02:35:14.045Z] #17 38.16 [ 68%] Linking C shared library libcsdk.so [2024-01-24T02:35:14.045Z] #17 38.36 [ 68%] Built target csdk [2024-01-24T02:35:14.045Z] #17 38.41 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-24T02:35:15.010Z] #17 39.24 [ 72%] Linking C executable template [2024-01-24T02:35:15.279Z] #17 39.54 [ 72%] Built target template [2024-01-24T02:35:15.279Z] #17 39.59 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-24T02:35:15.866Z] #17 40.09 [ 76%] Linking C executable device-counter [2024-01-24T02:35:16.145Z] #17 40.38 [ 76%] Built target device-counter [2024-01-24T02:35:16.145Z] #17 40.43 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-24T02:35:16.729Z] #17 40.92 [ 80%] Linking C executable device-random [2024-01-24T02:35:16.997Z] #17 41.25 [ 80%] Built target device-random [2024-01-24T02:35:16.997Z] #17 41.30 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-24T02:35:17.582Z] #17 41.75 [ 84%] Linking C executable device-gyro [2024-01-24T02:35:17.849Z] #17 42.05 [ 84%] Built target device-gyro [2024-01-24T02:35:17.849Z] #17 42.11 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-24T02:35:18.444Z] #17 42.60 [ 88%] Linking C executable device-bitfields [2024-01-24T02:35:18.444Z] #17 42.89 [ 88%] Built target device-bitfields [2024-01-24T02:35:18.711Z] #17 42.95 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-24T02:35:19.679Z] #17 43.74 [ 92%] Linking C executable template-discovery [2024-01-24T02:35:19.679Z] #17 44.04 [ 92%] Built target template-discovery [2024-01-24T02:35:19.949Z] #17 44.10 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-24T02:35:20.540Z] #17 44.79 [ 96%] Linking C executable device-file [2024-01-24T02:35:20.806Z] #17 45.10 [ 96%] Built target device-file [2024-01-24T02:35:21.071Z] #17 45.16 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-24T02:35:21.651Z] #17 45.76 [100%] Linking C executable device-terminal [2024-01-24T02:35:21.926Z] #17 46.08 [100%] Built target device-terminal [2024-01-24T02:35:21.926Z] #17 46.14 Run CPack packaging tool... [2024-01-24T02:35:21.926Z] #17 46.18 CPack: Create package using TGZ [2024-01-24T02:35:21.926Z] #17 46.18 CPack: Install projects [2024-01-24T02:35:21.926Z] #17 46.18 CPack: - Run preinstall target for: Csdk [2024-01-24T02:35:22.534Z] #17 46.93 CPack: - Install project: Csdk [] [2024-01-24T02:35:22.800Z] #17 46.97 CPack: Create package [2024-01-24T02:35:22.800Z] #17 47.06 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-01-24T02:35:22.800Z] #17 47.07 + '[' false '=' true ] [2024-01-24T02:35:22.800Z] #17 47.07 + '[' false '=' true ] [2024-01-24T02:35:22.800Z] #17 47.07 + mkdir -p /tmp/sdk/build/debug [2024-01-24T02:35:22.800Z] #17 47.07 + cd /tmp/sdk/build/debug [2024-01-24T02:35:22.800Z] #17 47.07 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-24T02:35:23.068Z] #17 47.37 -- The C compiler identification is GNU 12.2.1 [2024-01-24T02:35:23.068Z] #17 47.44 -- Detecting C compiler ABI info [2024-01-24T02:35:23.650Z] #17 47.76 -- Detecting C compiler ABI info - done [2024-01-24T02:35:23.650Z] #17 47.85 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-24T02:35:23.650Z] #17 47.85 -- Detecting C compile features [2024-01-24T02:35:23.650Z] #17 47.85 -- Detecting C compile features - done [2024-01-24T02:35:23.650Z] #17 47.87 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-24T02:35:23.650Z] #17 48.06 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-24T02:35:23.650Z] #17 48.07 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-24T02:35:23.916Z] #17 48.09 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-24T02:35:23.916Z] #17 48.10 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-24T02:35:23.916Z] #17 48.12 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-24T02:35:23.916Z] #17 48.13 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-24T02:35:23.916Z] #17 48.15 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-24T02:35:23.916Z] #17 48.15 -- /opt/iotech/iot/1.5/include [2024-01-24T02:35:23.916Z] #17 48.15 -- C SDK 0.0.0 for Linux [2024-01-24T02:35:23.916Z] #17 48.16 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-24T02:35:24.183Z] #17 48.46 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-24T02:35:24.449Z] #17 48.62 -- Found Curses: /usr/lib/libcurses.so [2024-01-24T02:35:24.449Z] #17 48.72 -- Configuring done (1.6s) [2024-01-24T02:35:24.721Z] #17 48.97 -- Generating done (0.2s) [2024-01-24T02:35:24.721Z] #17 48.99 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-24T02:35:24.721Z] #17 49.01 + make [2024-01-24T02:35:24.721Z] #17 49.01 + tee debug.log [2024-01-24T02:35:24.986Z] #17 49.13 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-24T02:35:25.259Z] #17 49.50 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-24T02:35:25.531Z] #17 49.86 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-24T02:35:26.113Z] #17 50.20 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-24T02:35:26.380Z] #17 50.55 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-24T02:35:26.646Z] #17 50.89 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-24T02:35:27.229Z] #17 51.53 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-24T02:35:27.810Z] #17 51.95 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-24T02:35:27.810Z] #17 52.12 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-24T02:35:28.079Z] #17 52.52 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-24T02:35:29.047Z] #17 53.13 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-24T02:35:29.313Z] #17 53.45 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-24T02:35:29.579Z] #17 53.85 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-24T02:35:29.847Z] #17 54.19 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-24T02:35:30.449Z] #17 54.52 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-24T02:35:30.449Z] #17 54.88 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-24T02:35:30.716Z] #17 55.10 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-24T02:35:31.683Z] #17 55.82 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-24T02:35:31.683Z] #17 56.05 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-24T02:35:31.963Z] #17 56.28 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-24T02:35:32.546Z] #17 56.88 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-24T02:35:33.510Z] #17 57.97 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-24T02:35:34.094Z] #17 58.30 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-24T02:35:34.359Z] #17 58.57 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-24T02:35:34.626Z] #17 58.87 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-24T02:35:34.893Z] #17 59.13 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-24T02:35:35.492Z] #17 59.62 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-24T02:35:36.896Z] #17 60.88 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-24T02:35:36.896Z] #17 61.14 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-24T02:35:37.163Z] #17 61.51 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-24T02:35:37.748Z] #17 61.87 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-24T02:35:38.014Z] #17 62.12 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-24T02:35:38.014Z] #17 62.12 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T02:35:38.014Z] #17 62.12 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-24T02:35:38.014Z] #17 62.12 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-24T02:35:38.014Z] #17 62.12 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-24T02:35:38.014Z] #17 62.12 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-24T02:35:38.014Z] #17 62.12 | ^ [2024-01-24T02:35:38.385Z] #17 62.67 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-24T02:35:38.661Z] #17 63.04 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-24T02:35:39.254Z] #17 63.33 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-24T02:35:39.254Z] #17 63.63 [ 68%] Linking C shared library libcsdk.so [2024-01-24T02:35:39.527Z] #17 63.87 [ 68%] Built target csdk [2024-01-24T02:35:39.798Z] #17 63.93 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-24T02:35:40.077Z] #17 64.28 [ 72%] Linking C executable template [2024-01-24T02:35:40.347Z] #17 64.65 [ 72%] Built target template [2024-01-24T02:35:40.347Z] #17 64.71 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-24T02:35:40.619Z] #17 65.00 [ 76%] Linking C executable device-counter [2024-01-24T02:35:41.209Z] #17 65.32 [ 76%] Built target device-counter [2024-01-24T02:35:41.209Z] #17 65.37 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-24T02:35:41.479Z] #17 65.66 [ 80%] Linking C executable device-random [2024-01-24T02:35:41.750Z] #17 66.00 [ 80%] Built target device-random [2024-01-24T02:35:41.750Z] #17 66.05 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-24T02:35:42.024Z] #17 66.33 [ 84%] Linking C executable device-gyro [2024-01-24T02:35:42.604Z] #17 66.64 [ 84%] Built target device-gyro [2024-01-24T02:35:42.604Z] #17 66.70 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-24T02:35:42.871Z] #17 66.99 [ 88%] Linking C executable device-bitfields [2024-01-24T02:35:43.136Z] #17 67.32 [ 88%] Built target device-bitfields [2024-01-24T02:35:43.137Z] #17 67.38 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-24T02:35:43.408Z] #17 67.72 [ 92%] Linking C executable template-discovery [2024-01-24T02:35:43.689Z] #17 68.04 [ 92%] Built target template-discovery [2024-01-24T02:35:43.690Z] #17 68.09 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-24T02:35:44.273Z] #17 68.42 [ 96%] Linking C executable device-file [2024-01-24T02:35:44.540Z] #17 68.74 [ 96%] Built target device-file [2024-01-24T02:35:44.540Z] #17 68.79 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-24T02:35:45.121Z] #17 69.17 [100%] Linking C executable device-terminal [2024-01-24T02:35:45.385Z] #17 69.52 [100%] Built target device-terminal [2024-01-24T02:35:45.651Z] #17 69.95 make: Entering directory '/tmp/sdk/build/release' [2024-01-24T02:35:45.918Z] #17 70.11 [ 68%] Built target csdk [2024-01-24T02:35:45.918Z] #17 70.17 [ 72%] Built target template [2024-01-24T02:35:45.918Z] #17 70.23 [ 76%] Built target device-counter [2024-01-24T02:35:45.918Z] #17 70.28 [ 80%] Built target device-random [2024-01-24T02:35:45.918Z] #17 70.33 [ 84%] Built target device-gyro [2024-01-24T02:35:45.918Z] #17 70.38 [ 88%] Built target device-bitfields [2024-01-24T02:35:46.185Z] #17 70.44 [ 92%] Built target template-discovery [2024-01-24T02:35:46.185Z] #17 70.49 [ 96%] Built target device-file [2024-01-24T02:35:46.185Z] #17 70.54 [100%] Built target device-terminal [2024-01-24T02:35:46.185Z] #17 70.59 Install the project... [2024-01-24T02:35:46.453Z] #17 70.62 -- Install configuration: "Release" [2024-01-24T02:35:46.453Z] #17 70.62 -- Installing: /usr/local/lib/libcsdk.so [2024-01-24T02:35:46.453Z] #17 70.63 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-24T02:35:46.453Z] #17 70.63 -- Installing: /usr/local/include [2024-01-24T02:35:46.453Z] #17 70.63 -- Installing: /usr/local/include/devsdk [2024-01-24T02:35:46.453Z] #17 70.63 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-24T02:35:46.453Z] #17 70.63 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-24T02:35:46.453Z] #17 70.63 -- Installing: /usr/local/include/edgex [2024-01-24T02:35:46.453Z] #17 70.63 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-24T02:35:46.453Z] #17 70.63 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-24T02:35:46.453Z] #17 70.63 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-24T02:35:46.453Z] #17 70.64 -- Installing: /usr/local/include/edgex/devices.h [2024-01-24T02:35:46.453Z] #17 70.64 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-24T02:35:46.453Z] #17 70.64 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-24T02:35:46.453Z] #17 70.64 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-24T02:35:46.453Z] #17 70.64 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-24T02:35:46.453Z] #17 70.66 make: Leaving directory '/tmp/sdk/build/release' [2024-01-24T02:35:46.453Z] #17 DONE 70.8s [2024-01-24T02:35:46.453Z] [2024-01-24T02:35:46.453Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-24T02:35:46.725Z] #18 DONE 0.2s [2024-01-24T02:35:46.725Z] [2024-01-24T02:35:46.725Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-24T02:35:46.725Z] #19 DONE 0.1s [2024-01-24T02:35:46.725Z] [2024-01-24T02:35:46.725Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-24T02:35:46.725Z] #20 DONE 0.1s [2024-01-24T02:35:46.725Z] [2024-01-24T02:35:46.725Z] #21 exporting to image [2024-01-24T02:35:46.725Z] #21 exporting layers [2024-01-24T02:35:46.990Z] #21 exporting layers 0.3s done [2024-01-24T02:35:47.256Z] #21 writing image sha256:ae8d139b102f3d4cb83028931e2cd3f1b138d047be530adba93c1511c7d1f806 done [2024-01-24T02:35:47.256Z] #21 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-24T02:35:47.256Z] #21 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T02:35:48.315Z] + docker inspect -f . ci-base-image-arm64 [2024-01-24T02:35:48.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T02:35:48.636Z] prd-ubuntu20.04-docker-arm64-4c-16g-27757 does not seem to be running inside a container [2024-01-24T02:35:48.697Z] $ 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 ******** ci-base-image-arm64 cat [2024-01-24T02:35:49.775Z] $ docker top 9f5676c592347e0e17ad685f873be496aa4768dff3af655ac56d71827ee1ff49 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-24T02:35:50.363Z] + make test [2024-01-24T02:35:50.630Z] echo "make test" [2024-01-24T02:35:50.630Z] make test [Pipeline] } [2024-01-24T02:35:50.665Z] $ docker stop --time=1 9f5676c592347e0e17ad685f873be496aa4768dff3af655ac56d71827ee1ff49 [2024-01-24T02:35:52.233Z] $ docker rm -f --volumes 9f5676c592347e0e17ad685f873be496aa4768dff3af655ac56d71827ee1ff49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-24T02:35:53.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-24T02:35:53.619Z] + ls -al . [2024-01-24T02:35:53.619Z] total 208 [2024-01-24T02:35:53.619Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 02:33 . [2024-01-24T02:35:53.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 02:33 .. [2024-01-24T02:35:53.619Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 24 02:33 .git [2024-01-24T02:35:53.619Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 24 02:33 .github [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 24 02:33 .gitignore [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 24 02:33 Attribution.txt [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 24 02:33 CHANGELOG.md [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 24 02:33 Doxyfile [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 24 02:33 GOVERNANCE.md [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 24 02:33 Jenkinsfile [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 24 02:33 LICENSE [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 24 02:33 Makefile [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 24 02:33 OWNERS.md [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 24 02:33 README.IOT.md [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 24 02:33 README.md [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 24 02:33 README.v3.md [2024-01-24T02:35:53.619Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 24 02:31 VERSION [2024-01-24T02:35:53.619Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 02:33 docs [2024-01-24T02:35:53.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 02:33 include [2024-01-24T02:35:53.619Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 24 02:33 scripts [2024-01-24T02:35:53.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 24 02:33 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T02:35:54.116Z] + 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=7a8c810441e40b896cce4a73f358e5b48ad0d479 --label arch=arm64 --label version=0.0.0 . [2024-01-24T02:35:54.700Z] #0 building with "default" instance using docker driver [2024-01-24T02:35:54.700Z] [2024-01-24T02:35:54.700Z] #1 [internal] load build definition from Dockerfile.alpine [2024-01-24T02:35:54.700Z] #1 transferring dockerfile: 1.44kB done [2024-01-24T02:35:54.700Z] #1 DONE 0.0s [2024-01-24T02:35:54.700Z] [2024-01-24T02:35:54.700Z] #2 [internal] load .dockerignore [2024-01-24T02:35:54.700Z] #2 transferring context: 2B done [2024-01-24T02:35:54.700Z] #2 DONE 0.0s [2024-01-24T02:35:54.700Z] [2024-01-24T02:35:54.700Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-24T02:35:54.700Z] #3 DONE 0.0s [2024-01-24T02:35:54.700Z] [2024-01-24T02:35:54.700Z] #4 [internal] load build context [2024-01-24T02:35:54.700Z] #4 transferring context: 8.55kB 0.1s done [2024-01-24T02:35:54.968Z] #4 DONE 0.1s [2024-01-24T02:35:54.968Z] [2024-01-24T02:35:54.968Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-24T02:35:54.968Z] #5 DONE 0.2s [2024-01-24T02:35:54.968Z] [2024-01-24T02:35:54.968Z] #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-24T02:35:55.551Z] #6 0.580 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-24T02:35:56.140Z] #6 1.107 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-24T02:35:56.140Z] #6 1.107 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-24T02:35:56.140Z] #6 1.107 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-24T02:35:56.140Z] #6 DONE 1.2s [2024-01-24T02:35:56.140Z] [2024-01-24T02:35:56.140Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-24T02:36:01.463Z] #7 DONE 4.5s [2024-01-24T02:36:01.463Z] [2024-01-24T02:36:01.463Z] #8 [ 4/11] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-24T02:36:01.463Z] #8 0.657 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T02:36:01.728Z] #8 1.035 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-24T02:36:02.307Z] #8 1.579 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-24T02:36:03.263Z] #8 2.435 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-24T02:36:03.263Z] #8 2.470 (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-24T02:36:03.530Z] #8 2.769 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-24T02:36:03.530Z] #8 2.813 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-24T02:36:03.530Z] #8 2.820 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-24T02:36:03.530Z] #8 2.828 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-24T02:36:03.530Z] #8 2.837 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-24T02:36:03.530Z] #8 2.863 (7/11) Installing libblkid (2.38.1-r8) [2024-01-24T02:36:03.530Z] #8 2.876 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-24T02:36:03.531Z] #8 2.894 (9/11) Installing libmount (2.38.1-r8) [2024-01-24T02:36:03.531Z] #8 2.908 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-24T02:36:03.531Z] #8 2.920 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-24T02:36:03.531Z] #8 2.991 Executing busybox-1.36.1-r4.trigger [2024-01-24T02:36:03.531Z] #8 3.033 OK: 333 MiB in 100 packages [2024-01-24T02:36:04.112Z] #8 DONE 3.3s [2024-01-24T02:36:04.112Z] [2024-01-24T02:36:04.112Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-24T02:36:04.112Z] #9 DONE 0.1s [2024-01-24T02:36:04.112Z] [2024-01-24T02:36:04.112Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-24T02:36:04.378Z] #10 DONE 0.2s [2024-01-24T02:36:04.378Z] [2024-01-24T02:36:04.378Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-24T02:36:04.378Z] #11 DONE 0.1s [2024-01-24T02:36:04.378Z] [2024-01-24T02:36:04.378Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-24T02:36:04.378Z] #12 DONE 0.1s [2024-01-24T02:36:04.378Z] [2024-01-24T02:36:04.378Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-24T02:36:04.646Z] #13 DONE 0.1s [2024-01-24T02:36:04.646Z] [2024-01-24T02:36:04.646Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-24T02:36:04.646Z] #14 DONE 0.1s [2024-01-24T02:36:04.646Z] [2024-01-24T02:36:04.646Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-24T02:36:04.646Z] #15 DONE 0.1s [2024-01-24T02:36:04.910Z] [2024-01-24T02:36:04.910Z] #16 exporting to image [2024-01-24T02:36:04.910Z] #16 exporting layers [2024-01-24T02:36:05.174Z] #16 exporting layers 0.4s done [2024-01-24T02:36:05.174Z] #16 writing image sha256:4965888cbde0b2498c74874c1aa0b202d39583e6640220ffb6a2c8765bcd5c9c done [2024-01-24T02:36:05.174Z] #16 naming to docker.io/library/device-sdk-arm64 0.0s done [2024-01-24T02:36:05.174Z] #16 DONE 0.4s [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 [2024-01-24T02:36:06.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-24T02:36:06.399Z] [2024-01-24T02:36:06.399Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T02:36:06.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-24T02:36:06.825Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-24T02:36:06.825Z] 8998bd30e6a1: Pulling fs layer [2024-01-24T02:36:06.825Z] 04944245beec: Pulling fs layer [2024-01-24T02:36:06.825Z] 699f458cf7ca: Pulling fs layer [2024-01-24T02:36:06.825Z] 765212b225bb: Pulling fs layer [2024-01-24T02:36:06.825Z] f23df028b6ca: Pulling fs layer [2024-01-24T02:36:06.825Z] d65c8cfc05b1: Pulling fs layer [2024-01-24T02:36:06.825Z] 2437ff75d9bd: Pulling fs layer [2024-01-24T02:36:06.825Z] 765212b225bb: Waiting [2024-01-24T02:36:06.825Z] f23df028b6ca: Waiting [2024-01-24T02:36:06.825Z] d65c8cfc05b1: Waiting [2024-01-24T02:36:06.825Z] 2437ff75d9bd: Waiting [2024-01-24T02:36:07.092Z] 04944245beec: Verifying Checksum [2024-01-24T02:36:07.092Z] 04944245beec: Download complete [2024-01-24T02:36:07.092Z] 765212b225bb: Verifying Checksum [2024-01-24T02:36:07.092Z] 765212b225bb: Download complete [2024-01-24T02:36:07.092Z] f23df028b6ca: Verifying Checksum [2024-01-24T02:36:07.092Z] f23df028b6ca: Download complete [2024-01-24T02:36:07.092Z] d65c8cfc05b1: Verifying Checksum [2024-01-24T02:36:07.092Z] d65c8cfc05b1: Download complete [2024-01-24T02:36:07.092Z] 699f458cf7ca: Verifying Checksum [2024-01-24T02:36:07.092Z] 699f458cf7ca: Download complete [2024-01-24T02:36:07.673Z] 8998bd30e6a1: Download complete [2024-01-24T02:36:09.613Z] 2437ff75d9bd: Download complete [2024-01-24T02:36:16.243Z] 8998bd30e6a1: Pull complete [2024-01-24T02:36:16.243Z] 04944245beec: Pull complete [2024-01-24T02:36:17.648Z] 699f458cf7ca: Pull complete [2024-01-24T02:36:17.648Z] 765212b225bb: Pull complete [2024-01-24T02:36:18.606Z] f23df028b6ca: Pull complete [2024-01-24T02:36:18.606Z] d65c8cfc05b1: Pull complete [2024-01-24T02:36:40.661Z] 2437ff75d9bd: Pull complete [2024-01-24T02:36:40.661Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-24T02:36:40.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-24T02:36:40.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T02:36:41.129Z] prd-ubuntu20.04-docker-arm64-4c-16g-27757 does not seem to be running inside a container [2024-01-24T02:36:41.189Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-24T02:36:43.217Z] $ docker top 9791635e38148df70c16f1a478e41af380277ef9df11469a5c27337107eb3ad5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:36:43.810Z] ---> job-cost.sh [2024-01-24T02:36:44.074Z] lf-activate-venv: SKIPPING [2024-01-24T02:36:44.074Z] INFO: No Stack... [2024-01-24T02:36:44.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-24T02:36:45.285Z] INFO: Archiving Costs [Pipeline] sh [2024-01-24T02:36:45.622Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2024-01-24T02:36:45.622Z] + cut -d, -f6 [Pipeline] lock [2024-01-24T02:36:45.693Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-508-1-stack-cost] [2024-01-24T02:36:45.699Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-508-1-stack-cost] did not exist. Created. [2024-01-24T02:36:45.699Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-508-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-24T02:36:46.193Z] /w/workspace/device-sdk-c/1@tmp/durable-4122ad84/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-24T02:36:46.530Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-24T02:36:46.567Z] Warning: overwriting stash ‘stack-cost’ [2024-01-24T02:36:46.966Z] Stashed 1 file(s) [Pipeline] } [2024-01-24T02:36:46.981Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-508-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-24T02:36:47.142Z] $ docker stop --time=1 9791635e38148df70c16f1a478e41af380277ef9df11469a5c27337107eb3ad5 [2024-01-24T02:36:48.517Z] $ docker rm -f --volumes 9791635e38148df70c16f1a478e41af380277ef9df11469a5c27337107eb3ad5 [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 [2024-01-24T02:36:51.640Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives ] [2024-01-24T02:36:51.640Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives [2024-01-24T02:36:51.640Z] total 16 [2024-01-24T02:36:51.640Z] drwxr-xr-x 3 root root 4096 Jan 24 02:32 . [2024-01-24T02:36:51.640Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 24 02:32 .. [2024-01-24T02:36:51.640Z] drwxr-xr-x 2 root root 4096 Jan 24 02:32 cost [2024-01-24T02:36:51.640Z] -rw-r--r-- 1 root root 84 Jan 24 02:32 cost.csv [2024-01-24T02:36:51.640Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives [2024-01-24T02:36:51.640Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives [2024-01-24T02:36:51.640Z] total 16 [2024-01-24T02:36:51.640Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 24 02:32 . [2024-01-24T02:36:51.640Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 24 02:32 .. [2024-01-24T02:36:51.640Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 24 02:32 cost [2024-01-24T02:36:51.640Z] -rw-r--r-- 1 jenkins jenkins 84 Jan 24 02:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:36:51.973Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:36:52.886Z] ---> package-listing.sh [2024-01-24T02:36:52.886Z] ++ facter osfamily [2024-01-24T02:36:52.886Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-24T02:36:53.148Z] + OS_FAMILY=debian [2024-01-24T02:36:53.148Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-508 [2024-01-24T02:36:53.148Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-24T02:36:53.148Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-24T02:36:53.148Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-24T02:36:53.148Z] + PACKAGES=/tmp/packages_start.txt [2024-01-24T02:36:53.148Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-508 ']' [2024-01-24T02:36:53.148Z] + PACKAGES=/tmp/packages_end.txt [2024-01-24T02:36:53.148Z] + case "${OS_FAMILY}" in [2024-01-24T02:36:53.148Z] + dpkg -l [2024-01-24T02:36:53.148Z] + grep '^ii' [2024-01-24T02:36:53.148Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-24T02:36:53.148Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-24T02:36:53.148Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-24T02:36:53.148Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-508 ']' [2024-01-24T02:36:53.148Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives/ [2024-01-24T02:36:53.148Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-508/archives/ [Pipeline] echo [2024-01-24T02:36:53.181Z] 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-508/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-24T02:36:53.472Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-24T02:36:54.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-24T02:36:54.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-24T02:36:54.394Z] prd-ubuntu20.04-docker-8c-8g-27756 does not seem to be running inside a container [2024-01-24T02:36:54.429Z] $ 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-508/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-508 -v /w/workspace/edgexfoundry_device-sdk-c_PR-508:/w/workspace/edgexfoundry_device-sdk-c_PR-508:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-508@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-lftools-log-publisher:latest cat [2024-01-24T02:36:54.652Z] $ docker top 86a40d6c55113f43e58102adfcc6ed0a41ae9eaf878d24588a853f58aaef8d6d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-24T02:36:55.137Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-24T02:36:55.519Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-24T02:36:55.875Z] + ls /var/log/sa-host [2024-01-24T02:36:55.876Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-24T02:36:56.151Z] provisioning config files... [2024-01-24T02:36:56.161Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-508@tmp/config7266558690859903524tmp [Pipeline] { [Pipeline] echo [2024-01-24T02:36:56.300Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:36:56.627Z] ---> create-netrc.sh [Pipeline] } [2024-01-24T02:36:56.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:36:57.153Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-24T02:36:57.187Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:36:57.506Z] ---> sudo-logs.sh [2024-01-24T02:36:57.506Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-24T02:36:57.650Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:36:57.968Z] ---> job-cost.sh [2024-01-24T02:36:57.968Z] lf-activate-venv: SKIPPING [2024-01-24T02:36:57.968Z] DEBUG: total: 0.2199999988079071 [2024-01-24T02:36:57.968Z] INFO: Retrieving Stack Cost... [2024-01-24T02:36:58.228Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-24T02:36:58.488Z] INFO: Archiving Costs [Pipeline] echo [2024-01-24T02:36:58.527Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-24T02:36:58.846Z] ---> logs-deploy.sh [2024-01-24T02:36:58.846Z] lf-activate-venv: SKIPPING [2024-01-24T02:36:58.846Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-508/1 [2024-01-24T02:36:58.846Z] INFO: archiving workspace using pattern(s): [2024-01-24T02:36:59.783Z] Archives upload complete. [2024-01-24T02:36:59.783Z] INFO: archiving logs to Nexus