Pull request #502 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from b31876e0e4aaf1f3522feeabf3d32bf782af7a14+1a776ee907d08e39928eb07fc2284b30a6e0a694 (9975ae8966674b511d14ce17ec96d66ebd2384bc) 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-ssh9874975200633862821.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1017474121242514098.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-502/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-502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12493004786509202256.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-502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7564110445987341371.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7819953498922869059.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-502/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-502/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12731254695234023275.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-25908 in /w/workspace/edgexfoundry_device-sdk-c_PR-502 [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-502 # 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/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit b31876e0e4aaf1f3522feeabf3d32bf782af7a14 Merge succeeded, producing b31876e0e4aaf1f3522feeabf3d32bf782af7a14 Checking out Revision b31876e0e4aaf1f3522feeabf3d32bf782af7a14 (PR-502) > git config core.sparsecheckout # timeout=10 > git checkout -f b31876e0e4aaf1f3522feeabf3d32bf782af7a14 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b31876e0e4aaf1f3522feeabf3d32bf782af7a14 # timeout=10 Commit message: "fix: Remove the refcount from the autoevent impl structure" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-21T15:42:27.665Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-21T15:42:27.874Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-21T15:42:28.065Z] ========================================================= [2023-12-21T15:42:28.065Z] EdgeX Global Pipelines Version Info [2023-12-21T15:42:28.065Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:42:28.859Z] ------------------- [2023-12-21T15:42:28.859Z] stable info: [2023-12-21T15:42:28.859Z] ------------------- [2023-12-21T15:42:28.859Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-21T15:42:28.859Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-21T15:42:28.859Z] Message: update stable to v1.0.258 [2023-12-21T15:42:29.429Z] ------------------- [2023-12-21T15:42:29.429Z] experimental info: [2023-12-21T15:42:29.429Z] ------------------- [2023-12-21T15:42:29.429Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-21T15:42:29.429Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-21T15:42:29.429Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-21T15:42:29.654Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-12-21T15:42:29.712Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-12-21T15:42:29.768Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-21T15:42:29.827Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-21T15:42:29.883Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-21T15:42:29.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-12-21T15:42:30.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-12-21T15:42:30.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-21T15:42:30.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-21T15:42:30.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-12-21T15:42:30.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-21T15:42:30.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-21T15:42:30.361Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-21T15:42:30.424Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-12-21T15:42:30.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-21T15:42:30.556Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-21T15:42:30.619Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-21T15:42:30.672Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-502 [Pipeline] echo [2023-12-21T15:42:30.759Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-502 [Pipeline] echo [2023-12-21T15:42:30.822Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-502 [Pipeline] echo [2023-12-21T15:42:30.894Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b31876e0e4aaf1f3522feeabf3d32bf782af7a14 [Pipeline] echo [2023-12-21T15:42:30.963Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b31876e [Pipeline] echo [2023-12-21T15:42:31.034Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-21T15:42:31.190Z] provisioning config files... [2023-12-21T15:42:31.204Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp/config6107346157576064442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:42:31.596Z] ---> ****-login.sh [2023-12-21T15:42:31.596Z] nexus3.edgexfoundry.org:10001 [2023-12-21T15:42:31.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:42:31.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:42:31.856Z] Configure a credential helper to remove this warning. See [2023-12-21T15:42:31.856Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:42:31.856Z] [2023-12-21T15:42:31.856Z] Login Succeeded [2023-12-21T15:42:31.856Z] nexus3.edgexfoundry.org:10002 [2023-12-21T15:42:31.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:42:32.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:42:32.117Z] Configure a credential helper to remove this warning. See [2023-12-21T15:42:32.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:42:32.117Z] [2023-12-21T15:42:32.117Z] Login Succeeded [2023-12-21T15:42:32.117Z] nexus3.edgexfoundry.org:10003 [2023-12-21T15:42:32.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:42:32.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:42:32.117Z] Configure a credential helper to remove this warning. See [2023-12-21T15:42:32.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:42:32.117Z] [2023-12-21T15:42:32.117Z] Login Succeeded [2023-12-21T15:42:32.117Z] nexus3.edgexfoundry.org:10004 [2023-12-21T15:42:32.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:42:32.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:42:32.117Z] Configure a credential helper to remove this warning. See [2023-12-21T15:42:32.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:42:32.117Z] [2023-12-21T15:42:32.117Z] Login Succeeded [2023-12-21T15:42:32.117Z] ****.io [2023-12-21T15:42:32.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:42:32.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:42:32.379Z] Configure a credential helper to remove this warning. See [2023-12-21T15:42:32.379Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:42:32.379Z] [2023-12-21T15:42:32.379Z] Login Succeeded [2023-12-21T15:42:32.379Z] ---> ****-login.sh ends [Pipeline] } [2023-12-21T15:42:32.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-12-21T15:42:33.163Z] + git rev-list -1 --merges b31876e0e4aaf1f3522feeabf3d32bf782af7a14~1..b31876e0e4aaf1f3522feeabf3d32bf782af7a14 [Pipeline] echo [2023-12-21T15:42:33.206Z] -----------> git rev-list -1 --merges b31876e0e4aaf1f3522feeabf3d32bf782af7a14~1..b31876e0e4aaf1f3522feeabf3d32bf782af7a14 b31876e0e4aaf1f3522feeabf3d32bf782af7a14 [false] [Pipeline] sh [2023-12-21T15:42:33.533Z] + git log --format=format:%s -1 b31876e0e4aaf1f3522feeabf3d32bf782af7a14 [Pipeline] echo [2023-12-21T15:42:33.575Z] ========================================================= [2023-12-21T15:42:33.575Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-21T15:42:33.575Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-21T15:42:34.586Z] + git rev-list -1 --merges b31876e0e4aaf1f3522feeabf3d32bf782af7a14~1..b31876e0e4aaf1f3522feeabf3d32bf782af7a14 [Pipeline] echo [2023-12-21T15:42:34.618Z] -----------> git rev-list -1 --merges b31876e0e4aaf1f3522feeabf3d32bf782af7a14~1..b31876e0e4aaf1f3522feeabf3d32bf782af7a14 b31876e0e4aaf1f3522feeabf3d32bf782af7a14 [false] [Pipeline] sh [2023-12-21T15:42:34.944Z] + git log --format=format:%s -1 b31876e0e4aaf1f3522feeabf3d32bf782af7a14 [Pipeline] echo [2023-12-21T15:42:34.981Z] ========================================================= [2023-12-21T15:42:34.981Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-21T15:42:34.981Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-12-21T15:42:35.512Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-21T15:42:35.512Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-21T15:42:35.512Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-21T15:42:35.512Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-21T15:42:35.512Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-21T15:42:35.512Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-21T15:42:35.512Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:42:36.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-21T15:42:36.026Z] [2023-12-21T15:42:36.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:42:36.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-21T15:42:36.428Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-21T15:42:36.428Z] b85a868b505f: Pulling fs layer [2023-12-21T15:42:36.428Z] e2be974225ed: Pulling fs layer [2023-12-21T15:42:36.428Z] 339a4e72a1f5: Pulling fs layer [2023-12-21T15:42:36.428Z] 988bab9f4d93: Pulling fs layer [2023-12-21T15:42:36.428Z] 1469e6f7b9e6: Pulling fs layer [2023-12-21T15:42:36.428Z] eaf3925da568: Pulling fs layer [2023-12-21T15:42:36.428Z] bab4dde63d76: Pulling fs layer [2023-12-21T15:42:36.428Z] bde34c3a00c8: Pulling fs layer [2023-12-21T15:42:36.428Z] b352a97aabf1: Pulling fs layer [2023-12-21T15:42:36.428Z] 4872d77fe225: Pulling fs layer [2023-12-21T15:42:36.428Z] 5851b861e8e6: Pulling fs layer [2023-12-21T15:42:36.428Z] 1469e6f7b9e6: Waiting [2023-12-21T15:42:36.428Z] eaf3925da568: Waiting [2023-12-21T15:42:36.428Z] bab4dde63d76: Waiting [2023-12-21T15:42:36.428Z] bde34c3a00c8: Waiting [2023-12-21T15:42:36.428Z] b352a97aabf1: Waiting [2023-12-21T15:42:36.428Z] 4872d77fe225: Waiting [2023-12-21T15:42:36.428Z] 5851b861e8e6: Waiting [2023-12-21T15:42:36.428Z] 988bab9f4d93: Waiting [2023-12-21T15:42:36.428Z] e2be974225ed: Download complete [2023-12-21T15:42:36.428Z] 988bab9f4d93: Verifying Checksum [2023-12-21T15:42:36.428Z] 988bab9f4d93: Download complete [2023-12-21T15:42:36.428Z] 1469e6f7b9e6: Verifying Checksum [2023-12-21T15:42:36.428Z] 1469e6f7b9e6: Download complete [2023-12-21T15:42:36.428Z] 339a4e72a1f5: Verifying Checksum [2023-12-21T15:42:36.428Z] 339a4e72a1f5: Download complete [2023-12-21T15:42:36.428Z] eaf3925da568: Verifying Checksum [2023-12-21T15:42:36.428Z] eaf3925da568: Download complete [2023-12-21T15:42:36.687Z] bde34c3a00c8: Verifying Checksum [2023-12-21T15:42:36.687Z] bde34c3a00c8: Download complete [2023-12-21T15:42:36.687Z] b352a97aabf1: Verifying Checksum [2023-12-21T15:42:36.687Z] b352a97aabf1: Download complete [2023-12-21T15:42:36.687Z] 4872d77fe225: Verifying Checksum [2023-12-21T15:42:36.687Z] 4872d77fe225: Download complete [2023-12-21T15:42:36.687Z] 5851b861e8e6: Verifying Checksum [2023-12-21T15:42:36.687Z] 5851b861e8e6: Download complete [2023-12-21T15:42:36.687Z] b85a868b505f: Verifying Checksum [2023-12-21T15:42:36.687Z] b85a868b505f: Download complete [2023-12-21T15:42:36.946Z] bab4dde63d76: Verifying Checksum [2023-12-21T15:42:36.946Z] bab4dde63d76: Download complete [2023-12-21T15:42:37.883Z] b85a868b505f: Pull complete [2023-12-21T15:42:38.144Z] e2be974225ed: Pull complete [2023-12-21T15:42:38.403Z] 339a4e72a1f5: Pull complete [2023-12-21T15:42:38.663Z] 988bab9f4d93: Pull complete [2023-12-21T15:42:38.922Z] 1469e6f7b9e6: Pull complete [2023-12-21T15:42:38.922Z] eaf3925da568: Pull complete [2023-12-21T15:42:40.308Z] bab4dde63d76: Pull complete [2023-12-21T15:42:40.308Z] bde34c3a00c8: Pull complete [2023-12-21T15:42:40.567Z] b352a97aabf1: Pull complete [2023-12-21T15:42:40.568Z] 4872d77fe225: Pull complete [2023-12-21T15:42:40.568Z] 5851b861e8e6: Pull complete [2023-12-21T15:42:40.568Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-21T15:42:40.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-21T15:42:40.568Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-21T15:42:40.899Z] prd-ubuntu20.04-docker-8c-8g-25908 does not seem to be running inside a container [2023-12-21T15:42:40.945Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-502 -v /w/workspace/edgexfoundry_device-sdk-c_PR-502:/w/workspace/edgexfoundry_device-sdk-c_PR-502:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-12-21T15:42:44.007Z] $ docker top d2a1fcaed0a1421fc4dfe2a6a88c27b042aa5aee778d8954707cb18f6cbc20fb -eo pid,comm [2023-12-21T15:42:44.052Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-12-21T15:42:44.052Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-21T15:42:44.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-21T15:42:44.250Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-21T15:42:44.339Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-21T15:42:44.344Z] $ docker exec d2a1fcaed0a1421fc4dfe2a6a88c27b042aa5aee778d8954707cb18f6cbc20fb ssh-agent [2023-12-21T15:42:44.442Z] SSH_AUTH_SOCK=/tmp/ssh-sqyaoBCFWSIT/agent.32 [2023-12-21T15:42:44.442Z] SSH_AGENT_PID=38 [2023-12-21T15:42:44.449Z] Running ssh-add (command line suppressed) [2023-12-21T15:42:44.552Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp/private_key_17263324576965633593.key (/w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp/private_key_17263324576965633593.key) [2023-12-21T15:42:44.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-21T15:42:44.910Z] + git tag --points-at HEAD [Pipeline] } [2023-12-21T15:42:44.938Z] $ docker exec --env ******** --env ******** d2a1fcaed0a1421fc4dfe2a6a88c27b042aa5aee778d8954707cb18f6cbc20fb ssh-agent -k [2023-12-21T15:42:45.023Z] unset SSH_AUTH_SOCK; [2023-12-21T15:42:45.023Z] unset SSH_AGENT_PID; [2023-12-21T15:42:45.023Z] echo Agent pid 38 killed; [2023-12-21T15:42:45.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-21T15:42:45.170Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-21T15:42:45.170Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-21T15:42:45.279Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-21T15:42:45.284Z] $ docker exec d2a1fcaed0a1421fc4dfe2a6a88c27b042aa5aee778d8954707cb18f6cbc20fb ssh-agent [2023-12-21T15:42:45.399Z] SSH_AUTH_SOCK=/tmp/ssh-OjogPbX0oCLC/agent.71 [2023-12-21T15:42:45.399Z] SSH_AGENT_PID=77 [2023-12-21T15:42:45.404Z] Running ssh-add (command line suppressed) [2023-12-21T15:42:45.507Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp/private_key_484203788111895278.key (/w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp/private_key_484203788111895278.key) [2023-12-21T15:42:45.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-21T15:42:45.865Z] + git semver init [2023-12-21T15:42:46.126Z] 2023-12-21 15:42:46,075 [run_init] DEBUG init version:0.0.0 force:False [2023-12-21T15:42:46.126Z] 2023-12-21 15:42:46,075 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-502/.semver [2023-12-21T15:42:46.126Z] 2023-12-21 15:42:46,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-502/.semver [2023-12-21T15:42:46.126Z] 2023-12-21 15:42:46,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-502/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-502, universal_newlines=False, shell=None, istream=None) [2023-12-21T15:42:47.066Z] 2023-12-21 15:42:46,978 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-502/.git/info/exclude [2023-12-21T15:42:47.066Z] 2023-12-21 15:42:46,978 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-502/.semver/PR-502 with force:False [2023-12-21T15:42:47.066Z] 2023-12-21 15:42:46,978 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-502/.semver/PR-502 [2023-12-21T15:42:47.066Z] 2023-12-21 15:42:46,980 [execute] INFO git cat-file --batch-check [2023-12-21T15:42:47.066Z] 2023-12-21 15:42:46,981 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-502/.semver, universal_newlines=False, shell=None, istream=) [2023-12-21T15:42:47.066Z] 2023-12-21 15:42:46,988 [execute] INFO git cat-file --batch [2023-12-21T15:42:47.066Z] 2023-12-21 15:42:46,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-502/.semver, universal_newlines=False, shell=None, istream=) [2023-12-21T15:42:47.066Z] 2023-12-21 15:42:46,991 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-502/.semver/PR-502 [2023-12-21T15:42:47.066Z] 0.0.0 [Pipeline] } [2023-12-21T15:42:47.094Z] $ docker exec --env ******** --env ******** d2a1fcaed0a1421fc4dfe2a6a88c27b042aa5aee778d8954707cb18f6cbc20fb ssh-agent -k [2023-12-21T15:42:47.182Z] unset SSH_AUTH_SOCK; [2023-12-21T15:42:47.183Z] unset SSH_AGENT_PID; [2023-12-21T15:42:47.183Z] echo Agent pid 77 killed; [2023-12-21T15:42:47.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-21T15:42:47.706Z] + git semver [Pipeline] } [2023-12-21T15:42:47.992Z] $ docker stop --time=1 d2a1fcaed0a1421fc4dfe2a6a88c27b042aa5aee778d8954707cb18f6cbc20fb [2023-12-21T15:42:49.267Z] $ docker rm -f --volumes d2a1fcaed0a1421fc4dfe2a6a88c27b042aa5aee778d8954707cb18f6cbc20fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-21T15:42:49.722Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-21T15:42:50.054Z] Stashed 1 file(s) [Pipeline] echo [2023-12-21T15:42:50.077Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-21T15:42:50.886Z] provisioning config files... [2023-12-21T15:42:50.898Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp/config5780112497162463447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:42:51.295Z] ---> ****-login.sh [2023-12-21T15:42:51.295Z] nexus3.edgexfoundry.org:10001 [2023-12-21T15:42:51.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:42:51.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:42:51.295Z] Configure a credential helper to remove this warning. See [2023-12-21T15:42:51.295Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:42:51.295Z] [2023-12-21T15:42:51.295Z] Login Succeeded [2023-12-21T15:42:51.295Z] nexus3.edgexfoundry.org:10002 [2023-12-21T15:42:51.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:42:51.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:42:51.295Z] Configure a credential helper to remove this warning. See [2023-12-21T15:42:51.295Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:42:51.295Z] [2023-12-21T15:42:51.295Z] Login Succeeded [2023-12-21T15:42:51.295Z] nexus3.edgexfoundry.org:10003 [2023-12-21T15:42:51.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:42:51.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:42:51.554Z] Configure a credential helper to remove this warning. See [2023-12-21T15:42:51.554Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:42:51.554Z] [2023-12-21T15:42:51.554Z] Login Succeeded [2023-12-21T15:42:51.554Z] nexus3.edgexfoundry.org:10004 [2023-12-21T15:42:51.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:42:51.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:42:51.555Z] Configure a credential helper to remove this warning. See [2023-12-21T15:42:51.555Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:42:51.555Z] [2023-12-21T15:42:51.555Z] Login Succeeded [2023-12-21T15:42:51.555Z] ****.io [2023-12-21T15:42:51.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:42:51.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:42:51.814Z] Configure a credential helper to remove this warning. See [2023-12-21T15:42:51.814Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:42:51.814Z] [2023-12-21T15:42:51.814Z] Login Succeeded [2023-12-21T15:42:51.814Z] ---> ****-login.sh ends [Pipeline] } [2023-12-21T15:42:51.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-21T15:42:52.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-21T15:42:52.237Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-12-21T15:42:52.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-21T15:42:52.363Z] ========================================================= [2023-12-21T15:42:52.363Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-12-21T15:42:52.363Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:42:52.872Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-12-21T15:42:52.872Z] Sending build context to Docker daemon 4.969MB [2023-12-21T15:42:52.872Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-12-21T15:42:52.872Z] Step 2/21 : FROM ${BASE} as builder [2023-12-21T15:42:52.872Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-12-21T15:42:52.872Z] 96526aa774ef: Pulling fs layer [2023-12-21T15:42:52.872Z] da60e534fd72: Pulling fs layer [2023-12-21T15:42:53.132Z] 96526aa774ef: Verifying Checksum [2023-12-21T15:42:53.132Z] 96526aa774ef: Download complete [2023-12-21T15:42:53.132Z] 96526aa774ef: Pull complete [2023-12-21T15:42:54.067Z] da60e534fd72: Verifying Checksum [2023-12-21T15:42:54.067Z] da60e534fd72: Download complete [2023-12-21T15:42:57.357Z] da60e534fd72: Pull complete [2023-12-21T15:42:57.357Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2023-12-21T15:42:57.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-12-21T15:42:57.357Z] ---> 6605166a5db4 [2023-12-21T15:42:57.357Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-12-21T15:42:59.274Z] ---> Running in dd829eb28635 [2023-12-21T15:42:59.534Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-12-21T15:43:00.102Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-12-21T15:43:00.102Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-12-21T15:43:00.102Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-12-21T15:43:00.363Z] Removing intermediate container dd829eb28635 [2023-12-21T15:43:00.363Z] ---> 0bd034b3a7fa [2023-12-21T15:43:00.363Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-12-21T15:43:00.363Z] ---> Running in 5872ea62029d [2023-12-21T15:43:00.931Z] Removing intermediate container 5872ea62029d [2023-12-21T15:43:00.931Z] ---> 1a3c9ebb55d7 [2023-12-21T15:43:00.931Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-12-21T15:43:00.931Z] ---> Running in 3ed3aa34bd87 [2023-12-21T15:43:01.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-21T15:43:01.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-21T15:43:01.708Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-21T15:43:02.278Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-12-21T15:43:02.278Z] (1/17) Installing hiredis (1.1.0-r2) [2023-12-21T15:43:02.278Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-12-21T15:43:02.538Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-12-21T15:43:03.478Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-12-21T15:43:03.478Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2023-12-21T15:43:03.739Z] (6/17) Installing libcbor (0.10.2-r1) [2023-12-21T15:43:03.739Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-12-21T15:43:03.739Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-12-21T15:43:03.739Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-12-21T15:43:03.739Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-12-21T15:43:03.998Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-12-21T15:43:03.998Z] (12/17) Installing libblkid (2.38.1-r8) [2023-12-21T15:43:03.998Z] (13/17) Installing libuuid (2.38.1-r8) [2023-12-21T15:43:03.998Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-12-21T15:43:03.998Z] (15/17) Installing libmount (2.38.1-r8) [2023-12-21T15:43:03.998Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-12-21T15:43:03.998Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-12-21T15:43:03.998Z] Executing busybox-1.36.1-r4.trigger [2023-12-21T15:43:03.998Z] OK: 336 MiB in 99 packages [2023-12-21T15:43:04.563Z] Removing intermediate container 3ed3aa34bd87 [2023-12-21T15:43:04.564Z] ---> d97378e6932c [2023-12-21T15:43:04.564Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-12-21T15:43:04.564Z] ---> Running in 7c5342c1f67e [2023-12-21T15:43:05.128Z] Removing intermediate container 7c5342c1f67e [2023-12-21T15:43:05.128Z] ---> 5f39013b93c4 [2023-12-21T15:43:05.128Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-12-21T15:43:05.386Z] ---> 4304ad13db79 [2023-12-21T15:43:05.386Z] Step 8/21 : COPY src /tmp/sdk/src [2023-12-21T15:43:05.629Z] Still waiting to schedule task [2023-12-21T15:43:05.629Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-12-21T15:43:05.645Z] ---> 1169b47fb1cc [2023-12-21T15:43:05.645Z] Step 9/21 : COPY include /tmp/sdk/include [2023-12-21T15:43:05.645Z] ---> a436c10340fb [2023-12-21T15:43:05.645Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-12-21T15:43:05.902Z] ---> ce6aaea4a166 [2023-12-21T15:43:05.902Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-12-21T15:43:05.902Z] ---> ec04e218b4ea [2023-12-21T15:43:05.902Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-12-21T15:43:05.902Z] ---> 19952594f5a3 [2023-12-21T15:43:05.902Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-12-21T15:43:06.161Z] ---> Running in f43ff4e7408a [2023-12-21T15:43:06.161Z] + CPPCHECK=false [2023-12-21T15:43:06.161Z] + DOCGEN=false [2023-12-21T15:43:06.161Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-12-21T15:43:06.161Z] + '[' 0 -gt 0 ] [2023-12-21T15:43:06.161Z] + readlink -f ./scripts/build.sh [2023-12-21T15:43:06.161Z] + dirname /tmp/sdk/scripts/build.sh [2023-12-21T15:43:06.161Z] + dirname /tmp/sdk/scripts [2023-12-21T15:43:06.161Z] + ROOT=/tmp/sdk [2023-12-21T15:43:06.161Z] + cd /tmp/sdk [2023-12-21T15:43:06.161Z] + mkdir -p /tmp/sdk/build/release [2023-12-21T15:43:06.161Z] + cd /tmp/sdk/build/release [2023-12-21T15:43:06.161Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-12-21T15:43:06.420Z] -- The C compiler identification is GNU 12.2.1 [2023-12-21T15:43:06.420Z] -- Detecting C compiler ABI info [2023-12-21T15:43:06.420Z] -- Detecting C compiler ABI info - done [2023-12-21T15:43:06.420Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-12-21T15:43:06.420Z] -- Detecting C compile features [2023-12-21T15:43:06.420Z] -- Detecting C compile features - done [2023-12-21T15:43:06.420Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-12-21T15:43:06.420Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-12-21T15:43:06.420Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-12-21T15:43:06.420Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-12-21T15:43:06.420Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-12-21T15:43:06.420Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-12-21T15:43:06.420Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-12-21T15:43:06.420Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-12-21T15:43:06.420Z] -- /opt/iotech/iot/1.5/include [2023-12-21T15:43:06.420Z] -- C SDK 0.0.0 for Linux [2023-12-21T15:43:06.420Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-12-21T15:43:06.679Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-12-21T15:43:06.679Z] -- Found Curses: /usr/lib/libcurses.so [2023-12-21T15:43:06.679Z] -- Configuring done (0.4s) [2023-12-21T15:43:06.679Z] -- Generating done (0.0s) [2023-12-21T15:43:06.679Z] -- Build files have been written to: /tmp/sdk/build/release [2023-12-21T15:43:06.679Z] + make all package [2023-12-21T15:43:06.679Z] + tee release.log [2023-12-21T15:43:06.679Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-12-21T15:43:06.938Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-12-21T15:43:06.938Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-12-21T15:43:07.197Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-12-21T15:43:07.197Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-12-21T15:43:07.197Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-12-21T15:43:07.766Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-12-21T15:43:07.766Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-12-21T15:43:07.766Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-12-21T15:43:07.766Z] 294 | while (privateConfig) [2023-12-21T15:43:07.766Z] | ^~~~~~~~~~~~~ [2023-12-21T15:43:07.766Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-12-21T15:43:07.766Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-12-21T15:43:07.766Z] | ^~~~~~~~~~~~~ [2023-12-21T15:43:07.766Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-12-21T15:43:07.766Z] 271 | while (result) [2023-12-21T15:43:07.766Z] | ^~~~~~ [2023-12-21T15:43:07.766Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-12-21T15:43:07.766Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-12-21T15:43:07.766Z] | ^~~~~~ [2023-12-21T15:43:07.766Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-12-21T15:43:07.766Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-12-21T15:43:08.026Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-12-21T15:43:08.285Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-12-21T15:43:08.285Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-12-21T15:43:08.544Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-12-21T15:43:08.544Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-12-21T15:43:08.544Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-12-21T15:43:08.804Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-12-21T15:43:08.804Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-12-21T15:43:09.067Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-12-21T15:43:09.327Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-12-21T15:43:09.327Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-12-21T15:43:09.587Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-12-21T15:43:10.525Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-12-21T15:43:10.525Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-12-21T15:43:10.525Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-12-21T15:43:10.786Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-12-21T15:43:10.786Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-12-21T15:43:11.046Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-12-21T15:43:11.306Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-12-21T15:43:11.306Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-12-21T15:43:11.569Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-12-21T15:43:11.569Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-12-21T15:43:11.569Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-12-21T15:43:11.569Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-12-21T15:43:11.569Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-12-21T15:43:11.569Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-12-21T15:43:11.569Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-12-21T15:43:11.569Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-12-21T15:43:11.569Z] | ^ [2023-12-21T15:43:11.828Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-12-21T15:43:11.828Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-12-21T15:43:11.828Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-12-21T15:43:11.828Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-12-21T15:43:11.828Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-12-21T15:43:11.828Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-12-21T15:43:12.087Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-12-21T15:43:12.087Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-12-21T15:43:12.087Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-12-21T15:43:12.346Z] [ 68%] Linking C shared library libcsdk.so [2023-12-21T15:43:12.346Z] [ 68%] Built target csdk [2023-12-21T15:43:12.346Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-12-21T15:43:12.605Z] [ 72%] Linking C executable template [2023-12-21T15:43:12.605Z] [ 72%] Built target template [2023-12-21T15:43:12.605Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-12-21T15:43:12.605Z] [ 76%] Linking C executable device-counter [2023-12-21T15:43:12.605Z] [ 76%] Built target device-counter [2023-12-21T15:43:12.605Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-12-21T15:43:12.864Z] [ 80%] Linking C executable device-random [2023-12-21T15:43:12.864Z] [ 80%] Built target device-random [2023-12-21T15:43:12.864Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-12-21T15:43:12.864Z] [ 84%] Linking C executable device-gyro [2023-12-21T15:43:13.123Z] [ 84%] Built target device-gyro [2023-12-21T15:43:13.123Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-12-21T15:43:13.123Z] [ 88%] Linking C executable device-bitfields [2023-12-21T15:43:13.123Z] [ 88%] Built target device-bitfields [2023-12-21T15:43:13.123Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-12-21T15:43:13.381Z] [ 92%] Linking C executable template-discovery [2023-12-21T15:43:13.381Z] [ 92%] Built target template-discovery [2023-12-21T15:43:13.381Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-12-21T15:43:13.639Z] [ 96%] Linking C executable device-file [2023-12-21T15:43:13.639Z] [ 96%] Built target device-file [2023-12-21T15:43:13.639Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-12-21T15:43:13.639Z] [100%] Linking C executable device-terminal [2023-12-21T15:43:13.897Z] [100%] Built target device-terminal [2023-12-21T15:43:13.897Z] Run CPack packaging tool... [2023-12-21T15:43:13.897Z] CPack: Create package using TGZ [2023-12-21T15:43:13.897Z] CPack: Install projects [2023-12-21T15:43:13.897Z] CPack: - Run preinstall target for: Csdk [2023-12-21T15:43:14.156Z] CPack: - Install project: Csdk [] [2023-12-21T15:43:14.156Z] CPack: Create package [2023-12-21T15:43:14.156Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-12-21T15:43:14.156Z] + '[' false '=' true ] [2023-12-21T15:43:14.156Z] + '[' false '=' true ] [2023-12-21T15:43:14.156Z] + mkdir -p /tmp/sdk/build/debug [2023-12-21T15:43:14.156Z] + cd /tmp/sdk/build/debug [2023-12-21T15:43:14.156Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-12-21T15:43:14.156Z] -- The C compiler identification is GNU 12.2.1 [2023-12-21T15:43:14.156Z] -- Detecting C compiler ABI info [2023-12-21T15:43:14.156Z] -- Detecting C compiler ABI info - done [2023-12-21T15:43:14.156Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-12-21T15:43:14.156Z] -- Detecting C compile features [2023-12-21T15:43:14.156Z] -- Detecting C compile features - done [2023-12-21T15:43:14.156Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-12-21T15:43:14.416Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-12-21T15:43:14.416Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-12-21T15:43:14.416Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-12-21T15:43:14.416Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-12-21T15:43:14.416Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-12-21T15:43:14.416Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-12-21T15:43:14.416Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-12-21T15:43:14.416Z] -- /opt/iotech/iot/1.5/include [2023-12-21T15:43:14.416Z] -- C SDK 0.0.0 for Linux [2023-12-21T15:43:14.416Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-12-21T15:43:14.416Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-12-21T15:43:14.416Z] -- Found Curses: /usr/lib/libcurses.so [2023-12-21T15:43:14.416Z] -- Configuring done (0.4s) [2023-12-21T15:43:14.416Z] -- Generating done (0.0s) [2023-12-21T15:43:14.416Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-12-21T15:43:14.416Z] + make [2023-12-21T15:43:14.416Z] + tee debug.log [2023-12-21T15:43:14.675Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-12-21T15:43:14.675Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-12-21T15:43:14.675Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-12-21T15:43:14.675Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-12-21T15:43:14.932Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-12-21T15:43:14.932Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-12-21T15:43:14.932Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-12-21T15:43:15.190Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-12-21T15:43:15.190Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-12-21T15:43:15.190Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-12-21T15:43:15.448Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-12-21T15:43:15.448Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-12-21T15:43:15.448Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-12-21T15:43:15.448Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-12-21T15:43:15.706Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-12-21T15:43:15.706Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-12-21T15:43:15.706Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-12-21T15:43:15.964Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-12-21T15:43:15.964Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-12-21T15:43:15.964Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-12-21T15:43:15.964Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-12-21T15:43:16.222Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-12-21T15:43:16.222Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-12-21T15:43:16.480Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-12-21T15:43:16.480Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-12-21T15:43:16.480Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-12-21T15:43:16.480Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-12-21T15:43:16.738Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-12-21T15:43:16.738Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-12-21T15:43:16.997Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-12-21T15:43:16.997Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-12-21T15:43:16.997Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-12-21T15:43:16.997Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-12-21T15:43:16.997Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-12-21T15:43:16.997Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-12-21T15:43:16.997Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-12-21T15:43:16.997Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-12-21T15:43:16.997Z] | ^ [2023-12-21T15:43:17.258Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-12-21T15:43:17.258Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-12-21T15:43:17.258Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-12-21T15:43:17.258Z] [ 68%] Linking C shared library libcsdk.so [2023-12-21T15:43:17.517Z] [ 68%] Built target csdk [2023-12-21T15:43:17.518Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-12-21T15:43:17.518Z] [ 72%] Linking C executable template [2023-12-21T15:43:17.518Z] [ 72%] Built target template [2023-12-21T15:43:17.518Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-12-21T15:43:17.778Z] [ 76%] Linking C executable device-counter [2023-12-21T15:43:17.778Z] [ 76%] Built target device-counter [2023-12-21T15:43:17.778Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-12-21T15:43:17.778Z] [ 80%] Linking C executable device-random [2023-12-21T15:43:17.778Z] [ 80%] Built target device-random [2023-12-21T15:43:18.036Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-12-21T15:43:18.036Z] [ 84%] Linking C executable device-gyro [2023-12-21T15:43:18.036Z] [ 84%] Built target device-gyro [2023-12-21T15:43:18.036Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-12-21T15:43:18.036Z] [ 88%] Linking C executable device-bitfields [2023-12-21T15:43:18.295Z] [ 88%] Built target device-bitfields [2023-12-21T15:43:18.295Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-12-21T15:43:18.295Z] [ 92%] Linking C executable template-discovery [2023-12-21T15:43:18.295Z] [ 92%] Built target template-discovery [2023-12-21T15:43:18.295Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-12-21T15:43:18.554Z] [ 96%] Linking C executable device-file [2023-12-21T15:43:18.554Z] [ 96%] Built target device-file [2023-12-21T15:43:18.554Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-12-21T15:43:18.554Z] [100%] Linking C executable device-terminal [2023-12-21T15:43:18.554Z] [100%] Built target device-terminal [2023-12-21T15:43:18.554Z] make: Entering directory '/tmp/sdk/build/release' [2023-12-21T15:43:18.814Z] [ 68%] Built target csdk [2023-12-21T15:43:18.814Z] [ 72%] Built target template [2023-12-21T15:43:18.814Z] [ 76%] Built target device-counter [2023-12-21T15:43:18.814Z] [ 80%] Built target device-random [2023-12-21T15:43:18.814Z] [ 84%] Built target device-gyro [2023-12-21T15:43:18.814Z] [ 88%] Built target device-bitfields [2023-12-21T15:43:18.814Z] [ 92%] Built target template-discovery [2023-12-21T15:43:18.814Z] [ 96%] Built target device-file [2023-12-21T15:43:18.814Z] [100%] Built target device-terminal [2023-12-21T15:43:18.814Z] Install the project... [2023-12-21T15:43:18.814Z] -- Install configuration: "Release" [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/lib/libcsdk.so [2023-12-21T15:43:18.814Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include/devsdk [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include/edgex [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include/edgex/devices.h [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-12-21T15:43:18.814Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-12-21T15:43:18.814Z] make: Leaving directory '/tmp/sdk/build/release' [2023-12-21T15:43:19.751Z] Removing intermediate container f43ff4e7408a [2023-12-21T15:43:19.751Z] ---> 1b17483486d8 [2023-12-21T15:43:19.751Z] Step 14/21 : FROM ${BASE} [2023-12-21T15:43:19.751Z] ---> 6605166a5db4 [2023-12-21T15:43:19.751Z] Step 15/21 : LABEL maintainer="IOTech " [2023-12-21T15:43:19.751Z] ---> Running in 2d98ab174b23 [2023-12-21T15:43:19.751Z] Removing intermediate container 2d98ab174b23 [2023-12-21T15:43:19.751Z] ---> c6797cd19d26 [2023-12-21T15:43:19.751Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-12-21T15:43:19.751Z] ---> Running in d2cd8c1df6f9 [2023-12-21T15:43:20.009Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-12-21T15:43:20.267Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-12-21T15:43:20.267Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-12-21T15:43:20.267Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-12-21T15:43:20.526Z] Removing intermediate container d2cd8c1df6f9 [2023-12-21T15:43:20.526Z] ---> c1bda6708c6f [2023-12-21T15:43:20.526Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-12-21T15:43:20.785Z] ---> Running in 0d8cb8e72c68 [2023-12-21T15:43:21.043Z] Removing intermediate container 0d8cb8e72c68 [2023-12-21T15:43:21.043Z] ---> 40f89331eb07 [2023-12-21T15:43:21.043Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2023-12-21T15:43:21.303Z] ---> Running in 3095119eee7c [2023-12-21T15:43:21.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-21T15:43:21.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-21T15:43:21.563Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-21T15:43:22.131Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-12-21T15:43:22.131Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2023-12-21T15:43:22.131Z] (2/9) Installing curl (8.5.0-r0) [2023-12-21T15:43:22.131Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2023-12-21T15:43:22.131Z] (4/9) Installing hiredis (1.1.0-r2) [2023-12-21T15:43:22.131Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2023-12-21T15:43:22.131Z] (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-12-21T15:43:23.067Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2023-12-21T15:43:23.067Z] (8/9) Installing libcbor (0.10.2-r1) [2023-12-21T15:43:23.067Z] (9/9) Installing libuuid (2.38.1-r8) [2023-12-21T15:43:23.067Z] Executing busybox-1.36.1-r4.trigger [2023-12-21T15:43:23.067Z] OK: 331 MiB in 89 packages [2023-12-21T15:43:23.638Z] Removing intermediate container 3095119eee7c [2023-12-21T15:43:23.638Z] ---> da39bb5125c8 [2023-12-21T15:43:23.638Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-12-21T15:43:23.638Z] ---> 7784c334d503 [2023-12-21T15:43:23.638Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-12-21T15:43:23.898Z] ---> c97e5e3bcac9 [2023-12-21T15:43:23.898Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-12-21T15:43:24.157Z] ---> cc4819441f46 [2023-12-21T15:43:24.157Z] Successfully built cc4819441f46 [2023-12-21T15:43:24.157Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:43:25.057Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-21T15:43:25.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-21T15:43:25.261Z] prd-ubuntu20.04-docker-8c-8g-25908 does not seem to be running inside a container [2023-12-21T15:43:25.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-502 -v /w/workspace/edgexfoundry_device-sdk-c_PR-502:/w/workspace/edgexfoundry_device-sdk-c_PR-502:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-21T15:43:25.621Z] $ docker top 2b8c2de04b446021263ac9cb7f4cf1331f928debec7f5998ace292a9fe01ab9a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-21T15:43:26.052Z] + make test [2023-12-21T15:43:26.052Z] echo "make test" [2023-12-21T15:43:26.052Z] make test [Pipeline] } [2023-12-21T15:43:26.085Z] $ docker stop --time=1 2b8c2de04b446021263ac9cb7f4cf1331f928debec7f5998ace292a9fe01ab9a [2023-12-21T15:43:27.352Z] $ docker rm -f --volumes 2b8c2de04b446021263ac9cb7f4cf1331f928debec7f5998ace292a9fe01ab9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-21T15:43:28.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-21T15:43:28.722Z] + ls -al . [2023-12-21T15:43:28.722Z] total 212 [2023-12-21T15:43:28.722Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 21 15:42 . [2023-12-21T15:43:28.722Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 15:42 .. [2023-12-21T15:43:28.722Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 15:42 .git [2023-12-21T15:43:28.722Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 15:42 .github [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 21 15:42 .gitignore [2023-12-21T15:43:28.722Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 21 15:42 .semver [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 21 15:42 Attribution.txt [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 21 15:42 CHANGELOG.md [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 21 15:42 Doxyfile [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 21 15:42 GOVERNANCE.md [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 21 15:42 Jenkinsfile [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 21 15:42 LICENSE [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 21 15:42 Makefile [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 21 15:42 OWNERS.md [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 21 15:42 README.IOT.md [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 4215 Dec 21 15:42 README.md [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 21 15:42 README.v3.md [2023-12-21T15:43:28.722Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 15:42 VERSION [2023-12-21T15:43:28.722Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 15:42 docs [2023-12-21T15:43:28.722Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 15:42 include [2023-12-21T15:43:28.722Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 15:42 scripts [2023-12-21T15:43:28.722Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 15:42 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:43:29.160Z] + 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=b31876e0e4aaf1f3522feeabf3d32bf782af7a14 --label arch=amd64 --label version=0.0.0 . [2023-12-21T15:43:29.160Z] Sending build context to Docker daemon 4.969MB [2023-12-21T15:43:29.160Z] Step 1/17 : ARG BASE=alpine:3.18 [2023-12-21T15:43:29.160Z] Step 2/17 : FROM ${BASE} [2023-12-21T15:43:29.160Z] ---> cc4819441f46 [2023-12-21T15:43:29.161Z] Step 3/17 : LABEL maintainer="IOTech " [2023-12-21T15:43:29.161Z] ---> Running in d0e8622eef57 [2023-12-21T15:43:29.421Z] Removing intermediate container d0e8622eef57 [2023-12-21T15:43:29.421Z] ---> 6c67387e854f [2023-12-21T15:43:29.421Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-12-21T15:43:29.421Z] ---> Running in ca17672d670a [2023-12-21T15:43:29.681Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-12-21T15:43:29.942Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-12-21T15:43:29.942Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-12-21T15:43:29.942Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-12-21T15:43:30.201Z] Removing intermediate container ca17672d670a [2023-12-21T15:43:30.201Z] ---> 5ee5ca614aa5 [2023-12-21T15:43:30.201Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-12-21T15:43:30.201Z] ---> Running in fd45c7c493d5 [2023-12-21T15:43:30.769Z] Removing intermediate container fd45c7c493d5 [2023-12-21T15:43:30.769Z] ---> b6aa1c1ad3cb [2023-12-21T15:43:30.769Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-12-21T15:43:30.769Z] ---> Running in bf26caa9a87d [2023-12-21T15:43:31.027Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-21T15:43:31.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-21T15:43:31.285Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-21T15:43:31.853Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-12-21T15:43:31.853Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-12-21T15:43:32.111Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2023-12-21T15:43:32.111Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2023-12-21T15:43:32.111Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2023-12-21T15:43:32.111Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2023-12-21T15:43:32.111Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2023-12-21T15:43:32.111Z] (7/11) Installing libblkid (2.38.1-r8) [2023-12-21T15:43:32.111Z] (8/11) Installing libfdisk (2.38.1-r8) [2023-12-21T15:43:32.111Z] (9/11) Installing libmount (2.38.1-r8) [2023-12-21T15:43:32.111Z] (10/11) Installing libsmartcols (2.38.1-r8) [2023-12-21T15:43:32.111Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2023-12-21T15:43:32.446Z] Executing busybox-1.36.1-r4.trigger [2023-12-21T15:43:32.446Z] OK: 336 MiB in 100 packages [2023-12-21T15:43:33.012Z] Removing intermediate container bf26caa9a87d [2023-12-21T15:43:33.012Z] ---> 9acd6acef69c [2023-12-21T15:43:33.012Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-12-21T15:43:33.012Z] ---> b20ce8a58373 [2023-12-21T15:43:33.012Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-12-21T15:43:33.012Z] ---> 6d8edf168751 [2023-12-21T15:43:33.012Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-12-21T15:43:33.270Z] ---> 77739b2d6883 [2023-12-21T15:43:33.270Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-12-21T15:43:33.270Z] ---> 17d538c8b175 [2023-12-21T15:43:33.270Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-12-21T15:43:33.528Z] ---> 1db4a272d325 [2023-12-21T15:43:33.528Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-12-21T15:43:33.528Z] ---> 84acb2dfe688 [2023-12-21T15:43:33.528Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-12-21T15:43:33.528Z] ---> Running in 19cd1b1e62fa [2023-12-21T15:43:33.786Z] Removing intermediate container 19cd1b1e62fa [2023-12-21T15:43:33.786Z] ---> b419c1ab0d0c [2023-12-21T15:43:33.786Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-12-21T15:43:33.786Z] ---> Running in a60dbb026023 [2023-12-21T15:43:33.786Z] Removing intermediate container a60dbb026023 [2023-12-21T15:43:33.786Z] ---> a1f83888e93d [2023-12-21T15:43:33.786Z] Step 15/17 : LABEL arch=amd64 [2023-12-21T15:43:33.786Z] ---> Running in e44f5bf665c8 [2023-12-21T15:43:33.786Z] Removing intermediate container e44f5bf665c8 [2023-12-21T15:43:33.786Z] ---> 17348027c02a [2023-12-21T15:43:33.786Z] Step 16/17 : LABEL git_sha=b31876e0e4aaf1f3522feeabf3d32bf782af7a14 [2023-12-21T15:43:33.786Z] ---> Running in 43a39f9233c6 [2023-12-21T15:43:34.045Z] Removing intermediate container 43a39f9233c6 [2023-12-21T15:43:34.045Z] ---> f70c3a6589bd [2023-12-21T15:43:34.045Z] Step 17/17 : LABEL version=0.0.0 [2023-12-21T15:43:34.045Z] ---> Running in 72e5847edb5a [2023-12-21T15:43:34.045Z] Removing intermediate container 72e5847edb5a [2023-12-21T15:43:34.045Z] ---> 143ab14180fd [2023-12-21T15:43:34.045Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-12-21T15:43:34.045Z] Successfully built 143ab14180fd [2023-12-21T15:43:34.045Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:43:35.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-21T15:43:35.307Z] [2023-12-21T15:43:35.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:43:35.710Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-21T15:43:35.710Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-21T15:43:35.710Z] 5eb5b503b376: Pulling fs layer [2023-12-21T15:43:35.710Z] 5c69ac0246d0: Pulling fs layer [2023-12-21T15:43:35.710Z] ec43610c2a17: Pulling fs layer [2023-12-21T15:43:35.710Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-21T15:43:35.710Z] 33b1e0a273af: Pulling fs layer [2023-12-21T15:43:35.710Z] 5d3b04190fa2: Pulling fs layer [2023-12-21T15:43:35.710Z] 2f39f015ded8: Pulling fs layer [2023-12-21T15:43:35.710Z] 33b1e0a273af: Waiting [2023-12-21T15:43:35.710Z] 5d3b04190fa2: Waiting [2023-12-21T15:43:35.710Z] 2f39f015ded8: Waiting [2023-12-21T15:43:35.710Z] 3a2ae6a8a46f: Waiting [2023-12-21T15:43:35.710Z] 5c69ac0246d0: Verifying Checksum [2023-12-21T15:43:35.710Z] 5c69ac0246d0: Download complete [2023-12-21T15:43:35.710Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-21T15:43:35.710Z] 3a2ae6a8a46f: Download complete [2023-12-21T15:43:35.710Z] 33b1e0a273af: Verifying Checksum [2023-12-21T15:43:35.710Z] 33b1e0a273af: Download complete [2023-12-21T15:43:35.710Z] ec43610c2a17: Verifying Checksum [2023-12-21T15:43:35.710Z] ec43610c2a17: Download complete [2023-12-21T15:43:35.710Z] 5d3b04190fa2: Verifying Checksum [2023-12-21T15:43:35.710Z] 5d3b04190fa2: Download complete [2023-12-21T15:43:35.969Z] 5eb5b503b376: Verifying Checksum [2023-12-21T15:43:35.969Z] 5eb5b503b376: Download complete [2023-12-21T15:43:36.534Z] 2f39f015ded8: Download complete [2023-12-21T15:43:37.101Z] 5eb5b503b376: Pull complete [2023-12-21T15:43:37.358Z] 5c69ac0246d0: Pull complete [2023-12-21T15:43:37.617Z] ec43610c2a17: Pull complete [2023-12-21T15:43:37.876Z] 3a2ae6a8a46f: Pull complete [2023-12-21T15:43:37.876Z] 33b1e0a273af: Pull complete [2023-12-21T15:43:38.134Z] 5d3b04190fa2: Pull complete [2023-12-21T15:43:44.695Z] 2f39f015ded8: Pull complete [2023-12-21T15:43:44.695Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-21T15:43:44.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-21T15:43:44.695Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-21T15:43:45.068Z] prd-ubuntu20.04-docker-8c-8g-25908 does not seem to be running inside a container [2023-12-21T15:43:45.102Z] $ 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-502 -v /w/workspace/edgexfoundry_device-sdk-c_PR-502:/w/workspace/edgexfoundry_device-sdk-c_PR-502:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-21T15:43:53.057Z] $ docker top 5b29306113e79e8c22d4c7fcf8f71d661ef14581f126ccc65befa77596d300fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:43:53.563Z] ---> job-cost.sh [2023-12-21T15:43:53.563Z] lf-activate-venv: SKIPPING [2023-12-21T15:43:53.563Z] INFO: No Stack... [2023-12-21T15:43:53.823Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-21T15:43:54.083Z] INFO: Archiving Costs [Pipeline] sh [2023-12-21T15:43:54.402Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-502/archives/cost.csv [2023-12-21T15:43:54.402Z] + cut -d, -f6 [Pipeline] lock [2023-12-21T15:43:54.442Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-502-1-stack-cost] [2023-12-21T15:43:54.447Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-502-1-stack-cost] did not exist. Created. [2023-12-21T15:43:54.447Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-21T15:43:54.887Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-21T15:43:54.950Z] Stashed 1 file(s) [Pipeline] } [2023-12-21T15:43:54.990Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-502-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-21T15:43:55.131Z] $ docker stop --time=1 5b29306113e79e8c22d4c7fcf8f71d661ef14581f126ccc65befa77596d300fa [2023-12-21T15:43:56.345Z] $ docker rm -f --volumes 5b29306113e79e8c22d4c7fcf8f71d661ef14581f126ccc65befa77596d300fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-12-21T15:44:51.867Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25909 in /w/workspace/edgexfoundry_device-sdk-c_PR-502 [Pipeline] { [Pipeline] ws [2023-12-21T15:44:51.972Z] Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout [2023-12-21T15:44:55.093Z] Selected Git installation does not exist. Using Default [2023-12-21T15:44:55.093Z] The recommended git tool is: NONE [2023-12-21T15:45:04.650Z] using credential edgex-jenkins-ssh [2023-12-21T15:45:04.676Z] Cloning the remote Git repository [2023-12-21T15:45:04.721Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-12-21T15:45:04.810Z] > git init /w/workspace/device-sdk-c/1 # timeout=10 [2023-12-21T15:45:04.957Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-12-21T15:45:04.958Z] > git --version # timeout=10 [2023-12-21T15:45:04.977Z] > git --version # 'git version 2.25.1' [2023-12-21T15:45:04.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-21T15:45:05.129Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-21T15:45:06.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-12-21T15:45:06.183Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-21T15:45:07.009Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-12-21T15:45:07.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-12-21T15:45:07.043Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-21T15:45:07.057Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/502/head:refs/remotes/origin/PR-502 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-21T15:45:07.677Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit b31876e0e4aaf1f3522feeabf3d32bf782af7a14 [2023-12-21T15:45:07.952Z] Merge succeeded, producing b31876e0e4aaf1f3522feeabf3d32bf782af7a14 [2023-12-21T15:45:07.953Z] Checking out Revision b31876e0e4aaf1f3522feeabf3d32bf782af7a14 (PR-502) [2023-12-21T15:45:07.695Z] > git config core.sparsecheckout # timeout=10 [2023-12-21T15:45:07.760Z] > git checkout -f b31876e0e4aaf1f3522feeabf3d32bf782af7a14 # timeout=10 [2023-12-21T15:45:07.872Z] > git remote # timeout=10 [2023-12-21T15:45:07.890Z] > git config --get remote.origin.url # timeout=10 [2023-12-21T15:45:07.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-21T15:45:07.918Z] > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [2023-12-21T15:45:07.940Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-21T15:45:07.961Z] > git config core.sparsecheckout # timeout=10 [2023-12-21T15:45:07.975Z] > git checkout -f b31876e0e4aaf1f3522feeabf3d32bf782af7a14 # timeout=10 [2023-12-21T15:45:11.577Z] Commit message: "fix: Remove the refcount from the autoevent impl structure" [2023-12-21T15:45:11.626Z] > git --version # timeout=10 [2023-12-21T15:45:11.637Z] > git --version # 'git version 2.25.1' [2023-12-21T15:45:11.650Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-21T15:45:12.988Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-21T15:45:12.988Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-21T15:45:12.988Z] Dload Upload Total Spent Left Speed [2023-12-21T15:45:12.988Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 96809 0 --:--:-- --:--:-- --:--:-- 96809 [Pipeline] sh [2023-12-21T15:45:13.332Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-21T15:45:13.676Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-12-21T15:45:13.676Z] + sudo tee /etc/docker/daemon.new [2023-12-21T15:45:13.676Z] { [2023-12-21T15:45:13.676Z] "registry-mirrors": [ [2023-12-21T15:45:13.676Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-21T15:45:13.676Z] ], [2023-12-21T15:45:13.676Z] "bip": "10.250.0.254/24", [2023-12-21T15:45:13.676Z] "hosts": [ [2023-12-21T15:45:13.676Z] "tcp://0.0.0.0:5555", [2023-12-21T15:45:13.676Z] "unix:///var/run/docker.sock" [2023-12-21T15:45:13.676Z] ], [2023-12-21T15:45:13.676Z] "mtu": 1458, [2023-12-21T15:45:13.676Z] "selinux-enabled": true, [2023-12-21T15:45:13.676Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-21T15:45:13.676Z] } [Pipeline] sh [2023-12-21T15:45:14.012Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-21T15:45:14.352Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-21T15:45:32.689Z] provisioning config files... [2023-12-21T15:45:32.712Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config2157579993399332877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:45:33.251Z] ---> ****-login.sh [2023-12-21T15:45:33.251Z] nexus3.edgexfoundry.org:10001 [2023-12-21T15:45:33.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:45:33.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:45:33.785Z] Configure a credential helper to remove this warning. See [2023-12-21T15:45:33.785Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:45:33.785Z] [2023-12-21T15:45:33.785Z] Login Succeeded [2023-12-21T15:45:33.786Z] nexus3.edgexfoundry.org:10002 [2023-12-21T15:45:33.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:45:34.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:45:34.057Z] Configure a credential helper to remove this warning. See [2023-12-21T15:45:34.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:45:34.057Z] [2023-12-21T15:45:34.057Z] Login Succeeded [2023-12-21T15:45:34.057Z] nexus3.edgexfoundry.org:10003 [2023-12-21T15:45:34.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:45:34.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:45:34.326Z] Configure a credential helper to remove this warning. See [2023-12-21T15:45:34.326Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:45:34.326Z] [2023-12-21T15:45:34.326Z] Login Succeeded [2023-12-21T15:45:34.326Z] nexus3.edgexfoundry.org:10004 [2023-12-21T15:45:34.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:45:34.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:45:34.594Z] Configure a credential helper to remove this warning. See [2023-12-21T15:45:34.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:45:34.594Z] [2023-12-21T15:45:34.594Z] Login Succeeded [2023-12-21T15:45:34.594Z] ****.io [2023-12-21T15:45:34.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-21T15:45:34.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-21T15:45:34.861Z] Configure a credential helper to remove this warning. See [2023-12-21T15:45:34.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-21T15:45:34.861Z] [2023-12-21T15:45:34.861Z] Login Succeeded [2023-12-21T15:45:34.861Z] ---> ****-login.sh ends [Pipeline] } [2023-12-21T15:45:34.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-21T15:45:35.397Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-21T15:45:35.458Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-12-21T15:45:35.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-21T15:45:35.592Z] ========================================================= [2023-12-21T15:45:35.592Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-12-21T15:45:35.592Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:45:36.126Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-12-21T15:45:37.087Z] #0 building with "default" instance using docker driver [2023-12-21T15:45:37.087Z] [2023-12-21T15:45:37.087Z] #1 [internal] load .dockerignore [2023-12-21T15:45:37.357Z] #1 transferring context: 2B done [2023-12-21T15:45:37.357Z] #1 DONE 0.1s [2023-12-21T15:45:37.357Z] [2023-12-21T15:45:37.357Z] #2 [internal] load build definition from Dockerfile.alpine-base [2023-12-21T15:45:37.357Z] #2 transferring dockerfile: 2.04kB 0.0s done [2023-12-21T15:45:37.357Z] #2 DONE 0.1s [2023-12-21T15:45:37.357Z] [2023-12-21T15:45:37.358Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-12-21T15:45:37.358Z] #3 DONE 0.1s [2023-12-21T15:45:37.358Z] [2023-12-21T15:45:37.358Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2023-12-21T15:45:37.358Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2023-12-21T15:45:37.626Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2023-12-21T15:45:37.626Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2023-12-21T15:45:37.626Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 1.05MB / 3.33MB 0.1s [2023-12-21T15:45:37.626Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 0B / 109.51MB 0.1s [2023-12-21T15:45:37.626Z] #4 ... [2023-12-21T15:45:37.626Z] [2023-12-21T15:45:37.626Z] #5 [internal] load build context [2023-12-21T15:45:37.626Z] #5 transferring context: 627.69kB 0.1s done [2023-12-21T15:45:37.626Z] #5 DONE 0.2s [2023-12-21T15:45:37.626Z] [2023-12-21T15:45:37.626Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2023-12-21T15:45:37.626Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2023-12-21T15:45:37.626Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2023-12-21T15:45:37.896Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 9.44MB / 109.51MB 0.3s [2023-12-21T15:45:37.896Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.3s done [2023-12-21T15:45:37.896Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 25.17MB / 109.51MB 0.6s [2023-12-21T15:45:38.165Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 42.99MB / 109.51MB 0.9s [2023-12-21T15:45:38.434Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 48.88MB / 109.51MB 1.0s [2023-12-21T15:45:38.700Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 60.82MB / 109.51MB 1.2s [2023-12-21T15:45:38.700Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 66.29MB / 109.51MB 1.3s [2023-12-21T15:45:38.966Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 78.64MB / 109.51MB 1.5s [2023-12-21T15:45:38.966Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 84.39MB / 109.51MB 1.6s [2023-12-21T15:45:39.231Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 90.18MB / 109.51MB 1.7s [2023-12-21T15:45:39.231Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 102.76MB / 109.51MB 1.9s [2023-12-21T15:45:39.498Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.0s [2023-12-21T15:45:39.764Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s done [2023-12-21T15:45:39.764Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2023-12-21T15:45:45.109Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.2s [2023-12-21T15:45:51.762Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.9s [2023-12-21T15:45:52.725Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 13.1s done [2023-12-21T15:45:52.997Z] #4 DONE 15.7s [2023-12-21T15:45:53.265Z] [2023-12-21T15:45:53.265Z] #6 [stage-1 2/7] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-12-21T15:45:53.850Z] #6 0.691 Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-12-21T15:45:54.432Z] #6 1.246 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-12-21T15:45:54.432Z] #6 1.246 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-12-21T15:45:54.432Z] #6 1.246 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-12-21T15:45:55.016Z] #6 DONE 2.1s [2023-12-21T15:45:55.283Z] [2023-12-21T15:45:55.283Z] #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-12-21T15:45:55.876Z] #7 DONE 0.8s [2023-12-21T15:45:55.876Z] [2023-12-21T15:45:55.876Z] #8 [stage-1 4/7] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2023-12-21T15:45:56.837Z] #8 0.920 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-21T15:45:57.103Z] #8 1.303 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-21T15:45:58.063Z] #8 1.907 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-21T15:45:58.649Z] #8 2.844 WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-12-21T15:45:58.649Z] #8 2.885 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2023-12-21T15:45:58.649Z] #8 2.918 (2/9) Installing curl (8.5.0-r0) [2023-12-21T15:45:58.915Z] #8 2.932 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2023-12-21T15:45:58.915Z] #8 3.035 (4/9) Installing hiredis (1.1.0-r2) [2023-12-21T15:45:58.915Z] #8 3.042 (5/9) Installing hiredis-dev (1.1.0-r2) [2023-12-21T15:45:58.915Z] #8 3.079 (6/9) Installing iotech-iot-1.5 (1.5.0-r0) [2023-12-21T15:45:59.925Z] #8 3.878 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2023-12-21T15:46:00.196Z] #8 4.111 (8/9) Installing libcbor (0.10.2-r1) [2023-12-21T15:46:00.196Z] #8 4.209 (9/9) Installing libuuid (2.38.1-r8) [2023-12-21T15:46:00.196Z] #8 4.216 Executing busybox-1.36.1-r4.trigger [2023-12-21T15:46:00.196Z] #8 4.261 OK: 327 MiB in 89 packages [2023-12-21T15:46:00.473Z] #8 DONE 4.6s [2023-12-21T15:46:00.473Z] [2023-12-21T15:46:00.473Z] #9 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-12-21T15:46:00.473Z] #9 0.892 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-21T15:46:00.473Z] #9 1.314 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-21T15:46:00.473Z] #9 1.897 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-21T15:46:00.473Z] #9 2.807 WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-12-21T15:46:00.473Z] #9 2.843 (1/17) Installing hiredis (1.1.0-r2) [2023-12-21T15:46:00.473Z] #9 2.970 (2/17) Installing hiredis-dev (1.1.0-r2) [2023-12-21T15:46:00.473Z] #9 3.097 (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-12-21T15:46:00.473Z] #9 3.885 (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-12-21T15:46:00.473Z] #9 4.012 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2023-12-21T15:46:00.473Z] #9 4.246 (6/17) Installing libcbor (0.10.2-r1) [2023-12-21T15:46:00.473Z] #9 4.253 (7/17) Installing libcbor-dev (0.10.2-r1) [2023-12-21T15:46:00.473Z] #9 4.357 (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-12-21T15:46:00.473Z] #9 4.364 (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-12-21T15:46:00.473Z] #9 4.371 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-12-21T15:46:00.473Z] #9 4.379 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-12-21T15:46:00.473Z] #9 4.414 (12/17) Installing libblkid (2.38.1-r8) [2023-12-21T15:46:00.473Z] #9 4.432 (13/17) Installing libuuid (2.38.1-r8) [2023-12-21T15:46:00.473Z] #9 4.440 (14/17) Installing libfdisk (2.38.1-r8) [2023-12-21T15:46:00.473Z] #9 4.461 (15/17) Installing libmount (2.38.1-r8) [2023-12-21T15:46:00.473Z] #9 4.477 (16/17) Installing libsmartcols (2.38.1-r8) [2023-12-21T15:46:00.473Z] #9 4.490 (17/17) Installing util-linux-dev (2.38.1-r8) [2023-12-21T15:46:00.473Z] #9 4.671 Executing busybox-1.36.1-r4.trigger [2023-12-21T15:46:00.473Z] #9 4.732 OK: 333 MiB in 99 packages [2023-12-21T15:46:01.058Z] #9 DONE 5.0s [2023-12-21T15:46:01.058Z] [2023-12-21T15:46:01.058Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2023-12-21T15:46:02.031Z] #10 DONE 0.8s [2023-12-21T15:46:02.031Z] [2023-12-21T15:46:02.031Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2023-12-21T15:46:02.031Z] #11 DONE 0.1s [2023-12-21T15:46:02.031Z] [2023-12-21T15:46:02.031Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2023-12-21T15:46:02.031Z] #12 DONE 0.2s [2023-12-21T15:46:02.031Z] [2023-12-21T15:46:02.031Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2023-12-21T15:46:02.031Z] #13 DONE 0.1s [2023-12-21T15:46:02.031Z] [2023-12-21T15:46:02.031Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2023-12-21T15:46:02.298Z] #14 DONE 0.1s [2023-12-21T15:46:02.298Z] [2023-12-21T15:46:02.298Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2023-12-21T15:46:02.298Z] #15 DONE 0.1s [2023-12-21T15:46:02.298Z] [2023-12-21T15:46:02.298Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2023-12-21T15:46:02.570Z] #16 DONE 0.1s [2023-12-21T15:46:02.570Z] [2023-12-21T15:46:02.570Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-12-21T15:46:03.155Z] #17 0.640 + CPPCHECK=false [2023-12-21T15:46:03.155Z] #17 0.640 + DOCGEN=false [2023-12-21T15:46:03.155Z] #17 0.640 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-12-21T15:46:03.155Z] #17 0.641 + '[' 0 -gt 0 ] [2023-12-21T15:46:03.155Z] #17 0.643 + readlink -f ./scripts/build.sh [2023-12-21T15:46:03.155Z] #17 0.647 + dirname /tmp/sdk/scripts/build.sh [2023-12-21T15:46:03.155Z] #17 0.649 + dirname /tmp/sdk/scripts [2023-12-21T15:46:03.155Z] #17 0.651 + ROOT=/tmp/sdk [2023-12-21T15:46:03.155Z] #17 0.651 + cd /tmp/sdk [2023-12-21T15:46:03.155Z] #17 0.651 + mkdir -p /tmp/sdk/build/release [2023-12-21T15:46:03.155Z] #17 0.655 + cd /tmp/sdk/build/release [2023-12-21T15:46:03.155Z] #17 0.655 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-12-21T15:46:03.422Z] #17 0.969 -- The C compiler identification is GNU 12.2.1 [2023-12-21T15:46:03.689Z] #17 1.032 -- Detecting C compiler ABI info [2023-12-21T15:46:03.955Z] #17 1.353 -- Detecting C compiler ABI info - done [2023-12-21T15:46:03.955Z] #17 1.438 -- Check for working C compiler: /usr/bin/cc - skipped [2023-12-21T15:46:03.955Z] #17 1.440 -- Detecting C compile features [2023-12-21T15:46:03.955Z] #17 1.443 -- Detecting C compile features - done [2023-12-21T15:46:03.955Z] #17 1.466 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-12-21T15:46:04.222Z] #17 1.649 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-12-21T15:46:04.222Z] #17 1.666 -- Found LIBYAML: /usr/lib/libyaml.so [2023-12-21T15:46:04.222Z] #17 1.681 -- Found LIBUUID: /usr/lib/libuuid.so [2023-12-21T15:46:04.222Z] #17 1.697 -- Found LIBCBOR: /usr/lib/libcbor.so [2023-12-21T15:46:04.222Z] #17 1.713 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-12-21T15:46:04.222Z] #17 1.728 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-12-21T15:46:04.222Z] #17 1.744 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-12-21T15:46:04.222Z] #17 1.744 -- /opt/iotech/iot/1.5/include [2023-12-21T15:46:04.222Z] #17 1.744 -- C SDK 0.0.0 for Linux [2023-12-21T15:46:04.222Z] #17 1.756 -- Performing Test CSDK_HAVE_ATOMIC [2023-12-21T15:46:04.492Z] #17 2.077 -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-12-21T15:46:04.764Z] #17 2.278 -- Found Curses: /usr/lib/libcurses.so [2023-12-21T15:46:04.764Z] #17 2.402 -- Configuring done (1.7s) [2023-12-21T15:46:05.346Z] #17 2.737 -- Generating done (0.3s) [2023-12-21T15:46:05.346Z] #17 2.757 -- Build files have been written to: /tmp/sdk/build/release [2023-12-21T15:46:05.346Z] #17 2.779 + make all package [2023-12-21T15:46:05.346Z] #17 2.781 + tee release.log [2023-12-21T15:46:05.346Z] #17 2.908 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-12-21T15:46:06.317Z] #17 3.666 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-12-21T15:46:06.897Z] #17 4.474 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-12-21T15:46:07.853Z] #17 5.155 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-12-21T15:46:08.433Z] #17 5.883 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-12-21T15:46:09.016Z] #17 6.460 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-12-21T15:46:10.956Z] #17 8.383 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-12-21T15:46:11.915Z] #17 9.179 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-12-21T15:46:11.915Z] #17 9.181 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-12-21T15:46:11.915Z] #17 9.181 294 | while (privateConfig) [2023-12-21T15:46:11.915Z] #17 9.181 | ^~~~~~~~~~~~~ [2023-12-21T15:46:11.915Z] #17 9.181 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-12-21T15:46:11.915Z] #17 9.181 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-12-21T15:46:11.915Z] #17 9.181 | ^~~~~~~~~~~~~ [2023-12-21T15:46:11.915Z] #17 9.181 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-12-21T15:46:11.915Z] #17 9.181 271 | while (result) [2023-12-21T15:46:11.915Z] #17 9.181 | ^~~~~~ [2023-12-21T15:46:11.915Z] #17 9.181 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-12-21T15:46:11.915Z] #17 9.181 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-12-21T15:46:11.915Z] #17 9.181 | ^~~~~~ [2023-12-21T15:46:11.915Z] #17 9.496 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-12-21T15:46:12.185Z] #17 9.715 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-12-21T15:46:13.143Z] #17 10.54 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-12-21T15:46:15.083Z] #17 12.29 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-12-21T15:46:15.357Z] #17 12.86 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-12-21T15:46:16.315Z] #17 13.64 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-12-21T15:46:16.895Z] #17 14.35 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-12-21T15:46:17.476Z] #17 14.81 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-12-21T15:46:18.430Z] #17 15.75 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-12-21T15:46:18.697Z] #17 16.04 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-12-21T15:46:20.634Z] #17 17.96 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-12-21T15:46:20.902Z] #17 18.28 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-12-21T15:46:21.169Z] #17 18.83 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-12-21T15:46:22.568Z] #17 20.04 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-12-21T15:46:29.219Z] #17 26.38 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-12-21T15:46:29.484Z] #17 26.98 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-12-21T15:46:29.749Z] #17 27.37 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-12-21T15:46:30.333Z] #17 27.88 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-12-21T15:46:30.598Z] #17 28.18 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-12-21T15:46:32.006Z] #17 29.53 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-12-21T15:46:33.944Z] #17 31.53 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-12-21T15:46:34.527Z] #17 31.95 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-12-21T15:46:35.481Z] #17 32.84 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-12-21T15:46:36.065Z] #17 33.40 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-12-21T15:46:36.065Z] #17 33.67 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-12-21T15:46:36.331Z] #17 33.67 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-12-21T15:46:36.331Z] #17 33.67 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-12-21T15:46:36.331Z] #17 33.67 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-12-21T15:46:36.331Z] #17 33.67 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-12-21T15:46:36.331Z] #17 33.67 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-12-21T15:46:36.331Z] #17 33.67 | ^ [2023-12-21T15:46:37.743Z] #17 35.07 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-12-21T15:46:37.743Z] #17 35.07 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-12-21T15:46:37.743Z] #17 35.07 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-12-21T15:46:37.743Z] #17 35.07 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-12-21T15:46:37.743Z] #17 35.07 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-12-21T15:46:37.743Z] #17 35.07 | ^~~~~~~~~~~~~~~~~~~~~ [2023-12-21T15:46:38.699Z] #17 36.08 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-12-21T15:46:39.278Z] #17 36.80 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-12-21T15:46:39.862Z] #17 37.14 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-12-21T15:46:40.130Z] #17 37.64 [ 68%] Linking C shared library libcsdk.so [2023-12-21T15:46:40.402Z] #17 37.84 [ 68%] Built target csdk [2023-12-21T15:46:40.402Z] #17 37.89 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-12-21T15:46:41.363Z] #17 38.67 [ 72%] Linking C executable template [2023-12-21T15:46:41.363Z] #17 39.00 [ 72%] Built target template [2023-12-21T15:46:41.636Z] #17 39.06 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-12-21T15:46:41.903Z] #17 39.57 [ 76%] Linking C executable device-counter [2023-12-21T15:46:42.487Z] #17 39.87 [ 76%] Built target device-counter [2023-12-21T15:46:42.487Z] #17 39.92 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-12-21T15:46:43.070Z] #17 40.42 [ 80%] Linking C executable device-random [2023-12-21T15:46:43.337Z] #17 40.72 [ 80%] Built target device-random [2023-12-21T15:46:43.337Z] #17 40.78 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-12-21T15:46:43.605Z] #17 41.22 [ 84%] Linking C executable device-gyro [2023-12-21T15:46:43.871Z] #17 41.51 [ 84%] Built target device-gyro [2023-12-21T15:46:44.137Z] #17 41.57 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-12-21T15:46:44.723Z] #17 42.04 [ 88%] Linking C executable device-bitfields [2023-12-21T15:46:44.723Z] #17 42.34 [ 88%] Built target device-bitfields [2023-12-21T15:46:44.723Z] #17 42.39 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-12-21T15:46:45.680Z] #17 43.18 [ 92%] Linking C executable template-discovery [2023-12-21T15:46:45.948Z] #17 43.47 [ 92%] Built target template-discovery [2023-12-21T15:46:45.948Z] #17 43.52 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-12-21T15:46:46.908Z] #17 44.20 [ 96%] Linking C executable device-file [2023-12-21T15:46:46.908Z] #17 44.49 [ 96%] Built target device-file [2023-12-21T15:46:47.174Z] #17 44.54 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-12-21T15:46:47.754Z] #17 45.16 [100%] Linking C executable device-terminal [2023-12-21T15:46:48.021Z] #17 45.47 [100%] Built target device-terminal [2023-12-21T15:46:48.021Z] #17 45.52 Run CPack packaging tool... [2023-12-21T15:46:48.021Z] #17 45.56 CPack: Create package using TGZ [2023-12-21T15:46:48.021Z] #17 45.56 CPack: Install projects [2023-12-21T15:46:48.021Z] #17 45.56 CPack: - Run preinstall target for: Csdk [2023-12-21T15:46:48.978Z] #17 46.29 CPack: - Install project: Csdk [] [2023-12-21T15:46:48.978Z] #17 46.33 CPack: Create package [2023-12-21T15:46:48.978Z] #17 46.41 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-12-21T15:46:48.978Z] #17 46.42 + '[' false '=' true ] [2023-12-21T15:46:48.978Z] #17 46.42 + '[' false '=' true ] [2023-12-21T15:46:48.978Z] #17 46.42 + mkdir -p /tmp/sdk/build/debug [2023-12-21T15:46:48.978Z] #17 46.42 + cd /tmp/sdk/build/debug [2023-12-21T15:46:48.978Z] #17 46.42 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-12-21T15:46:49.245Z] #17 46.71 -- The C compiler identification is GNU 12.2.1 [2023-12-21T15:46:49.245Z] #17 46.77 -- Detecting C compiler ABI info [2023-12-21T15:46:49.511Z] #17 47.08 -- Detecting C compiler ABI info - done [2023-12-21T15:46:49.511Z] #17 47.16 -- Check for working C compiler: /usr/bin/cc - skipped [2023-12-21T15:46:49.778Z] #17 47.16 -- Detecting C compile features [2023-12-21T15:46:49.778Z] #17 47.17 -- Detecting C compile features - done [2023-12-21T15:46:49.778Z] #17 47.19 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-12-21T15:46:49.778Z] #17 47.36 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-12-21T15:46:49.778Z] #17 47.37 -- Found LIBYAML: /usr/lib/libyaml.so [2023-12-21T15:46:49.778Z] #17 47.39 -- Found LIBUUID: /usr/lib/libuuid.so [2023-12-21T15:46:49.778Z] #17 47.40 -- Found LIBCBOR: /usr/lib/libcbor.so [2023-12-21T15:46:49.778Z] #17 47.42 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-12-21T15:46:50.044Z] #17 47.43 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-12-21T15:46:50.044Z] #17 47.45 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-12-21T15:46:50.044Z] #17 47.45 -- /opt/iotech/iot/1.5/include [2023-12-21T15:46:50.044Z] #17 47.45 -- C SDK 0.0.0 for Linux [2023-12-21T15:46:50.044Z] #17 47.46 -- Performing Test CSDK_HAVE_ATOMIC [2023-12-21T15:46:50.311Z] #17 47.75 -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-12-21T15:46:50.577Z] #17 47.91 -- Found Curses: /usr/lib/libcurses.so [2023-12-21T15:46:50.577Z] #17 48.01 -- Configuring done (1.6s) [2023-12-21T15:46:50.844Z] #17 48.26 -- Generating done (0.2s) [2023-12-21T15:46:50.844Z] #17 48.28 -- Build files have been written to: /tmp/sdk/build/debug [2023-12-21T15:46:50.844Z] #17 48.30 + + make [2023-12-21T15:46:50.844Z] #17 48.30 tee debug.log [2023-12-21T15:46:51.109Z] #17 48.43 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-12-21T15:46:51.379Z] #17 48.82 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-12-21T15:46:51.646Z] #17 49.18 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-12-21T15:46:52.230Z] #17 49.52 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-12-21T15:46:52.230Z] #17 49.88 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-12-21T15:46:52.812Z] #17 50.24 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-12-21T15:46:53.394Z] #17 50.89 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-12-21T15:46:53.663Z] #17 51.32 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-12-21T15:46:53.938Z] #17 51.48 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-12-21T15:46:54.203Z] #17 51.88 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-12-21T15:46:55.166Z] #17 52.48 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-12-21T15:46:55.433Z] #17 52.80 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-12-21T15:46:55.699Z] #17 53.22 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-12-21T15:46:56.287Z] #17 53.56 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-12-21T15:46:56.554Z] #17 53.87 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-12-21T15:46:56.554Z] #17 54.23 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-12-21T15:46:57.138Z] #17 54.45 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-12-21T15:46:57.717Z] #17 55.21 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-12-21T15:46:57.985Z] #17 55.44 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-12-21T15:46:58.253Z] #17 55.66 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-12-21T15:46:58.834Z] #17 56.28 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-12-21T15:46:59.788Z] #17 57.36 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-12-21T15:47:00.386Z] #17 57.69 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-12-21T15:47:00.386Z] #17 57.95 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-12-21T15:47:00.651Z] #17 58.25 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-12-21T15:47:00.917Z] #17 58.51 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-12-21T15:47:01.495Z] #17 58.99 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-12-21T15:47:02.899Z] #17 60.26 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-12-21T15:47:03.165Z] #17 60.52 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-12-21T15:47:03.431Z] #17 60.90 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-12-21T15:47:03.697Z] #17 61.25 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-12-21T15:47:04.280Z] #17 61.50 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-12-21T15:47:04.280Z] #17 61.50 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-12-21T15:47:04.280Z] #17 61.50 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-12-21T15:47:04.280Z] #17 61.50 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-12-21T15:47:04.280Z] #17 61.50 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-12-21T15:47:04.280Z] #17 61.50 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-12-21T15:47:04.280Z] #17 61.50 | ^ [2023-12-21T15:47:04.544Z] #17 62.02 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-12-21T15:47:04.808Z] #17 62.36 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-12-21T15:47:05.074Z] #17 62.64 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-12-21T15:47:05.340Z] #17 62.91 [ 68%] Linking C shared library libcsdk.so [2023-12-21T15:47:05.606Z] #17 63.15 [ 68%] Built target csdk [2023-12-21T15:47:05.606Z] #17 63.21 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-12-21T15:47:06.186Z] #17 63.54 [ 72%] Linking C executable template [2023-12-21T15:47:06.452Z] #17 63.84 [ 72%] Built target template [2023-12-21T15:47:06.452Z] #17 63.89 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-12-21T15:47:06.716Z] #17 64.18 [ 76%] Linking C executable device-counter [2023-12-21T15:47:06.982Z] #17 64.48 [ 76%] Built target device-counter [2023-12-21T15:47:06.982Z] #17 64.54 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-12-21T15:47:07.247Z] #17 64.81 [ 80%] Linking C executable device-random [2023-12-21T15:47:07.830Z] #17 65.14 [ 80%] Built target device-random [2023-12-21T15:47:07.830Z] #17 65.19 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-12-21T15:47:08.096Z] #17 65.46 [ 84%] Linking C executable device-gyro [2023-12-21T15:47:08.361Z] #17 65.76 [ 84%] Built target device-gyro [2023-12-21T15:47:08.361Z] #17 65.82 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-12-21T15:47:08.627Z] #17 66.10 [ 88%] Linking C executable device-bitfields [2023-12-21T15:47:08.891Z] #17 66.42 [ 88%] Built target device-bitfields [2023-12-21T15:47:08.891Z] #17 66.47 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-12-21T15:47:09.157Z] #17 66.83 [ 92%] Linking C executable template-discovery [2023-12-21T15:47:09.737Z] #17 67.17 [ 92%] Built target template-discovery [2023-12-21T15:47:09.737Z] #17 67.22 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-12-21T15:47:10.002Z] #17 67.56 [ 96%] Linking C executable device-file [2023-12-21T15:47:10.584Z] #17 67.96 [ 96%] Built target device-file [2023-12-21T15:47:10.584Z] #17 68.01 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-12-21T15:47:10.849Z] #17 68.39 [100%] Linking C executable device-terminal [2023-12-21T15:47:11.428Z] #17 68.77 [100%] Built target device-terminal [2023-12-21T15:47:12.008Z] #17 69.51 make: Entering directory '/tmp/sdk/build/release' [2023-12-21T15:47:12.275Z] #17 69.68 [ 68%] Built target csdk [2023-12-21T15:47:12.275Z] #17 69.73 [ 72%] Built target template [2023-12-21T15:47:12.275Z] #17 69.79 [ 76%] Built target device-counter [2023-12-21T15:47:12.275Z] #17 69.85 [ 80%] Built target device-random [2023-12-21T15:47:12.549Z] #17 69.90 [ 84%] Built target device-gyro [2023-12-21T15:47:12.549Z] #17 69.96 [ 88%] Built target device-bitfields [2023-12-21T15:47:12.549Z] #17 70.02 [ 92%] Built target template-discovery [2023-12-21T15:47:12.549Z] #17 70.07 [ 96%] Built target device-file [2023-12-21T15:47:12.549Z] #17 70.13 [100%] Built target device-terminal [2023-12-21T15:47:12.549Z] #17 70.19 Install the project... [2023-12-21T15:47:12.817Z] #17 70.21 -- Install configuration: "Release" [2023-12-21T15:47:12.817Z] #17 70.21 -- Installing: /usr/local/lib/libcsdk.so [2023-12-21T15:47:12.817Z] #17 70.22 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-12-21T15:47:12.817Z] #17 70.22 -- Installing: /usr/local/include [2023-12-21T15:47:12.817Z] #17 70.22 -- Installing: /usr/local/include/devsdk [2023-12-21T15:47:12.817Z] #17 70.22 -- Installing: /usr/local/include/devsdk/devsdk.h [2023-12-21T15:47:12.817Z] #17 70.22 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-12-21T15:47:12.817Z] #17 70.22 -- Installing: /usr/local/include/edgex [2023-12-21T15:47:12.817Z] #17 70.22 -- Installing: /usr/local/include/edgex/rest-server.h [2023-12-21T15:47:12.817Z] #17 70.22 -- Installing: /usr/local/include/edgex/edgex.h [2023-12-21T15:47:12.817Z] #17 70.22 -- Installing: /usr/local/include/edgex/edgex-base.h [2023-12-21T15:47:12.817Z] #17 70.23 -- Installing: /usr/local/include/edgex/devices.h [2023-12-21T15:47:12.817Z] #17 70.23 -- Installing: /usr/local/include/edgex/profiles.h [2023-12-21T15:47:12.817Z] #17 70.23 -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-12-21T15:47:12.817Z] #17 70.23 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-12-21T15:47:12.817Z] #17 70.23 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-12-21T15:47:12.817Z] #17 70.24 make: Leaving directory '/tmp/sdk/build/release' [2023-12-21T15:47:12.817Z] #17 DONE 70.3s [2023-12-21T15:47:12.817Z] [2023-12-21T15:47:12.817Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-12-21T15:47:13.086Z] #18 DONE 0.2s [2023-12-21T15:47:13.086Z] [2023-12-21T15:47:13.086Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2023-12-21T15:47:13.086Z] #19 DONE 0.1s [2023-12-21T15:47:13.354Z] [2023-12-21T15:47:13.354Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-12-21T15:47:13.354Z] #20 DONE 0.1s [2023-12-21T15:47:13.354Z] [2023-12-21T15:47:13.354Z] #21 exporting to image [2023-12-21T15:47:13.354Z] #21 exporting layers [2023-12-21T15:47:13.620Z] #21 exporting layers 0.2s done [2023-12-21T15:47:13.620Z] #21 writing image sha256:e0a667ced0bf726d4158f8784cee29a92e7d305a97e37ead3886dc23c8adbc01 done [2023-12-21T15:47:13.620Z] #21 naming to docker.io/library/ci-base-image-arm64 done [2023-12-21T15:47:13.620Z] #21 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:47:14.672Z] + docker inspect -f . ci-base-image-arm64 [2023-12-21T15:47:14.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-21T15:47:14.989Z] prd-ubuntu20.04-docker-arm64-4c-16g-25909 does not seem to be running inside a container [2023-12-21T15:47:15.071Z] $ 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 [2023-12-21T15:47:16.113Z] $ docker top f64d204ec12ba7df50eeebafb10faa297a97262e0eedf0ea80594e314fd44d6a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-21T15:47:16.716Z] + make test [2023-12-21T15:47:16.716Z] echo "make test" [2023-12-21T15:47:16.716Z] make test [Pipeline] } [2023-12-21T15:47:16.753Z] $ docker stop --time=1 f64d204ec12ba7df50eeebafb10faa297a97262e0eedf0ea80594e314fd44d6a [2023-12-21T15:47:18.322Z] $ docker rm -f --volumes f64d204ec12ba7df50eeebafb10faa297a97262e0eedf0ea80594e314fd44d6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-21T15:47:19.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-21T15:47:19.716Z] + ls -al . [2023-12-21T15:47:19.716Z] total 208 [2023-12-21T15:47:19.716Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 15:45 . [2023-12-21T15:47:19.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 15:45 .. [2023-12-21T15:47:19.716Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 15:45 .git [2023-12-21T15:47:19.716Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 15:45 .github [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 21 15:45 .gitignore [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 21 15:45 Attribution.txt [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 21 15:45 CHANGELOG.md [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 21 15:45 Doxyfile [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 21 15:45 GOVERNANCE.md [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 21 15:45 Jenkinsfile [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 21 15:45 LICENSE [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 21 15:45 Makefile [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 21 15:45 OWNERS.md [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 21 15:45 README.IOT.md [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 4215 Dec 21 15:45 README.md [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 21 15:45 README.v3.md [2023-12-21T15:47:19.716Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 15:42 VERSION [2023-12-21T15:47:19.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 15:45 docs [2023-12-21T15:47:19.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 15:45 include [2023-12-21T15:47:19.716Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 15:45 scripts [2023-12-21T15:47:19.716Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 15:45 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:47:20.195Z] + 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=b31876e0e4aaf1f3522feeabf3d32bf782af7a14 --label arch=arm64 --label version=0.0.0 . [2023-12-21T15:47:20.780Z] #0 building with "default" instance using docker driver [2023-12-21T15:47:20.780Z] [2023-12-21T15:47:20.780Z] #1 [internal] load .dockerignore [2023-12-21T15:47:20.780Z] #1 transferring context: 2B 0.0s done [2023-12-21T15:47:20.780Z] #1 DONE 0.0s [2023-12-21T15:47:20.780Z] [2023-12-21T15:47:20.780Z] #2 [internal] load build definition from Dockerfile.alpine [2023-12-21T15:47:20.780Z] #2 transferring dockerfile: 1.44kB 0.0s done [2023-12-21T15:47:21.048Z] #2 DONE 0.0s [2023-12-21T15:47:21.048Z] [2023-12-21T15:47:21.048Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-21T15:47:21.048Z] #3 DONE 0.0s [2023-12-21T15:47:21.048Z] [2023-12-21T15:47:21.048Z] #4 [internal] load build context [2023-12-21T15:47:21.048Z] #4 transferring context: 8.55kB 0.1s done [2023-12-21T15:47:21.048Z] #4 DONE 0.1s [2023-12-21T15:47:21.048Z] [2023-12-21T15:47:21.048Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2023-12-21T15:47:21.048Z] #5 DONE 0.2s [2023-12-21T15:47:21.048Z] [2023-12-21T15:47:21.048Z] #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-12-21T15:47:21.644Z] #6 0.589 Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-12-21T15:47:22.231Z] #6 1.088 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-12-21T15:47:22.231Z] #6 1.089 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-12-21T15:47:22.231Z] #6 1.089 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-12-21T15:47:22.231Z] #6 DONE 1.2s [2023-12-21T15:47:22.231Z] [2023-12-21T15:47:22.231Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-12-21T15:47:26.477Z] #7 DONE 3.6s [2023-12-21T15:47:26.477Z] [2023-12-21T15:47:26.477Z] #8 [ 4/11] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2023-12-21T15:47:26.742Z] #8 0.752 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-21T15:47:27.008Z] #8 1.130 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-21T15:47:27.586Z] #8 1.672 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-21T15:47:28.537Z] #8 2.552 WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-12-21T15:47:28.537Z] #8 2.579 (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-12-21T15:47:28.802Z] #8 2.884 (2/11) Installing libcbor-dev (0.10.2-r1) [2023-12-21T15:47:28.803Z] #8 2.900 (3/11) Installing libmenuw (6.4_p20230506-r0) [2023-12-21T15:47:28.803Z] #8 2.906 (4/11) Installing libpanelw (6.4_p20230506-r0) [2023-12-21T15:47:28.803Z] #8 2.912 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2023-12-21T15:47:28.803Z] #8 2.919 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2023-12-21T15:47:28.803Z] #8 2.946 (7/11) Installing libblkid (2.38.1-r8) [2023-12-21T15:47:28.803Z] #8 2.959 (8/11) Installing libfdisk (2.38.1-r8) [2023-12-21T15:47:28.803Z] #8 2.974 (9/11) Installing libmount (2.38.1-r8) [2023-12-21T15:47:28.803Z] #8 2.988 (10/11) Installing libsmartcols (2.38.1-r8) [2023-12-21T15:47:28.803Z] #8 3.001 (11/11) Installing util-linux-dev (2.38.1-r8) [2023-12-21T15:47:28.803Z] #8 3.073 Executing busybox-1.36.1-r4.trigger [2023-12-21T15:47:29.069Z] #8 3.116 OK: 333 MiB in 100 packages [2023-12-21T15:47:29.335Z] #8 DONE 3.4s [2023-12-21T15:47:29.335Z] [2023-12-21T15:47:29.335Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2023-12-21T15:47:29.335Z] #9 DONE 0.1s [2023-12-21T15:47:29.603Z] [2023-12-21T15:47:29.603Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2023-12-21T15:47:29.603Z] #10 DONE 0.2s [2023-12-21T15:47:29.603Z] [2023-12-21T15:47:29.603Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2023-12-21T15:47:29.603Z] #11 DONE 0.1s [2023-12-21T15:47:29.870Z] [2023-12-21T15:47:29.870Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2023-12-21T15:47:29.870Z] #12 DONE 0.1s [2023-12-21T15:47:29.870Z] [2023-12-21T15:47:29.870Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2023-12-21T15:47:29.870Z] #13 DONE 0.1s [2023-12-21T15:47:29.870Z] [2023-12-21T15:47:29.870Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2023-12-21T15:47:29.870Z] #14 DONE 0.1s [2023-12-21T15:47:29.870Z] [2023-12-21T15:47:29.870Z] #15 [11/11] WORKDIR /edgex-c-sdk [2023-12-21T15:47:30.137Z] #15 DONE 0.1s [2023-12-21T15:47:30.137Z] [2023-12-21T15:47:30.137Z] #16 exporting to image [2023-12-21T15:47:30.137Z] #16 exporting layers [2023-12-21T15:47:30.401Z] #16 exporting layers 0.4s done [2023-12-21T15:47:30.401Z] #16 writing image sha256:9174dbdbd5ea57891a9667dd8f05d6ca730e1fda35326f3a6a2286a3635ec4cf done [2023-12-21T15:47:30.402Z] #16 naming to docker.io/library/device-sdk-arm64 done [2023-12-21T15:47:30.402Z] #16 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:47:31.610Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-21T15:47:31.610Z] [2023-12-21T15:47:31.610Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:47:32.055Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-21T15:47:32.324Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-21T15:47:32.324Z] 8998bd30e6a1: Pulling fs layer [2023-12-21T15:47:32.324Z] 04944245beec: Pulling fs layer [2023-12-21T15:47:32.324Z] 699f458cf7ca: Pulling fs layer [2023-12-21T15:47:32.324Z] 765212b225bb: Pulling fs layer [2023-12-21T15:47:32.324Z] f23df028b6ca: Pulling fs layer [2023-12-21T15:47:32.324Z] d65c8cfc05b1: Pulling fs layer [2023-12-21T15:47:32.324Z] 2437ff75d9bd: Pulling fs layer [2023-12-21T15:47:32.324Z] 765212b225bb: Waiting [2023-12-21T15:47:32.324Z] f23df028b6ca: Waiting [2023-12-21T15:47:32.324Z] d65c8cfc05b1: Waiting [2023-12-21T15:47:32.324Z] 2437ff75d9bd: Waiting [2023-12-21T15:47:32.324Z] 04944245beec: Verifying Checksum [2023-12-21T15:47:32.324Z] 04944245beec: Download complete [2023-12-21T15:47:32.324Z] 765212b225bb: Verifying Checksum [2023-12-21T15:47:32.324Z] 765212b225bb: Download complete [2023-12-21T15:47:32.592Z] f23df028b6ca: Verifying Checksum [2023-12-21T15:47:32.592Z] f23df028b6ca: Download complete [2023-12-21T15:47:32.592Z] d65c8cfc05b1: Verifying Checksum [2023-12-21T15:47:32.592Z] d65c8cfc05b1: Download complete [2023-12-21T15:47:32.592Z] 699f458cf7ca: Verifying Checksum [2023-12-21T15:47:32.592Z] 699f458cf7ca: Download complete [2023-12-21T15:47:32.860Z] 8998bd30e6a1: Verifying Checksum [2023-12-21T15:47:32.860Z] 8998bd30e6a1: Download complete [2023-12-21T15:47:34.800Z] 2437ff75d9bd: Verifying Checksum [2023-12-21T15:47:34.800Z] 2437ff75d9bd: Download complete [2023-12-21T15:47:41.437Z] 8998bd30e6a1: Pull complete [2023-12-21T15:47:41.437Z] 04944245beec: Pull complete [2023-12-21T15:47:43.369Z] 699f458cf7ca: Pull complete [2023-12-21T15:47:43.369Z] 765212b225bb: Pull complete [2023-12-21T15:47:44.324Z] f23df028b6ca: Pull complete [2023-12-21T15:47:44.324Z] d65c8cfc05b1: Pull complete [2023-12-21T15:48:10.987Z] 2437ff75d9bd: Pull complete [2023-12-21T15:48:10.987Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-21T15:48:10.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-21T15:48:10.987Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-21T15:48:11.431Z] prd-ubuntu20.04-docker-arm64-4c-16g-25909 does not seem to be running inside a container [2023-12-21T15:48:11.501Z] $ 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 [2023-12-21T15:48:12.816Z] $ docker top ab309aa43901c44c76758822e0e9f6ce0cd009494cac2be2409277833f47f001 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:48:13.410Z] ---> job-cost.sh [2023-12-21T15:48:13.674Z] lf-activate-venv: SKIPPING [2023-12-21T15:48:13.674Z] INFO: No Stack... [2023-12-21T15:48:18.982Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-21T15:48:19.246Z] INFO: Archiving Costs [Pipeline] sh [2023-12-21T15:48:19.577Z] + cat /w/workspace/device-sdk-c/1/archives/cost.csv [2023-12-21T15:48:19.577Z] + cut -d, -f6 [Pipeline] lock [2023-12-21T15:48:19.652Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-502-1-stack-cost] [2023-12-21T15:48:19.657Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-502-1-stack-cost] did not exist. Created. [2023-12-21T15:48:19.657Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-21T15:48:20.136Z] /w/workspace/device-sdk-c/1@tmp/durable-43f18020/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-21T15:48:20.476Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-21T15:48:20.511Z] Warning: overwriting stash ‘stack-cost’ [2023-12-21T15:48:20.929Z] Stashed 1 file(s) [Pipeline] } [2023-12-21T15:48:20.945Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-502-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-21T15:48:21.095Z] $ docker stop --time=1 ab309aa43901c44c76758822e0e9f6ce0cd009494cac2be2409277833f47f001 [2023-12-21T15:48:23.992Z] $ docker rm -f --volumes ab309aa43901c44c76758822e0e9f6ce0cd009494cac2be2409277833f47f001 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-12-21T15:48:26.896Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-502/archives ] [2023-12-21T15:48:26.896Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-502/archives [2023-12-21T15:48:26.896Z] total 16 [2023-12-21T15:48:26.896Z] drwxr-xr-x 3 root root 4096 Dec 21 15:43 . [2023-12-21T15:48:26.896Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 15:43 .. [2023-12-21T15:48:26.896Z] drwxr-xr-x 2 root root 4096 Dec 21 15:43 cost [2023-12-21T15:48:26.896Z] -rw-r--r-- 1 root root 84 Dec 21 15:43 cost.csv [2023-12-21T15:48:26.896Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-502/archives [2023-12-21T15:48:26.896Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-502/archives [2023-12-21T15:48:26.896Z] total 16 [2023-12-21T15:48:26.896Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 21 15:43 . [2023-12-21T15:48:26.896Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 15:43 .. [2023-12-21T15:48:26.896Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 21 15:43 cost [2023-12-21T15:48:26.896Z] -rw-r--r-- 1 jenkins jenkins 84 Dec 21 15:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:48:27.225Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:48:28.127Z] ---> package-listing.sh [2023-12-21T15:48:28.127Z] ++ facter osfamily [2023-12-21T15:48:28.127Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-21T15:48:28.388Z] + OS_FAMILY=debian [2023-12-21T15:48:28.388Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-502 [2023-12-21T15:48:28.388Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-21T15:48:28.388Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-21T15:48:28.388Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-21T15:48:28.388Z] + PACKAGES=/tmp/packages_start.txt [2023-12-21T15:48:28.388Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-502 ']' [2023-12-21T15:48:28.388Z] + PACKAGES=/tmp/packages_end.txt [2023-12-21T15:48:28.388Z] + case "${OS_FAMILY}" in [2023-12-21T15:48:28.388Z] + dpkg -l [2023-12-21T15:48:28.388Z] + grep '^ii' [2023-12-21T15:48:28.388Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-21T15:48:28.388Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-21T15:48:28.388Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-21T15:48:28.388Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-502 ']' [2023-12-21T15:48:28.388Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-502/archives/ [2023-12-21T15:48:28.388Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-502/archives/ [Pipeline] echo [2023-12-21T15:48:28.424Z] 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-502/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-21T15:48:28.722Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-21T15:48:29.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-21T15:48:29.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-21T15:48:29.362Z] prd-ubuntu20.04-docker-8c-8g-25908 does not seem to be running inside a container [2023-12-21T15:48:29.397Z] $ 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-502/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-502 -v /w/workspace/edgexfoundry_device-sdk-c_PR-502:/w/workspace/edgexfoundry_device-sdk-c_PR-502:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-21T15:48:29.596Z] $ docker top 9125ea2ebaee33d347dba26c7a4a44cc5b391aa6b6189cc6a0688c4a225c515c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-21T15:48:30.081Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-21T15:48:30.392Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-21T15:48:30.705Z] + ls /var/log/sa-host [2023-12-21T15:48:30.705Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-21T15:48:30.973Z] provisioning config files... [2023-12-21T15:48:30.982Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-502@tmp/config5271785710902802336tmp [Pipeline] { [Pipeline] echo [2023-12-21T15:48:31.121Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:48:31.437Z] ---> create-netrc.sh [Pipeline] } [2023-12-21T15:48:31.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:48:31.952Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-21T15:48:31.982Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:48:32.301Z] ---> sudo-logs.sh [2023-12-21T15:48:32.301Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-21T15:48:32.428Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:48:32.746Z] ---> job-cost.sh [2023-12-21T15:48:32.746Z] lf-activate-venv: SKIPPING [2023-12-21T15:48:32.746Z] DEBUG: total: 0.2199999988079071 [2023-12-21T15:48:32.746Z] INFO: Retrieving Stack Cost... [2023-12-21T15:48:33.008Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-21T15:48:33.582Z] INFO: Archiving Costs [Pipeline] echo [2023-12-21T15:48:33.616Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-21T15:48:33.930Z] ---> logs-deploy.sh [2023-12-21T15:48:33.930Z] lf-activate-venv: SKIPPING [2023-12-21T15:48:33.930Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-502/1 [2023-12-21T15:48:33.930Z] INFO: archiving workspace using pattern(s): [2023-12-21T15:48:34.868Z] Archives upload complete. [2023-12-21T15:48:34.868Z] INFO: archiving logs to Nexus