Pull request #520 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 eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac+6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 (aefd154a00fae296475a9feff7994fd06c9f9798) 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-ssh16483654936681821706.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh4591179869628337014.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-520/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-520/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18062578613972029255.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-520/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11237916712402503963.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh13952192755748163278.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-520/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-520/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1974826503039688903.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 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-25958 in /w/workspace/edgexfoundry_device-sdk-c_PR-520 [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-520 # 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/520/head:refs/remotes/origin/PR-520 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 into PR head commit 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac Merge succeeded, producing 1a517188ec72746965816536050a47092d8f11ad Checking out Revision 1a517188ec72746965816536050a47092d8f11ad (PR-520) > git config core.sparsecheckout # timeout=10 > git checkout -f 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac # 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 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a517188ec72746965816536050a47092d8f11ad # timeout=10 Commit message: "Merge commit '6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T19:14:28.347Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T19:14:28.567Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T19:14:28.694Z] ========================================================= [2024-11-08T19:14:28.694Z] EdgeX Global Pipelines Version Info [2024-11-08T19:14:28.694Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:14:29.473Z] ------------------- [2024-11-08T19:14:29.473Z] stable info: [2024-11-08T19:14:29.473Z] ------------------- [2024-11-08T19:14:29.473Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T19:14:29.473Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T19:14:29.473Z] Message: update stable to v1.0.265 [2024-11-08T19:14:30.044Z] ------------------- [2024-11-08T19:14:30.044Z] experimental info: [2024-11-08T19:14:30.044Z] ------------------- [2024-11-08T19:14:30.044Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T19:14:30.044Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T19:14:30.044Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T19:14:30.244Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-11-08T19:14:30.300Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-11-08T19:14:30.355Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T19:14:30.412Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T19:14:30.471Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T19:14:30.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-11-08T19:14:30.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-11-08T19:14:30.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T19:14:30.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T19:14:30.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-11-08T19:14:30.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T19:14:31.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T19:14:31.113Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T19:14:31.172Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T19:14:31.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T19:14:31.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T19:14:31.344Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T19:14:31.402Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-520 [Pipeline] echo [2024-11-08T19:14:31.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-520 [Pipeline] echo [2024-11-08T19:14:31.516Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-520 [Pipeline] echo [2024-11-08T19:14:31.572Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a517188ec72746965816536050a47092d8f11ad [Pipeline] echo [2024-11-08T19:14:31.626Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a51718 [Pipeline] echo [2024-11-08T19:14:31.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T19:14:31.829Z] provisioning config files... [2024-11-08T19:14:31.847Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config16133768257483151971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:14:32.228Z] ---> ****-login.sh [2024-11-08T19:14:32.228Z] nexus3.edgexfoundry.org:10001 [2024-11-08T19:14:32.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:14:32.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:14:32.748Z] Configure a credential helper to remove this warning. See [2024-11-08T19:14:32.748Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:14:32.748Z] [2024-11-08T19:14:32.749Z] Login Succeeded [2024-11-08T19:14:32.749Z] nexus3.edgexfoundry.org:10002 [2024-11-08T19:14:32.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:14:32.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:14:32.749Z] Configure a credential helper to remove this warning. See [2024-11-08T19:14:32.749Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:14:32.749Z] [2024-11-08T19:14:32.749Z] Login Succeeded [2024-11-08T19:14:32.749Z] nexus3.edgexfoundry.org:10003 [2024-11-08T19:14:32.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:14:33.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:14:33.009Z] Configure a credential helper to remove this warning. See [2024-11-08T19:14:33.009Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:14:33.009Z] [2024-11-08T19:14:33.009Z] Login Succeeded [2024-11-08T19:14:33.009Z] nexus3.edgexfoundry.org:10004 [2024-11-08T19:14:33.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:14:33.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:14:33.009Z] Configure a credential helper to remove this warning. See [2024-11-08T19:14:33.009Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:14:33.009Z] [2024-11-08T19:14:33.009Z] Login Succeeded [2024-11-08T19:14:33.009Z] ****.io [2024-11-08T19:14:33.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:14:33.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:14:33.269Z] Configure a credential helper to remove this warning. See [2024-11-08T19:14:33.269Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:14:33.269Z] [2024-11-08T19:14:33.269Z] Login Succeeded [2024-11-08T19:14:33.269Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T19:14:43.063Z] 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-11-08T19:14:43.720Z] + git rev-list -1 --merges 1a517188ec72746965816536050a47092d8f11ad~1..1a517188ec72746965816536050a47092d8f11ad [Pipeline] echo [2024-11-08T19:14:43.767Z] -----------> git rev-list -1 --merges 1a517188ec72746965816536050a47092d8f11ad~1..1a517188ec72746965816536050a47092d8f11ad 1a517188ec72746965816536050a47092d8f11ad [2024-11-08T19:14:43.767Z] 1a517188ec72746965816536050a47092d8f11ad [false] [Pipeline] sh [2024-11-08T19:14:44.091Z] + git log --format=format:%s -1 1a517188ec72746965816536050a47092d8f11ad [Pipeline] echo [2024-11-08T19:14:44.131Z] ========================================================= [2024-11-08T19:14:44.131Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T19:14:44.131Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T19:14:45.082Z] + git rev-list -1 --merges 1a517188ec72746965816536050a47092d8f11ad~1..1a517188ec72746965816536050a47092d8f11ad [Pipeline] echo [2024-11-08T19:14:45.120Z] -----------> git rev-list -1 --merges 1a517188ec72746965816536050a47092d8f11ad~1..1a517188ec72746965816536050a47092d8f11ad 1a517188ec72746965816536050a47092d8f11ad [2024-11-08T19:14:45.120Z] 1a517188ec72746965816536050a47092d8f11ad [false] [Pipeline] sh [2024-11-08T19:14:45.436Z] + git log --format=format:%s -1 1a517188ec72746965816536050a47092d8f11ad [Pipeline] echo [2024-11-08T19:14:45.479Z] ========================================================= [2024-11-08T19:14:45.479Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T19:14:45.479Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-11-08T19:14:45.992Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T19:14:45.993Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T19:14:45.993Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T19:14:45.993Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T19:14:45.993Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-08T19:14:45.993Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-08T19:14:45.993Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:14:46.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T19:14:46.499Z] [2024-11-08T19:14:46.499Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:14:46.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T19:14:46.891Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T19:14:46.891Z] b85a868b505f: Pulling fs layer [2024-11-08T19:14:46.891Z] e2be974225ed: Pulling fs layer [2024-11-08T19:14:46.891Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T19:14:46.891Z] 988bab9f4d93: Pulling fs layer [2024-11-08T19:14:46.891Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T19:14:46.891Z] eaf3925da568: Pulling fs layer [2024-11-08T19:14:46.891Z] bab4dde63d76: Pulling fs layer [2024-11-08T19:14:46.891Z] bde34c3a00c8: Pulling fs layer [2024-11-08T19:14:46.891Z] b352a97aabf1: Pulling fs layer [2024-11-08T19:14:46.891Z] 4872d77fe225: Pulling fs layer [2024-11-08T19:14:46.891Z] 5851b861e8e6: Pulling fs layer [2024-11-08T19:14:46.891Z] eaf3925da568: Waiting [2024-11-08T19:14:46.891Z] 4872d77fe225: Waiting [2024-11-08T19:14:46.891Z] bab4dde63d76: Waiting [2024-11-08T19:14:46.891Z] bde34c3a00c8: Waiting [2024-11-08T19:14:46.891Z] 5851b861e8e6: Waiting [2024-11-08T19:14:46.891Z] b352a97aabf1: Waiting [2024-11-08T19:14:46.891Z] 988bab9f4d93: Waiting [2024-11-08T19:14:46.891Z] 1469e6f7b9e6: Waiting [2024-11-08T19:14:46.891Z] e2be974225ed: Verifying Checksum [2024-11-08T19:14:46.891Z] e2be974225ed: Download complete [2024-11-08T19:14:46.891Z] 988bab9f4d93: Verifying Checksum [2024-11-08T19:14:46.891Z] 988bab9f4d93: Download complete [2024-11-08T19:14:47.153Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T19:14:47.153Z] 1469e6f7b9e6: Download complete [2024-11-08T19:14:47.153Z] eaf3925da568: Verifying Checksum [2024-11-08T19:14:47.153Z] eaf3925da568: Download complete [2024-11-08T19:14:47.154Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T19:14:47.154Z] 339a4e72a1f5: Download complete [2024-11-08T19:14:47.154Z] bde34c3a00c8: Verifying Checksum [2024-11-08T19:14:47.154Z] bde34c3a00c8: Download complete [2024-11-08T19:14:47.154Z] b352a97aabf1: Verifying Checksum [2024-11-08T19:14:47.154Z] b352a97aabf1: Download complete [2024-11-08T19:14:47.154Z] 4872d77fe225: Verifying Checksum [2024-11-08T19:14:47.154Z] 4872d77fe225: Download complete [2024-11-08T19:14:47.154Z] 5851b861e8e6: Download complete [2024-11-08T19:14:47.154Z] b85a868b505f: Verifying Checksum [2024-11-08T19:14:47.154Z] b85a868b505f: Download complete [2024-11-08T19:14:47.414Z] bab4dde63d76: Verifying Checksum [2024-11-08T19:14:47.414Z] bab4dde63d76: Download complete [2024-11-08T19:14:48.356Z] b85a868b505f: Pull complete [2024-11-08T19:14:48.615Z] e2be974225ed: Pull complete [2024-11-08T19:14:49.185Z] 339a4e72a1f5: Pull complete [2024-11-08T19:14:49.185Z] 988bab9f4d93: Pull complete [2024-11-08T19:14:49.444Z] 1469e6f7b9e6: Pull complete [2024-11-08T19:14:49.444Z] eaf3925da568: Pull complete [2024-11-08T19:14:51.350Z] bab4dde63d76: Pull complete [2024-11-08T19:14:51.350Z] bde34c3a00c8: Pull complete [2024-11-08T19:14:51.350Z] b352a97aabf1: Pull complete [2024-11-08T19:14:51.350Z] 4872d77fe225: Pull complete [2024-11-08T19:14:51.609Z] 5851b861e8e6: Pull complete [2024-11-08T19:14:51.609Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T19:14:51.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T19:14:51.609Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T19:14:51.893Z] prd-ubuntu20.04-docker-8c-8g-25958 does not seem to be running inside a container [2024-11-08T19:14:51.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T19:14:54.713Z] $ docker top d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 -eo pid,comm [2024-11-08T19:14:54.772Z] 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-11-08T19:14:54.772Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T19:14:54.943Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T19:14:54.943Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T19:14:55.051Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T19:14:55.053Z] $ docker exec d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 ssh-agent [2024-11-08T19:14:55.159Z] SSH_AUTH_SOCK=/tmp/ssh-Cvj5Z6UAOD4l/agent.32 [2024-11-08T19:14:55.159Z] SSH_AGENT_PID=38 [2024-11-08T19:14:55.165Z] Running ssh-add (command line suppressed) [2024-11-08T19:14:55.261Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_11819364692084592374.key (/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_11819364692084592374.key) [2024-11-08T19:14:55.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T19:14:55.616Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T19:14:55.642Z] $ docker exec --env ******** --env ******** d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 ssh-agent -k [2024-11-08T19:14:55.750Z] unset SSH_AUTH_SOCK; [2024-11-08T19:14:55.751Z] unset SSH_AGENT_PID; [2024-11-08T19:14:55.751Z] echo Agent pid 38 killed; [2024-11-08T19:14:55.764Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T19:14:55.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T19:14:55.873Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T19:14:55.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T19:14:55.988Z] $ docker exec d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 ssh-agent [2024-11-08T19:14:56.121Z] SSH_AUTH_SOCK=/tmp/ssh-l4WdQOjNesiO/agent.72 [2024-11-08T19:14:56.121Z] SSH_AGENT_PID=79 [2024-11-08T19:14:56.126Z] Running ssh-add (command line suppressed) [2024-11-08T19:14:56.245Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_14591246180011214344.key (/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_14591246180011214344.key) [2024-11-08T19:14:56.259Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T19:14:56.609Z] + git semver init [2024-11-08T19:14:56.867Z] 2024-11-08 19:14:56,790 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T19:14:56.867Z] 2024-11-08 19:14:56,791 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver [2024-11-08T19:14:56.867Z] 2024-11-08 19:14:56,791 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver [2024-11-08T19:14:56.867Z] 2024-11-08 19:14:56,791 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520, universal_newlines=False, shell=None, istream=None) [2024-11-08T19:14:57.806Z] 2024-11-08 19:14:57,595 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.git/info/exclude [2024-11-08T19:14:57.806Z] 2024-11-08 19:14:57,596 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 with force:False [2024-11-08T19:14:57.806Z] 2024-11-08 19:14:57,596 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 [2024-11-08T19:14:57.806Z] 2024-11-08 19:14:57,600 [execute] INFO git cat-file --batch-check [2024-11-08T19:14:57.806Z] 2024-11-08 19:14:57,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T19:14:57.806Z] 2024-11-08 19:14:57,607 [execute] INFO git cat-file --batch [2024-11-08T19:14:57.806Z] 2024-11-08 19:14:57,607 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T19:14:57.806Z] 2024-11-08 19:14:57,613 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 [2024-11-08T19:14:57.806Z] 0.0.0 [Pipeline] } [2024-11-08T19:14:57.831Z] $ docker exec --env ******** --env ******** d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 ssh-agent -k [2024-11-08T19:14:57.930Z] unset SSH_AUTH_SOCK; [2024-11-08T19:14:57.931Z] unset SSH_AGENT_PID; [2024-11-08T19:14:57.931Z] echo Agent pid 79 killed; [2024-11-08T19:14:57.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T19:14:58.404Z] + git semver [Pipeline] } [2024-11-08T19:14:58.692Z] $ docker stop --time=1 d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 [2024-11-08T19:14:59.991Z] $ docker rm -f --volumes d83e389426c3e4c9b535dfb92ba47cbf27f7f4b3a60b943a78b02b0f64051901 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T19:15:00.412Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T19:15:00.703Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T19:15:00.728Z] [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-11-08T19:15:01.367Z] provisioning config files... [2024-11-08T19:15:01.378Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config14898650460326277054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:15:01.744Z] ---> ****-login.sh [2024-11-08T19:15:01.744Z] nexus3.edgexfoundry.org:10001 [2024-11-08T19:15:01.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:15:01.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:15:01.744Z] Configure a credential helper to remove this warning. See [2024-11-08T19:15:01.744Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:15:01.744Z] [2024-11-08T19:15:01.744Z] Login Succeeded [2024-11-08T19:15:01.744Z] nexus3.edgexfoundry.org:10002 [2024-11-08T19:15:01.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:15:01.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:15:01.744Z] Configure a credential helper to remove this warning. See [2024-11-08T19:15:01.744Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:15:01.744Z] [2024-11-08T19:15:01.744Z] Login Succeeded [2024-11-08T19:15:01.744Z] nexus3.edgexfoundry.org:10003 [2024-11-08T19:15:02.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:15:02.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:15:02.006Z] Configure a credential helper to remove this warning. See [2024-11-08T19:15:02.006Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:15:02.006Z] [2024-11-08T19:15:02.006Z] Login Succeeded [2024-11-08T19:15:02.006Z] nexus3.edgexfoundry.org:10004 [2024-11-08T19:15:02.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:15:02.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:15:02.006Z] Configure a credential helper to remove this warning. See [2024-11-08T19:15:02.006Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:15:02.006Z] [2024-11-08T19:15:02.006Z] Login Succeeded [2024-11-08T19:15:02.006Z] ****.io [2024-11-08T19:15:02.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:15:02.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:15:02.270Z] Configure a credential helper to remove this warning. See [2024-11-08T19:15:02.270Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:15:02.270Z] [2024-11-08T19:15:02.270Z] Login Succeeded [2024-11-08T19:15:02.270Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T19:15:02.301Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T19:15:02.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T19:15:02.574Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-11-08T19:15:02.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T19:15:02.655Z] ========================================================= [2024-11-08T19:15:02.655Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-11-08T19:15:02.655Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:15:03.100Z] + 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-11-08T19:15:03.101Z] Sending build context to Docker daemon 5.192MB [2024-11-08T19:15:03.101Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-08T19:15:03.101Z] Step 2/22 : FROM ${BASE} as builder [2024-11-08T19:15:03.101Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-11-08T19:15:03.101Z] 96526aa774ef: Pulling fs layer [2024-11-08T19:15:03.101Z] da60e534fd72: Pulling fs layer [2024-11-08T19:15:03.359Z] 96526aa774ef: Verifying Checksum [2024-11-08T19:15:03.359Z] 96526aa774ef: Download complete [2024-11-08T19:15:03.359Z] 96526aa774ef: Pull complete [2024-11-08T19:15:04.294Z] da60e534fd72: Verifying Checksum [2024-11-08T19:15:04.294Z] da60e534fd72: Download complete [2024-11-08T19:15:07.575Z] da60e534fd72: Pull complete [2024-11-08T19:15:07.575Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-11-08T19:15:07.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-11-08T19:15:07.575Z] ---> 6605166a5db4 [2024-11-08T19:15:07.575Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-08T19:15:08.954Z] ---> Running in 13e379fdc291 [2024-11-08T19:15:09.545Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-08T19:15:09.804Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-08T19:15:09.804Z] alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA [2024-11-08T19:15:09.804Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-08T19:15:10.062Z] Removing intermediate container 13e379fdc291 [2024-11-08T19:15:10.062Z] ---> 5ee6306c68d1 [2024-11-08T19:15:10.062Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-08T19:15:10.319Z] ---> Running in aeb6ec3d1552 [2024-11-08T19:15:10.885Z] Removing intermediate container aeb6ec3d1552 [2024-11-08T19:15:10.885Z] ---> d96534a2824c [2024-11-08T19:15:10.885Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-11-08T19:15:10.885Z] ---> Running in 0bb64408e16d [2024-11-08T19:15:11.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:11.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:11.661Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:12.225Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:15:12.225Z] (1/17) Installing hiredis (1.1.0-r2) [2024-11-08T19:15:12.484Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-08T19:15:12.484Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-08T19:15:12.484Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-08T19:15:13.419Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-08T19:15:13.419Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-08T19:15:13.678Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-08T19:15:13.937Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-08T19:15:13.937Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-08T19:15:13.937Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-08T19:15:13.937Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-08T19:15:13.937Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-08T19:15:13.937Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-08T19:15:13.937Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-08T19:15:13.937Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-08T19:15:13.937Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-08T19:15:13.937Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-08T19:15:13.937Z] Executing busybox-1.36.1-r4.trigger [2024-11-08T19:15:13.937Z] OK: 336 MiB in 99 packages [2024-11-08T19:15:14.504Z] Removing intermediate container 0bb64408e16d [2024-11-08T19:15:14.504Z] ---> 8093c2b54a5a [2024-11-08T19:15:14.504Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-08T19:15:14.504Z] ---> Running in 23c3691e7ef4 [2024-11-08T19:15:15.440Z] Removing intermediate container 23c3691e7ef4 [2024-11-08T19:15:15.440Z] ---> 4992a0a7514d [2024-11-08T19:15:15.440Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-08T19:15:15.440Z] ---> f99f9fe7724c [2024-11-08T19:15:15.440Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-08T19:15:15.698Z] ---> d81883be1fa3 [2024-11-08T19:15:15.698Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-08T19:15:15.698Z] ---> 819ac08e3657 [2024-11-08T19:15:15.698Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-08T19:15:15.958Z] ---> d77b89c43a83 [2024-11-08T19:15:15.958Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-08T19:15:15.958Z] ---> b8c4df7dca21 [2024-11-08T19:15:15.958Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-08T19:15:16.149Z] Still waiting to schedule task [2024-11-08T19:15:16.150Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-08T19:15:16.217Z] ---> b417086b4e8f [2024-11-08T19:15:16.217Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-08T19:15:16.217Z] ---> Running in 7788aae14896 [2024-11-08T19:15:16.476Z] + CPPCHECK=false [2024-11-08T19:15:16.476Z] + DOCGEN=false [2024-11-08T19:15:16.476Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-08T19:15:16.476Z] + '[' 0 -gt 0 ] [2024-11-08T19:15:16.476Z] + readlink -f ./scripts/build.sh [2024-11-08T19:15:16.476Z] + dirname /tmp/sdk/scripts/build.sh [2024-11-08T19:15:16.476Z] + dirname /tmp/sdk/scripts [2024-11-08T19:15:16.476Z] + ROOT=/tmp/sdk [2024-11-08T19:15:16.476Z] + cd /tmp/sdk [2024-11-08T19:15:16.476Z] + mkdir -p /tmp/sdk/build/release [2024-11-08T19:15:16.476Z] + cd /tmp/sdk/build/release [2024-11-08T19:15:16.476Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-08T19:15:16.476Z] -- The C compiler identification is GNU 12.2.1 [2024-11-08T19:15:16.476Z] -- Detecting C compiler ABI info [2024-11-08T19:15:16.737Z] -- Detecting C compiler ABI info - done [2024-11-08T19:15:16.737Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-08T19:15:16.737Z] -- Detecting C compile features [2024-11-08T19:15:16.737Z] -- Detecting C compile features - done [2024-11-08T19:15:16.737Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-08T19:15:16.737Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-08T19:15:16.737Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-08T19:15:16.737Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-08T19:15:16.737Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-08T19:15:16.737Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-08T19:15:16.737Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-08T19:15:16.737Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-08T19:15:16.737Z] -- /opt/iotech/iot/1.5/include [2024-11-08T19:15:16.737Z] -- C SDK 0.0.0 for Linux [2024-11-08T19:15:16.737Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-08T19:15:16.997Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-08T19:15:16.997Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-08T19:15:16.997Z] -- Configuring done (0.5s) [2024-11-08T19:15:16.997Z] -- Generating done (0.0s) [2024-11-08T19:15:16.997Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-08T19:15:16.997Z] + make all package [2024-11-08T19:15:16.997Z] + tee release.log [2024-11-08T19:15:16.997Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-08T19:15:17.258Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-08T19:15:17.258Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-08T19:15:17.258Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-08T19:15:17.518Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-08T19:15:17.518Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-08T19:15:18.089Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-08T19:15:18.089Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-08T19:15:18.089Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-08T19:15:18.089Z] 294 | while (privateConfig) [2024-11-08T19:15:18.089Z] | ^~~~~~~~~~~~~ [2024-11-08T19:15:18.089Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-08T19:15:18.089Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-08T19:15:18.089Z] | ^~~~~~~~~~~~~ [2024-11-08T19:15:18.089Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-08T19:15:18.089Z] 271 | while (result) [2024-11-08T19:15:18.089Z] | ^~~~~~ [2024-11-08T19:15:18.089Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-08T19:15:18.089Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-08T19:15:18.089Z] | ^~~~~~ [2024-11-08T19:15:18.089Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-08T19:15:18.089Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-08T19:15:18.350Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-08T19:15:18.612Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-08T19:15:18.612Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-08T19:15:18.872Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-08T19:15:18.872Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-08T19:15:19.135Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-08T19:15:19.135Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-08T19:15:19.135Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-08T19:15:19.704Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-08T19:15:19.704Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-11-08T19:15:19.704Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-08T19:15:19.964Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-08T19:15:20.224Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-08T19:15:21.162Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-08T19:15:21.162Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-08T19:15:21.422Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-08T19:15:21.422Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-08T19:15:21.422Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-08T19:15:21.682Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-08T19:15:21.942Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-08T19:15:21.942Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-08T19:15:22.202Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-08T19:15:22.202Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-08T19:15:22.461Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-08T19:15:22.461Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-08T19:15:22.461Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-08T19:15:22.461Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-08T19:15:22.461Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-08T19:15:22.461Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-08T19:15:22.461Z] | ^ [2024-11-08T19:15:22.461Z] /tmp/sdk/src/c/service.c:1079:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-08T19:15:22.461Z] 1079 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-08T19:15:22.461Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-08T19:15:22.461Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-11-08T19:15:22.461Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-08T19:15:22.461Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-08T19:15:22.721Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-08T19:15:22.721Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-08T19:15:22.981Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-08T19:15:22.981Z] [ 69%] Linking C shared library libcsdk.so [2024-11-08T19:15:22.981Z] [ 69%] Built target csdk [2024-11-08T19:15:22.981Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-08T19:15:23.240Z] [ 73%] Linking C executable template [2024-11-08T19:15:23.240Z] [ 73%] Built target template [2024-11-08T19:15:23.240Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-08T19:15:23.240Z] [ 76%] Linking C executable device-counter [2024-11-08T19:15:23.501Z] [ 76%] Built target device-counter [2024-11-08T19:15:23.501Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-08T19:15:23.501Z] [ 80%] Linking C executable device-random [2024-11-08T19:15:23.501Z] [ 80%] Built target device-random [2024-11-08T19:15:23.501Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-08T19:15:23.759Z] [ 84%] Linking C executable device-gyro [2024-11-08T19:15:23.759Z] [ 84%] Built target device-gyro [2024-11-08T19:15:23.759Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-08T19:15:23.759Z] [ 88%] Linking C executable device-bitfields [2024-11-08T19:15:24.019Z] [ 88%] Built target device-bitfields [2024-11-08T19:15:24.019Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-08T19:15:24.019Z] [ 92%] Linking C executable template-discovery [2024-11-08T19:15:24.019Z] [ 92%] Built target template-discovery [2024-11-08T19:15:24.278Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-08T19:15:24.278Z] [ 96%] Linking C executable device-file [2024-11-08T19:15:24.278Z] [ 96%] Built target device-file [2024-11-08T19:15:24.278Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-08T19:15:24.536Z] [100%] Linking C executable device-terminal [2024-11-08T19:15:24.536Z] [100%] Built target device-terminal [2024-11-08T19:15:24.536Z] Run CPack packaging tool... [2024-11-08T19:15:24.536Z] CPack: Create package using TGZ [2024-11-08T19:15:24.536Z] CPack: Install projects [2024-11-08T19:15:24.536Z] CPack: - Run preinstall target for: Csdk [2024-11-08T19:15:24.797Z] CPack: - Install project: Csdk [] [2024-11-08T19:15:24.797Z] CPack: Create package [2024-11-08T19:15:24.797Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-11-08T19:15:24.797Z] + '[' false '=' true ] [2024-11-08T19:15:24.797Z] + '[' false '=' true ] [2024-11-08T19:15:24.797Z] + mkdir -p /tmp/sdk/build/debug [2024-11-08T19:15:24.797Z] + cd /tmp/sdk/build/debug [2024-11-08T19:15:24.797Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-08T19:15:25.056Z] -- The C compiler identification is GNU 12.2.1 [2024-11-08T19:15:25.056Z] -- Detecting C compiler ABI info [2024-11-08T19:15:25.056Z] -- Detecting C compiler ABI info - done [2024-11-08T19:15:25.056Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-08T19:15:25.056Z] -- Detecting C compile features [2024-11-08T19:15:25.056Z] -- Detecting C compile features - done [2024-11-08T19:15:25.056Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-08T19:15:25.056Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-08T19:15:25.056Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-08T19:15:25.056Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-08T19:15:25.056Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-08T19:15:25.056Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-08T19:15:25.056Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-08T19:15:25.056Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-08T19:15:25.056Z] -- /opt/iotech/iot/1.5/include [2024-11-08T19:15:25.056Z] -- C SDK 0.0.0 for Linux [2024-11-08T19:15:25.056Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-08T19:15:25.320Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-08T19:15:25.320Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-08T19:15:25.320Z] -- Configuring done (0.4s) [2024-11-08T19:15:25.320Z] -- Generating done (0.0s) [2024-11-08T19:15:25.320Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-08T19:15:25.320Z] + make [2024-11-08T19:15:25.320Z] + tee debug.log [2024-11-08T19:15:25.320Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-08T19:15:25.320Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-08T19:15:25.581Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-08T19:15:25.581Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-08T19:15:25.581Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-08T19:15:25.840Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-08T19:15:25.840Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-08T19:15:25.840Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-08T19:15:26.100Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-08T19:15:26.100Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-08T19:15:26.100Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-08T19:15:26.360Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-08T19:15:26.360Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-08T19:15:26.360Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-08T19:15:26.360Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-08T19:15:26.622Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-08T19:15:26.622Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-08T19:15:26.880Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-08T19:15:26.880Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-11-08T19:15:26.880Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-08T19:15:26.880Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-08T19:15:27.139Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-08T19:15:27.139Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-08T19:15:27.399Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-08T19:15:27.399Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-08T19:15:27.399Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-08T19:15:27.399Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-08T19:15:27.658Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-08T19:15:27.658Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-08T19:15:27.922Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-08T19:15:27.922Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-08T19:15:27.922Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-08T19:15:27.922Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-08T19:15:27.922Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-08T19:15:27.922Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-08T19:15:27.922Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-08T19:15:27.922Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-08T19:15:27.922Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-08T19:15:27.922Z] | ^ [2024-11-08T19:15:28.182Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-08T19:15:28.182Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-08T19:15:28.182Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-08T19:15:28.442Z] [ 69%] Linking C shared library libcsdk.so [2024-11-08T19:15:28.442Z] [ 69%] Built target csdk [2024-11-08T19:15:28.442Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-08T19:15:28.442Z] [ 73%] Linking C executable template [2024-11-08T19:15:28.442Z] [ 73%] Built target template [2024-11-08T19:15:28.442Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-08T19:15:28.702Z] [ 76%] Linking C executable device-counter [2024-11-08T19:15:28.702Z] [ 76%] Built target device-counter [2024-11-08T19:15:28.702Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-08T19:15:28.702Z] [ 80%] Linking C executable device-random [2024-11-08T19:15:28.702Z] [ 80%] Built target device-random [2024-11-08T19:15:28.963Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-08T19:15:28.963Z] [ 84%] Linking C executable device-gyro [2024-11-08T19:15:28.963Z] [ 84%] Built target device-gyro [2024-11-08T19:15:28.963Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-08T19:15:28.963Z] [ 88%] Linking C executable device-bitfields [2024-11-08T19:15:29.223Z] [ 88%] Built target device-bitfields [2024-11-08T19:15:29.223Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-08T19:15:29.223Z] [ 92%] Linking C executable template-discovery [2024-11-08T19:15:29.223Z] [ 92%] Built target template-discovery [2024-11-08T19:15:29.223Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-08T19:15:29.223Z] [ 96%] Linking C executable device-file [2024-11-08T19:15:29.482Z] [ 96%] Built target device-file [2024-11-08T19:15:29.482Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-08T19:15:29.482Z] [100%] Linking C executable device-terminal [2024-11-08T19:15:29.482Z] [100%] Built target device-terminal [2024-11-08T19:15:29.482Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-08T19:15:29.741Z] [ 69%] Built target csdk [2024-11-08T19:15:29.741Z] [ 73%] Built target template [2024-11-08T19:15:29.741Z] [ 76%] Built target device-counter [2024-11-08T19:15:29.741Z] [ 80%] Built target device-random [2024-11-08T19:15:29.741Z] [ 84%] Built target device-gyro [2024-11-08T19:15:29.741Z] [ 88%] Built target device-bitfields [2024-11-08T19:15:29.741Z] [ 92%] Built target template-discovery [2024-11-08T19:15:29.741Z] [ 96%] Built target device-file [2024-11-08T19:15:29.741Z] [100%] Built target device-terminal [2024-11-08T19:15:29.741Z] Install the project... [2024-11-08T19:15:29.741Z] -- Install configuration: "Release" [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-08T19:15:29.741Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include/devsdk [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include/edgex [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-08T19:15:29.741Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-08T19:15:29.741Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-08T19:15:30.678Z] Removing intermediate container 7788aae14896 [2024-11-08T19:15:30.678Z] ---> 0b9dcecd1cb8 [2024-11-08T19:15:30.678Z] Step 14/22 : FROM ${BASE} [2024-11-08T19:15:30.678Z] ---> 6605166a5db4 [2024-11-08T19:15:30.678Z] Step 15/22 : LABEL maintainer="IOTech " [2024-11-08T19:15:30.678Z] ---> Running in bd21e81d51f6 [2024-11-08T19:15:30.678Z] Removing intermediate container bd21e81d51f6 [2024-11-08T19:15:30.678Z] ---> 4f170e56e33b [2024-11-08T19:15:30.678Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-08T19:15:30.678Z] ---> Running in 6e426b980727 [2024-11-08T19:15:30.935Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-11-08T19:15:31.504Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-08T19:15:31.504Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-08T19:15:31.504Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-08T19:15:31.763Z] Removing intermediate container 6e426b980727 [2024-11-08T19:15:31.763Z] ---> c912c9ff8860 [2024-11-08T19:15:31.763Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-08T19:15:31.763Z] ---> Running in 588bd3e62577 [2024-11-08T19:15:32.332Z] Removing intermediate container 588bd3e62577 [2024-11-08T19:15:32.332Z] ---> f260e45c0b25 [2024-11-08T19:15:32.332Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-11-08T19:15:32.332Z] ---> Running in a973c159f993 [2024-11-08T19:15:32.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:32.592Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:32.853Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:33.424Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:15:33.424Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-08T19:15:33.424Z] (2/10) Installing curl (8.9.1-r1) [2024-11-08T19:15:33.424Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-08T19:15:33.424Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-08T19:15:33.424Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-08T19:15:33.424Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-08T19:15:33.424Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-08T19:15:33.424Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-08T19:15:33.993Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-08T19:15:34.254Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-08T19:15:34.254Z] Executing busybox-1.36.1-r4.trigger [2024-11-08T19:15:34.254Z] OK: 331 MiB in 90 packages [2024-11-08T19:15:34.828Z] Removing intermediate container a973c159f993 [2024-11-08T19:15:34.828Z] ---> 8d691db7ef77 [2024-11-08T19:15:34.828Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-08T19:15:34.828Z] ---> Running in dde613c87b44 [2024-11-08T19:15:35.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:35.396Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:35.396Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:35.964Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:15:35.964Z] Upgrading critical system libraries and apk-tools: [2024-11-08T19:15:35.964Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-08T19:15:35.964Z] Executing busybox-1.36.1-r4.trigger [2024-11-08T19:15:35.964Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T19:15:35.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:35.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:36.225Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:36.805Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:15:36.805Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-08T19:15:36.805Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-08T19:15:36.805Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-08T19:15:36.805Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-08T19:15:36.805Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-08T19:15:36.805Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-08T19:15:36.805Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-08T19:15:36.805Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-08T19:15:36.805Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-08T19:15:36.805Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-08T19:15:36.805Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-08T19:15:36.805Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-08T19:15:36.805Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-08T19:15:36.805Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-08T19:15:37.073Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-08T19:15:37.073Z] Executing busybox-1.36.1-r7.trigger [2024-11-08T19:15:37.073Z] Executing ca-certificates-20240226-r0.trigger [2024-11-08T19:15:37.073Z] OK: 332 MiB in 90 packages [2024-11-08T19:15:38.473Z] Removing intermediate container dde613c87b44 [2024-11-08T19:15:38.473Z] ---> a8c2713a42bb [2024-11-08T19:15:38.473Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-08T19:15:38.473Z] ---> 0c6d06af5b86 [2024-11-08T19:15:38.473Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-08T19:15:38.473Z] ---> fe703a850a5a [2024-11-08T19:15:38.473Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-08T19:15:38.733Z] ---> 2d477059f194 [2024-11-08T19:15:38.733Z] Successfully built 2d477059f194 [2024-11-08T19:15:38.733Z] 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-11-08T19:15:39.485Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T19:15:39.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T19:15:39.663Z] prd-ubuntu20.04-docker-8c-8g-25958 does not seem to be running inside a container [2024-11-08T19:15:39.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-08T19:15:40.013Z] $ docker top bb5a0b97046cadd9cf523a0251183644ebaf9dbdad6ac8100490d7d4ae16d4b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T19:15:40.421Z] + make test [2024-11-08T19:15:40.421Z] echo "make test" [2024-11-08T19:15:40.421Z] make test [Pipeline] } [2024-11-08T19:15:40.457Z] $ docker stop --time=1 bb5a0b97046cadd9cf523a0251183644ebaf9dbdad6ac8100490d7d4ae16d4b1 [2024-11-08T19:15:41.721Z] $ docker rm -f --volumes bb5a0b97046cadd9cf523a0251183644ebaf9dbdad6ac8100490d7d4ae16d4b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T19:15:42.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T19:15:42.997Z] + ls -al . [2024-11-08T19:15:42.997Z] total 212 [2024-11-08T19:15:42.997Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 19:14 . [2024-11-08T19:15:42.997Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:14 .. [2024-11-08T19:15:42.997Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:14 .git [2024-11-08T19:15:42.997Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:14 .github [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 8 19:14 .gitignore [2024-11-08T19:15:42.997Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:14 .semver [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 8 19:14 Attribution.txt [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 8 19:14 CHANGELOG.md [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 8 19:14 Doxyfile [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 19:14 GOVERNANCE.md [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 8 19:14 Jenkinsfile [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 19:14 LICENSE [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 8 19:14 Makefile [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 19:14 OWNERS.md [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 8 19:14 README.IOT.md [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 8 19:14 README.md [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 8 19:14 README.v3.md [2024-11-08T19:15:42.997Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 19:15 VERSION [2024-11-08T19:15:42.997Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:14 docs [2024-11-08T19:15:42.997Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:14 include [2024-11-08T19:15:42.997Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:14 scripts [2024-11-08T19:15:42.997Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:15:43.426Z] + 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=1a517188ec72746965816536050a47092d8f11ad --label arch=amd64 --label version=0.0.0 . [2024-11-08T19:15:43.426Z] Sending build context to Docker daemon 5.192MB [2024-11-08T19:15:43.426Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-08T19:15:43.426Z] Step 2/18 : FROM ${BASE} [2024-11-08T19:15:43.426Z] ---> 2d477059f194 [2024-11-08T19:15:43.426Z] Step 3/18 : LABEL maintainer="IOTech " [2024-11-08T19:15:43.426Z] ---> Running in 231068306cd9 [2024-11-08T19:15:43.685Z] Removing intermediate container 231068306cd9 [2024-11-08T19:15:43.685Z] ---> 961b922594ca [2024-11-08T19:15:43.685Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-08T19:15:43.685Z] ---> Running in 3bae496f4210 [2024-11-08T19:15:43.945Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-08T19:15:44.203Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-08T19:15:44.203Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-08T19:15:44.203Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-08T19:15:44.462Z] Removing intermediate container 3bae496f4210 [2024-11-08T19:15:44.462Z] ---> 91f08b278b08 [2024-11-08T19:15:44.462Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-08T19:15:44.462Z] ---> Running in b6c5ead34afc [2024-11-08T19:15:45.207Z] Removing intermediate container b6c5ead34afc [2024-11-08T19:15:45.207Z] ---> 24a48d13fa50 [2024-11-08T19:15:45.207Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-11-08T19:15:45.207Z] ---> Running in 82c70c55cb24 [2024-11-08T19:15:45.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:45.468Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:45.729Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:46.297Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:15:46.297Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-08T19:15:46.297Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-08T19:15:46.297Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-08T19:15:46.297Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-08T19:15:46.297Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-08T19:15:46.297Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-08T19:15:46.297Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-08T19:15:46.561Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-08T19:15:46.561Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-08T19:15:46.561Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-08T19:15:46.561Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-08T19:15:46.561Z] Executing busybox-1.36.1-r7.trigger [2024-11-08T19:15:46.561Z] OK: 337 MiB in 101 packages [2024-11-08T19:15:47.129Z] Removing intermediate container 82c70c55cb24 [2024-11-08T19:15:47.129Z] ---> 091460d1840a [2024-11-08T19:15:47.129Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-08T19:15:47.129Z] ---> Running in 7f83e859e150 [2024-11-08T19:15:47.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:47.391Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:47.391Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-08T19:15:47.960Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:15:47.960Z] OK: 337 MiB in 101 packages [2024-11-08T19:15:48.219Z] Removing intermediate container 7f83e859e150 [2024-11-08T19:15:48.219Z] ---> 070ec5163b74 [2024-11-08T19:15:48.219Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-08T19:15:48.501Z] ---> 743e8ad32525 [2024-11-08T19:15:48.501Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-08T19:15:48.760Z] ---> 3884ed2a9fd9 [2024-11-08T19:15:48.760Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-08T19:15:48.760Z] ---> f5ad5c97933a [2024-11-08T19:15:48.760Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-08T19:15:48.760Z] ---> 5aaedd14fbb8 [2024-11-08T19:15:48.760Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-08T19:15:49.018Z] ---> 72d87a575b4f [2024-11-08T19:15:49.018Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-08T19:15:49.018Z] ---> 16c1b6d6c9b2 [2024-11-08T19:15:49.018Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-08T19:15:49.018Z] ---> Running in ba25ab2797b4 [2024-11-08T19:15:49.277Z] Removing intermediate container ba25ab2797b4 [2024-11-08T19:15:49.277Z] ---> 1e256237ce29 [2024-11-08T19:15:49.277Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-08T19:15:49.277Z] ---> Running in 4c36c5f9b3e6 [2024-11-08T19:15:49.277Z] Removing intermediate container 4c36c5f9b3e6 [2024-11-08T19:15:49.277Z] ---> bd679447611e [2024-11-08T19:15:49.277Z] Step 16/18 : LABEL arch=amd64 [2024-11-08T19:15:49.277Z] ---> Running in 2bdd24f37197 [2024-11-08T19:15:49.277Z] Removing intermediate container 2bdd24f37197 [2024-11-08T19:15:49.277Z] ---> 280915039dc2 [2024-11-08T19:15:49.277Z] Step 17/18 : LABEL git_sha=1a517188ec72746965816536050a47092d8f11ad [2024-11-08T19:15:49.277Z] ---> Running in 6217584a4503 [2024-11-08T19:15:49.535Z] Removing intermediate container 6217584a4503 [2024-11-08T19:15:49.535Z] ---> 1aa33c6e9a9b [2024-11-08T19:15:49.535Z] Step 18/18 : LABEL version=0.0.0 [2024-11-08T19:15:49.535Z] ---> Running in 705c95ffee43 [2024-11-08T19:15:49.535Z] Removing intermediate container 705c95ffee43 [2024-11-08T19:15:49.535Z] ---> 6ad5ef6f8875 [2024-11-08T19:15:49.535Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-11-08T19:15:49.535Z] Successfully built 6ad5ef6f8875 [2024-11-08T19:15:49.535Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:15:50.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T19:15:50.619Z] [2024-11-08T19:15:50.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:15:51.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T19:15:51.030Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T19:15:51.030Z] 5eb5b503b376: Pulling fs layer [2024-11-08T19:15:51.030Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T19:15:51.030Z] ec43610c2a17: Pulling fs layer [2024-11-08T19:15:51.030Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T19:15:51.030Z] 33b1e0a273af: Pulling fs layer [2024-11-08T19:15:51.030Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T19:15:51.030Z] 2f39f015ded8: Pulling fs layer [2024-11-08T19:15:51.030Z] 3a2ae6a8a46f: Waiting [2024-11-08T19:15:51.030Z] 33b1e0a273af: Waiting [2024-11-08T19:15:51.030Z] 2f39f015ded8: Waiting [2024-11-08T19:15:51.030Z] 5d3b04190fa2: Waiting [2024-11-08T19:15:51.030Z] 5c69ac0246d0: Download complete [2024-11-08T19:15:51.030Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-08T19:15:51.030Z] 3a2ae6a8a46f: Download complete [2024-11-08T19:15:51.030Z] 33b1e0a273af: Verifying Checksum [2024-11-08T19:15:51.030Z] 33b1e0a273af: Download complete [2024-11-08T19:15:51.030Z] ec43610c2a17: Verifying Checksum [2024-11-08T19:15:51.030Z] ec43610c2a17: Download complete [2024-11-08T19:15:51.030Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T19:15:51.030Z] 5d3b04190fa2: Download complete [2024-11-08T19:15:51.294Z] 5eb5b503b376: Download complete [2024-11-08T19:15:51.861Z] 2f39f015ded8: Verifying Checksum [2024-11-08T19:15:51.861Z] 2f39f015ded8: Download complete [2024-11-08T19:15:52.426Z] 5eb5b503b376: Pull complete [2024-11-08T19:15:52.426Z] 5c69ac0246d0: Pull complete [2024-11-08T19:15:52.991Z] ec43610c2a17: Pull complete [2024-11-08T19:15:52.991Z] 3a2ae6a8a46f: Pull complete [2024-11-08T19:15:53.249Z] 33b1e0a273af: Pull complete [2024-11-08T19:15:53.249Z] 5d3b04190fa2: Pull complete [2024-11-08T19:15:57.433Z] 2f39f015ded8: Pull complete [2024-11-08T19:15:57.433Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T19:15:57.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T19:15:57.433Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T19:15:57.663Z] prd-ubuntu20.04-docker-8c-8g-25958 does not seem to be running inside a container [2024-11-08T19:15:57.686Z] $ 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-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T19:16:01.786Z] $ docker top 37f2da72381edc31a9aa52f0d8f61cf84ac743b0918e4891cc8b953efa5189a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:16:02.280Z] ---> job-cost.sh [2024-11-08T19:16:02.280Z] lf-activate-venv: SKIPPING [2024-11-08T19:16:02.280Z] INFO: No Stack... [2024-11-08T19:16:02.540Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T19:16:02.798Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T19:16:03.118Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/cost.csv [2024-11-08T19:16:03.118Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T19:16:03.165Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] [2024-11-08T19:16:03.171Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] did not exist. Created. [2024-11-08T19:16:03.177Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T19:16:03.574Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T19:16:03.638Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T19:16:03.658Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T19:16:03.737Z] $ docker stop --time=1 37f2da72381edc31a9aa52f0d8f61cf84ac743b0918e4891cc8b953efa5189a7 [2024-11-08T19:16:04.890Z] $ docker rm -f --volumes 37f2da72381edc31a9aa52f0d8f61cf84ac743b0918e4891cc8b953efa5189a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-08T19:16:55.900Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25959 in /w/workspace/edgexfoundry_device-sdk-c_PR-520 [Pipeline] { [Pipeline] ws [2024-11-08T19:16:55.976Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2024-11-08T19:16:59.084Z] Selected Git installation does not exist. Using Default [2024-11-08T19:16:59.084Z] The recommended git tool is: NONE [2024-11-08T19:17:04.499Z] using credential edgex-jenkins-ssh [2024-11-08T19:17:04.527Z] Cloning the remote Git repository [2024-11-08T19:17:04.583Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-11-08T19:17:04.700Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2024-11-08T19:17:04.893Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-11-08T19:17:04.894Z] > git --version # timeout=10 [2024-11-08T19:17:04.916Z] > git --version # 'git version 2.25.1' [2024-11-08T19:17:04.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T19:17:05.088Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T19:17:06.141Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-11-08T19:17:06.167Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T19:17:07.261Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-11-08T19:17:07.306Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-11-08T19:17:07.307Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T19:17:07.335Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/520/head:refs/remotes/origin/PR-520 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-08T19:17:07.932Z] Merging remotes/origin/main commit 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 into PR head commit 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac [2024-11-08T19:17:08.391Z] Merge succeeded, producing a1285c9c4a50919824972e76a7ef6929cbb7350a [2024-11-08T19:17:08.392Z] Checking out Revision a1285c9c4a50919824972e76a7ef6929cbb7350a (PR-520) [2024-11-08T19:17:07.952Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T19:17:08.024Z] > git checkout -f 2f4b8229e7370b0b7e16fa2f5b159a12b049b4ac # timeout=10 [2024-11-08T19:17:08.160Z] > git remote # timeout=10 [2024-11-08T19:17:08.182Z] > git config --get remote.origin.url # timeout=10 [2024-11-08T19:17:08.208Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T19:17:08.232Z] > git merge 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 [2024-11-08T19:17:08.360Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-08T19:17:08.396Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T19:17:08.416Z] > git checkout -f a1285c9c4a50919824972e76a7ef6929cbb7350a # timeout=10 [2024-11-08T19:17:12.239Z] Commit message: "Merge commit '6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678' into HEAD" [2024-11-08T19:17:12.240Z] First time build. Skipping changelog. [2024-11-08T19:17:12.298Z] > git --version # timeout=10 [2024-11-08T19:17:12.312Z] > git --version # 'git version 2.25.1' [2024-11-08T19:17:12.337Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T19:17:14.446Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T19:17:14.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T19:17:14.447Z] Dload Upload Total Spent Left Speed [2024-11-08T19:17:14.447Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2024-11-08T19:17:14.800Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T19:17:15.173Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T19:17:15.173Z] + sudo tee /etc/docker/daemon.new [2024-11-08T19:17:15.173Z] { [2024-11-08T19:17:15.173Z] "registry-mirrors": [ [2024-11-08T19:17:15.173Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T19:17:15.173Z] ], [2024-11-08T19:17:15.173Z] "bip": "10.250.0.254/24", [2024-11-08T19:17:15.173Z] "hosts": [ [2024-11-08T19:17:15.173Z] "tcp://0.0.0.0:5555", [2024-11-08T19:17:15.173Z] "unix:///var/run/docker.sock" [2024-11-08T19:17:15.173Z] ], [2024-11-08T19:17:15.173Z] "mtu": 1458, [2024-11-08T19:17:15.173Z] "selinux-enabled": true, [2024-11-08T19:17:15.173Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T19:17:15.173Z] } [Pipeline] sh [2024-11-08T19:17:15.540Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T19:17:15.900Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T19:17:34.299Z] provisioning config files... [2024-11-08T19:17:34.335Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config563363432629778703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:17:34.851Z] ---> ****-login.sh [2024-11-08T19:17:34.851Z] nexus3.edgexfoundry.org:10001 [2024-11-08T19:17:35.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:17:35.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:17:35.451Z] Configure a credential helper to remove this warning. See [2024-11-08T19:17:35.451Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:17:35.451Z] [2024-11-08T19:17:35.451Z] Login Succeeded [2024-11-08T19:17:35.451Z] nexus3.edgexfoundry.org:10002 [2024-11-08T19:17:35.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:17:35.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:17:35.994Z] Configure a credential helper to remove this warning. See [2024-11-08T19:17:35.994Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:17:35.994Z] [2024-11-08T19:17:35.994Z] Login Succeeded [2024-11-08T19:17:35.994Z] nexus3.edgexfoundry.org:10003 [2024-11-08T19:17:36.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:17:36.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:17:36.268Z] Configure a credential helper to remove this warning. See [2024-11-08T19:17:36.268Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:17:36.268Z] [2024-11-08T19:17:36.268Z] Login Succeeded [2024-11-08T19:17:36.268Z] nexus3.edgexfoundry.org:10004 [2024-11-08T19:17:36.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:17:36.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:17:36.543Z] Configure a credential helper to remove this warning. See [2024-11-08T19:17:36.543Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:17:36.543Z] [2024-11-08T19:17:36.543Z] Login Succeeded [2024-11-08T19:17:36.813Z] ****.io [2024-11-08T19:17:37.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T19:17:37.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T19:17:37.355Z] Configure a credential helper to remove this warning. See [2024-11-08T19:17:37.355Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T19:17:37.355Z] [2024-11-08T19:17:37.355Z] Login Succeeded [2024-11-08T19:17:37.355Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T19:17:37.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T19:17:37.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T19:17:37.960Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-11-08T19:17:38.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T19:17:38.043Z] ========================================================= [2024-11-08T19:17:38.043Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-11-08T19:17:38.043Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:17:38.530Z] + 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-11-08T19:17:39.120Z] Sending build context to Docker daemon 3.132MB [2024-11-08T19:17:39.120Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-08T19:17:39.120Z] Step 2/22 : FROM ${BASE} as builder [2024-11-08T19:17:39.120Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-11-08T19:17:39.120Z] 579b34f0a95b: Pulling fs layer [2024-11-08T19:17:39.120Z] e71477ac5e1b: Pulling fs layer [2024-11-08T19:17:39.393Z] 579b34f0a95b: Download complete [2024-11-08T19:17:39.983Z] 579b34f0a95b: Pull complete [2024-11-08T19:17:41.942Z] e71477ac5e1b: Verifying Checksum [2024-11-08T19:17:41.942Z] e71477ac5e1b: Download complete [2024-11-08T19:17:54.308Z] e71477ac5e1b: Pull complete [2024-11-08T19:17:54.308Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-11-08T19:17:54.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-11-08T19:17:54.308Z] ---> 2b552cad5dd9 [2024-11-08T19:17:54.308Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-08T19:17:54.308Z] ---> Running in 8ccd695fff85 [2024-11-08T19:17:55.733Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-11-08T19:17:56.003Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-08T19:17:56.003Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-08T19:17:56.003Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-08T19:17:56.982Z] Removing intermediate container 8ccd695fff85 [2024-11-08T19:17:56.982Z] ---> 9066ba9a541e [2024-11-08T19:17:56.982Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-08T19:17:56.982Z] ---> Running in ef9804a8724a [2024-11-08T19:17:58.948Z] Removing intermediate container ef9804a8724a [2024-11-08T19:17:58.948Z] ---> e1f06a225aa1 [2024-11-08T19:17:58.948Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-11-08T19:17:58.948Z] ---> Running in f84e07dd1d24 [2024-11-08T19:17:59.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:18:00.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-08T19:18:00.775Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:18:01.740Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:18:02.009Z] (1/17) Installing hiredis (1.1.0-r2) [2024-11-08T19:18:02.009Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-08T19:18:02.276Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-08T19:18:02.276Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-08T19:18:03.268Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-08T19:18:03.268Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-08T19:18:03.268Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-08T19:18:03.537Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-08T19:18:03.537Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-08T19:18:03.537Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-08T19:18:03.537Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-08T19:18:03.537Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-08T19:18:03.537Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-08T19:18:03.537Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-08T19:18:03.537Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-08T19:18:03.537Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-08T19:18:03.537Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-08T19:18:03.811Z] Executing busybox-1.36.1-r4.trigger [2024-11-08T19:18:03.811Z] OK: 333 MiB in 99 packages [2024-11-08T19:18:05.234Z] Removing intermediate container f84e07dd1d24 [2024-11-08T19:18:05.234Z] ---> cfaefc4f934f [2024-11-08T19:18:05.234Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-08T19:18:05.234Z] ---> Running in f9c01088d1d1 [2024-11-08T19:18:07.193Z] Removing intermediate container f9c01088d1d1 [2024-11-08T19:18:07.193Z] ---> 4519cdbfd1eb [2024-11-08T19:18:07.193Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-08T19:18:07.783Z] ---> 565f0b70ddb7 [2024-11-08T19:18:07.783Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-08T19:18:08.755Z] ---> 90bd3b86017f [2024-11-08T19:18:08.755Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-08T19:18:09.024Z] ---> 28cd73b24c68 [2024-11-08T19:18:09.024Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-08T19:18:09.617Z] ---> 4a1110b0327e [2024-11-08T19:18:09.617Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-08T19:18:10.203Z] ---> b8e6538810cf [2024-11-08T19:18:10.203Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-08T19:18:10.792Z] ---> 59507da1a101 [2024-11-08T19:18:10.792Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-08T19:18:10.792Z] ---> Running in da58dd3fab72 [2024-11-08T19:18:11.764Z] + CPPCHECK=false [2024-11-08T19:18:11.764Z] + DOCGEN=false [2024-11-08T19:18:11.764Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-08T19:18:11.764Z] + '[' 0 -gt 0 ] [2024-11-08T19:18:11.764Z] + readlink -f ./scripts/build.sh [2024-11-08T19:18:11.764Z] + dirname /tmp/sdk/scripts/build.sh [2024-11-08T19:18:11.764Z] + dirname /tmp/sdk/scripts [2024-11-08T19:18:11.764Z] + ROOT=/tmp/sdk [2024-11-08T19:18:11.764Z] + cd /tmp/sdk [2024-11-08T19:18:11.764Z] + mkdir -p /tmp/sdk/build/release [2024-11-08T19:18:11.764Z] + cd /tmp/sdk/build/release [2024-11-08T19:18:11.764Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-08T19:18:12.351Z] -- The C compiler identification is GNU 12.2.1 [2024-11-08T19:18:12.351Z] -- Detecting C compiler ABI info [2024-11-08T19:18:12.624Z] -- Detecting C compiler ABI info - done [2024-11-08T19:18:12.624Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-08T19:18:12.624Z] -- Detecting C compile features [2024-11-08T19:18:12.624Z] -- Detecting C compile features - done [2024-11-08T19:18:12.624Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-08T19:18:12.905Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-08T19:18:12.905Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-08T19:18:12.905Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-08T19:18:12.905Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-08T19:18:12.905Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-08T19:18:12.905Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-08T19:18:13.174Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-08T19:18:13.174Z] -- /opt/iotech/iot/1.5/include [2024-11-08T19:18:13.174Z] -- C SDK 0.0.0 for Linux [2024-11-08T19:18:13.174Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-08T19:18:13.444Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-08T19:18:13.714Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-08T19:18:13.714Z] -- Configuring done (1.8s) [2024-11-08T19:18:13.983Z] -- Generating done (0.3s) [2024-11-08T19:18:13.983Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-08T19:18:13.983Z] + make all package [2024-11-08T19:18:13.983Z] + tee release.log [2024-11-08T19:18:14.252Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-08T19:18:14.839Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-08T19:18:15.804Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-08T19:18:16.768Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-08T19:18:17.367Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-08T19:18:17.961Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-08T19:18:20.549Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-08T19:18:21.134Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-08T19:18:21.134Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-08T19:18:21.134Z] 294 | while (privateConfig) [2024-11-08T19:18:21.134Z] | ^~~~~~~~~~~~~ [2024-11-08T19:18:21.134Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-08T19:18:21.134Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-08T19:18:21.134Z] | ^~~~~~~~~~~~~ [2024-11-08T19:18:21.134Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-08T19:18:21.134Z] 271 | while (result) [2024-11-08T19:18:21.134Z] | ^~~~~~ [2024-11-08T19:18:21.134Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-08T19:18:21.134Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-08T19:18:21.134Z] | ^~~~~~ [2024-11-08T19:18:21.402Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-08T19:18:21.670Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-08T19:18:22.635Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-08T19:18:24.597Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-08T19:18:25.185Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-08T19:18:26.151Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-08T19:18:27.118Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-08T19:18:27.389Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-08T19:18:28.802Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-08T19:18:29.071Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-08T19:18:31.672Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-08T19:18:31.672Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-11-08T19:18:33.654Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-08T19:18:33.922Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-08T19:18:35.345Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-08T19:18:43.584Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-08T19:18:43.584Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-08T19:18:43.584Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-08T19:18:44.170Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-08T19:18:44.439Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-08T19:18:46.402Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-08T19:18:48.377Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-08T19:18:48.963Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-08T19:18:49.924Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-08T19:18:50.509Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-08T19:18:50.778Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-08T19:18:50.778Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-08T19:18:50.778Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-08T19:18:50.778Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-08T19:18:50.778Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-08T19:18:50.778Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-08T19:18:50.778Z] | ^ [2024-11-08T19:18:52.726Z] /tmp/sdk/src/c/service.c:1079:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-08T19:18:52.726Z] 1079 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-08T19:18:52.726Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-08T19:18:52.726Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-11-08T19:18:52.726Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-08T19:18:52.726Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-08T19:18:53.692Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-08T19:18:54.276Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-08T19:18:54.860Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-08T19:18:55.444Z] [ 69%] Linking C shared library libcsdk.so [2024-11-08T19:18:55.444Z] [ 69%] Built target csdk [2024-11-08T19:18:55.711Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-08T19:18:56.701Z] [ 73%] Linking C executable template [2024-11-08T19:18:56.970Z] [ 73%] Built target template [2024-11-08T19:18:56.970Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-08T19:18:57.565Z] [ 76%] Linking C executable device-counter [2024-11-08T19:18:58.152Z] [ 76%] Built target device-counter [2024-11-08T19:18:58.152Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-08T19:18:58.739Z] [ 80%] Linking C executable device-random [2024-11-08T19:18:59.325Z] [ 80%] Built target device-random [2024-11-08T19:18:59.325Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-08T19:18:59.908Z] [ 84%] Linking C executable device-gyro [2024-11-08T19:19:00.494Z] [ 84%] Built target device-gyro [2024-11-08T19:19:00.494Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-08T19:19:01.086Z] [ 88%] Linking C executable device-bitfields [2024-11-08T19:19:01.728Z] [ 88%] Built target device-bitfields [2024-11-08T19:19:01.728Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-08T19:19:02.692Z] [ 92%] Linking C executable template-discovery [2024-11-08T19:19:03.275Z] [ 92%] Built target template-discovery [2024-11-08T19:19:03.275Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-08T19:19:03.948Z] [ 96%] Linking C executable device-file [2024-11-08T19:19:04.566Z] [ 96%] Built target device-file [2024-11-08T19:19:04.566Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-08T19:19:05.558Z] [100%] Linking C executable device-terminal [2024-11-08T19:19:05.830Z] [100%] Built target device-terminal [2024-11-08T19:19:06.115Z] Run CPack packaging tool... [2024-11-08T19:19:06.115Z] CPack: Create package using TGZ [2024-11-08T19:19:06.115Z] CPack: Install projects [2024-11-08T19:19:06.115Z] CPack: - Run preinstall target for: Csdk [2024-11-08T19:19:07.103Z] CPack: - Install project: Csdk [] [2024-11-08T19:19:07.103Z] CPack: Create package [2024-11-08T19:19:07.103Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-11-08T19:19:07.103Z] + '[' false '=' true ] [2024-11-08T19:19:07.103Z] + '[' false '=' true ] [2024-11-08T19:19:07.103Z] + mkdir -p /tmp/sdk/build/debug [2024-11-08T19:19:07.103Z] + cd /tmp/sdk/build/debug [2024-11-08T19:19:07.103Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-08T19:19:07.689Z] -- The C compiler identification is GNU 12.2.1 [2024-11-08T19:19:07.689Z] -- Detecting C compiler ABI info [2024-11-08T19:19:07.959Z] -- Detecting C compiler ABI info - done [2024-11-08T19:19:07.959Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-08T19:19:07.959Z] -- Detecting C compile features [2024-11-08T19:19:07.959Z] -- Detecting C compile features - done [2024-11-08T19:19:07.959Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-08T19:19:08.230Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-08T19:19:08.230Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-08T19:19:08.230Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-08T19:19:08.230Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-08T19:19:08.230Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-08T19:19:10.021Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-08T19:19:10.021Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-08T19:19:10.021Z] -- /opt/iotech/iot/1.5/include [2024-11-08T19:19:10.021Z] -- C SDK 0.0.0 for Linux [2024-11-08T19:19:10.021Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-08T19:19:10.021Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-08T19:19:10.021Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-08T19:19:10.021Z] -- Configuring done (1.9s) [2024-11-08T19:19:10.021Z] -- Generating done (0.3s) [2024-11-08T19:19:10.021Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-08T19:19:10.021Z] + make [2024-11-08T19:19:10.021Z] + tee debug.log [2024-11-08T19:19:10.021Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-08T19:19:10.021Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-08T19:19:10.289Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-08T19:19:10.875Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-08T19:19:11.143Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-08T19:19:11.412Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-08T19:19:12.372Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-08T19:19:12.643Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-08T19:19:12.911Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-08T19:19:13.496Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-08T19:19:14.082Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-08T19:19:14.350Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-08T19:19:14.935Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-08T19:19:15.202Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-08T19:19:15.787Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-08T19:19:16.056Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-08T19:19:16.323Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-08T19:19:16.922Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-08T19:19:17.189Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-11-08T19:19:17.773Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-08T19:19:18.041Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-08T19:19:18.626Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-08T19:19:20.036Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-08T19:19:20.304Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-08T19:19:20.573Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-08T19:19:20.841Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-08T19:19:21.111Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-08T19:19:21.698Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-08T19:19:23.116Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-08T19:19:23.385Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-08T19:19:23.969Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-08T19:19:24.237Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-08T19:19:24.509Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-08T19:19:24.509Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-08T19:19:24.509Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-08T19:19:24.509Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-08T19:19:24.509Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-08T19:19:24.509Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-08T19:19:24.509Z] | ^ [2024-11-08T19:19:25.476Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-08T19:19:25.744Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-08T19:19:26.011Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-08T19:19:26.280Z] [ 69%] Linking C shared library libcsdk.so [2024-11-08T19:19:26.548Z] [ 69%] Built target csdk [2024-11-08T19:19:26.548Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-08T19:19:27.140Z] [ 73%] Linking C executable template [2024-11-08T19:19:27.725Z] [ 73%] Built target template [2024-11-08T19:19:27.725Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-08T19:19:27.993Z] [ 76%] Linking C executable device-counter [2024-11-08T19:19:28.579Z] [ 76%] Built target device-counter [2024-11-08T19:19:28.579Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-08T19:19:29.166Z] [ 80%] Linking C executable device-random [2024-11-08T19:19:29.435Z] [ 80%] Built target device-random [2024-11-08T19:19:29.702Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-08T19:19:29.973Z] [ 84%] Linking C executable device-gyro [2024-11-08T19:19:30.557Z] [ 84%] Built target device-gyro [2024-11-08T19:19:30.557Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-08T19:19:30.826Z] [ 88%] Linking C executable device-bitfields [2024-11-08T19:19:31.412Z] [ 88%] Built target device-bitfields [2024-11-08T19:19:31.412Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-08T19:19:31.999Z] [ 92%] Linking C executable template-discovery [2024-11-08T19:19:32.585Z] [ 92%] Built target template-discovery [2024-11-08T19:19:32.585Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-08T19:19:33.173Z] [ 96%] Linking C executable device-file [2024-11-08T19:19:33.440Z] [ 96%] Built target device-file [2024-11-08T19:19:33.710Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-08T19:19:33.982Z] [100%] Linking C executable device-terminal [2024-11-08T19:19:34.569Z] [100%] Built target device-terminal [2024-11-08T19:19:34.569Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-08T19:19:34.837Z] [ 69%] Built target csdk [2024-11-08T19:19:34.837Z] [ 73%] Built target template [2024-11-08T19:19:35.105Z] [ 76%] Built target device-counter [2024-11-08T19:19:35.105Z] [ 80%] Built target device-random [2024-11-08T19:19:35.105Z] [ 84%] Built target device-gyro [2024-11-08T19:19:35.105Z] [ 88%] Built target device-bitfields [2024-11-08T19:19:35.374Z] [ 92%] Built target template-discovery [2024-11-08T19:19:35.374Z] [ 96%] Built target device-file [2024-11-08T19:19:35.374Z] [100%] Built target device-terminal [2024-11-08T19:19:35.374Z] Install the project... [2024-11-08T19:19:35.374Z] -- Install configuration: "Release" [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-08T19:19:35.644Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include/devsdk [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include/edgex [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-08T19:19:35.644Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-08T19:19:35.644Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-08T19:19:37.057Z] Removing intermediate container da58dd3fab72 [2024-11-08T19:19:37.057Z] ---> 64b3699b413b [2024-11-08T19:19:37.057Z] Step 14/22 : FROM ${BASE} [2024-11-08T19:19:37.057Z] ---> 2b552cad5dd9 [2024-11-08T19:19:37.057Z] Step 15/22 : LABEL maintainer="IOTech " [2024-11-08T19:19:37.057Z] ---> Running in 72ffa7bf6f3f [2024-11-08T19:19:37.645Z] Removing intermediate container 72ffa7bf6f3f [2024-11-08T19:19:37.645Z] ---> 73b2e77ee7f7 [2024-11-08T19:19:37.645Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-08T19:19:37.645Z] ---> Running in 657bef500013 [2024-11-08T19:19:38.607Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-08T19:19:39.191Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-08T19:19:39.191Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-08T19:19:39.191Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-08T19:19:39.781Z] Removing intermediate container 657bef500013 [2024-11-08T19:19:39.781Z] ---> 459f0613e248 [2024-11-08T19:19:39.781Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-08T19:19:40.053Z] ---> Running in 2405e03c4c78 [2024-11-08T19:19:41.994Z] Removing intermediate container 2405e03c4c78 [2024-11-08T19:19:41.995Z] ---> 4905a3f316bb [2024-11-08T19:19:41.995Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-11-08T19:19:41.995Z] ---> Running in 007eab0eb90f [2024-11-08T19:19:42.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:19:43.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-08T19:19:43.817Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:19:44.778Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:19:44.778Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-08T19:19:44.778Z] (2/10) Installing curl (8.9.1-r1) [2024-11-08T19:19:44.778Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-08T19:19:45.045Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-08T19:19:45.045Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-08T19:19:45.045Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-08T19:19:45.045Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-08T19:19:45.045Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-08T19:19:46.002Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-08T19:19:46.002Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-08T19:19:46.002Z] Executing busybox-1.36.1-r4.trigger [2024-11-08T19:19:46.276Z] OK: 328 MiB in 90 packages [2024-11-08T19:19:47.242Z] Removing intermediate container 007eab0eb90f [2024-11-08T19:19:47.242Z] ---> 4165d60ef200 [2024-11-08T19:19:47.242Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-08T19:19:47.510Z] ---> Running in 059455756cb3 [2024-11-08T19:19:48.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:19:48.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-08T19:19:49.341Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:19:50.395Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:19:50.395Z] Upgrading critical system libraries and apk-tools: [2024-11-08T19:19:50.395Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-08T19:19:50.395Z] Executing busybox-1.36.1-r4.trigger [2024-11-08T19:19:50.684Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T19:19:50.952Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:19:51.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-08T19:19:51.803Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:19:52.386Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:19:52.654Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-08T19:19:52.654Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-08T19:19:52.654Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-08T19:19:52.654Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-08T19:19:52.654Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-08T19:19:52.922Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-08T19:19:52.922Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-08T19:19:52.922Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-08T19:19:52.922Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-08T19:19:52.922Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-08T19:19:53.190Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-08T19:19:53.190Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-08T19:19:53.458Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-08T19:19:53.458Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-08T19:19:53.725Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-08T19:19:53.725Z] Executing busybox-1.36.1-r7.trigger [2024-11-08T19:19:53.725Z] Executing ca-certificates-20240226-r0.trigger [2024-11-08T19:19:53.996Z] OK: 328 MiB in 90 packages [2024-11-08T19:19:55.948Z] Removing intermediate container 059455756cb3 [2024-11-08T19:19:55.948Z] ---> a20dbe22f026 [2024-11-08T19:19:55.948Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-08T19:19:56.533Z] ---> 52acce6b6098 [2024-11-08T19:19:56.533Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-08T19:19:57.494Z] ---> 205ac53008c9 [2024-11-08T19:19:57.494Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-08T19:19:58.076Z] ---> 0443ae592743 [2024-11-08T19:19:58.077Z] Successfully built 0443ae592743 [2024-11-08T19:19:58.077Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:19:58.958Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T19:19:58.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T19:19:59.280Z] prd-ubuntu20.04-docker-arm64-4c-16g-25959 does not seem to be running inside a container [2024-11-08T19:19:59.345Z] $ 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-11-08T19:20:00.604Z] $ docker top 213f2522df20273c4fb1391ab6e1f309c373177b6190a415c71fef973d42227d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T19:20:01.523Z] + make test [2024-11-08T19:20:01.523Z] echo "make test" [2024-11-08T19:20:01.523Z] make test [Pipeline] } [2024-11-08T19:20:01.561Z] $ docker stop --time=1 213f2522df20273c4fb1391ab6e1f309c373177b6190a415c71fef973d42227d [2024-11-08T19:20:03.195Z] $ docker rm -f --volumes 213f2522df20273c4fb1391ab6e1f309c373177b6190a415c71fef973d42227d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T19:20:04.063Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T19:20:04.399Z] + ls -al . [2024-11-08T19:20:04.399Z] total 208 [2024-11-08T19:20:04.399Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:17 . [2024-11-08T19:20:04.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:17 .. [2024-11-08T19:20:04.399Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 19:17 .git [2024-11-08T19:20:04.399Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 19:17 .github [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 8 19:17 .gitignore [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 8 19:17 Attribution.txt [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 8 19:17 CHANGELOG.md [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 8 19:17 Doxyfile [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 19:17 GOVERNANCE.md [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 8 19:17 Jenkinsfile [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 8 19:17 LICENSE [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 8 19:17 Makefile [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 8 19:17 OWNERS.md [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 8 19:17 README.IOT.md [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 8 19:17 README.md [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 8 19:17 README.v3.md [2024-11-08T19:20:04.399Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 19:15 VERSION [2024-11-08T19:20:04.399Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:17 docs [2024-11-08T19:20:04.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:17 include [2024-11-08T19:20:04.399Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 19:17 scripts [2024-11-08T19:20:04.399Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 19:17 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:20:04.849Z] + 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=a1285c9c4a50919824972e76a7ef6929cbb7350a --label arch=arm64 --label version=0.0.0 . [2024-11-08T19:20:05.437Z] Sending build context to Docker daemon 3.132MB [2024-11-08T19:20:05.437Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-08T19:20:05.437Z] Step 2/18 : FROM ${BASE} [2024-11-08T19:20:05.437Z] ---> 0443ae592743 [2024-11-08T19:20:05.437Z] Step 3/18 : LABEL maintainer="IOTech " [2024-11-08T19:20:05.437Z] ---> Running in e6baca23adbc [2024-11-08T19:20:05.705Z] Removing intermediate container e6baca23adbc [2024-11-08T19:20:05.705Z] ---> ff8cacdd73ee [2024-11-08T19:20:05.705Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-11-08T19:20:05.705Z] ---> Running in c001e2c71c76 [2024-11-08T19:20:06.666Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-08T19:20:07.250Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-08T19:20:07.250Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-08T19:20:07.250Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-08T19:20:08.215Z] Removing intermediate container c001e2c71c76 [2024-11-08T19:20:08.215Z] ---> f026cfb75553 [2024-11-08T19:20:08.215Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-08T19:20:08.215Z] ---> Running in 3d63dc815841 [2024-11-08T19:20:10.160Z] Removing intermediate container 3d63dc815841 [2024-11-08T19:20:10.160Z] ---> ae4930f12f21 [2024-11-08T19:20:10.160Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-11-08T19:20:10.160Z] ---> Running in 7ce2db6b069c [2024-11-08T19:20:11.123Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:20:11.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-08T19:20:11.973Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:20:12.931Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:20:12.931Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-08T19:20:13.198Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-08T19:20:13.198Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-08T19:20:13.198Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-08T19:20:13.198Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-08T19:20:13.198Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-08T19:20:13.198Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-08T19:20:13.198Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-08T19:20:13.198Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-08T19:20:13.198Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-08T19:20:13.468Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-08T19:20:13.468Z] Executing busybox-1.36.1-r7.trigger [2024-11-08T19:20:13.468Z] OK: 334 MiB in 101 packages [2024-11-08T19:20:14.879Z] Removing intermediate container 7ce2db6b069c [2024-11-08T19:20:14.879Z] ---> d8aa224cd0c4 [2024-11-08T19:20:14.879Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-08T19:20:14.879Z] ---> Running in d16e22fa805a [2024-11-08T19:20:15.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:20:16.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-08T19:20:16.687Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-08T19:20:17.646Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-08T19:20:17.646Z] OK: 334 MiB in 101 packages [2024-11-08T19:20:18.609Z] Removing intermediate container d16e22fa805a [2024-11-08T19:20:18.609Z] ---> 819b2e522a0e [2024-11-08T19:20:18.609Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-08T19:20:20.015Z] ---> 3beea1126695 [2024-11-08T19:20:20.015Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-08T19:20:20.976Z] ---> 20f280fc7afe [2024-11-08T19:20:20.976Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-08T19:20:21.244Z] ---> bdf2f97e7488 [2024-11-08T19:20:21.244Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-08T19:20:21.831Z] ---> 76da0495c6b6 [2024-11-08T19:20:21.831Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-08T19:20:22.418Z] ---> 27a6decec4e2 [2024-11-08T19:20:22.418Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-08T19:20:23.004Z] ---> d910d882c649 [2024-11-08T19:20:23.004Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-08T19:20:23.004Z] ---> Running in 144b63188289 [2024-11-08T19:20:23.271Z] Removing intermediate container 144b63188289 [2024-11-08T19:20:23.271Z] ---> 605772129d87 [2024-11-08T19:20:23.271Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-08T19:20:23.537Z] ---> Running in e394052e2f6d [2024-11-08T19:20:23.806Z] Removing intermediate container e394052e2f6d [2024-11-08T19:20:23.806Z] ---> 6a01f081aa30 [2024-11-08T19:20:23.806Z] Step 16/18 : LABEL arch=arm64 [2024-11-08T19:20:23.806Z] ---> Running in 071a5923cea3 [2024-11-08T19:20:24.072Z] Removing intermediate container 071a5923cea3 [2024-11-08T19:20:24.072Z] ---> 4716658e9b7b [2024-11-08T19:20:24.072Z] Step 17/18 : LABEL git_sha=a1285c9c4a50919824972e76a7ef6929cbb7350a [2024-11-08T19:20:24.072Z] ---> Running in 81cbd96517eb [2024-11-08T19:20:24.339Z] Removing intermediate container 81cbd96517eb [2024-11-08T19:20:24.339Z] ---> 14098bccb913 [2024-11-08T19:20:24.339Z] Step 18/18 : LABEL version=0.0.0 [2024-11-08T19:20:24.604Z] ---> Running in b010374eafc1 [2024-11-08T19:20:24.868Z] Removing intermediate container b010374eafc1 [2024-11-08T19:20:24.868Z] ---> 323be09f3e21 [2024-11-08T19:20:24.868Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-11-08T19:20:24.868Z] Successfully built 323be09f3e21 [2024-11-08T19:20:24.868Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:20:25.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T19:20:25.867Z] [2024-11-08T19:20:25.867Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:20:26.314Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T19:20:26.584Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T19:20:26.584Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T19:20:26.584Z] 04944245beec: Pulling fs layer [2024-11-08T19:20:26.584Z] 699f458cf7ca: Pulling fs layer [2024-11-08T19:20:26.584Z] 765212b225bb: Pulling fs layer [2024-11-08T19:20:26.584Z] f23df028b6ca: Pulling fs layer [2024-11-08T19:20:26.584Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T19:20:26.584Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T19:20:26.584Z] f23df028b6ca: Waiting [2024-11-08T19:20:26.584Z] d65c8cfc05b1: Waiting [2024-11-08T19:20:26.584Z] 2437ff75d9bd: Waiting [2024-11-08T19:20:26.584Z] 04944245beec: Verifying Checksum [2024-11-08T19:20:26.584Z] 04944245beec: Download complete [2024-11-08T19:20:26.584Z] 765212b225bb: Verifying Checksum [2024-11-08T19:20:26.584Z] 765212b225bb: Download complete [2024-11-08T19:20:26.584Z] f23df028b6ca: Verifying Checksum [2024-11-08T19:20:26.584Z] f23df028b6ca: Download complete [2024-11-08T19:20:26.863Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T19:20:26.863Z] d65c8cfc05b1: Download complete [2024-11-08T19:20:26.863Z] 699f458cf7ca: Verifying Checksum [2024-11-08T19:20:26.863Z] 699f458cf7ca: Download complete [2024-11-08T19:20:27.469Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T19:20:27.469Z] 8998bd30e6a1: Download complete [2024-11-08T19:20:30.061Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T19:20:30.061Z] 2437ff75d9bd: Download complete [2024-11-08T19:20:31.995Z] 8998bd30e6a1: Pull complete [2024-11-08T19:20:31.996Z] 04944245beec: Pull complete [2024-11-08T19:20:33.403Z] 699f458cf7ca: Pull complete [2024-11-08T19:20:33.667Z] 765212b225bb: Pull complete [2024-11-08T19:20:34.620Z] f23df028b6ca: Pull complete [2024-11-08T19:20:34.620Z] d65c8cfc05b1: Pull complete [2024-11-08T19:20:49.585Z] 2437ff75d9bd: Pull complete [2024-11-08T19:20:49.585Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T19:20:49.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T19:20:49.585Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T19:20:49.944Z] prd-ubuntu20.04-docker-arm64-4c-16g-25959 does not seem to be running inside a container [2024-11-08T19:20:49.998Z] $ 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-11-08T19:20:52.429Z] $ docker top 193e086a502ac48e9663abb80677a2b31d79abb91d476b36da3c2ac9f7970b1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:20:53.318Z] ---> job-cost.sh [2024-11-08T19:20:53.318Z] lf-activate-venv: SKIPPING [2024-11-08T19:20:53.318Z] INFO: No Stack... [2024-11-08T19:20:53.581Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T19:20:54.531Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T19:20:54.872Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2024-11-08T19:20:54.872Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T19:20:55.221Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] [2024-11-08T19:20:55.229Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] did not exist. Created. [2024-11-08T19:20:55.235Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T19:20:55.974Z] /w/workspace/device-sdk-c/1@tmp/durable-d1cecbd2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T19:20:56.634Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T19:20:56.676Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T19:20:57.162Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T19:20:57.188Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T19:20:57.276Z] $ docker stop --time=1 193e086a502ac48e9663abb80677a2b31d79abb91d476b36da3c2ac9f7970b1d [2024-11-08T19:20:58.734Z] $ docker rm -f --volumes 193e086a502ac48e9663abb80677a2b31d79abb91d476b36da3c2ac9f7970b1d [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] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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-11-08T19:21:00.703Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives ] [2024-11-08T19:21:00.703Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives [2024-11-08T19:21:00.703Z] total 16 [2024-11-08T19:21:00.703Z] drwxr-xr-x 3 root root 4096 Nov 8 19:16 . [2024-11-08T19:21:00.703Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 19:16 .. [2024-11-08T19:21:00.703Z] drwxr-xr-x 2 root root 4096 Nov 8 19:16 cost [2024-11-08T19:21:00.703Z] -rw-r--r-- 1 root root 84 Nov 8 19:16 cost.csv [2024-11-08T19:21:00.703Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives [2024-11-08T19:21:00.703Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives [2024-11-08T19:21:00.703Z] total 16 [2024-11-08T19:21:00.703Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 19:16 . [2024-11-08T19:21:00.703Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 19:16 .. [2024-11-08T19:21:00.703Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 19:16 cost [2024-11-08T19:21:00.703Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 8 19:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:21:01.044Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:21:01.944Z] ---> package-listing.sh [2024-11-08T19:21:01.944Z] ++ facter osfamily [2024-11-08T19:21:01.944Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T19:21:02.205Z] + OS_FAMILY=debian [2024-11-08T19:21:02.205Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-520 [2024-11-08T19:21:02.205Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T19:21:02.205Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T19:21:02.205Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T19:21:02.205Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T19:21:02.205Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-520 ']' [2024-11-08T19:21:02.205Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T19:21:02.205Z] + case "${OS_FAMILY}" in [2024-11-08T19:21:02.205Z] + dpkg -l [2024-11-08T19:21:02.205Z] + grep '^ii' [2024-11-08T19:21:02.205Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T19:21:02.205Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T19:21:02.205Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T19:21:02.205Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-520 ']' [2024-11-08T19:21:02.205Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/ [2024-11-08T19:21:02.205Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/ [Pipeline] echo [2024-11-08T19:21:02.247Z] 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-520/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T19:21:02.544Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T19:21:03.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T19:21:03.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T19:21:03.354Z] prd-ubuntu20.04-docker-8c-8g-25958 does not seem to be running inside a container [2024-11-08T19:21:03.383Z] $ 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-520/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-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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-11-08T19:21:03.590Z] $ docker top 44537c536fe1b33b25fe834ed981593cfe33e58256094ffc316c489e139a3662 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T19:21:04.001Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T19:21:04.315Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T19:21:04.633Z] + ls /var/log/sa-host [2024-11-08T19:21:04.633Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T19:21:04.868Z] provisioning config files... [2024-11-08T19:21:04.876Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config5914883750227961805tmp [Pipeline] { [Pipeline] echo [2024-11-08T19:21:04.940Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:21:05.263Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T19:21:05.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:21:05.724Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T19:21:05.763Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:21:06.090Z] ---> sudo-logs.sh [2024-11-08T19:21:06.090Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T19:21:06.194Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:21:06.518Z] ---> job-cost.sh [2024-11-08T19:21:06.518Z] lf-activate-venv: SKIPPING [2024-11-08T19:21:06.518Z] DEBUG: total: 0.2199999988079071 [2024-11-08T19:21:06.518Z] INFO: Retrieving Stack Cost... [2024-11-08T19:21:06.779Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T19:21:07.040Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T19:21:07.084Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T19:21:07.415Z] ---> logs-deploy.sh [2024-11-08T19:21:07.415Z] lf-activate-venv: SKIPPING [2024-11-08T19:21:07.415Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-520/1 [2024-11-08T19:21:07.415Z] INFO: archiving workspace using pattern(s): [2024-11-08T19:21:08.354Z] Archives upload complete. [2024-11-08T19:21:08.354Z] INFO: archiving logs to Nexus