Pull request #490 updated 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 ych988 for edgexfoundry/device-sdk-c Loading trusted files from base branch main at 1a776ee907d08e39928eb07fc2284b30a6e0a694 rather than fe5ba9d6f8396da247f1f9be425dc469f5c68a9e Obtained Jenkinsfile from 1a776ee907d08e39928eb07fc2284b30a6e0a694 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-ssh15316485470376723202.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10594971442625612735.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-490/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-490/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9339412934893660556.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh3707678351695274384.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-490/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-490/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh454566211281951466.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-18093 in /w/workspace/edgexfoundry_device-sdk-c_PR-490 [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-490 # 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 Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit fe5ba9d6f8396da247f1f9be425dc469f5c68a9e > 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/490/head:refs/remotes/origin/PR-490 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing fe5ba9d6f8396da247f1f9be425dc469f5c68a9e Checking out Revision fe5ba9d6f8396da247f1f9be425dc469f5c68a9e (PR-490) > git checkout -f fe5ba9d6f8396da247f1f9be425dc469f5c68a9e # 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 fe5ba9d6f8396da247f1f9be425dc469f5c68a9e # timeout=10 Commit message: "Merge branch 'edgexfoundry:main' into main" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-15T10:09:03.055Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk 011407499b848e4b3e1f374ce8313795ac43282b # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-15T10:09:03.116Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T10:09:03.135Z] ========================================================= [2023-11-15T10:09:03.135Z] EdgeX Global Pipelines Version Info [2023-11-15T10:09:03.135Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:09:04.255Z] ------------------- [2023-11-15T10:09:04.255Z] stable info: [2023-11-15T10:09:04.255Z] ------------------- [2023-11-15T10:09:04.255Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-15T10:09:04.255Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T10:09:04.255Z] Message: update stable to v1.0.257 [2023-11-15T10:09:04.868Z] ------------------- [2023-11-15T10:09:04.868Z] experimental info: [2023-11-15T10:09:04.868Z] ------------------- [2023-11-15T10:09:04.868Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-15T10:09:04.868Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T10:09:04.868Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-15T10:09:05.092Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-11-15T10:09:05.101Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-11-15T10:09:05.109Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-15T10:09:05.117Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-15T10:09:05.125Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-15T10:09:05.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-11-15T10:09:05.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-11-15T10:09:05.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-15T10:09:05.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-15T10:09:05.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-11-15T10:09:05.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-15T10:09:05.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-15T10:09:05.189Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T10:09:05.198Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T10:09:05.206Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-15T10:09:05.215Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-15T10:09:05.223Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-15T10:09:05.231Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-490 [Pipeline] echo [2023-11-15T10:09:05.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-490 [Pipeline] echo [2023-11-15T10:09:05.248Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-490 [Pipeline] echo [2023-11-15T10:09:05.262Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [Pipeline] echo [2023-11-15T10:09:05.276Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe5ba9d [Pipeline] echo [2023-11-15T10:09:05.290Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T10:09:05.350Z] provisioning config files... [2023-11-15T10:09:05.368Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/config17637526257066674421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:09:05.687Z] ---> docker-login.sh [2023-11-15T10:09:05.687Z] nexus3.edgexfoundry.org:10001 [2023-11-15T10:09:06.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:09:06.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:09:06.544Z] Configure a credential helper to remove this warning. See [2023-11-15T10:09:06.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:09:06.544Z] [2023-11-15T10:09:06.544Z] Login Succeeded [2023-11-15T10:09:06.544Z] nexus3.edgexfoundry.org:10002 [2023-11-15T10:09:06.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:09:06.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:09:06.806Z] Configure a credential helper to remove this warning. See [2023-11-15T10:09:06.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:09:06.806Z] [2023-11-15T10:09:06.806Z] Login Succeeded [2023-11-15T10:09:06.806Z] nexus3.edgexfoundry.org:10003 [2023-11-15T10:09:06.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:09:06.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:09:06.806Z] Configure a credential helper to remove this warning. See [2023-11-15T10:09:06.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:09:06.806Z] [2023-11-15T10:09:06.806Z] Login Succeeded [2023-11-15T10:09:06.806Z] nexus3.edgexfoundry.org:10004 [2023-11-15T10:09:06.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:09:07.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:09:07.065Z] Configure a credential helper to remove this warning. See [2023-11-15T10:09:07.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:09:07.065Z] [2023-11-15T10:09:07.065Z] Login Succeeded [2023-11-15T10:09:07.065Z] docker.io [2023-11-15T10:09:07.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:09:07.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:09:07.328Z] Configure a credential helper to remove this warning. See [2023-11-15T10:09:07.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:09:07.328Z] [2023-11-15T10:09:07.328Z] Login Succeeded [2023-11-15T10:09:07.328Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T10:09:07.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-11-15T10:09:07.702Z] + git rev-list -1 --merges fe5ba9d6f8396da247f1f9be425dc469f5c68a9e~1..fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [Pipeline] echo [2023-11-15T10:09:07.750Z] -----------> git rev-list -1 --merges fe5ba9d6f8396da247f1f9be425dc469f5c68a9e~1..fe5ba9d6f8396da247f1f9be425dc469f5c68a9e fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [2023-11-15T10:09:07.750Z] fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [false] [Pipeline] sh [2023-11-15T10:09:08.036Z] + git log --format=format:%s -1 fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [Pipeline] echo [2023-11-15T10:09:08.052Z] ========================================================= [2023-11-15T10:09:08.052Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-15T10:09:08.052Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-15T10:09:08.421Z] + git rev-list -1 --merges fe5ba9d6f8396da247f1f9be425dc469f5c68a9e~1..fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [Pipeline] echo [2023-11-15T10:09:08.433Z] -----------> git rev-list -1 --merges fe5ba9d6f8396da247f1f9be425dc469f5c68a9e~1..fe5ba9d6f8396da247f1f9be425dc469f5c68a9e fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [2023-11-15T10:09:08.433Z] fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [false] [Pipeline] sh [2023-11-15T10:09:08.717Z] + git log --format=format:%s -1 fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [Pipeline] echo [2023-11-15T10:09:08.728Z] ========================================================= [2023-11-15T10:09:08.728Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-15T10:09:08.728Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2023-11-15T10:09:09.150Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-15T10:09:09.150Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-15T10:09:09.150Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-15T10:09:09.150Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-15T10:09:09.150Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-15T10:09:09.150Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-15T10:09:09.150Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:09:09.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T10:09:09.549Z] [2023-11-15T10:09:09.549Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:09:09.850Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T10:09:09.850Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-15T10:09:09.850Z] b85a868b505f: Pulling fs layer [2023-11-15T10:09:09.850Z] e2be974225ed: Pulling fs layer [2023-11-15T10:09:09.850Z] 339a4e72a1f5: Pulling fs layer [2023-11-15T10:09:09.850Z] 988bab9f4d93: Pulling fs layer [2023-11-15T10:09:09.850Z] 1469e6f7b9e6: Pulling fs layer [2023-11-15T10:09:09.850Z] eaf3925da568: Pulling fs layer [2023-11-15T10:09:09.850Z] bab4dde63d76: Pulling fs layer [2023-11-15T10:09:09.850Z] bde34c3a00c8: Pulling fs layer [2023-11-15T10:09:09.850Z] b352a97aabf1: Pulling fs layer [2023-11-15T10:09:09.850Z] 4872d77fe225: Pulling fs layer [2023-11-15T10:09:09.850Z] 5851b861e8e6: Pulling fs layer [2023-11-15T10:09:09.850Z] eaf3925da568: Waiting [2023-11-15T10:09:09.850Z] 988bab9f4d93: Waiting [2023-11-15T10:09:09.850Z] bab4dde63d76: Waiting [2023-11-15T10:09:09.850Z] 1469e6f7b9e6: Waiting [2023-11-15T10:09:09.850Z] bde34c3a00c8: Waiting [2023-11-15T10:09:09.850Z] b352a97aabf1: Waiting [2023-11-15T10:09:09.850Z] 4872d77fe225: Waiting [2023-11-15T10:09:09.850Z] 5851b861e8e6: Waiting [2023-11-15T10:09:09.850Z] e2be974225ed: Download complete [2023-11-15T10:09:09.850Z] 988bab9f4d93: Verifying Checksum [2023-11-15T10:09:09.850Z] 988bab9f4d93: Download complete [2023-11-15T10:09:10.111Z] 1469e6f7b9e6: Verifying Checksum [2023-11-15T10:09:10.111Z] 1469e6f7b9e6: Download complete [2023-11-15T10:09:10.111Z] eaf3925da568: Verifying Checksum [2023-11-15T10:09:10.111Z] eaf3925da568: Download complete [2023-11-15T10:09:10.111Z] 339a4e72a1f5: Verifying Checksum [2023-11-15T10:09:10.111Z] 339a4e72a1f5: Download complete [2023-11-15T10:09:10.111Z] bde34c3a00c8: Verifying Checksum [2023-11-15T10:09:10.111Z] bde34c3a00c8: Download complete [2023-11-15T10:09:10.111Z] b352a97aabf1: Verifying Checksum [2023-11-15T10:09:10.111Z] b352a97aabf1: Download complete [2023-11-15T10:09:10.111Z] 4872d77fe225: Download complete [2023-11-15T10:09:10.111Z] 5851b861e8e6: Verifying Checksum [2023-11-15T10:09:10.111Z] 5851b861e8e6: Download complete [2023-11-15T10:09:10.111Z] b85a868b505f: Verifying Checksum [2023-11-15T10:09:10.111Z] b85a868b505f: Download complete [2023-11-15T10:09:10.371Z] bab4dde63d76: Verifying Checksum [2023-11-15T10:09:10.371Z] bab4dde63d76: Download complete [2023-11-15T10:09:11.310Z] b85a868b505f: Pull complete [2023-11-15T10:09:11.569Z] e2be974225ed: Pull complete [2023-11-15T10:09:12.136Z] 339a4e72a1f5: Pull complete [2023-11-15T10:09:12.136Z] 988bab9f4d93: Pull complete [2023-11-15T10:09:12.396Z] 1469e6f7b9e6: Pull complete [2023-11-15T10:09:12.655Z] eaf3925da568: Pull complete [2023-11-15T10:09:14.558Z] bab4dde63d76: Pull complete [2023-11-15T10:09:14.558Z] bde34c3a00c8: Pull complete [2023-11-15T10:09:14.558Z] b352a97aabf1: Pull complete [2023-11-15T10:09:14.817Z] 4872d77fe225: Pull complete [2023-11-15T10:09:14.817Z] 5851b861e8e6: Pull complete [2023-11-15T10:09:14.817Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-15T10:09:15.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-15T10:09:15.076Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T10:09:15.183Z] prd-ubuntu20.04-docker-8c-8g-18093 does not seem to be running inside a container [2023-11-15T10:09:15.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-490 -v /w/workspace/edgexfoundry_device-sdk-c_PR-490:/w/workspace/edgexfoundry_device-sdk-c_PR-490:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-15T10:09:21.739Z] $ docker top 2546f5113107ebe9ed7cb35c52456d8292d73a708803a1863873743e6443c202 -eo pid,comm [2023-11-15T10:09:21.790Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-15T10:09:21.790Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-15T10:09:21.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T10:09:21.831Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T10:09:21.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T10:09:21.960Z] $ docker exec 2546f5113107ebe9ed7cb35c52456d8292d73a708803a1863873743e6443c202 ssh-agent [2023-11-15T10:09:22.069Z] SSH_AUTH_SOCK=/tmp/ssh-DI4CJa7XnA76/agent.21 [2023-11-15T10:09:22.069Z] SSH_AGENT_PID=39 [2023-11-15T10:09:22.076Z] Running ssh-add (command line suppressed) [2023-11-15T10:09:22.178Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/private_key_8336852090192318948.key (/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/private_key_8336852090192318948.key) [2023-11-15T10:09:22.192Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T10:09:22.512Z] + git tag --points-at HEAD [Pipeline] } [2023-11-15T10:09:22.534Z] $ docker exec --env ******** --env ******** 2546f5113107ebe9ed7cb35c52456d8292d73a708803a1863873743e6443c202 ssh-agent -k [2023-11-15T10:09:22.631Z] unset SSH_AUTH_SOCK; [2023-11-15T10:09:22.632Z] unset SSH_AGENT_PID; [2023-11-15T10:09:22.632Z] echo Agent pid 39 killed; [2023-11-15T10:09:22.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-15T10:09:22.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-15T10:09:22.666Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-15T10:09:22.780Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-15T10:09:22.785Z] $ docker exec 2546f5113107ebe9ed7cb35c52456d8292d73a708803a1863873743e6443c202 ssh-agent [2023-11-15T10:09:22.891Z] SSH_AUTH_SOCK=/tmp/ssh-d2MVra2SiF0y/agent.72 [2023-11-15T10:09:22.891Z] SSH_AGENT_PID=78 [2023-11-15T10:09:22.896Z] Running ssh-add (command line suppressed) [2023-11-15T10:09:22.998Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/private_key_14779461915883683320.key (/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/private_key_14779461915883683320.key) [2023-11-15T10:09:23.011Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-15T10:09:23.301Z] + git semver init [2023-11-15T10:09:23.562Z] 2023-11-15 10:09:23,478 [run_init] DEBUG init version:0.0.0 force:False [2023-11-15T10:09:23.562Z] 2023-11-15 10:09:23,478 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver [2023-11-15T10:09:23.562Z] 2023-11-15 10:09:23,479 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver [2023-11-15T10:09:23.562Z] 2023-11-15 10:09:23,479 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-490, universal_newlines=False, shell=None, istream=None) [2023-11-15T10:09:24.502Z] 2023-11-15 10:09:24,410 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-490/.git/info/exclude [2023-11-15T10:09:24.502Z] 2023-11-15 10:09:24,411 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver/PR-490 with force:False [2023-11-15T10:09:24.502Z] 2023-11-15 10:09:24,411 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver/PR-490 [2023-11-15T10:09:24.502Z] 2023-11-15 10:09:24,417 [execute] INFO git cat-file --batch-check [2023-11-15T10:09:24.502Z] 2023-11-15 10:09:24,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T10:09:24.502Z] 2023-11-15 10:09:24,423 [execute] INFO git cat-file --batch [2023-11-15T10:09:24.502Z] 2023-11-15 10:09:24,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver, universal_newlines=False, shell=None, istream=) [2023-11-15T10:09:24.502Z] 2023-11-15 10:09:24,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-490/.semver/PR-490 [2023-11-15T10:09:24.502Z] 0.0.0 [Pipeline] } [2023-11-15T10:09:24.514Z] $ docker exec --env ******** --env ******** 2546f5113107ebe9ed7cb35c52456d8292d73a708803a1863873743e6443c202 ssh-agent -k [2023-11-15T10:09:24.616Z] unset SSH_AUTH_SOCK; [2023-11-15T10:09:24.616Z] unset SSH_AGENT_PID; [2023-11-15T10:09:24.616Z] echo Agent pid 78 killed; [2023-11-15T10:09:24.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T10:09:24.935Z] + git semver [Pipeline] } [2023-11-15T10:09:25.209Z] $ docker stop --time=1 2546f5113107ebe9ed7cb35c52456d8292d73a708803a1863873743e6443c202 [2023-11-15T10:09:26.840Z] $ docker rm -f --volumes 2546f5113107ebe9ed7cb35c52456d8292d73a708803a1863873743e6443c202 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-15T10:09:27.293Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-15T10:09:27.556Z] Stashed 1 file(s) [Pipeline] echo [2023-11-15T10:09:27.559Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T10:09:27.701Z] provisioning config files... [2023-11-15T10:09:27.710Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/config14289158936367542210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:09:28.009Z] ---> docker-login.sh [2023-11-15T10:09:28.009Z] nexus3.edgexfoundry.org:10001 [2023-11-15T10:09:28.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:09:28.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:09:28.009Z] Configure a credential helper to remove this warning. See [2023-11-15T10:09:28.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:09:28.009Z] [2023-11-15T10:09:28.009Z] Login Succeeded [2023-11-15T10:09:28.009Z] nexus3.edgexfoundry.org:10002 [2023-11-15T10:09:28.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:09:28.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:09:28.269Z] Configure a credential helper to remove this warning. See [2023-11-15T10:09:28.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:09:28.269Z] [2023-11-15T10:09:28.269Z] Login Succeeded [2023-11-15T10:09:28.269Z] nexus3.edgexfoundry.org:10003 [2023-11-15T10:09:28.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:09:28.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:09:28.269Z] Configure a credential helper to remove this warning. See [2023-11-15T10:09:28.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:09:28.269Z] [2023-11-15T10:09:28.269Z] Login Succeeded [2023-11-15T10:09:28.269Z] nexus3.edgexfoundry.org:10004 [2023-11-15T10:09:28.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:09:28.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:09:28.534Z] Configure a credential helper to remove this warning. See [2023-11-15T10:09:28.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:09:28.534Z] [2023-11-15T10:09:28.534Z] Login Succeeded [2023-11-15T10:09:28.534Z] docker.io [2023-11-15T10:09:28.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:09:28.760Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18090 in /w/workspace/edgexfoundry_device-sdk-c_PR-490 [Pipeline] { [Pipeline] ws [2023-11-15T10:09:28.773Z] Running in /w/workspace/device-sdk-c/6 [Pipeline] { [2023-11-15T10:09:28.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:09:28.792Z] Configure a credential helper to remove this warning. See [2023-11-15T10:09:28.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:09:28.792Z] [2023-11-15T10:09:28.792Z] Login Succeeded [2023-11-15T10:09:28.792Z] ---> docker-login.sh ends [Pipeline] checkout [Pipeline] } [2023-11-15T10:09:28.803Z] Deleting 1 temporary files [Pipeline] // configFileProvider [2023-11-15T10:09:28.813Z] Selected Git installation does not exist. Using Default [2023-11-15T10:09:28.813Z] The recommended git tool is: NONE [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-15T10:09:28.884Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T10:09:28.899Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2023-11-15T10:09:28.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T10:09:28.919Z] ========================================================= [2023-11-15T10:09:28.919Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2023-11-15T10:09:28.919Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:09:29.243Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2023-11-15T10:09:29.243Z] Sending build context to Docker daemon 4.989MB [2023-11-15T10:09:29.243Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-11-15T10:09:29.243Z] Step 2/21 : FROM ${BASE} as builder [2023-11-15T10:09:29.514Z] latest: Pulling from edgex-devops/edgex-gcc-base [2023-11-15T10:09:29.514Z] 96526aa774ef: Pulling fs layer [2023-11-15T10:09:29.514Z] da60e534fd72: Pulling fs layer [2023-11-15T10:09:29.514Z] 96526aa774ef: Verifying Checksum [2023-11-15T10:09:29.514Z] 96526aa774ef: Download complete [2023-11-15T10:09:29.772Z] 96526aa774ef: Pull complete [2023-11-15T10:09:30.343Z] da60e534fd72: Verifying Checksum [2023-11-15T10:09:30.343Z] da60e534fd72: Download complete [2023-11-15T10:09:33.159Z] using credential edgex-jenkins-ssh [2023-11-15T10:09:33.177Z] Cloning the remote Git repository [2023-11-15T10:09:33.209Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-11-15T10:09:33.283Z] > git init /w/workspace/device-sdk-c/6 # timeout=10 [2023-11-15T10:09:33.393Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-11-15T10:09:33.394Z] > git --version # timeout=10 [2023-11-15T10:09:33.413Z] > git --version # 'git version 2.25.1' [2023-11-15T10:09:33.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T10:09:33.549Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T10:09:34.537Z] da60e534fd72: Pull complete [2023-11-15T10:09:34.537Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2023-11-15T10:09:34.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2023-11-15T10:09:34.537Z] ---> 6605166a5db4 [2023-11-15T10:09:34.537Z] 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-11-15T10:09:34.597Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-11-15T10:09:34.620Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T10:09:36.129Z] Merging remotes/origin/main commit 1a776ee907d08e39928eb07fc2284b30a6e0a694 into PR head commit fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [2023-11-15T10:09:35.411Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-11-15T10:09:35.456Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-11-15T10:09:35.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T10:09:35.472Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/490/head:refs/remotes/origin/PR-490 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-15T10:09:36.577Z] Merge succeeded, producing fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [2023-11-15T10:09:36.577Z] Checking out Revision fe5ba9d6f8396da247f1f9be425dc469f5c68a9e (PR-490) [2023-11-15T10:09:36.139Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T10:09:36.212Z] > git checkout -f fe5ba9d6f8396da247f1f9be425dc469f5c68a9e # timeout=10 [2023-11-15T10:09:36.330Z] > git remote # timeout=10 [2023-11-15T10:09:36.348Z] > git config --get remote.origin.url # timeout=10 [2023-11-15T10:09:36.374Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T10:09:36.391Z] > git merge 1a776ee907d08e39928eb07fc2284b30a6e0a694 # timeout=10 [2023-11-15T10:09:36.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-15T10:09:36.575Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T10:09:36.606Z] > git checkout -f fe5ba9d6f8396da247f1f9be425dc469f5c68a9e # timeout=10 [2023-11-15T10:09:38.738Z] ---> Running in ab0f493830d0 [2023-11-15T10:09:39.333Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-11-15T10:09:39.900Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-15T10:09:39.900Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-15T10:09:39.900Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-15T10:09:40.172Z] Commit message: "Merge branch 'edgexfoundry:main' into main" [2023-11-15T10:09:40.480Z] Removing intermediate container ab0f493830d0 [2023-11-15T10:09:40.480Z] ---> 60e60cd66fd9 [2023-11-15T10:09:40.480Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T10:09:40.738Z] ---> Running in cb46db67fb5a [2023-11-15T10:09:41.074Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-15T10:09:41.074Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T10:09:41.074Z] Dload Upload Total Spent Left Speed [2023-11-15T10:09:41.074Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 98310 0 --:--:-- --:--:-- --:--:-- 99078 [Pipeline] sh [2023-11-15T10:09:41.625Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-15T10:09:41.947Z] + sudo tee /etc/docker/daemon.new [2023-11-15T10:09:41.947Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-15T10:09:41.947Z] { [2023-11-15T10:09:41.947Z] "registry-mirrors": [ [2023-11-15T10:09:41.947Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-15T10:09:41.947Z] ], [2023-11-15T10:09:41.947Z] "bip": "10.250.0.254/24", [2023-11-15T10:09:41.947Z] "hosts": [ [2023-11-15T10:09:41.947Z] "tcp://0.0.0.0:5555", [2023-11-15T10:09:41.947Z] "unix:///var/run/docker.sock" [2023-11-15T10:09:41.947Z] ], [2023-11-15T10:09:41.947Z] "mtu": 1458, [2023-11-15T10:09:41.947Z] "selinux-enabled": true, [2023-11-15T10:09:41.947Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-15T10:09:41.947Z] } [Pipeline] sh [2023-11-15T10:09:42.120Z] Removing intermediate container cb46db67fb5a [2023-11-15T10:09:42.120Z] ---> a05e3dee6214 [2023-11-15T10:09:42.120Z] 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-11-15T10:09:42.275Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-15T10:09:42.378Z] ---> Running in f90fe6eaa52f [2023-11-15T10:09:42.600Z] + sudo service docker restart [2023-11-15T10:09:42.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T10:09:42.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T10:09:43.208Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T10:09:43.778Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-15T10:09:43.778Z] (1/17) Installing hiredis (1.1.0-r2) [2023-11-15T10:09:43.778Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-11-15T10:09:43.778Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-15T10:09:44.355Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-15T10:09:44.613Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-15T10:09:44.872Z] (6/17) Installing libcbor (0.10.2-r1) [2023-11-15T10:09:44.872Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-11-15T10:09:44.872Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-11-15T10:09:44.872Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-11-15T10:09:44.872Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-11-15T10:09:44.872Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-15T10:09:44.872Z] (12/17) Installing libblkid (2.38.1-r8) [2023-11-15T10:09:44.872Z] (13/17) Installing libuuid (2.38.1-r8) [2023-11-15T10:09:44.872Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-11-15T10:09:44.872Z] (15/17) Installing libmount (2.38.1-r8) [2023-11-15T10:09:44.872Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-11-15T10:09:44.872Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-11-15T10:09:44.872Z] Executing busybox-1.36.1-r4.trigger [2023-11-15T10:09:44.872Z] OK: 336 MiB in 99 packages [2023-11-15T10:09:46.778Z] Removing intermediate container f90fe6eaa52f [2023-11-15T10:09:46.778Z] ---> dbb8a5c922b5 [2023-11-15T10:09:46.778Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-11-15T10:09:46.778Z] ---> Running in 742b22a8958e [2023-11-15T10:09:48.157Z] Removing intermediate container 742b22a8958e [2023-11-15T10:09:48.157Z] ---> f8a8adefdba1 [2023-11-15T10:09:48.157Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-11-15T10:09:48.438Z] ---> 43169ec9238c [2023-11-15T10:09:48.438Z] Step 8/21 : COPY src /tmp/sdk/src [2023-11-15T10:09:49.010Z] ---> 0f3fa12487f8 [2023-11-15T10:09:49.010Z] Step 9/21 : COPY include /tmp/sdk/include [2023-11-15T10:09:49.269Z] ---> fb238e746cdc [2023-11-15T10:09:49.269Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-11-15T10:09:49.836Z] ---> 4c31ad2c4ecf [2023-11-15T10:09:49.836Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-11-15T10:09:50.095Z] ---> 98cd25b23770 [2023-11-15T10:09:50.095Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-11-15T10:09:50.377Z] ---> dd0d561ee00e [2023-11-15T10:09:50.377Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-11-15T10:09:50.635Z] ---> Running in 1f1aff8ae85d [2023-11-15T10:09:50.894Z] + CPPCHECK=false [2023-11-15T10:09:50.894Z] + DOCGEN=false [2023-11-15T10:09:50.894Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-11-15T10:09:50.894Z] + '[' 0 -gt 0 ] [2023-11-15T10:09:50.894Z] + readlink -f ./scripts/build.sh [2023-11-15T10:09:50.894Z] + dirname /tmp/sdk/scripts/build.sh [2023-11-15T10:09:50.894Z] + dirname /tmp/sdk/scripts [2023-11-15T10:09:50.894Z] + ROOT=/tmp/sdk [2023-11-15T10:09:50.894Z] + cd /tmp/sdk [2023-11-15T10:09:50.894Z] + mkdir -p /tmp/sdk/build/release [2023-11-15T10:09:50.894Z] + cd /tmp/sdk/build/release [2023-11-15T10:09:50.894Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-11-15T10:09:51.154Z] -- The C compiler identification is GNU 12.2.1 [2023-11-15T10:09:51.154Z] -- Detecting C compiler ABI info [2023-11-15T10:09:51.154Z] -- Detecting C compiler ABI info - done [2023-11-15T10:09:51.154Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-15T10:09:51.154Z] -- Detecting C compile features [2023-11-15T10:09:51.154Z] -- Detecting C compile features - done [2023-11-15T10:09:51.154Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-15T10:09:51.154Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-15T10:09:51.154Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-15T10:09:51.154Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-15T10:09:51.154Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-15T10:09:51.154Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-15T10:09:51.154Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-15T10:09:51.154Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-15T10:09:51.154Z] -- /opt/iotech/iot/1.5/include [2023-11-15T10:09:51.154Z] -- C SDK 0.0.0 for Linux [2023-11-15T10:09:51.154Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-15T10:09:51.412Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-15T10:09:51.412Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-15T10:09:51.412Z] -- Configuring done (0.5s) [2023-11-15T10:09:51.412Z] -- Generating done (0.0s) [2023-11-15T10:09:51.412Z] -- Build files have been written to: /tmp/sdk/build/release [2023-11-15T10:09:51.412Z] + make all package [2023-11-15T10:09:51.412Z] + tee release.log [2023-11-15T10:09:51.412Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-15T10:09:51.671Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-15T10:09:51.671Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-15T10:09:51.932Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-15T10:09:51.932Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-15T10:09:52.191Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-15T10:09:52.450Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-15T10:09:52.450Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-11-15T10:09:52.450Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T10:09:52.450Z] 294 | while (privateConfig) [2023-11-15T10:09:52.450Z] | ^~~~~~~~~~~~~ [2023-11-15T10:09:52.450Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-11-15T10:09:52.450Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-15T10:09:52.450Z] | ^~~~~~~~~~~~~ [2023-11-15T10:09:52.450Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T10:09:52.450Z] 271 | while (result) [2023-11-15T10:09:52.450Z] | ^~~~~~ [2023-11-15T10:09:52.450Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-11-15T10:09:52.450Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-15T10:09:52.450Z] | ^~~~~~ [2023-11-15T10:09:52.450Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-15T10:09:52.722Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-15T10:09:52.722Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-15T10:09:52.982Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-15T10:09:53.241Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-15T10:09:53.241Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-15T10:09:53.499Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-15T10:09:53.499Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-15T10:09:53.759Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-15T10:09:53.759Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-15T10:09:54.325Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-15T10:09:54.325Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-15T10:09:54.325Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-15T10:09:54.584Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-15T10:09:55.524Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-15T10:09:55.524Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-15T10:09:55.782Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-15T10:09:55.782Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-15T10:09:55.782Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-15T10:09:56.041Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-15T10:09:56.300Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-15T10:09:56.300Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-15T10:09:56.558Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-15T10:09:56.559Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-15T10:09:56.817Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-15T10:09:56.817Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T10:09:56.817Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-15T10:09:56.817Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T10:09:56.817Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T10:09:56.817Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-15T10:09:56.817Z] | ^ [2023-11-15T10:09:56.817Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T10:09:56.817Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-11-15T10:09:56.817Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T10:09:56.817Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-11-15T10:09:56.817Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-11-15T10:09:56.817Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-11-15T10:09:57.078Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-15T10:09:57.337Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-15T10:09:57.337Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-15T10:09:57.337Z] [ 68%] Linking C shared library libcsdk.so [2023-11-15T10:09:57.337Z] [ 68%] Built target csdk [2023-11-15T10:09:57.337Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-15T10:09:57.596Z] [ 72%] Linking C executable template [2023-11-15T10:09:57.596Z] [ 72%] Built target template [2023-11-15T10:09:57.596Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-15T10:09:57.865Z] [ 76%] Linking C executable device-counter [2023-11-15T10:09:57.865Z] [ 76%] Built target device-counter [2023-11-15T10:09:57.865Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-15T10:09:57.865Z] [ 80%] Linking C executable device-random [2023-11-15T10:09:58.124Z] [ 80%] Built target device-random [2023-11-15T10:09:58.124Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-15T10:09:58.124Z] [ 84%] Linking C executable device-gyro [2023-11-15T10:09:58.124Z] [ 84%] Built target device-gyro [2023-11-15T10:09:58.124Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-15T10:09:58.383Z] [ 88%] Linking C executable device-bitfields [2023-11-15T10:09:58.383Z] [ 88%] Built target device-bitfields [2023-11-15T10:09:58.383Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-15T10:09:58.642Z] [ 92%] Linking C executable template-discovery [2023-11-15T10:09:58.642Z] [ 92%] Built target template-discovery [2023-11-15T10:09:58.642Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-15T10:09:58.900Z] [ 96%] Linking C executable device-file [2023-11-15T10:09:58.900Z] [ 96%] Built target device-file [2023-11-15T10:09:58.900Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-15T10:09:58.900Z] [100%] Linking C executable device-terminal [2023-11-15T10:09:59.157Z] [100%] Built target device-terminal [2023-11-15T10:09:59.157Z] Run CPack packaging tool... [2023-11-15T10:09:59.157Z] CPack: Create package using TGZ [2023-11-15T10:09:59.157Z] CPack: Install projects [2023-11-15T10:09:59.157Z] CPack: - Run preinstall target for: Csdk [2023-11-15T10:09:59.433Z] CPack: - Install project: Csdk [] [2023-11-15T10:09:59.433Z] CPack: Create package [2023-11-15T10:09:59.433Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-11-15T10:09:59.433Z] + '[' false '=' true ] [2023-11-15T10:09:59.433Z] + '[' false '=' true ] [2023-11-15T10:09:59.433Z] + mkdir -p /tmp/sdk/build/debug [2023-11-15T10:09:59.433Z] + cd /tmp/sdk/build/debug [2023-11-15T10:09:59.433Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-11-15T10:09:59.433Z] -- The C compiler identification is GNU 12.2.1 [2023-11-15T10:09:59.433Z] -- Detecting C compiler ABI info [2023-11-15T10:09:59.693Z] -- Detecting C compiler ABI info - done [2023-11-15T10:09:59.693Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-15T10:09:59.693Z] -- Detecting C compile features [2023-11-15T10:09:59.693Z] -- Detecting C compile features - done [2023-11-15T10:09:59.693Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-15T10:09:59.693Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-15T10:09:59.693Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-15T10:09:59.693Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-15T10:09:59.693Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-15T10:09:59.693Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-15T10:09:59.693Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-15T10:09:59.693Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-15T10:09:59.693Z] -- /opt/iotech/iot/1.5/include [2023-11-15T10:09:59.693Z] -- C SDK 0.0.0 for Linux [2023-11-15T10:09:59.693Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-15T10:09:59.693Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-15T10:09:59.693Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-15T10:09:59.693Z] -- Configuring done (0.4s) [2023-11-15T10:09:59.952Z] -- Generating done (0.0s) [2023-11-15T10:09:59.952Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-11-15T10:09:59.952Z] + make [2023-11-15T10:09:59.952Z] + tee debug.log [2023-11-15T10:09:59.952Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-15T10:09:59.952Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-15T10:09:59.952Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-15T10:10:00.210Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-15T10:10:00.210Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-15T10:10:00.210Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-15T10:10:00.468Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-15T10:10:00.468Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-15T10:10:00.468Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-15T10:10:00.468Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-15T10:10:00.728Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-15T10:10:00.728Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T10:10:00.849Z] provisioning config files... [2023-11-15T10:10:00.871Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config14146992760574862088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:10:00.985Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-15T10:10:00.985Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-15T10:10:00.985Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-15T10:10:01.214Z] ---> docker-login.sh [2023-11-15T10:10:01.214Z] nexus3.edgexfoundry.org:10001 [2023-11-15T10:10:01.243Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-15T10:10:01.243Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-15T10:10:01.243Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-15T10:10:01.243Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-15T10:10:01.502Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-15T10:10:01.502Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-15T10:10:01.762Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-15T10:10:01.762Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-15T10:10:01.762Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-15T10:10:01.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:10:01.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:10:01.804Z] Configure a credential helper to remove this warning. See [2023-11-15T10:10:01.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:10:01.804Z] [2023-11-15T10:10:01.804Z] Login Succeeded [2023-11-15T10:10:01.804Z] nexus3.edgexfoundry.org:10002 [2023-11-15T10:10:02.021Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-15T10:10:02.021Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-15T10:10:02.021Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-15T10:10:02.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:10:02.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:10:02.074Z] Configure a credential helper to remove this warning. See [2023-11-15T10:10:02.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:10:02.074Z] [2023-11-15T10:10:02.074Z] Login Succeeded [2023-11-15T10:10:02.074Z] nexus3.edgexfoundry.org:10003 [2023-11-15T10:10:02.280Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-15T10:10:02.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:10:02.541Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-15T10:10:02.541Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-15T10:10:02.541Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-15T10:10:02.541Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-15T10:10:02.541Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T10:10:02.541Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-15T10:10:02.541Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T10:10:02.541Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T10:10:02.541Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-15T10:10:02.541Z] | ^ [2023-11-15T10:10:02.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:10:02.621Z] Configure a credential helper to remove this warning. See [2023-11-15T10:10:02.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:10:02.621Z] [2023-11-15T10:10:02.621Z] Login Succeeded [2023-11-15T10:10:02.621Z] nexus3.edgexfoundry.org:10004 [2023-11-15T10:10:02.801Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-15T10:10:02.801Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-15T10:10:02.801Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-15T10:10:02.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:10:02.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:10:02.890Z] Configure a credential helper to remove this warning. See [2023-11-15T10:10:02.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:10:02.890Z] [2023-11-15T10:10:02.890Z] Login Succeeded [2023-11-15T10:10:02.890Z] docker.io [2023-11-15T10:10:03.059Z] [ 68%] Linking C shared library libcsdk.so [2023-11-15T10:10:03.059Z] [ 68%] Built target csdk [2023-11-15T10:10:03.059Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-15T10:10:03.059Z] [ 72%] Linking C executable template [2023-11-15T10:10:03.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T10:10:03.318Z] [ 72%] Built target template [2023-11-15T10:10:03.318Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-15T10:10:03.318Z] [ 76%] Linking C executable device-counter [2023-11-15T10:10:03.318Z] [ 76%] Built target device-counter [2023-11-15T10:10:03.318Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-15T10:10:03.318Z] [ 80%] Linking C executable device-random [2023-11-15T10:10:03.577Z] [ 80%] Built target device-random [2023-11-15T10:10:03.577Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-15T10:10:03.577Z] [ 84%] Linking C executable device-gyro [2023-11-15T10:10:03.578Z] [ 84%] Built target device-gyro [2023-11-15T10:10:03.578Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-15T10:10:03.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T10:10:03.741Z] Configure a credential helper to remove this warning. See [2023-11-15T10:10:03.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T10:10:03.741Z] [2023-11-15T10:10:03.741Z] Login Succeeded [2023-11-15T10:10:03.741Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T10:10:03.754Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-11-15T10:10:03.837Z] [ 88%] Linking C executable device-bitfields [2023-11-15T10:10:03.837Z] [ 88%] Built target device-bitfields [2023-11-15T10:10:03.837Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-15T10:10:03.837Z] [ 92%] Linking C executable template-discovery [Pipeline] echo [2023-11-15T10:10:03.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T10:10:03.968Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2023-11-15T10:10:03.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T10:10:03.992Z] ========================================================= [2023-11-15T10:10:03.992Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2023-11-15T10:10:03.992Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:10:04.096Z] [ 92%] Built target template-discovery [2023-11-15T10:10:04.096Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-15T10:10:04.096Z] [ 96%] Linking C executable device-file [2023-11-15T10:10:04.096Z] [ 96%] Built target device-file [2023-11-15T10:10:04.096Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-15T10:10:04.330Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2023-11-15T10:10:04.354Z] [100%] Linking C executable device-terminal [2023-11-15T10:10:04.354Z] [100%] Built target device-terminal [2023-11-15T10:10:04.354Z] make: Entering directory '/tmp/sdk/build/release' [2023-11-15T10:10:04.354Z] [ 68%] Built target csdk [2023-11-15T10:10:04.354Z] [ 72%] Built target template [2023-11-15T10:10:04.354Z] [ 76%] Built target device-counter [2023-11-15T10:10:04.600Z] Sending build context to Docker daemon 2.998MB [2023-11-15T10:10:04.612Z] [ 80%] Built target device-random [2023-11-15T10:10:04.612Z] [ 84%] Built target device-gyro [2023-11-15T10:10:04.612Z] [ 88%] Built target device-bitfields [2023-11-15T10:10:04.612Z] [ 92%] Built target template-discovery [2023-11-15T10:10:04.612Z] [ 96%] Built target device-file [2023-11-15T10:10:04.612Z] [100%] Built target device-terminal [2023-11-15T10:10:04.612Z] Install the project... [2023-11-15T10:10:04.612Z] -- Install configuration: "Release" [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/lib/libcsdk.so [2023-11-15T10:10:04.612Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include/devsdk [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include/edgex [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include/edgex/devices.h [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-11-15T10:10:04.612Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-11-15T10:10:04.612Z] make: Leaving directory '/tmp/sdk/build/release' [2023-11-15T10:10:04.871Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-11-15T10:10:04.871Z] Step 2/21 : FROM ${BASE} as builder [2023-11-15T10:10:04.871Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-11-15T10:10:04.871Z] 579b34f0a95b: Pulling fs layer [2023-11-15T10:10:04.871Z] e71477ac5e1b: Pulling fs layer [2023-11-15T10:10:05.141Z] 579b34f0a95b: Verifying Checksum [2023-11-15T10:10:05.141Z] 579b34f0a95b: Download complete [2023-11-15T10:10:05.726Z] 579b34f0a95b: Pull complete [2023-11-15T10:10:06.071Z] Removing intermediate container 1f1aff8ae85d [2023-11-15T10:10:06.071Z] ---> 0f546376b060 [2023-11-15T10:10:06.071Z] Step 14/21 : FROM ${BASE} [2023-11-15T10:10:06.071Z] ---> 6605166a5db4 [2023-11-15T10:10:06.071Z] Step 15/21 : LABEL maintainer="IOTech " [2023-11-15T10:10:06.330Z] ---> Running in 988c25864d23 [2023-11-15T10:10:06.602Z] Removing intermediate container 988c25864d23 [2023-11-15T10:10:06.602Z] ---> 19fee3dd7220 [2023-11-15T10:10:06.602Z] 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-11-15T10:10:06.862Z] ---> Running in de670196efe8 [2023-11-15T10:10:07.119Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-11-15T10:10:07.666Z] e71477ac5e1b: Verifying Checksum [2023-11-15T10:10:07.666Z] e71477ac5e1b: Download complete [2023-11-15T10:10:07.685Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-15T10:10:07.685Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-15T10:10:07.685Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-15T10:10:08.621Z] Removing intermediate container de670196efe8 [2023-11-15T10:10:08.621Z] ---> a2dc49877dec [2023-11-15T10:10:08.621Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-15T10:10:08.885Z] ---> Running in 75836c1369b8 [2023-11-15T10:10:10.261Z] Removing intermediate container 75836c1369b8 [2023-11-15T10:10:10.261Z] ---> d4ced2140a16 [2023-11-15T10:10:10.261Z] 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-11-15T10:10:10.261Z] ---> Running in 5926c6ed3007 [2023-11-15T10:10:10.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T10:10:10.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T10:10:11.092Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T10:10:11.660Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-15T10:10:11.660Z] (1/7) Installing curl (8.4.0-r0) [2023-11-15T10:10:11.660Z] (2/7) Installing hiredis (1.1.0-r2) [2023-11-15T10:10:11.660Z] (3/7) Installing hiredis-dev (1.1.0-r2) [2023-11-15T10:10:11.660Z] (4/7) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-15T10:10:12.226Z] (5/7) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-15T10:10:12.793Z] (6/7) Installing libcbor (0.10.2-r1) [2023-11-15T10:10:12.793Z] (7/7) Installing libuuid (2.38.1-r8) [2023-11-15T10:10:12.793Z] Executing busybox-1.36.1-r4.trigger [2023-11-15T10:10:12.793Z] OK: 331 MiB in 89 packages [2023-11-15T10:10:13.843Z] Removing intermediate container 5926c6ed3007 [2023-11-15T10:10:13.843Z] ---> 58136eac1ae9 [2023-11-15T10:10:13.843Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-11-15T10:10:14.454Z] ---> fa657238a813 [2023-11-15T10:10:14.454Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-11-15T10:10:14.454Z] ---> ffaff93cb9bf [2023-11-15T10:10:14.454Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-11-15T10:10:15.064Z] ---> c927f8352fb1 [2023-11-15T10:10:15.064Z] Successfully built c927f8352fb1 [2023-11-15T10:10:15.064Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:10:15.441Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-15T10:10:15.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T10:10:15.517Z] prd-ubuntu20.04-docker-8c-8g-18093 does not seem to be running inside a container [2023-11-15T10:10:15.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-490 -v /w/workspace/edgexfoundry_device-sdk-c_PR-490:/w/workspace/edgexfoundry_device-sdk-c_PR-490:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-15T10:10:16.263Z] $ docker top 4d354648c6e585367ebb759b890f0188c8d93f9d8be59d7444c5314321da2b76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T10:10:16.601Z] + make test [2023-11-15T10:10:16.601Z] echo "make test" [2023-11-15T10:10:16.601Z] make test [Pipeline] } [2023-11-15T10:10:16.612Z] $ docker stop --time=1 4d354648c6e585367ebb759b890f0188c8d93f9d8be59d7444c5314321da2b76 [2023-11-15T10:10:17.908Z] $ docker rm -f --volumes 4d354648c6e585367ebb759b890f0188c8d93f9d8be59d7444c5314321da2b76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T10:10:18.519Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T10:10:18.804Z] + ls -al . [2023-11-15T10:10:18.804Z] total 212 [2023-11-15T10:10:18.804Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 15 10:09 . [2023-11-15T10:10:18.804Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 10:08 .. [2023-11-15T10:10:18.804Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 10:09 .git [2023-11-15T10:10:18.804Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 10:08 .github [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 15 10:08 .gitignore [2023-11-15T10:10:18.804Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 10:09 .semver [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 15 10:08 Attribution.txt [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 15 10:08 CHANGELOG.md [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 15 10:08 Doxyfile [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 10:08 GOVERNANCE.md [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 15 10:08 Jenkinsfile [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 15 10:08 LICENSE [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 15 10:08 Makefile [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 15 10:08 OWNERS.md [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 15 10:08 README.IOT.md [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 15 10:08 README.md [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 15 10:08 README.v3.md [2023-11-15T10:10:18.804Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 10:09 VERSION [2023-11-15T10:10:18.804Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 10:08 docs [2023-11-15T10:10:18.804Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 10:08 include [2023-11-15T10:10:18.804Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 10:08 scripts [2023-11-15T10:10:18.804Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 10:08 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:10:19.109Z] + 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=fe5ba9d6f8396da247f1f9be425dc469f5c68a9e --label arch=amd64 --label version=0.0.0 . [2023-11-15T10:10:19.109Z] Sending build context to Docker daemon 4.989MB [2023-11-15T10:10:19.109Z] Step 1/17 : ARG BASE=alpine:3.18 [2023-11-15T10:10:19.109Z] Step 2/17 : FROM ${BASE} [2023-11-15T10:10:19.109Z] ---> c927f8352fb1 [2023-11-15T10:10:19.109Z] Step 3/17 : LABEL maintainer="IOTech " [2023-11-15T10:10:19.368Z] ---> Running in 201595deb581 [2023-11-15T10:10:19.368Z] Removing intermediate container 201595deb581 [2023-11-15T10:10:19.368Z] ---> 4bb31765baad [2023-11-15T10:10:19.368Z] 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-11-15T10:10:19.368Z] ---> Running in e83ddd54ce28 [2023-11-15T10:10:19.936Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-11-15T10:10:19.979Z] e71477ac5e1b: Pull complete [2023-11-15T10:10:19.979Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2023-11-15T10:10:19.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2023-11-15T10:10:19.979Z] ---> 2b552cad5dd9 [2023-11-15T10:10:19.979Z] 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-11-15T10:10:19.979Z] ---> Running in 5836b00ee4ec [2023-11-15T10:10:20.195Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-15T10:10:20.195Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-15T10:10:20.196Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-15T10:10:20.561Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-11-15T10:10:20.768Z] Removing intermediate container e83ddd54ce28 [2023-11-15T10:10:20.768Z] ---> b95f0aad0268 [2023-11-15T10:10:20.768Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-15T10:10:20.768Z] ---> Running in 134b093ede57 [2023-11-15T10:10:21.141Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-15T10:10:21.141Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-15T10:10:21.141Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-15T10:10:21.711Z] Removing intermediate container 134b093ede57 [2023-11-15T10:10:21.711Z] ---> 0b3ca772b18d [2023-11-15T10:10:21.711Z] 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-11-15T10:10:21.971Z] ---> Running in 4192ca931bba [2023-11-15T10:10:22.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T10:10:22.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T10:10:22.748Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T10:10:23.318Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-15T10:10:23.318Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-15T10:10:23.578Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2023-11-15T10:10:23.578Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2023-11-15T10:10:23.578Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2023-11-15T10:10:23.578Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2023-11-15T10:10:23.578Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-15T10:10:23.578Z] (7/11) Installing libblkid (2.38.1-r8) [2023-11-15T10:10:23.578Z] (8/11) Installing libfdisk (2.38.1-r8) [2023-11-15T10:10:23.578Z] (9/11) Installing libmount (2.38.1-r8) [2023-11-15T10:10:23.578Z] (10/11) Installing libsmartcols (2.38.1-r8) [2023-11-15T10:10:23.578Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2023-11-15T10:10:23.578Z] Executing busybox-1.36.1-r4.trigger [2023-11-15T10:10:23.578Z] OK: 336 MiB in 100 packages [2023-11-15T10:10:24.146Z] Removing intermediate container 4192ca931bba [2023-11-15T10:10:24.146Z] ---> 22211ea45706 [2023-11-15T10:10:24.146Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-11-15T10:10:24.414Z] ---> a0e9e6be1667 [2023-11-15T10:10:24.414Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-11-15T10:10:24.675Z] ---> 429a1fb9f335 [2023-11-15T10:10:24.675Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-11-15T10:10:24.675Z] ---> 0f68f90b4f8f [2023-11-15T10:10:24.675Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-11-15T10:10:24.675Z] ---> 0115ed00bd0d [2023-11-15T10:10:24.675Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-11-15T10:10:24.936Z] ---> b33c9327e0a7 [2023-11-15T10:10:24.936Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-11-15T10:10:24.936Z] ---> df7bc4ef9cb7 [2023-11-15T10:10:24.936Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-11-15T10:10:24.936Z] ---> Running in 3e6d65e91698 [2023-11-15T10:10:25.196Z] Removing intermediate container 3e6d65e91698 [2023-11-15T10:10:25.196Z] ---> e5129e87a0d9 [2023-11-15T10:10:25.196Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-11-15T10:10:25.196Z] ---> Running in 5eae8d3c5e2d [2023-11-15T10:10:25.196Z] Removing intermediate container 5eae8d3c5e2d [2023-11-15T10:10:25.196Z] ---> 7e98327da357 [2023-11-15T10:10:25.196Z] Step 15/17 : LABEL arch=amd64 [2023-11-15T10:10:25.196Z] ---> Running in 4d182b6cb50a [2023-11-15T10:10:25.396Z] Removing intermediate container 5836b00ee4ec [2023-11-15T10:10:25.396Z] ---> 73082d5dcd25 [2023-11-15T10:10:25.396Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-15T10:10:25.396Z] ---> Running in 4e51c7f9462c [2023-11-15T10:10:25.456Z] Removing intermediate container 4d182b6cb50a [2023-11-15T10:10:25.456Z] ---> 1c3a53619dde [2023-11-15T10:10:25.456Z] Step 16/17 : LABEL git_sha=fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [2023-11-15T10:10:25.456Z] ---> Running in 38b9d17a3cd0 [2023-11-15T10:10:25.456Z] Removing intermediate container 38b9d17a3cd0 [2023-11-15T10:10:25.456Z] ---> 73b032834b74 [2023-11-15T10:10:25.456Z] Step 17/17 : LABEL version=0.0.0 [2023-11-15T10:10:25.456Z] ---> Running in 391c5562b554 [2023-11-15T10:10:25.456Z] Removing intermediate container 391c5562b554 [2023-11-15T10:10:25.456Z] ---> 20ad34fc95ce [2023-11-15T10:10:25.456Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-11-15T10:10:25.456Z] Successfully built 20ad34fc95ce [2023-11-15T10:10:25.456Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:10:25.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T10:10:25.873Z] [2023-11-15T10:10:25.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:10:26.169Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T10:10:26.169Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-15T10:10:26.169Z] 5eb5b503b376: Pulling fs layer [2023-11-15T10:10:26.169Z] 5c69ac0246d0: Pulling fs layer [2023-11-15T10:10:26.169Z] ec43610c2a17: Pulling fs layer [2023-11-15T10:10:26.169Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-15T10:10:26.169Z] 33b1e0a273af: Pulling fs layer [2023-11-15T10:10:26.169Z] 3a2ae6a8a46f: Waiting [2023-11-15T10:10:26.169Z] 5d3b04190fa2: Pulling fs layer [2023-11-15T10:10:26.169Z] 2f39f015ded8: Pulling fs layer [2023-11-15T10:10:26.169Z] 5d3b04190fa2: Waiting [2023-11-15T10:10:26.169Z] 2f39f015ded8: Waiting [2023-11-15T10:10:26.169Z] 33b1e0a273af: Waiting [2023-11-15T10:10:26.169Z] 5c69ac0246d0: Download complete [2023-11-15T10:10:26.169Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-15T10:10:26.170Z] 3a2ae6a8a46f: Download complete [2023-11-15T10:10:26.170Z] 33b1e0a273af: Verifying Checksum [2023-11-15T10:10:26.170Z] 33b1e0a273af: Download complete [2023-11-15T10:10:26.170Z] 5d3b04190fa2: Verifying Checksum [2023-11-15T10:10:26.170Z] 5d3b04190fa2: Download complete [2023-11-15T10:10:26.170Z] ec43610c2a17: Verifying Checksum [2023-11-15T10:10:26.170Z] ec43610c2a17: Download complete [2023-11-15T10:10:26.428Z] 5eb5b503b376: Download complete [2023-11-15T10:10:26.843Z] Removing intermediate container 4e51c7f9462c [2023-11-15T10:10:26.843Z] ---> 8f3dc0a7fe5d [2023-11-15T10:10:26.843Z] 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-11-15T10:10:26.843Z] ---> Running in 24cfb9c6a881 [2023-11-15T10:10:26.994Z] 2f39f015ded8: Download complete [2023-11-15T10:10:27.561Z] 5eb5b503b376: Pull complete [2023-11-15T10:10:27.561Z] 5c69ac0246d0: Pull complete [2023-11-15T10:10:27.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T10:10:28.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T10:10:28.126Z] ec43610c2a17: Pull complete [2023-11-15T10:10:28.127Z] 3a2ae6a8a46f: Pull complete [2023-11-15T10:10:28.385Z] 33b1e0a273af: Pull complete [2023-11-15T10:10:28.385Z] 5d3b04190fa2: Pull complete [2023-11-15T10:10:28.651Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T10:10:29.608Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-15T10:10:29.608Z] (1/17) Installing hiredis (1.1.0-r2) [2023-11-15T10:10:29.608Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-11-15T10:10:29.608Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-15T10:10:30.564Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-15T10:10:30.564Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-15T10:10:30.830Z] (6/17) Installing libcbor (0.10.2-r1) [2023-11-15T10:10:30.830Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-11-15T10:10:30.830Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-11-15T10:10:30.830Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-11-15T10:10:30.830Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-11-15T10:10:30.830Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-15T10:10:31.111Z] (12/17) Installing libblkid (2.38.1-r8) [2023-11-15T10:10:31.111Z] (13/17) Installing libuuid (2.38.1-r8) [2023-11-15T10:10:31.111Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-11-15T10:10:31.111Z] (15/17) Installing libmount (2.38.1-r8) [2023-11-15T10:10:31.111Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-11-15T10:10:31.111Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-11-15T10:10:31.111Z] Executing busybox-1.36.1-r4.trigger [2023-11-15T10:10:31.111Z] OK: 333 MiB in 99 packages [2023-11-15T10:10:32.531Z] Removing intermediate container 24cfb9c6a881 [2023-11-15T10:10:32.531Z] ---> 0bd80cabc6a6 [2023-11-15T10:10:32.531Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-11-15T10:10:32.531Z] ---> Running in 36a3e2bb97e7 [2023-11-15T10:10:32.570Z] 2f39f015ded8: Pull complete [2023-11-15T10:10:32.570Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-15T10:10:32.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T10:10:32.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T10:10:32.653Z] prd-ubuntu20.04-docker-8c-8g-18093 does not seem to be running inside a container [2023-11-15T10:10:32.689Z] $ 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-490 -v /w/workspace/edgexfoundry_device-sdk-c_PR-490:/w/workspace/edgexfoundry_device-sdk-c_PR-490:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T10:10:33.943Z] Removing intermediate container 36a3e2bb97e7 [2023-11-15T10:10:33.944Z] ---> 869b18030942 [2023-11-15T10:10:33.944Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-11-15T10:10:34.530Z] ---> 9e32dac48b0a [2023-11-15T10:10:34.530Z] Step 8/21 : COPY src /tmp/sdk/src [2023-11-15T10:10:35.114Z] ---> 264a651ae0c9 [2023-11-15T10:10:35.115Z] Step 9/21 : COPY include /tmp/sdk/include [2023-11-15T10:10:38.358Z] $ docker top c33ad458c278479347f60e8a009511f3d5eddd862cd5eb64d245a68055ceb87f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:10:38.761Z] ---> job-cost.sh [2023-11-15T10:10:38.761Z] lf-activate-venv: SKIPPING [2023-11-15T10:10:38.761Z] INFO: No Stack... [2023-11-15T10:10:39.020Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T10:10:39.279Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T10:10:39.485Z] ---> d3b1d0d74b83 [2023-11-15T10:10:39.485Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-11-15T10:10:39.485Z] ---> bcb4814283e5 [2023-11-15T10:10:39.485Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-11-15T10:10:39.565Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives/cost.csv [2023-11-15T10:10:39.565Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T10:10:39.579Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-490-6-stack-cost] [2023-11-15T10:10:39.597Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-490-6-stack-cost] did not exist. Created. [2023-11-15T10:10:39.598Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-490-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T10:10:39.811Z] ---> 58e0568a0684 [2023-11-15T10:10:39.811Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-11-15T10:10:39.899Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-15T10:10:39.953Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T10:10:39.959Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-490-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T10:10:39.977Z] $ docker stop --time=1 c33ad458c278479347f60e8a009511f3d5eddd862cd5eb64d245a68055ceb87f [2023-11-15T10:10:40.090Z] ---> 76f4dcf48bf7 [2023-11-15T10:10:40.090Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-11-15T10:10:40.368Z] ---> Running in ac9c4aeabdae [2023-11-15T10:10:41.137Z] $ docker rm -f --volumes c33ad458c278479347f60e8a009511f3d5eddd862cd5eb64d245a68055ceb87f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-15T10:10:41.333Z] + CPPCHECK=false [2023-11-15T10:10:41.333Z] + DOCGEN=false [2023-11-15T10:10:41.333Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-11-15T10:10:41.333Z] + '[' 0 -gt 0 ] [2023-11-15T10:10:41.333Z] + readlink -f ./scripts/build.sh [2023-11-15T10:10:41.333Z] + dirname /tmp/sdk/scripts/build.sh [2023-11-15T10:10:41.333Z] + dirname /tmp/sdk/scripts [2023-11-15T10:10:41.333Z] + ROOT=/tmp/sdk [2023-11-15T10:10:41.333Z] + cd /tmp/sdk [2023-11-15T10:10:41.333Z] + mkdir -p /tmp/sdk/build/release [2023-11-15T10:10:41.333Z] + cd /tmp/sdk/build/release [2023-11-15T10:10:41.333Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-11-15T10:10:41.599Z] -- The C compiler identification is GNU 12.2.1 [2023-11-15T10:10:41.599Z] -- Detecting C compiler ABI info [2023-11-15T10:10:41.864Z] -- Detecting C compiler ABI info - done [2023-11-15T10:10:42.131Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-15T10:10:42.131Z] -- Detecting C compile features [2023-11-15T10:10:42.131Z] -- Detecting C compile features - done [2023-11-15T10:10:42.131Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-15T10:10:42.131Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-15T10:10:42.131Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-15T10:10:42.396Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-15T10:10:42.396Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-15T10:10:42.396Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-15T10:10:42.396Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-15T10:10:42.396Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-15T10:10:42.396Z] -- /opt/iotech/iot/1.5/include [2023-11-15T10:10:42.396Z] -- C SDK 0.0.0 for Linux [2023-11-15T10:10:42.396Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-15T10:10:42.663Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-15T10:10:42.929Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-15T10:10:42.929Z] -- Configuring done (1.7s) [2023-11-15T10:10:43.199Z] -- Generating done (0.2s) [2023-11-15T10:10:43.199Z] -- Build files have been written to: /tmp/sdk/build/release [2023-11-15T10:10:43.199Z] + make all package [2023-11-15T10:10:43.199Z] + tee release.log [2023-11-15T10:10:43.465Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-15T10:10:44.045Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-15T10:10:45.010Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-15T10:10:45.591Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-15T10:10:46.179Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-15T10:10:46.762Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-15T10:10:48.703Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-15T10:10:49.657Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-11-15T10:10:49.657Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T10:10:49.657Z] 294 | while (privateConfig) [2023-11-15T10:10:49.657Z] | ^~~~~~~~~~~~~ [2023-11-15T10:10:49.657Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-11-15T10:10:49.657Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-15T10:10:49.657Z] | ^~~~~~~~~~~~~ [2023-11-15T10:10:49.657Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T10:10:49.657Z] 271 | while (result) [2023-11-15T10:10:49.657Z] | ^~~~~~ [2023-11-15T10:10:49.657Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-11-15T10:10:49.657Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-15T10:10:49.657Z] | ^~~~~~ [2023-11-15T10:10:49.929Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-15T10:10:50.196Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-15T10:10:51.155Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-15T10:10:53.095Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-15T10:10:53.361Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-15T10:10:54.317Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-15T10:10:54.901Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-15T10:10:55.167Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-15T10:10:56.126Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-15T10:10:56.393Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-15T10:10:58.336Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-15T10:10:58.919Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-15T10:10:59.501Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-15T10:11:00.459Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-15T10:11:07.099Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-15T10:11:07.680Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-15T10:11:07.947Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-15T10:11:08.529Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-15T10:11:08.817Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-15T10:11:10.218Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-15T10:11:12.155Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-15T10:11:12.736Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-15T10:11:13.319Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-15T10:11:13.899Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-15T10:11:14.171Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-15T10:11:14.171Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T10:11:14.171Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-15T10:11:14.171Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T10:11:14.171Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T10:11:14.171Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-15T10:11:14.171Z] | ^ [2023-11-15T10:11:15.586Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T10:11:15.586Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-11-15T10:11:15.586Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T10:11:15.586Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-11-15T10:11:15.586Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-11-15T10:11:15.586Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-11-15T10:11:16.988Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-15T10:11:17.570Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-15T10:11:17.836Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-15T10:11:18.419Z] [ 68%] Linking C shared library libcsdk.so [2023-11-15T10:11:18.419Z] [ 68%] Built target csdk [2023-11-15T10:11:18.419Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-15T10:11:19.384Z] [ 72%] Linking C executable template [2023-11-15T10:11:19.649Z] [ 72%] Built target template [2023-11-15T10:11:19.649Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-15T10:11:20.232Z] [ 76%] Linking C executable device-counter [2023-11-15T10:11:20.501Z] [ 76%] Built target device-counter [2023-11-15T10:11:20.501Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-15T10:11:21.084Z] [ 80%] Linking C executable device-random [2023-11-15T10:11:21.351Z] [ 80%] Built target device-random [2023-11-15T10:11:21.351Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-15T10:11:21.934Z] [ 84%] Linking C executable device-gyro [2023-11-15T10:11:22.202Z] [ 84%] Built target device-gyro [2023-11-15T10:11:22.202Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-15T10:11:22.783Z] [ 88%] Linking C executable device-bitfields [2023-11-15T10:11:23.049Z] [ 88%] Built target device-bitfields [2023-11-15T10:11:23.049Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-15T10:11:24.011Z] [ 92%] Linking C executable template-discovery [2023-11-15T10:11:24.277Z] [ 92%] Built target template-discovery [2023-11-15T10:11:24.277Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-15T10:11:25.240Z] [ 96%] Linking C executable device-file [2023-11-15T10:11:25.240Z] [ 96%] Built target device-file [2023-11-15T10:11:25.507Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-15T10:11:26.087Z] [100%] Linking C executable device-terminal [2023-11-15T10:11:26.354Z] [100%] Built target device-terminal [2023-11-15T10:11:26.354Z] Run CPack packaging tool... [2023-11-15T10:11:26.354Z] CPack: Create package using TGZ [2023-11-15T10:11:26.354Z] CPack: Install projects [2023-11-15T10:11:26.354Z] CPack: - Run preinstall target for: Csdk [2023-11-15T10:11:27.309Z] CPack: - Install project: Csdk [] [2023-11-15T10:11:27.309Z] CPack: Create package [2023-11-15T10:11:27.309Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-11-15T10:11:27.309Z] + '[' false '=' true ] [2023-11-15T10:11:27.309Z] + '[' false '=' true ] [2023-11-15T10:11:27.309Z] + mkdir -p /tmp/sdk/build/debug [2023-11-15T10:11:27.309Z] + cd /tmp/sdk/build/debug [2023-11-15T10:11:27.309Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-11-15T10:11:27.576Z] -- The C compiler identification is GNU 12.2.1 [2023-11-15T10:11:27.576Z] -- Detecting C compiler ABI info [2023-11-15T10:11:28.159Z] -- Detecting C compiler ABI info - done [2023-11-15T10:11:28.159Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-15T10:11:28.159Z] -- Detecting C compile features [2023-11-15T10:11:28.159Z] -- Detecting C compile features - done [2023-11-15T10:11:28.159Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-15T10:11:28.428Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-15T10:11:28.428Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-15T10:11:28.428Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-15T10:11:28.428Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-15T10:11:28.428Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-15T10:11:28.428Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-15T10:11:28.428Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-15T10:11:28.428Z] -- /opt/iotech/iot/1.5/include [2023-11-15T10:11:28.428Z] -- C SDK 0.0.0 for Linux [2023-11-15T10:11:28.428Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-15T10:11:28.701Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-15T10:11:28.970Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-15T10:11:28.970Z] -- Configuring done (1.7s) [2023-11-15T10:11:29.237Z] -- Generating done (0.2s) [2023-11-15T10:11:29.237Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-11-15T10:11:29.237Z] + make+ [2023-11-15T10:11:29.237Z] tee debug.log [2023-11-15T10:11:29.503Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-15T10:11:29.772Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-15T10:11:30.355Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-15T10:11:30.630Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-15T10:11:30.896Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-15T10:11:31.162Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-15T10:11:31.742Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-15T10:11:32.322Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-15T10:11:32.322Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-15T10:11:32.913Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-15T10:11:33.493Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-15T10:11:33.759Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-15T10:11:34.338Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-15T10:11:34.605Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-15T10:11:34.873Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-15T10:11:35.137Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-15T10:11:35.408Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-15T10:11:36.363Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-15T10:11:36.363Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-15T10:11:36.629Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-15T10:11:37.213Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-15T10:11:38.614Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-15T10:11:38.614Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-15T10:11:38.881Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-15T10:11:39.146Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-15T10:11:39.412Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-15T10:11:39.993Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-15T10:11:41.395Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-15T10:11:41.395Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-15T10:11:41.973Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-15T10:11:42.238Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-15T10:11:42.505Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-15T10:11:42.505Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T10:11:42.505Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-15T10:11:42.505Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T10:11:42.505Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T10:11:42.505Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-15T10:11:42.505Z] | ^ [2023-11-15T10:11:43.085Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-15T10:11:43.351Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-15T10:11:43.618Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-15T10:11:43.884Z] [ 68%] Linking C shared library libcsdk.so [2023-11-15T10:11:44.164Z] [ 68%] Built target csdk [2023-11-15T10:11:44.164Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-15T10:11:44.430Z] [ 72%] Linking C executable template [2023-11-15T10:11:45.010Z] [ 72%] Built target template [2023-11-15T10:11:45.010Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-15T10:11:45.274Z] [ 76%] Linking C executable device-counter [2023-11-15T10:11:45.539Z] [ 76%] Built target device-counter [2023-11-15T10:11:45.539Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-15T10:11:45.804Z] [ 80%] Linking C executable device-random [2023-11-15T10:11:46.071Z] [ 80%] Built target device-random [2023-11-15T10:11:46.071Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-15T10:11:46.336Z] [ 84%] Linking C executable device-gyro [2023-11-15T10:11:46.916Z] [ 84%] Built target device-gyro [2023-11-15T10:11:46.916Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-15T10:11:47.183Z] [ 88%] Linking C executable device-bitfields [2023-11-15T10:11:47.460Z] [ 88%] Built target device-bitfields [2023-11-15T10:11:47.460Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-15T10:11:47.727Z] [ 92%] Linking C executable template-discovery [2023-11-15T10:11:47.994Z] [ 92%] Built target template-discovery [2023-11-15T10:11:48.259Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-15T10:11:48.525Z] [ 96%] Linking C executable device-file [2023-11-15T10:11:48.791Z] [ 96%] Built target device-file [2023-11-15T10:11:48.791Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-15T10:11:49.373Z] [100%] Linking C executable device-terminal [2023-11-15T10:11:49.638Z] [100%] Built target device-terminal [2023-11-15T10:11:49.638Z] make: Entering directory '/tmp/sdk/build/release' [2023-11-15T10:11:49.638Z] [ 68%] Built target csdk [2023-11-15T10:11:49.904Z] [ 72%] Built target template [2023-11-15T10:11:49.904Z] [ 76%] Built target device-counter [2023-11-15T10:11:49.904Z] [ 80%] Built target device-random [2023-11-15T10:11:49.904Z] [ 84%] Built target device-gyro [2023-11-15T10:11:49.904Z] [ 88%] Built target device-bitfields [2023-11-15T10:11:50.168Z] [ 92%] Built target template-discovery [2023-11-15T10:11:50.168Z] [ 96%] Built target device-file [2023-11-15T10:11:50.168Z] [100%] Built target device-terminal [2023-11-15T10:11:50.168Z] Install the project... [2023-11-15T10:11:50.168Z] -- Install configuration: "Release" [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/lib/libcsdk.so [2023-11-15T10:11:50.168Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include/devsdk [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include/edgex [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include/edgex/devices.h [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-11-15T10:11:50.168Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-11-15T10:11:50.168Z] make: Leaving directory '/tmp/sdk/build/release' [2023-11-15T10:11:51.575Z] Removing intermediate container ac9c4aeabdae [2023-11-15T10:11:51.575Z] ---> 457977e3387d [2023-11-15T10:11:51.575Z] Step 14/21 : FROM ${BASE} [2023-11-15T10:11:51.575Z] ---> 2b552cad5dd9 [2023-11-15T10:11:51.576Z] Step 15/21 : LABEL maintainer="IOTech " [2023-11-15T10:11:51.576Z] ---> Running in 0667def020db [2023-11-15T10:11:51.843Z] Removing intermediate container 0667def020db [2023-11-15T10:11:51.843Z] ---> 4f23fc2c93d4 [2023-11-15T10:11:51.843Z] 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-11-15T10:11:52.109Z] ---> Running in bdd5996610c3 [2023-11-15T10:11:53.067Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2023-11-15T10:11:53.652Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-15T10:11:53.652Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-15T10:11:53.652Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-15T10:11:54.239Z] Removing intermediate container bdd5996610c3 [2023-11-15T10:11:54.239Z] ---> a9da26678895 [2023-11-15T10:11:54.239Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-15T10:11:54.239Z] ---> Running in 1b9f9165d782 [2023-11-15T10:11:55.644Z] Removing intermediate container 1b9f9165d782 [2023-11-15T10:11:55.644Z] ---> 2f0905851be5 [2023-11-15T10:11:55.644Z] 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-11-15T10:11:55.915Z] ---> Running in c2ab6b3109bc [2023-11-15T10:11:56.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T10:11:57.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T10:11:57.715Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T10:11:58.669Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-15T10:11:58.669Z] (1/7) Installing curl (8.4.0-r0) [2023-11-15T10:11:58.669Z] (2/7) Installing hiredis (1.1.0-r2) [2023-11-15T10:11:58.669Z] (3/7) Installing hiredis-dev (1.1.0-r2) [2023-11-15T10:11:58.669Z] (4/7) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-15T10:11:59.624Z] (5/7) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-15T10:11:59.891Z] (6/7) Installing libcbor (0.10.2-r1) [2023-11-15T10:11:59.891Z] (7/7) Installing libuuid (2.38.1-r8) [2023-11-15T10:11:59.891Z] Executing busybox-1.36.1-r4.trigger [2023-11-15T10:11:59.891Z] OK: 327 MiB in 89 packages [2023-11-15T10:12:04.129Z] Removing intermediate container c2ab6b3109bc [2023-11-15T10:12:04.129Z] ---> d2d8179827a5 [2023-11-15T10:12:04.129Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-11-15T10:12:04.710Z] ---> cde8bd0cd198 [2023-11-15T10:12:04.710Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-11-15T10:12:05.292Z] ---> 9b96fdefe54c [2023-11-15T10:12:05.292Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-11-15T10:12:05.556Z] ---> 7d692ff16691 [2023-11-15T10:12:05.556Z] Successfully built 7d692ff16691 [2023-11-15T10:12:05.556Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:12:05.971Z] + docker inspect -f . ci-base-image-arm64 [2023-11-15T10:12:05.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T10:12:06.159Z] prd-ubuntu20.04-docker-arm64-4c-16g-18090 does not seem to be running inside a container [2023-11-15T10:12:06.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-15T10:12:07.369Z] $ docker top 340338aee430272804b95ce035f6f391b16bc9e8fc21b7d08624d66cb284e210 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T10:12:08.199Z] + make test [2023-11-15T10:12:08.199Z] echo "make test" [2023-11-15T10:12:08.199Z] make test [Pipeline] } [2023-11-15T10:12:08.207Z] $ docker stop --time=1 340338aee430272804b95ce035f6f391b16bc9e8fc21b7d08624d66cb284e210 [2023-11-15T10:12:09.780Z] $ docker rm -f --volumes 340338aee430272804b95ce035f6f391b16bc9e8fc21b7d08624d66cb284e210 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-15T10:12:10.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-15T10:12:10.609Z] + ls -al . [2023-11-15T10:12:10.609Z] total 208 [2023-11-15T10:12:10.609Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 10:09 . [2023-11-15T10:12:10.609Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 10:09 .. [2023-11-15T10:12:10.609Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 10:09 .git [2023-11-15T10:12:10.609Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 10:09 .github [2023-11-15T10:12:10.609Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 15 10:09 .gitignore [2023-11-15T10:12:10.609Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 15 10:09 Attribution.txt [2023-11-15T10:12:10.609Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 15 10:09 CHANGELOG.md [2023-11-15T10:12:10.609Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 15 10:09 Doxyfile [2023-11-15T10:12:10.609Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 10:09 GOVERNANCE.md [2023-11-15T10:12:10.609Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 15 10:09 Jenkinsfile [2023-11-15T10:12:10.609Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 15 10:09 LICENSE [2023-11-15T10:12:10.609Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 15 10:09 Makefile [2023-11-15T10:12:10.610Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 15 10:09 OWNERS.md [2023-11-15T10:12:10.610Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 15 10:09 README.IOT.md [2023-11-15T10:12:10.610Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 15 10:09 README.md [2023-11-15T10:12:10.610Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 15 10:09 README.v3.md [2023-11-15T10:12:10.610Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 10:09 VERSION [2023-11-15T10:12:10.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 10:09 docs [2023-11-15T10:12:10.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 10:09 include [2023-11-15T10:12:10.610Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 10:09 scripts [2023-11-15T10:12:10.610Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 10:09 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:12:10.941Z] + 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=fe5ba9d6f8396da247f1f9be425dc469f5c68a9e --label arch=arm64 --label version=0.0.0 . [2023-11-15T10:12:11.206Z] Sending build context to Docker daemon 2.998MB [2023-11-15T10:12:11.471Z] Step 1/17 : ARG BASE=alpine:3.18 [2023-11-15T10:12:11.471Z] Step 2/17 : FROM ${BASE} [2023-11-15T10:12:11.471Z] ---> 7d692ff16691 [2023-11-15T10:12:11.471Z] Step 3/17 : LABEL maintainer="IOTech " [2023-11-15T10:12:11.471Z] ---> Running in 5005d1e2fcd4 [2023-11-15T10:12:11.737Z] Removing intermediate container 5005d1e2fcd4 [2023-11-15T10:12:11.737Z] ---> 88796c336a38 [2023-11-15T10:12:11.737Z] 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-11-15T10:12:11.737Z] ---> Running in b9f16b55d685 [2023-11-15T10:12:12.697Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-11-15T10:12:13.276Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-15T10:12:13.276Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-15T10:12:13.276Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-15T10:12:13.856Z] Removing intermediate container b9f16b55d685 [2023-11-15T10:12:13.856Z] ---> a59a5ce84b0a [2023-11-15T10:12:13.856Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-15T10:12:14.123Z] ---> Running in 8b1d7ebef5bd [2023-11-15T10:12:18.365Z] Removing intermediate container 8b1d7ebef5bd [2023-11-15T10:12:18.365Z] ---> 5f5c96093357 [2023-11-15T10:12:18.365Z] 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-11-15T10:12:18.632Z] ---> Running in 3895da24a802 [2023-11-15T10:12:19.591Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T10:12:19.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T10:12:20.437Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T10:12:21.390Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-15T10:12:21.390Z] (1/11) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-15T10:12:21.656Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2023-11-15T10:12:21.656Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2023-11-15T10:12:21.656Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2023-11-15T10:12:21.656Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2023-11-15T10:12:21.656Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-15T10:12:21.656Z] (7/11) Installing libblkid (2.38.1-r8) [2023-11-15T10:12:21.656Z] (8/11) Installing libfdisk (2.38.1-r8) [2023-11-15T10:12:21.922Z] (9/11) Installing libmount (2.38.1-r8) [2023-11-15T10:12:21.922Z] (10/11) Installing libsmartcols (2.38.1-r8) [2023-11-15T10:12:21.922Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2023-11-15T10:12:21.922Z] Executing busybox-1.36.1-r4.trigger [2023-11-15T10:12:21.922Z] OK: 333 MiB in 100 packages [2023-11-15T10:12:23.328Z] Removing intermediate container 3895da24a802 [2023-11-15T10:12:23.328Z] ---> 3b87f359c363 [2023-11-15T10:12:23.328Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2023-11-15T10:12:23.594Z] ---> d4b0cc86e306 [2023-11-15T10:12:23.594Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2023-11-15T10:12:24.550Z] ---> ccd4603c2789 [2023-11-15T10:12:24.550Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2023-11-15T10:12:24.814Z] ---> 6e8f48cfdfdd [2023-11-15T10:12:24.814Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2023-11-15T10:12:25.394Z] ---> 701ae5cb7756 [2023-11-15T10:12:25.394Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2023-11-15T10:12:25.659Z] ---> 324dabd1c7d1 [2023-11-15T10:12:25.659Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2023-11-15T10:12:26.240Z] ---> 578d6637265d [2023-11-15T10:12:26.240Z] Step 13/17 : WORKDIR /edgex-c-sdk [2023-11-15T10:12:26.240Z] ---> Running in 6331f516e846 [2023-11-15T10:12:26.507Z] Removing intermediate container 6331f516e846 [2023-11-15T10:12:26.507Z] ---> 2b3505223a7e [2023-11-15T10:12:26.507Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2023-11-15T10:12:26.773Z] ---> Running in 020b62457e09 [2023-11-15T10:12:26.773Z] Removing intermediate container 020b62457e09 [2023-11-15T10:12:26.773Z] ---> 96a52d1ad3a9 [2023-11-15T10:12:26.773Z] Step 15/17 : LABEL arch=arm64 [2023-11-15T10:12:27.037Z] ---> Running in bbc86d09784b [2023-11-15T10:12:27.301Z] Removing intermediate container bbc86d09784b [2023-11-15T10:12:27.301Z] ---> 56f08cebda65 [2023-11-15T10:12:27.301Z] Step 16/17 : LABEL git_sha=fe5ba9d6f8396da247f1f9be425dc469f5c68a9e [2023-11-15T10:12:27.301Z] ---> Running in ad5c9a4ae17a [2023-11-15T10:12:27.566Z] Removing intermediate container ad5c9a4ae17a [2023-11-15T10:12:27.566Z] ---> dcbbd0c075cb [2023-11-15T10:12:27.566Z] Step 17/17 : LABEL version=0.0.0 [2023-11-15T10:12:27.566Z] ---> Running in 72cf86006f93 [2023-11-15T10:12:27.830Z] Removing intermediate container 72cf86006f93 [2023-11-15T10:12:27.830Z] ---> 34e8ae4e6a3c [2023-11-15T10:12:27.830Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2023-11-15T10:12:27.830Z] Successfully built 34e8ae4e6a3c [2023-11-15T10:12:27.830Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:12:28.620Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T10:12:28.620Z] [2023-11-15T10:12:28.620Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:12:28.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T10:12:33.229Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-15T10:12:33.229Z] 8998bd30e6a1: Pulling fs layer [2023-11-15T10:12:33.229Z] 04944245beec: Pulling fs layer [2023-11-15T10:12:33.229Z] 699f458cf7ca: Pulling fs layer [2023-11-15T10:12:33.229Z] 765212b225bb: Pulling fs layer [2023-11-15T10:12:33.229Z] f23df028b6ca: Pulling fs layer [2023-11-15T10:12:33.229Z] d65c8cfc05b1: Pulling fs layer [2023-11-15T10:12:33.229Z] 2437ff75d9bd: Pulling fs layer [2023-11-15T10:12:33.229Z] d65c8cfc05b1: Waiting [2023-11-15T10:12:33.229Z] 765212b225bb: Waiting [2023-11-15T10:12:33.229Z] f23df028b6ca: Waiting [2023-11-15T10:12:33.229Z] 2437ff75d9bd: Waiting [2023-11-15T10:12:33.230Z] 04944245beec: Verifying Checksum [2023-11-15T10:12:33.230Z] 04944245beec: Download complete [2023-11-15T10:12:33.230Z] 765212b225bb: Verifying Checksum [2023-11-15T10:12:33.230Z] 765212b225bb: Download complete [2023-11-15T10:12:33.230Z] f23df028b6ca: Verifying Checksum [2023-11-15T10:12:33.230Z] f23df028b6ca: Download complete [2023-11-15T10:12:33.230Z] d65c8cfc05b1: Verifying Checksum [2023-11-15T10:12:33.230Z] d65c8cfc05b1: Download complete [2023-11-15T10:12:33.230Z] 699f458cf7ca: Verifying Checksum [2023-11-15T10:12:33.230Z] 699f458cf7ca: Download complete [2023-11-15T10:12:33.230Z] 8998bd30e6a1: Verifying Checksum [2023-11-15T10:12:33.230Z] 8998bd30e6a1: Download complete [2023-11-15T10:12:35.815Z] 2437ff75d9bd: Verifying Checksum [2023-11-15T10:12:35.815Z] 2437ff75d9bd: Download complete [2023-11-15T10:12:37.749Z] 8998bd30e6a1: Pull complete [2023-11-15T10:12:38.330Z] 04944245beec: Pull complete [2023-11-15T10:12:39.734Z] 699f458cf7ca: Pull complete [2023-11-15T10:12:40.001Z] 765212b225bb: Pull complete [2023-11-15T10:12:40.581Z] f23df028b6ca: Pull complete [2023-11-15T10:12:40.846Z] d65c8cfc05b1: Pull complete [2023-11-15T10:12:59.033Z] 2437ff75d9bd: Pull complete [2023-11-15T10:12:59.033Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-15T10:12:59.033Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-15T10:12:59.033Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T10:12:59.210Z] prd-ubuntu20.04-docker-arm64-4c-16g-18090 does not seem to be running inside a container [2023-11-15T10:12:59.265Z] $ 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/6 -v /w/workspace/device-sdk-c/6:/w/workspace/device-sdk-c/6:rw,z -v /w/workspace/device-sdk-c/6@tmp:/w/workspace/device-sdk-c/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-15T10:13:01.662Z] $ docker top fa70361b1ea9f27d709d9c0384c81d0e9f2ede52d6e89d9cd92be3a3acb8c7b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:13:02.193Z] ---> job-cost.sh [2023-11-15T10:13:02.458Z] lf-activate-venv: SKIPPING [2023-11-15T10:13:02.458Z] INFO: No Stack... [2023-11-15T10:13:03.036Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-15T10:13:03.619Z] INFO: Archiving Costs [Pipeline] sh [2023-11-15T10:13:04.249Z] + cat /w/workspace/device-sdk-c/6/archives/cost.csv [2023-11-15T10:13:04.249Z] + cut -d, -f6 [Pipeline] lock [2023-11-15T10:13:04.286Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-490-6-stack-cost] [2023-11-15T10:13:04.298Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-490-6-stack-cost] did not exist. Created. [2023-11-15T10:13:04.298Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-490-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-15T10:13:04.634Z] /w/workspace/device-sdk-c/6@tmp/durable-52b65545/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-15T10:13:04.969Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-15T10:13:05.257Z] Warning: overwriting stash ‘stack-cost’ [2023-11-15T10:13:05.691Z] Stashed 1 file(s) [Pipeline] } [2023-11-15T10:13:05.699Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-490-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-15T10:13:05.709Z] $ docker stop --time=1 fa70361b1ea9f27d709d9c0384c81d0e9f2ede52d6e89d9cd92be3a3acb8c7b6 [2023-11-15T10:13:07.190Z] $ docker rm -f --volumes fa70361b1ea9f27d709d9c0384c81d0e9f2ede52d6e89d9cd92be3a3acb8c7b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-15T10:13:07.944Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives ] [2023-11-15T10:13:07.944Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives [2023-11-15T10:13:07.944Z] total 16 [2023-11-15T10:13:07.944Z] drwxr-xr-x 3 root root 4096 Nov 15 10:10 . [2023-11-15T10:13:07.944Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 10:10 .. [2023-11-15T10:13:07.944Z] drwxr-xr-x 2 root root 4096 Nov 15 10:10 cost [2023-11-15T10:13:07.944Z] -rw-r--r-- 1 root root 84 Nov 15 10:10 cost.csv [2023-11-15T10:13:07.944Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives [2023-11-15T10:13:07.944Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives [2023-11-15T10:13:07.944Z] total 16 [2023-11-15T10:13:07.944Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 15 10:10 . [2023-11-15T10:13:07.944Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 10:10 .. [2023-11-15T10:13:07.944Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 15 10:10 cost [2023-11-15T10:13:07.944Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 15 10:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:13:08.239Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:13:09.098Z] ---> package-listing.sh [2023-11-15T10:13:09.098Z] ++ facter osfamily [2023-11-15T10:13:09.098Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-15T10:13:09.358Z] + OS_FAMILY=debian [2023-11-15T10:13:09.358Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-490 [2023-11-15T10:13:09.358Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-15T10:13:09.358Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-15T10:13:09.358Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-15T10:13:09.358Z] + PACKAGES=/tmp/packages_start.txt [2023-11-15T10:13:09.358Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-490 ']' [2023-11-15T10:13:09.358Z] + PACKAGES=/tmp/packages_end.txt [2023-11-15T10:13:09.358Z] + case "${OS_FAMILY}" in [2023-11-15T10:13:09.358Z] + dpkg -l [2023-11-15T10:13:09.358Z] + grep '^ii' [2023-11-15T10:13:09.358Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-15T10:13:09.358Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-15T10:13:09.358Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-15T10:13:09.358Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-490 ']' [2023-11-15T10:13:09.358Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives/ [2023-11-15T10:13:09.358Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-490/archives/ [Pipeline] echo [2023-11-15T10:13:09.376Z] 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-490/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-15T10:13:09.657Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T10:13:10.219Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T10:13:10.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T10:13:10.302Z] prd-ubuntu20.04-docker-8c-8g-18093 does not seem to be running inside a container [2023-11-15T10:13:10.337Z] $ 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-490/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-490 -v /w/workspace/edgexfoundry_device-sdk-c_PR-490:/w/workspace/edgexfoundry_device-sdk-c_PR-490:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T10:13:10.818Z] $ docker top 1337d55973b6ee277c89725c3ad4152e0926e99be628fb6bc3099866c2a43e64 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T10:13:11.216Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-15T10:13:11.502Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-15T10:13:11.791Z] + ls /var/log/sa-host [2023-11-15T10:13:11.791Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T10:13:11.947Z] provisioning config files... [2023-11-15T10:13:11.957Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-490@tmp/config13839590270809327027tmp [Pipeline] { [Pipeline] echo [2023-11-15T10:13:11.967Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:13:12.248Z] ---> create-netrc.sh [Pipeline] } [2023-11-15T10:13:12.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:13:12.592Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-15T10:13:12.603Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:13:12.886Z] ---> sudo-logs.sh [2023-11-15T10:13:12.886Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-15T10:13:12.909Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:13:13.197Z] ---> job-cost.sh [2023-11-15T10:13:13.197Z] lf-activate-venv: SKIPPING [2023-11-15T10:13:13.197Z] DEBUG: total: 0.2199999988079071 [2023-11-15T10:13:13.197Z] INFO: Retrieving Stack Cost... [2023-11-15T10:13:13.455Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T10:13:13.714Z] INFO: Archiving Costs [Pipeline] echo [2023-11-15T10:13:13.727Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T10:13:14.009Z] ---> logs-deploy.sh [2023-11-15T10:13:14.009Z] lf-activate-venv: SKIPPING [2023-11-15T10:13:14.009Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-490/6 [2023-11-15T10:13:14.009Z] INFO: archiving workspace using pattern(s): [2023-11-15T10:13:14.943Z] Archives upload complete. [2023-11-15T10:13:15.200Z] INFO: archiving logs to Nexus