Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4410ed02c89f9f775968b3c16ea152ec31bdb83a+442156b10c8e48709838cfe148b6b6cf65ecf635 (789d01f3542f4b4ba2143ab6afeddea828e88fed) 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-ssh11101092042502168911.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9498029036463201596.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-496/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-496/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3747866356333595638.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh18051307476066158034.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-496/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-496/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1247420374479188107.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1571 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-496 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a Merge succeeded, producing 6a42469b08578544c30b417c6d74da361b3be3ec Checking out Revision 6a42469b08578544c30b417c6d74da361b3be3ec (PR-496) > git config core.sparsecheckout # timeout=10 > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a42469b08578544c30b417c6d74da361b3be3ec # timeout=10 Commit message: "Merge commit '442156b10c8e48709838cfe148b6b6cf65ecf635' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk bca1b49ac5df6988ad03e5ad4a63aa627d45501d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-28T18:56:47.742Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-28T18:56:47.811Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-28T18:56:47.834Z] ========================================================= [2024-03-28T18:56:47.834Z] EdgeX Global Pipelines Version Info [2024-03-28T18:56:47.834Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-28T18:56:48.969Z] ------------------- [2024-03-28T18:56:48.969Z] stable info: [2024-03-28T18:56:48.969Z] ------------------- [2024-03-28T18:56:48.969Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-28T18:56:48.969Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-28T18:56:48.969Z] Message: update stable to v1.0.258 [2024-03-28T18:56:49.540Z] ------------------- [2024-03-28T18:56:49.540Z] experimental info: [2024-03-28T18:56:49.540Z] ------------------- [2024-03-28T18:56:49.540Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-28T18:56:49.540Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-28T18:56:49.540Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-28T18:56:49.631Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-03-28T18:56:49.655Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-03-28T18:56:49.671Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-28T18:56:49.690Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-28T18:56:49.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-28T18:56:49.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-03-28T18:56:49.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-03-28T18:56:49.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-28T18:56:49.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-28T18:56:49.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-03-28T18:56:49.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-28T18:56:49.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-28T18:56:49.898Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-28T18:56:49.915Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-03-28T18:56:49.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-28T18:56:49.953Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-28T18:56:49.971Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-28T18:56:49.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-496 [Pipeline] echo [2024-03-28T18:56:50.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-496 [Pipeline] echo [2024-03-28T18:56:50.037Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-496 [Pipeline] echo [2024-03-28T18:56:50.058Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a42469b08578544c30b417c6d74da361b3be3ec [Pipeline] echo [2024-03-28T18:56:50.080Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a42469 [Pipeline] echo [2024-03-28T18:56:50.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-28T18:56:50.160Z] provisioning config files... [2024-03-28T18:56:50.175Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config11159534167831836677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-28T18:56:50.509Z] ---> ****-login.sh [2024-03-28T18:56:50.509Z] nexus3.edgexfoundry.org:10001 [2024-03-28T18:56:50.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:50.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:50.767Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:50.767Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:50.767Z] [2024-03-28T18:56:50.767Z] Login Succeeded [2024-03-28T18:56:50.767Z] nexus3.edgexfoundry.org:10002 [2024-03-28T18:56:50.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:50.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:50.768Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:50.768Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:50.768Z] [2024-03-28T18:56:50.768Z] Login Succeeded [2024-03-28T18:56:50.768Z] nexus3.edgexfoundry.org:10003 [2024-03-28T18:56:51.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:51.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:51.028Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:51.028Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:51.028Z] [2024-03-28T18:56:51.028Z] Login Succeeded [2024-03-28T18:56:51.028Z] nexus3.edgexfoundry.org:10004 [2024-03-28T18:56:51.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:51.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:51.028Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:51.028Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:51.028Z] [2024-03-28T18:56:51.028Z] Login Succeeded [2024-03-28T18:56:51.028Z] ****.io [2024-03-28T18:56:51.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:56:51.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:56:51.289Z] Configure a credential helper to remove this warning. See [2024-03-28T18:56:51.289Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:56:51.289Z] [2024-03-28T18:56:51.289Z] Login Succeeded [2024-03-28T18:56:51.289Z] ---> ****-login.sh ends [Pipeline] } [2024-03-28T18:56:51.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-03-28T18:56:51.695Z] + git rev-list -1 --merges 6a42469b08578544c30b417c6d74da361b3be3ec~1..6a42469b08578544c30b417c6d74da361b3be3ec [Pipeline] echo [2024-03-28T18:56:51.720Z] -----------> git rev-list -1 --merges 6a42469b08578544c30b417c6d74da361b3be3ec~1..6a42469b08578544c30b417c6d74da361b3be3ec 6a42469b08578544c30b417c6d74da361b3be3ec [2024-03-28T18:56:51.720Z] 6a42469b08578544c30b417c6d74da361b3be3ec [false] [Pipeline] sh [2024-03-28T18:56:52.012Z] + git log --format=format:%s -1 6a42469b08578544c30b417c6d74da361b3be3ec [Pipeline] echo [2024-03-28T18:56:52.030Z] ========================================================= [2024-03-28T18:56:52.030Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-28T18:56:52.030Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-28T18:56:52.485Z] + git rev-list -1 --merges 6a42469b08578544c30b417c6d74da361b3be3ec~1..6a42469b08578544c30b417c6d74da361b3be3ec [Pipeline] echo [2024-03-28T18:56:52.498Z] -----------> git rev-list -1 --merges 6a42469b08578544c30b417c6d74da361b3be3ec~1..6a42469b08578544c30b417c6d74da361b3be3ec 6a42469b08578544c30b417c6d74da361b3be3ec [2024-03-28T18:56:52.498Z] 6a42469b08578544c30b417c6d74da361b3be3ec [false] [Pipeline] sh [2024-03-28T18:56:52.795Z] + git log --format=format:%s -1 6a42469b08578544c30b417c6d74da361b3be3ec [Pipeline] echo [2024-03-28T18:56:52.812Z] ========================================================= [2024-03-28T18:56:52.812Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-28T18:56:52.812Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-03-28T18:56:53.215Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-28T18:56:53.215Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-28T18:56:53.215Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-28T18:56:53.215Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-28T18:56:53.215Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-28T18:56:53.215Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-28T18:56:53.215Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:56:53.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-28T18:56:53.575Z] [2024-03-28T18:56:53.575Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:56:53.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-28T18:56:53.885Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-28T18:56:53.885Z] b85a868b505f: Pulling fs layer [2024-03-28T18:56:53.885Z] e2be974225ed: Pulling fs layer [2024-03-28T18:56:53.885Z] 339a4e72a1f5: Pulling fs layer [2024-03-28T18:56:53.885Z] 988bab9f4d93: Pulling fs layer [2024-03-28T18:56:53.885Z] 1469e6f7b9e6: Pulling fs layer [2024-03-28T18:56:53.885Z] eaf3925da568: Pulling fs layer [2024-03-28T18:56:53.885Z] bab4dde63d76: Pulling fs layer [2024-03-28T18:56:53.885Z] bde34c3a00c8: Pulling fs layer [2024-03-28T18:56:53.885Z] b352a97aabf1: Pulling fs layer [2024-03-28T18:56:53.885Z] 1469e6f7b9e6: Waiting [2024-03-28T18:56:53.885Z] bab4dde63d76: Waiting [2024-03-28T18:56:53.885Z] bde34c3a00c8: Waiting [2024-03-28T18:56:53.885Z] 988bab9f4d93: Waiting [2024-03-28T18:56:53.885Z] 4872d77fe225: Pulling fs layer [2024-03-28T18:56:53.885Z] 5851b861e8e6: Pulling fs layer [2024-03-28T18:56:53.885Z] b352a97aabf1: Waiting [2024-03-28T18:56:53.885Z] 5851b861e8e6: Waiting [2024-03-28T18:56:53.885Z] e2be974225ed: Download complete [2024-03-28T18:56:53.885Z] 988bab9f4d93: Verifying Checksum [2024-03-28T18:56:53.885Z] 988bab9f4d93: Download complete [2024-03-28T18:56:53.885Z] 1469e6f7b9e6: Verifying Checksum [2024-03-28T18:56:53.885Z] 1469e6f7b9e6: Download complete [2024-03-28T18:56:54.144Z] 339a4e72a1f5: Verifying Checksum [2024-03-28T18:56:54.144Z] 339a4e72a1f5: Download complete [2024-03-28T18:56:54.144Z] eaf3925da568: Verifying Checksum [2024-03-28T18:56:54.144Z] eaf3925da568: Download complete [2024-03-28T18:56:54.144Z] bde34c3a00c8: Verifying Checksum [2024-03-28T18:56:54.144Z] bde34c3a00c8: Download complete [2024-03-28T18:56:54.144Z] b352a97aabf1: Download complete [2024-03-28T18:56:54.144Z] 4872d77fe225: Download complete [2024-03-28T18:56:54.144Z] 5851b861e8e6: Verifying Checksum [2024-03-28T18:56:54.144Z] 5851b861e8e6: Download complete [2024-03-28T18:56:54.144Z] b85a868b505f: Verifying Checksum [2024-03-28T18:56:54.144Z] b85a868b505f: Download complete [2024-03-28T18:56:54.403Z] bab4dde63d76: Verifying Checksum [2024-03-28T18:56:54.403Z] bab4dde63d76: Download complete [2024-03-28T18:56:55.341Z] b85a868b505f: Pull complete [2024-03-28T18:56:55.601Z] e2be974225ed: Pull complete [2024-03-28T18:56:56.188Z] 339a4e72a1f5: Pull complete [2024-03-28T18:56:56.188Z] 988bab9f4d93: Pull complete [2024-03-28T18:56:56.460Z] 1469e6f7b9e6: Pull complete [2024-03-28T18:56:56.460Z] eaf3925da568: Pull complete [2024-03-28T18:56:58.375Z] bab4dde63d76: Pull complete [2024-03-28T18:56:58.375Z] bde34c3a00c8: Pull complete [2024-03-28T18:56:58.639Z] b352a97aabf1: Pull complete [2024-03-28T18:56:58.639Z] 4872d77fe225: Pull complete [2024-03-28T18:56:58.639Z] 5851b861e8e6: Pull complete [2024-03-28T18:56:58.639Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-28T18:56:58.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-28T18:56:58.900Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T18:56:59.039Z] prd-ubuntu20.04-docker-8c-8g-1571 does not seem to be running inside a container [2024-03-28T18:56:59.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-28T18:57:02.072Z] $ docker top 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad -eo pid,comm [2024-03-28T18:57:02.123Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-03-28T18:57:02.123Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-28T18:57:02.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-28T18:57:02.176Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-28T18:57:02.288Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-28T18:57:02.290Z] $ docker exec 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad ssh-agent [2024-03-28T18:57:02.400Z] SSH_AUTH_SOCK=/tmp/ssh-o0M69AhuCM4A/agent.32 [2024-03-28T18:57:02.400Z] SSH_AGENT_PID=38 [2024-03-28T18:57:02.406Z] Running ssh-add (command line suppressed) [2024-03-28T18:57:02.503Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_1315346377150354184.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_1315346377150354184.key) [2024-03-28T18:57:02.518Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-28T18:57:02.816Z] + git tag --points-at HEAD [Pipeline] } [2024-03-28T18:57:02.827Z] $ docker exec --env ******** --env ******** 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad ssh-agent -k [2024-03-28T18:57:02.922Z] unset SSH_AUTH_SOCK; [2024-03-28T18:57:02.925Z] unset SSH_AGENT_PID; [2024-03-28T18:57:02.926Z] echo Agent pid 38 killed; [2024-03-28T18:57:02.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-28T18:57:02.976Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-28T18:57:02.976Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-28T18:57:03.085Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-28T18:57:03.087Z] $ docker exec 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad ssh-agent [2024-03-28T18:57:03.198Z] SSH_AUTH_SOCK=/tmp/ssh-yK2KzXNBprTr/agent.71 [2024-03-28T18:57:03.198Z] SSH_AGENT_PID=77 [2024-03-28T18:57:03.202Z] Running ssh-add (command line suppressed) [2024-03-28T18:57:03.313Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_3749365239845754779.key (/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/private_key_3749365239845754779.key) [2024-03-28T18:57:03.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-28T18:57:03.621Z] + git semver init [2024-03-28T18:57:03.884Z] 2024-03-28 18:57:03,828 [run_init] DEBUG init version:0.0.0 force:False [2024-03-28T18:57:03.884Z] 2024-03-28 18:57:03,830 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2024-03-28T18:57:03.884Z] 2024-03-28 18:57:03,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver [2024-03-28T18:57:03.884Z] 2024-03-28 18:57:03,831 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496, universal_newlines=False, shell=None, istream=None) [2024-03-28T18:57:04.822Z] 2024-03-28 18:57:04,639 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.git/info/exclude [2024-03-28T18:57:04.822Z] 2024-03-28 18:57:04,640 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 with force:False [2024-03-28T18:57:04.822Z] 2024-03-28 18:57:04,640 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-03-28T18:57:04.822Z] 2024-03-28 18:57:04,644 [execute] INFO git cat-file --batch-check [2024-03-28T18:57:04.822Z] 2024-03-28 18:57:04,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2024-03-28T18:57:04.822Z] 2024-03-28 18:57:04,651 [execute] INFO git cat-file --batch [2024-03-28T18:57:04.822Z] 2024-03-28 18:57:04,651 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver, universal_newlines=False, shell=None, istream=) [2024-03-28T18:57:04.822Z] 2024-03-28 18:57:04,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-496/.semver/PR-496 [2024-03-28T18:57:04.822Z] 0.0.0 [Pipeline] } [2024-03-28T18:57:04.832Z] $ docker exec --env ******** --env ******** 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad ssh-agent -k [2024-03-28T18:57:04.935Z] unset SSH_AUTH_SOCK; [2024-03-28T18:57:04.935Z] unset SSH_AGENT_PID; [2024-03-28T18:57:04.936Z] echo Agent pid 77 killed; [2024-03-28T18:57:04.946Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-28T18:57:05.267Z] + git semver [Pipeline] } [2024-03-28T18:57:05.542Z] $ docker stop --time=1 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad [2024-03-28T18:57:06.874Z] $ docker rm -f --volumes 1193860aeebf935e23b08b119b6d984fdabeec2f58e52ce00a5b01814f132cad [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-28T18:57:07.222Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-28T18:57:07.439Z] Stashed 1 file(s) [Pipeline] echo [2024-03-28T18:57:07.443Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-28T18:57:07.621Z] provisioning config files... [2024-03-28T18:57:07.632Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config6995319723351180017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-28T18:57:07.931Z] ---> ****-login.sh [2024-03-28T18:57:07.932Z] nexus3.edgexfoundry.org:10001 [2024-03-28T18:57:07.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:57:07.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:57:07.932Z] Configure a credential helper to remove this warning. See [2024-03-28T18:57:07.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:57:07.932Z] [2024-03-28T18:57:07.932Z] Login Succeeded [2024-03-28T18:57:07.932Z] nexus3.edgexfoundry.org:10002 [2024-03-28T18:57:07.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:57:07.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:57:07.932Z] Configure a credential helper to remove this warning. See [2024-03-28T18:57:07.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:57:07.932Z] [2024-03-28T18:57:07.932Z] Login Succeeded [2024-03-28T18:57:07.932Z] nexus3.edgexfoundry.org:10003 [2024-03-28T18:57:08.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:57:08.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:57:08.192Z] Configure a credential helper to remove this warning. See [2024-03-28T18:57:08.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:57:08.192Z] [2024-03-28T18:57:08.192Z] Login Succeeded [2024-03-28T18:57:08.192Z] nexus3.edgexfoundry.org:10004 [2024-03-28T18:57:08.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:57:08.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:57:08.192Z] Configure a credential helper to remove this warning. See [2024-03-28T18:57:08.192Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:57:08.192Z] [2024-03-28T18:57:08.192Z] Login Succeeded [2024-03-28T18:57:08.192Z] ****.io [2024-03-28T18:57:08.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T18:57:08.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T18:57:08.712Z] Configure a credential helper to remove this warning. See [2024-03-28T18:57:08.712Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T18:57:08.712Z] [2024-03-28T18:57:08.712Z] Login Succeeded [2024-03-28T18:57:08.712Z] ---> ****-login.sh ends [Pipeline] } [2024-03-28T18:57:08.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-28T18:57:08.804Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-28T18:57:08.817Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-03-28T18:57:08.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-28T18:57:08.849Z] ========================================================= [2024-03-28T18:57:08.849Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-03-28T18:57:08.849Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:57:09.169Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2024-03-28T18:57:09.169Z] Sending build context to Docker daemon 5.017MB [2024-03-28T18:57:09.169Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-03-28T18:57:09.169Z] Step 2/22 : FROM ${BASE} as builder [2024-03-28T18:57:09.169Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-03-28T18:57:09.169Z] 96526aa774ef: Pulling fs layer [2024-03-28T18:57:09.169Z] da60e534fd72: Pulling fs layer [2024-03-28T18:57:09.428Z] 96526aa774ef: Verifying Checksum [2024-03-28T18:57:09.428Z] 96526aa774ef: Download complete [2024-03-28T18:57:09.428Z] 96526aa774ef: Pull complete [2024-03-28T18:57:10.366Z] da60e534fd72: Verifying Checksum [2024-03-28T18:57:10.366Z] da60e534fd72: Download complete [2024-03-28T18:57:13.669Z] da60e534fd72: Pull complete [2024-03-28T18:57:13.669Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-03-28T18:57:13.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-03-28T18:57:13.669Z] ---> 6605166a5db4 [2024-03-28T18:57:13.669Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-03-28T18:57:16.210Z] ---> Running in 8a67b3e4ea52 [2024-03-28T18:57:16.210Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-03-28T18:57:16.472Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T18:57:16.472Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T18:57:16.472Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T18:57:16.730Z] Removing intermediate container 8a67b3e4ea52 [2024-03-28T18:57:16.730Z] ---> 80cbcb19d04e [2024-03-28T18:57:16.730Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T18:57:16.730Z] ---> Running in ff1abcaab822 [2024-03-28T18:57:17.299Z] Removing intermediate container ff1abcaab822 [2024-03-28T18:57:17.300Z] ---> e4ae089e68d3 [2024-03-28T18:57:17.300Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-03-28T18:57:17.300Z] ---> Running in 2a5f27db65a1 [2024-03-28T18:57:17.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:17.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:18.130Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:18.699Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T18:57:18.699Z] (1/17) Installing hiredis (1.1.0-r2) [2024-03-28T18:57:18.699Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-03-28T18:57:18.699Z] (3/17) Installing libcbor (0.10.2-r1) [2024-03-28T18:57:18.699Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-03-28T18:57:19.272Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-03-28T18:57:19.533Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-03-28T18:57:19.793Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-03-28T18:57:19.793Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-03-28T18:57:19.793Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-03-28T18:57:19.793Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-03-28T18:57:19.793Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-03-28T18:57:19.793Z] (12/17) Installing libblkid (2.38.1-r8) [2024-03-28T18:57:19.793Z] (13/17) Installing libuuid (2.38.1-r8) [2024-03-28T18:57:19.793Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-03-28T18:57:19.793Z] (15/17) Installing libmount (2.38.1-r8) [2024-03-28T18:57:19.793Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-03-28T18:57:19.793Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-03-28T18:57:19.793Z] Executing busybox-1.36.1-r4.trigger [2024-03-28T18:57:19.793Z] OK: 336 MiB in 99 packages [2024-03-28T18:57:20.363Z] Removing intermediate container 2a5f27db65a1 [2024-03-28T18:57:20.363Z] ---> 0351e170783a [2024-03-28T18:57:20.363Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-03-28T18:57:20.363Z] ---> Running in 054c58fed254 [2024-03-28T18:57:20.933Z] Removing intermediate container 054c58fed254 [2024-03-28T18:57:20.933Z] ---> 97efab14a0bd [2024-03-28T18:57:20.933Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-03-28T18:57:21.216Z] ---> 106fbec35d36 [2024-03-28T18:57:21.216Z] Step 8/22 : COPY src /tmp/sdk/src [2024-03-28T18:57:21.476Z] ---> 937dc9376f13 [2024-03-28T18:57:21.476Z] Step 9/22 : COPY include /tmp/sdk/include [2024-03-28T18:57:21.476Z] ---> 926d982ec197 [2024-03-28T18:57:21.476Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-03-28T18:57:21.736Z] ---> eb38e3967d07 [2024-03-28T18:57:21.736Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-03-28T18:57:21.736Z] ---> e3bae35080dd [2024-03-28T18:57:21.736Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-03-28T18:57:21.996Z] ---> 214a7349864d [2024-03-28T18:57:21.996Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-03-28T18:57:21.996Z] ---> Running in 5aa0320f3fb9 [2024-03-28T18:57:22.256Z] + CPPCHECK=false [2024-03-28T18:57:22.256Z] + DOCGEN=false [2024-03-28T18:57:22.257Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-03-28T18:57:22.257Z] + '[' 0 -gt 0 ] [2024-03-28T18:57:22.257Z] + readlink -f ./scripts/build.sh [2024-03-28T18:57:22.257Z] + dirname /tmp/sdk/scripts/build.sh [2024-03-28T18:57:22.257Z] + dirname /tmp/sdk/scripts [2024-03-28T18:57:22.257Z] + ROOT=/tmp/sdk [2024-03-28T18:57:22.257Z] + cd /tmp/sdk [2024-03-28T18:57:22.257Z] + mkdir -p /tmp/sdk/build/release [2024-03-28T18:57:22.257Z] + cd /tmp/sdk/build/release [2024-03-28T18:57:22.257Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-03-28T18:57:22.257Z] -- The C compiler identification is GNU 12.2.1 [2024-03-28T18:57:22.257Z] -- Detecting C compiler ABI info [2024-03-28T18:57:22.257Z] -- Detecting C compiler ABI info - done [2024-03-28T18:57:22.517Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-03-28T18:57:22.517Z] -- Detecting C compile features [2024-03-28T18:57:22.517Z] -- Detecting C compile features - done [2024-03-28T18:57:22.517Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-03-28T18:57:22.517Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-03-28T18:57:22.517Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-03-28T18:57:22.517Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-03-28T18:57:22.517Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-03-28T18:57:22.517Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-03-28T18:57:22.517Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-03-28T18:57:22.517Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-03-28T18:57:22.517Z] -- /opt/iotech/iot/1.5/include [2024-03-28T18:57:22.517Z] -- C SDK 0.0.0 for Linux [2024-03-28T18:57:22.517Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-03-28T18:57:22.517Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-03-28T18:57:22.517Z] -- Found Curses: /usr/lib/libcurses.so [2024-03-28T18:57:22.563Z] Still waiting to schedule task [2024-03-28T18:57:22.563Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-28T18:57:22.777Z] -- Configuring done (0.5s) [2024-03-28T18:57:22.777Z] -- Generating done (0.0s) [2024-03-28T18:57:22.777Z] -- Build files have been written to: /tmp/sdk/build/release [2024-03-28T18:57:22.777Z] + make all package [2024-03-28T18:57:22.777Z] + tee release.log [2024-03-28T18:57:22.777Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-03-28T18:57:22.777Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-03-28T18:57:23.036Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-03-28T18:57:23.036Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-03-28T18:57:23.296Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-03-28T18:57:23.296Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-03-28T18:57:23.555Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-03-28T18:57:23.816Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-03-28T18:57:23.816Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T18:57:23.816Z] 294 | while (privateConfig) [2024-03-28T18:57:23.816Z] | ^~~~~~~~~~~~~ [2024-03-28T18:57:23.817Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-03-28T18:57:23.817Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-03-28T18:57:23.817Z] | ^~~~~~~~~~~~~ [2024-03-28T18:57:23.817Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T18:57:23.817Z] 271 | while (result) [2024-03-28T18:57:23.817Z] | ^~~~~~ [2024-03-28T18:57:23.817Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-03-28T18:57:23.817Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-03-28T18:57:23.817Z] | ^~~~~~ [2024-03-28T18:57:23.817Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-03-28T18:57:23.817Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-03-28T18:57:24.083Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-03-28T18:57:24.343Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-03-28T18:57:24.343Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-03-28T18:57:24.602Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-03-28T18:57:24.602Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-03-28T18:57:24.876Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-03-28T18:57:24.876Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-03-28T18:57:24.876Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-03-28T18:57:25.445Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-03-28T18:57:25.445Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-03-28T18:57:25.445Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-03-28T18:57:25.711Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-03-28T18:57:26.651Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-03-28T18:57:26.651Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-03-28T18:57:26.911Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-03-28T18:57:26.911Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-03-28T18:57:26.911Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-03-28T18:57:27.171Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-03-28T18:57:27.430Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-03-28T18:57:27.691Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-03-28T18:57:27.691Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-03-28T18:57:27.953Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-03-28T18:57:27.953Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-03-28T18:57:27.953Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T18:57:27.953Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-03-28T18:57:27.953Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T18:57:27.953Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T18:57:27.953Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-03-28T18:57:27.953Z] | ^ [2024-03-28T18:57:28.215Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T18:57:28.215Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-03-28T18:57:28.215Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T18:57:28.215Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-03-28T18:57:28.215Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-03-28T18:57:28.215Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-03-28T18:57:28.215Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-03-28T18:57:28.475Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-03-28T18:57:28.475Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-03-28T18:57:28.475Z] [ 68%] Linking C shared library libcsdk.so [2024-03-28T18:57:28.735Z] [ 68%] Built target csdk [2024-03-28T18:57:28.735Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-03-28T18:57:28.735Z] [ 72%] Linking C executable template [2024-03-28T18:57:28.735Z] [ 72%] Built target template [2024-03-28T18:57:28.993Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-03-28T18:57:28.993Z] [ 76%] Linking C executable device-counter [2024-03-28T18:57:28.993Z] [ 76%] Built target device-counter [2024-03-28T18:57:28.993Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-03-28T18:57:29.253Z] [ 80%] Linking C executable device-random [2024-03-28T18:57:29.253Z] [ 80%] Built target device-random [2024-03-28T18:57:29.253Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-03-28T18:57:29.253Z] [ 84%] Linking C executable device-gyro [2024-03-28T18:57:29.514Z] [ 84%] Built target device-gyro [2024-03-28T18:57:29.514Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-03-28T18:57:29.514Z] [ 88%] Linking C executable device-bitfields [2024-03-28T18:57:29.514Z] [ 88%] Built target device-bitfields [2024-03-28T18:57:29.514Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-03-28T18:57:29.774Z] [ 92%] Linking C executable template-discovery [2024-03-28T18:57:29.774Z] [ 92%] Built target template-discovery [2024-03-28T18:57:29.774Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-03-28T18:57:30.033Z] [ 96%] Linking C executable device-file [2024-03-28T18:57:30.033Z] [ 96%] Built target device-file [2024-03-28T18:57:30.033Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-03-28T18:57:30.033Z] [100%] Linking C executable device-terminal [2024-03-28T18:57:30.293Z] [100%] Built target device-terminal [2024-03-28T18:57:30.293Z] Run CPack packaging tool... [2024-03-28T18:57:30.293Z] CPack: Create package using TGZ [2024-03-28T18:57:30.293Z] CPack: Install projects [2024-03-28T18:57:30.293Z] CPack: - Run preinstall target for: Csdk [2024-03-28T18:57:30.553Z] CPack: - Install project: Csdk [] [2024-03-28T18:57:30.553Z] CPack: Create package [2024-03-28T18:57:30.553Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-03-28T18:57:30.553Z] + '[' false '=' true ] [2024-03-28T18:57:30.553Z] + '[' false '=' true ] [2024-03-28T18:57:30.553Z] + mkdir -p /tmp/sdk/build/debug [2024-03-28T18:57:30.553Z] + cd /tmp/sdk/build/debug [2024-03-28T18:57:30.553Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-03-28T18:57:30.553Z] -- The C compiler identification is GNU 12.2.1 [2024-03-28T18:57:30.553Z] -- Detecting C compiler ABI info [2024-03-28T18:57:30.812Z] -- Detecting C compiler ABI info - done [2024-03-28T18:57:30.812Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-03-28T18:57:30.812Z] -- Detecting C compile features [2024-03-28T18:57:30.812Z] -- Detecting C compile features - done [2024-03-28T18:57:30.812Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-03-28T18:57:30.812Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-03-28T18:57:30.812Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-03-28T18:57:30.812Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-03-28T18:57:30.812Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-03-28T18:57:30.812Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-03-28T18:57:30.812Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-03-28T18:57:30.812Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-03-28T18:57:30.812Z] -- /opt/iotech/iot/1.5/include [2024-03-28T18:57:30.812Z] -- C SDK 0.0.0 for Linux [2024-03-28T18:57:30.812Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-03-28T18:57:30.812Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-03-28T18:57:31.072Z] -- Found Curses: /usr/lib/libcurses.so [2024-03-28T18:57:31.072Z] -- Configuring done (0.4s) [2024-03-28T18:57:31.072Z] -- Generating done (0.0s) [2024-03-28T18:57:31.072Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-03-28T18:57:31.072Z] + + teemake debug.log [2024-03-28T18:57:31.072Z] [2024-03-28T18:57:31.072Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-03-28T18:57:31.072Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-03-28T18:57:31.332Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-03-28T18:57:31.332Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-03-28T18:57:31.332Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-03-28T18:57:31.332Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-03-28T18:57:31.616Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-03-28T18:57:31.616Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-03-28T18:57:31.616Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-03-28T18:57:31.616Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-03-28T18:57:31.881Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-03-28T18:57:31.881Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-03-28T18:57:31.881Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-03-28T18:57:32.143Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-03-28T18:57:32.143Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-03-28T18:57:32.143Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-03-28T18:57:32.401Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-03-28T18:57:32.401Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-03-28T18:57:32.401Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-03-28T18:57:32.401Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-03-28T18:57:32.662Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-03-28T18:57:32.920Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-03-28T18:57:32.920Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-03-28T18:57:32.920Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-03-28T18:57:32.920Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-03-28T18:57:33.237Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-03-28T18:57:33.237Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-03-28T18:57:33.520Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-03-28T18:57:33.520Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-03-28T18:57:33.520Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-03-28T18:57:33.520Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-03-28T18:57:33.520Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-03-28T18:57:33.520Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T18:57:33.520Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-03-28T18:57:33.520Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T18:57:33.520Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T18:57:33.520Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-03-28T18:57:33.520Z] | ^ [2024-03-28T18:57:33.785Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-03-28T18:57:33.785Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-03-28T18:57:33.785Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-03-28T18:57:33.785Z] [ 68%] Linking C shared library libcsdk.so [2024-03-28T18:57:34.045Z] [ 68%] Built target csdk [2024-03-28T18:57:34.045Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-03-28T18:57:34.045Z] [ 72%] Linking C executable template [2024-03-28T18:57:34.045Z] [ 72%] Built target template [2024-03-28T18:57:34.045Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-03-28T18:57:34.304Z] [ 76%] Linking C executable device-counter [2024-03-28T18:57:34.304Z] [ 76%] Built target device-counter [2024-03-28T18:57:34.304Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-03-28T18:57:34.304Z] [ 80%] Linking C executable device-random [2024-03-28T18:57:34.304Z] [ 80%] Built target device-random [2024-03-28T18:57:34.304Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-03-28T18:57:34.563Z] [ 84%] Linking C executable device-gyro [2024-03-28T18:57:34.563Z] [ 84%] Built target device-gyro [2024-03-28T18:57:34.563Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-03-28T18:57:34.563Z] [ 88%] Linking C executable device-bitfields [2024-03-28T18:57:34.821Z] [ 88%] Built target device-bitfields [2024-03-28T18:57:34.821Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-03-28T18:57:34.821Z] [ 92%] Linking C executable template-discovery [2024-03-28T18:57:34.821Z] [ 92%] Built target template-discovery [2024-03-28T18:57:34.821Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-03-28T18:57:34.821Z] [ 96%] Linking C executable device-file [2024-03-28T18:57:35.085Z] [ 96%] Built target device-file [2024-03-28T18:57:35.085Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-03-28T18:57:35.085Z] [100%] Linking C executable device-terminal [2024-03-28T18:57:35.085Z] [100%] Built target device-terminal [2024-03-28T18:57:35.085Z] make: Entering directory '/tmp/sdk/build/release' [2024-03-28T18:57:35.345Z] [ 68%] Built target csdk [2024-03-28T18:57:35.345Z] [ 72%] Built target template [2024-03-28T18:57:35.345Z] [ 76%] Built target device-counter [2024-03-28T18:57:35.345Z] [ 80%] Built target device-random [2024-03-28T18:57:35.345Z] [ 84%] Built target device-gyro [2024-03-28T18:57:35.345Z] [ 88%] Built target device-bitfields [2024-03-28T18:57:35.345Z] [ 92%] Built target template-discovery [2024-03-28T18:57:35.345Z] [ 96%] Built target device-file [2024-03-28T18:57:35.345Z] [100%] Built target device-terminal [2024-03-28T18:57:35.345Z] Install the project... [2024-03-28T18:57:35.345Z] -- Install configuration: "Release" [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/lib/libcsdk.so [2024-03-28T18:57:35.345Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include/devsdk [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include/edgex [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include/edgex/devices.h [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-03-28T18:57:35.345Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-03-28T18:57:35.345Z] make: Leaving directory '/tmp/sdk/build/release' [2024-03-28T18:57:36.281Z] Removing intermediate container 5aa0320f3fb9 [2024-03-28T18:57:36.281Z] ---> dd77cb3eb654 [2024-03-28T18:57:36.281Z] Step 14/22 : FROM ${BASE} [2024-03-28T18:57:36.281Z] ---> 6605166a5db4 [2024-03-28T18:57:36.281Z] Step 15/22 : LABEL maintainer="IOTech " [2024-03-28T18:57:36.281Z] ---> Running in d51a60071af9 [2024-03-28T18:57:36.281Z] Removing intermediate container d51a60071af9 [2024-03-28T18:57:36.281Z] ---> bb1a6018a272 [2024-03-28T18:57:36.281Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-03-28T18:57:36.281Z] ---> Running in 7b6e59509862 [2024-03-28T18:57:36.539Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-03-28T18:57:37.107Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T18:57:37.107Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T18:57:37.107Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T18:57:37.107Z] Removing intermediate container 7b6e59509862 [2024-03-28T18:57:37.107Z] ---> 60d07f30a4cd [2024-03-28T18:57:37.107Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T18:57:37.107Z] ---> Running in 885472dd335b [2024-03-28T18:57:37.676Z] Removing intermediate container 885472dd335b [2024-03-28T18:57:37.676Z] ---> 35e5be9c1ec2 [2024-03-28T18:57:37.676Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-03-28T18:57:37.676Z] ---> Running in 915a0a18aacf [2024-03-28T18:57:37.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:38.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:38.455Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:39.024Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T18:57:39.024Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-03-28T18:57:39.024Z] (2/10) Installing curl (8.5.0-r0) [2024-03-28T18:57:39.024Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-03-28T18:57:39.024Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-03-28T18:57:39.024Z] (5/10) Installing hiredis (1.1.0-r2) [2024-03-28T18:57:39.024Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-03-28T18:57:39.024Z] (7/10) Installing libcbor (0.10.2-r1) [2024-03-28T18:57:39.024Z] (8/10) Installing iotech-iot-1.5 (1.5.3-r0) [2024-03-28T18:57:39.595Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-03-28T18:57:39.854Z] (10/10) Installing libuuid (2.38.1-r8) [2024-03-28T18:57:39.854Z] Executing busybox-1.36.1-r4.trigger [2024-03-28T18:57:39.854Z] OK: 331 MiB in 90 packages [2024-03-28T18:57:40.423Z] Removing intermediate container 915a0a18aacf [2024-03-28T18:57:40.423Z] ---> a54d370d1c2e [2024-03-28T18:57:40.423Z] Step 19/22 : RUN apk --no-cache upgrade [2024-03-28T18:57:40.423Z] ---> Running in a16c23b6c306 [2024-03-28T18:57:40.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:40.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:40.943Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:41.515Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T18:57:41.515Z] (1/12) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2024-03-28T18:57:41.515Z] Executing busybox-1.36.1-r5.post-upgrade [2024-03-28T18:57:41.515Z] (2/12) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2024-03-28T18:57:41.515Z] (3/12) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-28T18:57:41.515Z] (4/12) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r5) [2024-03-28T18:57:41.515Z] (5/12) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r5) [2024-03-28T18:57:41.515Z] (6/12) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2024-03-28T18:57:41.515Z] (7/12) Upgrading libexpat (2.5.0-r1 -> 2.6.2-r0) [2024-03-28T18:57:41.515Z] (8/12) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-03-28T18:57:41.515Z] (9/12) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r5) [2024-03-28T18:57:41.515Z] (10/12) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-03-28T18:57:41.515Z] (11/12) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-03-28T18:57:41.775Z] (12/12) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-03-28T18:57:41.775Z] Executing busybox-1.36.1-r5.trigger [2024-03-28T18:57:41.775Z] Executing ca-certificates-20240226-r0.trigger [2024-03-28T18:57:41.775Z] OK: 331 MiB in 90 packages [2024-03-28T18:57:42.713Z] Removing intermediate container a16c23b6c306 [2024-03-28T18:57:42.713Z] ---> 7229c425fbe0 [2024-03-28T18:57:42.713Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-03-28T18:57:42.713Z] ---> 4ffd4ab5016b [2024-03-28T18:57:42.713Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-03-28T18:57:42.972Z] ---> a81be51145c3 [2024-03-28T18:57:42.972Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-03-28T18:57:42.972Z] ---> 93d3554dd74f [2024-03-28T18:57:42.972Z] Successfully built 93d3554dd74f [2024-03-28T18:57:42.972Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:57:43.390Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-28T18:57:43.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T18:57:43.476Z] prd-ubuntu20.04-docker-8c-8g-1571 does not seem to be running inside a container [2024-03-28T18:57:43.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-28T18:57:43.871Z] $ docker top b2ba90fee41dc22e62816353959147685a7b93ffb8f0955aa481bd2083b4821a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-28T18:57:44.223Z] + make test [2024-03-28T18:57:44.223Z] echo "make test" [2024-03-28T18:57:44.223Z] make test [Pipeline] } [2024-03-28T18:57:44.233Z] $ docker stop --time=1 b2ba90fee41dc22e62816353959147685a7b93ffb8f0955aa481bd2083b4821a [2024-03-28T18:57:45.494Z] $ docker rm -f --volumes b2ba90fee41dc22e62816353959147685a7b93ffb8f0955aa481bd2083b4821a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-28T18:57:46.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-28T18:57:46.331Z] + ls -al . [2024-03-28T18:57:46.331Z] total 212 [2024-03-28T18:57:46.331Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 18:57 . [2024-03-28T18:57:46.331Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:56 .. [2024-03-28T18:57:46.332Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 18:57 .git [2024-03-28T18:57:46.332Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 18:56 .github [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 28 18:56 .gitignore [2024-03-28T18:57:46.332Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:57 .semver [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 18:56 Attribution.txt [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 11953 Mar 28 18:56 CHANGELOG.md [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 28 18:56 Doxyfile [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 18:56 GOVERNANCE.md [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 28 18:56 Jenkinsfile [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 28 18:56 LICENSE [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 28 18:56 Makefile [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 28 18:56 OWNERS.md [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 1651 Mar 28 18:56 README.IOT.md [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 4215 Mar 28 18:56 README.md [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 28 18:56 README.v3.md [2024-03-28T18:57:46.332Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:57 VERSION [2024-03-28T18:57:46.332Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:56 docs [2024-03-28T18:57:46.332Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:56 include [2024-03-28T18:57:46.332Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 18:56 scripts [2024-03-28T18:57:46.332Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 18:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:57:46.658Z] + 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=6a42469b08578544c30b417c6d74da361b3be3ec --label arch=amd64 --label version=0.0.0 . [2024-03-28T18:57:46.658Z] Sending build context to Docker daemon 5.017MB [2024-03-28T18:57:46.658Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-03-28T18:57:46.658Z] Step 2/18 : FROM ${BASE} [2024-03-28T18:57:46.658Z] ---> 93d3554dd74f [2024-03-28T18:57:46.658Z] Step 3/18 : LABEL maintainer="IOTech " [2024-03-28T18:57:46.658Z] ---> Running in 5fd4e2759610 [2024-03-28T18:57:46.918Z] Removing intermediate container 5fd4e2759610 [2024-03-28T18:57:46.918Z] ---> 1761fd4d2ab4 [2024-03-28T18:57:46.918Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-03-28T18:57:46.918Z] ---> Running in 25e1e0ef1cb2 [2024-03-28T18:57:47.177Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-03-28T18:57:47.436Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T18:57:47.436Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T18:57:47.436Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T18:57:48.004Z] Removing intermediate container 25e1e0ef1cb2 [2024-03-28T18:57:48.004Z] ---> ee9f8c365396 [2024-03-28T18:57:48.004Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T18:57:48.004Z] ---> Running in 0bd6ca70b5fa [2024-03-28T18:57:48.263Z] Removing intermediate container 0bd6ca70b5fa [2024-03-28T18:57:48.263Z] ---> a56eb42603b0 [2024-03-28T18:57:48.263Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-03-28T18:57:48.263Z] ---> Running in cd8834dfa7a2 [2024-03-28T18:57:48.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:48.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:49.040Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:49.607Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T18:57:49.607Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-03-28T18:57:49.865Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-03-28T18:57:49.865Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-03-28T18:57:49.865Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-03-28T18:57:49.865Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-03-28T18:57:49.865Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-03-28T18:57:49.865Z] (7/11) Installing libblkid (2.38.1-r8) [2024-03-28T18:57:49.865Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-03-28T18:57:49.865Z] (9/11) Installing libmount (2.38.1-r8) [2024-03-28T18:57:49.865Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-03-28T18:57:49.865Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-03-28T18:57:49.865Z] Executing busybox-1.36.1-r5.trigger [2024-03-28T18:57:49.865Z] OK: 337 MiB in 101 packages [2024-03-28T18:57:50.433Z] Removing intermediate container cd8834dfa7a2 [2024-03-28T18:57:50.433Z] ---> 4192860ee7b2 [2024-03-28T18:57:50.433Z] Step 7/18 : RUN apk --no-cache upgrade [2024-03-28T18:57:50.433Z] ---> Running in 8af63dfa8d60 [2024-03-28T18:57:50.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:50.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:50.954Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-28T18:57:51.214Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T18:57:51.475Z] OK: 337 MiB in 101 packages [2024-03-28T18:57:51.737Z] Removing intermediate container 8af63dfa8d60 [2024-03-28T18:57:51.737Z] ---> 5738d634b86e [2024-03-28T18:57:51.737Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-03-28T18:57:51.737Z] ---> a9571e8f3592 [2024-03-28T18:57:51.737Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-03-28T18:57:51.998Z] ---> f31f06e415a6 [2024-03-28T18:57:51.998Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-03-28T18:57:52.259Z] ---> e4d1137e73af [2024-03-28T18:57:52.259Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-03-28T18:57:52.259Z] ---> acc724e14f05 [2024-03-28T18:57:52.259Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-03-28T18:57:52.519Z] ---> 78335398bcf6 [2024-03-28T18:57:52.519Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-03-28T18:57:52.519Z] ---> db13d6774764 [2024-03-28T18:57:52.519Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-03-28T18:57:52.519Z] ---> Running in a5d1808e83cd [2024-03-28T18:57:52.779Z] Removing intermediate container a5d1808e83cd [2024-03-28T18:57:52.779Z] ---> 3120a95e43bc [2024-03-28T18:57:52.779Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-03-28T18:57:52.779Z] ---> Running in 29870a2c4da5 [2024-03-28T18:57:52.779Z] Removing intermediate container 29870a2c4da5 [2024-03-28T18:57:52.779Z] ---> 26e749effa1a [2024-03-28T18:57:52.779Z] Step 16/18 : LABEL arch=amd64 [2024-03-28T18:57:52.779Z] ---> Running in ffb2043bc3e5 [2024-03-28T18:57:52.779Z] Removing intermediate container ffb2043bc3e5 [2024-03-28T18:57:52.779Z] ---> d76712cb5e7f [2024-03-28T18:57:52.779Z] Step 17/18 : LABEL git_sha=6a42469b08578544c30b417c6d74da361b3be3ec [2024-03-28T18:57:52.779Z] ---> Running in 48e9f2fd7d00 [2024-03-28T18:57:53.039Z] Removing intermediate container 48e9f2fd7d00 [2024-03-28T18:57:53.039Z] ---> 36af4c39680c [2024-03-28T18:57:53.039Z] Step 18/18 : LABEL version=0.0.0 [2024-03-28T18:57:53.039Z] ---> Running in 6ad01b5d3615 [2024-03-28T18:57:53.039Z] Removing intermediate container 6ad01b5d3615 [2024-03-28T18:57:53.039Z] ---> c37bade434e1 [2024-03-28T18:57:53.039Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-03-28T18:57:53.039Z] Successfully built c37bade434e1 [2024-03-28T18:57:53.040Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:57:53.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-28T18:57:53.550Z] [2024-03-28T18:57:53.550Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T18:57:53.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-28T18:57:53.860Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-28T18:57:53.860Z] 5eb5b503b376: Pulling fs layer [2024-03-28T18:57:53.860Z] 5c69ac0246d0: Pulling fs layer [2024-03-28T18:57:53.860Z] ec43610c2a17: Pulling fs layer [2024-03-28T18:57:53.860Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-28T18:57:53.860Z] 33b1e0a273af: Pulling fs layer [2024-03-28T18:57:53.860Z] 5d3b04190fa2: Pulling fs layer [2024-03-28T18:57:53.860Z] 2f39f015ded8: Pulling fs layer [2024-03-28T18:57:53.860Z] 3a2ae6a8a46f: Waiting [2024-03-28T18:57:53.860Z] 33b1e0a273af: Waiting [2024-03-28T18:57:53.860Z] 5d3b04190fa2: Waiting [2024-03-28T18:57:53.860Z] 2f39f015ded8: Waiting [2024-03-28T18:57:53.860Z] 5c69ac0246d0: Verifying Checksum [2024-03-28T18:57:53.860Z] 5c69ac0246d0: Download complete [2024-03-28T18:57:53.860Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-28T18:57:53.860Z] 3a2ae6a8a46f: Download complete [2024-03-28T18:57:53.860Z] 33b1e0a273af: Verifying Checksum [2024-03-28T18:57:53.860Z] 33b1e0a273af: Download complete [2024-03-28T18:57:53.860Z] 5d3b04190fa2: Verifying Checksum [2024-03-28T18:57:53.860Z] 5d3b04190fa2: Download complete [2024-03-28T18:57:53.860Z] ec43610c2a17: Verifying Checksum [2024-03-28T18:57:53.860Z] ec43610c2a17: Download complete [2024-03-28T18:57:54.121Z] 5eb5b503b376: Download complete [2024-03-28T18:57:54.689Z] 2f39f015ded8: Download complete [2024-03-28T18:57:55.256Z] 5eb5b503b376: Pull complete [2024-03-28T18:57:55.256Z] 5c69ac0246d0: Pull complete [2024-03-28T18:57:55.827Z] ec43610c2a17: Pull complete [2024-03-28T18:57:55.827Z] 3a2ae6a8a46f: Pull complete [2024-03-28T18:57:56.087Z] 33b1e0a273af: Pull complete [2024-03-28T18:57:56.087Z] 5d3b04190fa2: Pull complete [2024-03-28T18:58:00.276Z] 2f39f015ded8: Pull complete [2024-03-28T18:58:00.276Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-28T18:58:00.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-28T18:58:00.276Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T18:58:00.394Z] prd-ubuntu20.04-docker-8c-8g-1571 does not seem to be running inside a container [2024-03-28T18:58:00.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-28T18:58:05.416Z] $ docker top 3f73cc6d992f76ded20741dc706642c9f14e5a981369039f87eb16d5af0deb9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-28T18:58:05.793Z] ---> job-cost.sh [2024-03-28T18:58:05.794Z] lf-activate-venv: SKIPPING [2024-03-28T18:58:05.794Z] INFO: No Stack... [2024-03-28T18:58:06.053Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-28T18:58:06.621Z] INFO: Archiving Costs [Pipeline] sh [2024-03-28T18:58:06.908Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/cost.csv [2024-03-28T18:58:06.908Z] + cut -d, -f6 [Pipeline] lock [2024-03-28T18:58:06.922Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] [2024-03-28T18:58:06.929Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] did not exist. Created. [2024-03-28T18:58:06.934Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-28T18:58:07.241Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-28T18:58:07.292Z] Stashed 1 file(s) [Pipeline] } [2024-03-28T18:58:07.300Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-28T18:58:07.326Z] $ docker stop --time=1 3f73cc6d992f76ded20741dc706642c9f14e5a981369039f87eb16d5af0deb9d [2024-03-28T18:58:08.475Z] $ docker rm -f --volumes 3f73cc6d992f76ded20741dc706642c9f14e5a981369039f87eb16d5af0deb9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-28T19:00:27.260Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1574 in /w/workspace/edgexfoundry_device-sdk-c_PR-496 [Pipeline] { [Pipeline] ws [2024-03-28T19:00:27.277Z] Running in /w/workspace/device-sdk-c/6 [Pipeline] { [Pipeline] checkout [2024-03-28T19:00:27.323Z] Selected Git installation does not exist. Using Default [2024-03-28T19:00:27.323Z] The recommended git tool is: NONE [2024-03-28T19:00:32.986Z] using credential edgex-jenkins-ssh [2024-03-28T19:00:33.011Z] Cloning the remote Git repository [2024-03-28T19:00:33.056Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-03-28T19:00:33.145Z] > git init /w/workspace/device-sdk-c/6 # timeout=10 [2024-03-28T19:00:33.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-03-28T19:00:33.314Z] > git --version # timeout=10 [2024-03-28T19:00:33.332Z] > git --version # 'git version 2.25.1' [2024-03-28T19:00:33.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-28T19:00:33.498Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-28T19:00:34.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-03-28T19:00:34.609Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-28T19:00:36.097Z] Merging remotes/origin/main commit 442156b10c8e48709838cfe148b6b6cf65ecf635 into PR head commit 4410ed02c89f9f775968b3c16ea152ec31bdb83a [2024-03-28T19:00:35.469Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-03-28T19:00:35.512Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-03-28T19:00:35.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-28T19:00:35.533Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/496/head:refs/remotes/origin/PR-496 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-28T19:00:36.117Z] > git config core.sparsecheckout # timeout=10 [2024-03-28T19:00:36.187Z] > git checkout -f 4410ed02c89f9f775968b3c16ea152ec31bdb83a # timeout=10 [2024-03-28T19:00:36.299Z] > git remote # timeout=10 [2024-03-28T19:00:36.317Z] > git config --get remote.origin.url # timeout=10 [2024-03-28T19:00:36.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-28T19:00:36.354Z] > git merge 442156b10c8e48709838cfe148b6b6cf65ecf635 # timeout=10 [2024-03-28T19:00:36.482Z] Merge succeeded, producing f95beaf80225190ec09120b30a0a2c33f7b90e1e [2024-03-28T19:00:36.483Z] Checking out Revision f95beaf80225190ec09120b30a0a2c33f7b90e1e (PR-496) [2024-03-28T19:00:36.465Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-28T19:00:36.490Z] > git config core.sparsecheckout # timeout=10 [2024-03-28T19:00:36.508Z] > git checkout -f f95beaf80225190ec09120b30a0a2c33f7b90e1e # timeout=10 [2024-03-28T19:00:40.107Z] Commit message: "Merge commit '442156b10c8e48709838cfe148b6b6cf65ecf635' into HEAD" [2024-03-28T19:00:40.134Z] First time build. Skipping changelog. [2024-03-28T19:00:40.119Z] > git rev-list --no-walk bca1b49ac5df6988ad03e5ad4a63aa627d45501d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-28T19:00:41.741Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-28T19:00:41.741Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-28T19:00:41.741Z] Dload Upload Total Spent Left Speed [2024-03-28T19:00:41.741Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k [Pipeline] sh [2024-03-28T19:00:42.074Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-28T19:00:42.401Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-28T19:00:42.401Z] + sudo tee /etc/docker/daemon.new [2024-03-28T19:00:42.401Z] { [2024-03-28T19:00:42.401Z] "registry-mirrors": [ [2024-03-28T19:00:42.402Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-28T19:00:42.402Z] ], [2024-03-28T19:00:42.402Z] "bip": "10.250.0.254/24", [2024-03-28T19:00:42.402Z] "hosts": [ [2024-03-28T19:00:42.402Z] "tcp://0.0.0.0:5555", [2024-03-28T19:00:42.402Z] "unix:///var/run/docker.sock" [2024-03-28T19:00:42.402Z] ], [2024-03-28T19:00:42.402Z] "mtu": 1458, [2024-03-28T19:00:42.402Z] "selinux-enabled": true, [2024-03-28T19:00:42.402Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-28T19:00:42.402Z] } [Pipeline] sh [2024-03-28T19:00:42.720Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-28T19:00:43.047Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-28T19:01:01.348Z] provisioning config files... [2024-03-28T19:01:01.374Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/6@tmp/config12870748703129718674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:01:01.811Z] ---> ****-login.sh [2024-03-28T19:01:01.811Z] nexus3.edgexfoundry.org:10001 [2024-03-28T19:01:02.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T19:01:02.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T19:01:02.401Z] Configure a credential helper to remove this warning. See [2024-03-28T19:01:02.401Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T19:01:02.401Z] [2024-03-28T19:01:02.401Z] Login Succeeded [2024-03-28T19:01:02.402Z] nexus3.edgexfoundry.org:10002 [2024-03-28T19:01:02.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T19:01:02.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T19:01:02.939Z] Configure a credential helper to remove this warning. See [2024-03-28T19:01:02.939Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T19:01:02.939Z] [2024-03-28T19:01:02.939Z] Login Succeeded [2024-03-28T19:01:02.939Z] nexus3.edgexfoundry.org:10003 [2024-03-28T19:01:03.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T19:01:03.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T19:01:03.208Z] Configure a credential helper to remove this warning. See [2024-03-28T19:01:03.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T19:01:03.208Z] [2024-03-28T19:01:03.208Z] Login Succeeded [2024-03-28T19:01:03.208Z] nexus3.edgexfoundry.org:10004 [2024-03-28T19:01:03.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T19:01:03.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T19:01:03.481Z] Configure a credential helper to remove this warning. See [2024-03-28T19:01:03.481Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T19:01:03.481Z] [2024-03-28T19:01:03.481Z] Login Succeeded [2024-03-28T19:01:03.481Z] ****.io [2024-03-28T19:01:03.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-28T19:01:04.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-28T19:01:04.019Z] Configure a credential helper to remove this warning. See [2024-03-28T19:01:04.019Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-28T19:01:04.019Z] [2024-03-28T19:01:04.019Z] Login Succeeded [2024-03-28T19:01:04.019Z] ---> ****-login.sh ends [Pipeline] } [2024-03-28T19:01:04.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-28T19:01:04.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-28T19:01:04.316Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-03-28T19:01:04.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-28T19:01:04.348Z] ========================================================= [2024-03-28T19:01:04.348Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-03-28T19:01:04.348Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T19:01:04.699Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2024-03-28T19:01:04.968Z] Sending build context to Docker daemon 3.008MB [2024-03-28T19:01:05.241Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-03-28T19:01:05.241Z] Step 2/22 : FROM ${BASE} as builder [2024-03-28T19:01:05.241Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-03-28T19:01:05.241Z] 579b34f0a95b: Pulling fs layer [2024-03-28T19:01:05.241Z] e71477ac5e1b: Pulling fs layer [2024-03-28T19:01:05.511Z] 579b34f0a95b: Download complete [2024-03-28T19:01:06.100Z] 579b34f0a95b: Pull complete [2024-03-28T19:01:08.049Z] e71477ac5e1b: Verifying Checksum [2024-03-28T19:01:08.049Z] e71477ac5e1b: Download complete [2024-03-28T19:01:20.380Z] e71477ac5e1b: Pull complete [2024-03-28T19:01:20.380Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-03-28T19:01:20.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-03-28T19:01:20.380Z] ---> 2b552cad5dd9 [2024-03-28T19:01:20.380Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-03-28T19:01:20.380Z] ---> Running in 864b28323e6a [2024-03-28T19:01:21.340Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-03-28T19:01:21.623Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T19:01:21.623Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T19:01:21.623Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T19:01:22.586Z] Removing intermediate container 864b28323e6a [2024-03-28T19:01:22.586Z] ---> 52b1e120a599 [2024-03-28T19:01:22.586Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T19:01:22.586Z] ---> Running in 33f5b96497c4 [2024-03-28T19:01:24.600Z] Removing intermediate container 33f5b96497c4 [2024-03-28T19:01:24.600Z] ---> 351188fbc626 [2024-03-28T19:01:24.600Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-03-28T19:01:24.600Z] ---> Running in 8621578acb06 [2024-03-28T19:01:25.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:01:25.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-28T19:01:26.377Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:01:27.338Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T19:01:27.338Z] (1/17) Installing hiredis (1.1.0-r2) [2024-03-28T19:01:27.338Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-03-28T19:01:27.338Z] (3/17) Installing libcbor (0.10.2-r1) [2024-03-28T19:01:27.338Z] (4/17) Installing iotech-iot-1.5 (1.5.3-r0) [2024-03-28T19:01:28.295Z] (5/17) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-03-28T19:01:28.295Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-03-28T19:01:28.562Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-03-28T19:01:28.562Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-03-28T19:01:28.562Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-03-28T19:01:28.562Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-03-28T19:01:28.562Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-03-28T19:01:28.562Z] (12/17) Installing libblkid (2.38.1-r8) [2024-03-28T19:01:28.562Z] (13/17) Installing libuuid (2.38.1-r8) [2024-03-28T19:01:28.562Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-03-28T19:01:28.562Z] (15/17) Installing libmount (2.38.1-r8) [2024-03-28T19:01:28.562Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-03-28T19:01:28.562Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-03-28T19:01:28.830Z] Executing busybox-1.36.1-r4.trigger [2024-03-28T19:01:28.830Z] OK: 333 MiB in 99 packages [2024-03-28T19:01:30.241Z] Removing intermediate container 8621578acb06 [2024-03-28T19:01:30.241Z] ---> 59ca6f785843 [2024-03-28T19:01:30.241Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-03-28T19:01:30.241Z] ---> Running in c3801aabf4bf [2024-03-28T19:01:32.207Z] Removing intermediate container c3801aabf4bf [2024-03-28T19:01:32.207Z] ---> 93b5dc669ef7 [2024-03-28T19:01:32.207Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-03-28T19:01:32.476Z] ---> f033443fb69b [2024-03-28T19:01:32.476Z] Step 8/22 : COPY src /tmp/sdk/src [2024-03-28T19:01:33.447Z] ---> 8b7e4a67e01b [2024-03-28T19:01:33.447Z] Step 9/22 : COPY include /tmp/sdk/include [2024-03-28T19:01:33.712Z] ---> bbca1f9acd65 [2024-03-28T19:01:33.712Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-03-28T19:01:34.296Z] ---> e0b674495421 [2024-03-28T19:01:34.296Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-03-28T19:01:34.879Z] ---> c01b3a338f33 [2024-03-28T19:01:34.879Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-03-28T19:01:35.468Z] ---> 56e3cb9bf1aa [2024-03-28T19:01:35.468Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-03-28T19:01:35.468Z] ---> Running in fe774372fee1 [2024-03-28T19:01:36.432Z] + CPPCHECK=false [2024-03-28T19:01:36.432Z] + DOCGEN=false [2024-03-28T19:01:36.432Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-03-28T19:01:36.432Z] + '[' 0 -gt 0 ] [2024-03-28T19:01:36.432Z] + readlink -f ./scripts/build.sh [2024-03-28T19:01:36.432Z] + dirname /tmp/sdk/scripts/build.sh [2024-03-28T19:01:36.432Z] + dirname /tmp/sdk/scripts [2024-03-28T19:01:36.432Z] + ROOT=/tmp/sdk [2024-03-28T19:01:36.432Z] + cd /tmp/sdk [2024-03-28T19:01:36.432Z] + mkdir -p /tmp/sdk/build/release [2024-03-28T19:01:36.432Z] + cd /tmp/sdk/build/release [2024-03-28T19:01:36.432Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-03-28T19:01:37.017Z] -- The C compiler identification is GNU 12.2.1 [2024-03-28T19:01:37.017Z] -- Detecting C compiler ABI info [2024-03-28T19:01:37.284Z] -- Detecting C compiler ABI info - done [2024-03-28T19:01:37.284Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-03-28T19:01:37.284Z] -- Detecting C compile features [2024-03-28T19:01:37.562Z] -- Detecting C compile features - done [2024-03-28T19:01:37.562Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-03-28T19:01:37.562Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-03-28T19:01:37.562Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-03-28T19:01:37.562Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-03-28T19:01:37.829Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-03-28T19:01:37.829Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-03-28T19:01:37.829Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-03-28T19:01:37.829Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-03-28T19:01:37.829Z] -- /opt/iotech/iot/1.5/include [2024-03-28T19:01:37.829Z] -- C SDK 0.0.0 for Linux [2024-03-28T19:01:37.829Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-03-28T19:01:38.097Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-03-28T19:01:38.365Z] -- Found Curses: /usr/lib/libcurses.so [2024-03-28T19:01:38.365Z] -- Configuring done (2.0s) [2024-03-28T19:01:38.635Z] -- Generating done (0.3s) [2024-03-28T19:01:38.635Z] -- Build files have been written to: /tmp/sdk/build/release [2024-03-28T19:01:38.903Z] + make+ tee release.log [2024-03-28T19:01:38.903Z]  all package [2024-03-28T19:01:38.903Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-03-28T19:01:39.869Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-03-28T19:01:40.831Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-03-28T19:01:41.791Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-03-28T19:01:42.370Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-03-28T19:01:43.334Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-03-28T19:01:45.924Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-03-28T19:01:46.888Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-03-28T19:01:46.888Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T19:01:46.888Z] 294 | while (privateConfig) [2024-03-28T19:01:46.888Z] | ^~~~~~~~~~~~~ [2024-03-28T19:01:46.888Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-03-28T19:01:46.888Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-03-28T19:01:46.888Z] | ^~~~~~~~~~~~~ [2024-03-28T19:01:46.888Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T19:01:46.888Z] 271 | while (result) [2024-03-28T19:01:46.888Z] | ^~~~~~ [2024-03-28T19:01:46.888Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-03-28T19:01:46.888Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-03-28T19:01:46.888Z] | ^~~~~~ [2024-03-28T19:01:47.157Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-03-28T19:01:47.426Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-03-28T19:01:48.389Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-03-28T19:01:50.980Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-03-28T19:01:51.248Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-03-28T19:01:52.210Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-03-28T19:01:53.172Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-03-28T19:01:53.757Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-03-28T19:01:55.177Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-03-28T19:01:55.446Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-03-28T19:01:58.045Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-03-28T19:01:58.045Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-03-28T19:01:59.026Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-03-28T19:02:00.439Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-03-28T19:02:08.657Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-03-28T19:02:08.657Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-03-28T19:02:08.923Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-03-28T19:02:09.507Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-03-28T19:02:10.092Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-03-28T19:02:11.502Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-03-28T19:02:14.093Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-03-28T19:02:14.683Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-03-28T19:02:15.645Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-03-28T19:02:16.612Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-03-28T19:02:16.612Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-03-28T19:02:16.612Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T19:02:16.612Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-03-28T19:02:16.612Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T19:02:16.612Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T19:02:16.612Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-03-28T19:02:16.612Z] | ^ [2024-03-28T19:02:18.561Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-03-28T19:02:18.561Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-03-28T19:02:18.561Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T19:02:18.561Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-03-28T19:02:18.561Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-03-28T19:02:18.561Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-03-28T19:02:19.995Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-03-28T19:02:20.579Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-03-28T19:02:20.847Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-03-28T19:02:21.432Z] [ 68%] Linking C shared library libcsdk.so [2024-03-28T19:02:21.701Z] [ 68%] Built target csdk [2024-03-28T19:02:21.973Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-03-28T19:02:22.937Z] [ 72%] Linking C executable template [2024-03-28T19:02:23.205Z] [ 72%] Built target template [2024-03-28T19:02:23.205Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-03-28T19:02:24.176Z] [ 76%] Linking C executable device-counter [2024-03-28T19:02:24.444Z] [ 76%] Built target device-counter [2024-03-28T19:02:24.444Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-03-28T19:02:25.030Z] [ 80%] Linking C executable device-random [2024-03-28T19:02:25.299Z] [ 80%] Built target device-random [2024-03-28T19:02:25.569Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-03-28T19:02:26.154Z] [ 84%] Linking C executable device-gyro [2024-03-28T19:02:26.423Z] [ 84%] Built target device-gyro [2024-03-28T19:02:26.423Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-03-28T19:02:27.009Z] [ 88%] Linking C executable device-bitfields [2024-03-28T19:02:27.598Z] [ 88%] Built target device-bitfields [2024-03-28T19:02:27.598Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-03-28T19:02:28.559Z] [ 92%] Linking C executable template-discovery [2024-03-28T19:02:28.827Z] [ 92%] Built target template-discovery [2024-03-28T19:02:28.827Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-03-28T19:02:29.790Z] [ 96%] Linking C executable device-file [2024-03-28T19:02:30.057Z] [ 96%] Built target device-file [2024-03-28T19:02:30.057Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-03-28T19:02:31.021Z] [100%] Linking C executable device-terminal [2024-03-28T19:02:31.290Z] [100%] Built target device-terminal [2024-03-28T19:02:31.290Z] Run CPack packaging tool... [2024-03-28T19:02:31.560Z] CPack: Create package using TGZ [2024-03-28T19:02:31.560Z] CPack: Install projects [2024-03-28T19:02:31.560Z] CPack: - Run preinstall target for: Csdk [2024-03-28T19:02:32.526Z] CPack: - Install project: Csdk [] [2024-03-28T19:02:32.526Z] CPack: Create package [2024-03-28T19:02:32.526Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-03-28T19:02:32.526Z] + '[' false '=' true ] [2024-03-28T19:02:32.526Z] + '[' false '=' true ] [2024-03-28T19:02:32.526Z] + mkdir -p /tmp/sdk/build/debug [2024-03-28T19:02:32.526Z] + cd /tmp/sdk/build/debug [2024-03-28T19:02:32.526Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-03-28T19:02:32.795Z] -- The C compiler identification is GNU 12.2.1 [2024-03-28T19:02:32.795Z] -- Detecting C compiler ABI info [2024-03-28T19:02:33.382Z] -- Detecting C compiler ABI info - done [2024-03-28T19:02:33.382Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-03-28T19:02:33.382Z] -- Detecting C compile features [2024-03-28T19:02:33.382Z] -- Detecting C compile features - done [2024-03-28T19:02:33.382Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-03-28T19:02:33.651Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-03-28T19:02:33.651Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-03-28T19:02:33.651Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-03-28T19:02:33.651Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-03-28T19:02:33.651Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-03-28T19:02:33.651Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-03-28T19:02:33.651Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-03-28T19:02:33.651Z] -- /opt/iotech/iot/1.5/include [2024-03-28T19:02:33.651Z] -- C SDK 0.0.0 for Linux [2024-03-28T19:02:33.651Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-03-28T19:02:34.237Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-03-28T19:02:34.237Z] -- Found Curses: /usr/lib/libcurses.so [2024-03-28T19:02:34.504Z] -- Configuring done (2.0s) [2024-03-28T19:02:34.773Z] -- Generating done (0.3s) [2024-03-28T19:02:34.773Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-03-28T19:02:34.773Z] + make [2024-03-28T19:02:34.773Z] + tee debug.log [2024-03-28T19:02:35.042Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-03-28T19:02:35.312Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-03-28T19:02:35.897Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-03-28T19:02:36.164Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-03-28T19:02:36.748Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-03-28T19:02:37.016Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-03-28T19:02:37.978Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-03-28T19:02:38.563Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-03-28T19:02:38.563Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-03-28T19:02:39.147Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-03-28T19:02:40.109Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-03-28T19:02:40.377Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-03-28T19:02:40.962Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-03-28T19:02:41.548Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-03-28T19:02:41.816Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-03-28T19:02:42.403Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-03-28T19:02:42.670Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-03-28T19:02:43.635Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-03-28T19:02:43.904Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-03-28T19:02:44.171Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-03-28T19:02:44.755Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-03-28T19:02:46.164Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-03-28T19:02:46.750Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-03-28T19:02:47.016Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-03-28T19:02:47.284Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-03-28T19:02:47.665Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-03-28T19:02:48.260Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-03-28T19:02:50.228Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-03-28T19:02:50.501Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-03-28T19:02:50.770Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-03-28T19:02:51.359Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-03-28T19:02:51.629Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-03-28T19:02:51.629Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T19:02:51.629Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-03-28T19:02:51.629Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-03-28T19:02:51.629Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-03-28T19:02:51.629Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-03-28T19:02:51.629Z] | ^ [2024-03-28T19:02:52.213Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-03-28T19:02:52.481Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-03-28T19:02:53.077Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-03-28T19:02:53.343Z] [ 68%] Linking C shared library libcsdk.so [2024-03-28T19:02:53.610Z] [ 68%] Built target csdk [2024-03-28T19:02:53.610Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-03-28T19:02:54.193Z] [ 72%] Linking C executable template [2024-03-28T19:02:54.460Z] [ 72%] Built target template [2024-03-28T19:02:54.460Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-03-28T19:02:54.728Z] [ 76%] Linking C executable device-counter [2024-03-28T19:02:55.313Z] [ 76%] Built target device-counter [2024-03-28T19:02:55.313Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-03-28T19:02:55.581Z] [ 80%] Linking C executable device-random [2024-03-28T19:02:55.848Z] [ 80%] Built target device-random [2024-03-28T19:02:55.848Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-03-28T19:02:56.433Z] [ 84%] Linking C executable device-gyro [2024-03-28T19:02:56.700Z] [ 84%] Built target device-gyro [2024-03-28T19:02:56.700Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-03-28T19:02:56.967Z] [ 88%] Linking C executable device-bitfields [2024-03-28T19:02:57.550Z] [ 88%] Built target device-bitfields [2024-03-28T19:02:57.550Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-03-28T19:02:57.817Z] [ 92%] Linking C executable template-discovery [2024-03-28T19:02:58.084Z] [ 92%] Built target template-discovery [2024-03-28T19:02:58.352Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-03-28T19:02:58.620Z] [ 96%] Linking C executable device-file [2024-03-28T19:02:58.887Z] [ 96%] Built target device-file [2024-03-28T19:02:58.887Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-03-28T19:02:59.471Z] [100%] Linking C executable device-terminal [2024-03-28T19:02:59.738Z] [100%] Built target device-terminal [2024-03-28T19:02:59.738Z] make: Entering directory '/tmp/sdk/build/release' [2024-03-28T19:03:00.005Z] [ 68%] Built target csdk [2024-03-28T19:03:00.005Z] [ 72%] Built target template [2024-03-28T19:03:00.005Z] [ 76%] Built target device-counter [2024-03-28T19:03:00.273Z] [ 80%] Built target device-random [2024-03-28T19:03:00.273Z] [ 84%] Built target device-gyro [2024-03-28T19:03:00.273Z] [ 88%] Built target device-bitfields [2024-03-28T19:03:00.274Z] [ 92%] Built target template-discovery [2024-03-28T19:03:00.542Z] [ 96%] Built target device-file [2024-03-28T19:03:00.542Z] [100%] Built target device-terminal [2024-03-28T19:03:00.542Z] Install the project... [2024-03-28T19:03:00.542Z] -- Install configuration: "Release" [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/lib/libcsdk.so [2024-03-28T19:03:00.542Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include/devsdk [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include/edgex [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include/edgex/devices.h [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-03-28T19:03:00.542Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-03-28T19:03:00.542Z] make: Leaving directory '/tmp/sdk/build/release' [2024-03-28T19:03:01.964Z] Removing intermediate container fe774372fee1 [2024-03-28T19:03:01.964Z] ---> 7adedc765692 [2024-03-28T19:03:01.964Z] Step 14/22 : FROM ${BASE} [2024-03-28T19:03:01.964Z] ---> 2b552cad5dd9 [2024-03-28T19:03:01.964Z] Step 15/22 : LABEL maintainer="IOTech " [2024-03-28T19:03:02.232Z] ---> Running in f2dbb5c2723d [2024-03-28T19:03:02.497Z] Removing intermediate container f2dbb5c2723d [2024-03-28T19:03:02.497Z] ---> ee553fd63b2f [2024-03-28T19:03:02.497Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-03-28T19:03:02.497Z] ---> Running in 2fe6ff98f6cc [2024-03-28T19:03:03.456Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-03-28T19:03:04.034Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T19:03:04.034Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T19:03:04.034Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T19:03:04.619Z] Removing intermediate container 2fe6ff98f6cc [2024-03-28T19:03:04.619Z] ---> 1fb671fe7799 [2024-03-28T19:03:04.619Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T19:03:04.619Z] ---> Running in bf4ed589a21b [2024-03-28T19:03:06.564Z] Removing intermediate container bf4ed589a21b [2024-03-28T19:03:06.564Z] ---> c051d9b76565 [2024-03-28T19:03:06.564Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-03-28T19:03:06.564Z] ---> Running in b9fb15270cb2 [2024-03-28T19:03:07.522Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:07.787Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:08.373Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:09.332Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T19:03:09.332Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-03-28T19:03:09.332Z] (2/10) Installing curl (8.5.0-r0) [2024-03-28T19:03:09.332Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-03-28T19:03:09.332Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-03-28T19:03:09.598Z] (5/10) Installing hiredis (1.1.0-r2) [2024-03-28T19:03:09.598Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-03-28T19:03:09.598Z] (7/10) Installing libcbor (0.10.2-r1) [2024-03-28T19:03:09.598Z] (8/10) Installing iotech-iot-1.5 (1.5.3-r0) [2024-03-28T19:03:10.185Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-03-28T19:03:10.452Z] (10/10) Installing libuuid (2.38.1-r8) [2024-03-28T19:03:10.452Z] Executing busybox-1.36.1-r4.trigger [2024-03-28T19:03:10.452Z] OK: 328 MiB in 90 packages [2024-03-28T19:03:11.860Z] Removing intermediate container b9fb15270cb2 [2024-03-28T19:03:11.860Z] ---> 452b2220515a [2024-03-28T19:03:11.860Z] Step 19/22 : RUN apk --no-cache upgrade [2024-03-28T19:03:11.860Z] ---> Running in fd9fc86864a9 [2024-03-28T19:03:12.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:12.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:13.398Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:14.356Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T19:03:14.356Z] (1/12) Upgrading busybox (1.36.1-r4 -> 1.36.1-r5) [2024-03-28T19:03:14.356Z] Executing busybox-1.36.1-r5.post-upgrade [2024-03-28T19:03:14.356Z] (2/12) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r5) [2024-03-28T19:03:14.356Z] (3/12) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-28T19:03:14.356Z] (4/12) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.4-r5) [2024-03-28T19:03:14.622Z] (5/12) Upgrading libssl3 (3.1.4-r0 -> 3.1.4-r5) [2024-03-28T19:03:14.622Z] (6/12) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r5) [2024-03-28T19:03:14.622Z] (7/12) Upgrading libexpat (2.5.0-r1 -> 2.6.2-r0) [2024-03-28T19:03:14.622Z] (8/12) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-03-28T19:03:14.622Z] (9/12) Upgrading openssl-dev (3.1.4-r0 -> 3.1.4-r5) [2024-03-28T19:03:14.889Z] (10/12) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-03-28T19:03:14.889Z] (11/12) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-03-28T19:03:14.889Z] (12/12) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-03-28T19:03:15.156Z] Executing busybox-1.36.1-r5.trigger [2024-03-28T19:03:15.156Z] Executing ca-certificates-20240226-r0.trigger [2024-03-28T19:03:15.427Z] OK: 328 MiB in 90 packages [2024-03-28T19:03:16.844Z] Removing intermediate container fd9fc86864a9 [2024-03-28T19:03:16.844Z] ---> 64629202a8c0 [2024-03-28T19:03:16.844Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-03-28T19:03:17.428Z] ---> 81170893473a [2024-03-28T19:03:17.428Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-03-28T19:03:18.011Z] ---> f552349c1eae [2024-03-28T19:03:18.011Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-03-28T19:03:18.593Z] ---> 9a868bd2a282 [2024-03-28T19:03:18.593Z] Successfully built 9a868bd2a282 [2024-03-28T19:03:18.593Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T19:03:19.040Z] + docker inspect -f . ci-base-image-arm64 [2024-03-28T19:03:19.040Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T19:03:19.255Z] prd-ubuntu20.04-docker-arm64-4c-16g-1574 does not seem to be running inside a container [2024-03-28T19:03:19.314Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-28T19:03:20.584Z] $ docker top fce2ebfb8aa0d2ffd9f560f70578e61060ff4fa356e7c1d42902598e69ea3621 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-28T19:03:21.424Z] + make test [2024-03-28T19:03:21.424Z] echo "make test" [2024-03-28T19:03:21.424Z] make test [Pipeline] } [2024-03-28T19:03:21.442Z] $ docker stop --time=1 fce2ebfb8aa0d2ffd9f560f70578e61060ff4fa356e7c1d42902598e69ea3621 [2024-03-28T19:03:23.090Z] $ docker rm -f --volumes fce2ebfb8aa0d2ffd9f560f70578e61060ff4fa356e7c1d42902598e69ea3621 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-28T19:03:23.672Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-28T19:03:23.980Z] + ls -al . [2024-03-28T19:03:23.980Z] total 208 [2024-03-28T19:03:23.980Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 19:00 . [2024-03-28T19:03:23.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:00 .. [2024-03-28T19:03:23.980Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 19:00 .git [2024-03-28T19:03:23.980Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 19:00 .github [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 176 Mar 28 19:00 .gitignore [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 19:00 Attribution.txt [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 11953 Mar 28 19:00 CHANGELOG.md [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 108574 Mar 28 19:00 Doxyfile [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 19:00 GOVERNANCE.md [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 784 Mar 28 19:00 Jenkinsfile [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 10174 Mar 28 19:00 LICENSE [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 444 Mar 28 19:00 Makefile [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 618 Mar 28 19:00 OWNERS.md [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 1651 Mar 28 19:00 README.IOT.md [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 4215 Mar 28 19:00 README.md [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 1245 Mar 28 19:00 README.v3.md [2024-03-28T19:03:23.980Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 18:57 VERSION [2024-03-28T19:03:23.980Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:00 docs [2024-03-28T19:03:23.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:00 include [2024-03-28T19:03:23.980Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 19:00 scripts [2024-03-28T19:03:23.980Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 19:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T19:03:24.324Z] + 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=f95beaf80225190ec09120b30a0a2c33f7b90e1e --label arch=arm64 --label version=0.0.0 . [2024-03-28T19:03:24.590Z] Sending build context to Docker daemon 3.008MB [2024-03-28T19:03:24.856Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-03-28T19:03:24.856Z] Step 2/18 : FROM ${BASE} [2024-03-28T19:03:24.856Z] ---> 9a868bd2a282 [2024-03-28T19:03:24.856Z] Step 3/18 : LABEL maintainer="IOTech " [2024-03-28T19:03:24.856Z] ---> Running in e01f8f9bf364 [2024-03-28T19:03:25.124Z] Removing intermediate container e01f8f9bf364 [2024-03-28T19:03:25.124Z] ---> 7a7f76c9a0e6 [2024-03-28T19:03:25.124Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-03-28T19:03:25.124Z] ---> Running in a110fc91d710 [2024-03-28T19:03:26.085Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-03-28T19:03:26.667Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-03-28T19:03:26.667Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-03-28T19:03:26.667Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-03-28T19:03:27.249Z] Removing intermediate container a110fc91d710 [2024-03-28T19:03:27.249Z] ---> 9e8d3ab65a60 [2024-03-28T19:03:27.249Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-03-28T19:03:27.516Z] ---> Running in a2cf8c4e39f5 [2024-03-28T19:03:29.456Z] Removing intermediate container a2cf8c4e39f5 [2024-03-28T19:03:29.456Z] ---> e8174a0f91cf [2024-03-28T19:03:29.456Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-03-28T19:03:29.456Z] ---> Running in 2bc725a721c2 [2024-03-28T19:03:30.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:30.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:31.649Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:32.612Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T19:03:32.612Z] (1/11) Installing iotech-iot-1.5-dev (1.5.3-r0) [2024-03-28T19:03:32.880Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-03-28T19:03:32.880Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-03-28T19:03:32.880Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-03-28T19:03:32.880Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-03-28T19:03:32.880Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-03-28T19:03:32.880Z] (7/11) Installing libblkid (2.38.1-r8) [2024-03-28T19:03:32.880Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-03-28T19:03:32.880Z] (9/11) Installing libmount (2.38.1-r8) [2024-03-28T19:03:32.880Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-03-28T19:03:32.880Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-03-28T19:03:33.149Z] Executing busybox-1.36.1-r5.trigger [2024-03-28T19:03:33.149Z] OK: 334 MiB in 101 packages [2024-03-28T19:03:34.561Z] Removing intermediate container 2bc725a721c2 [2024-03-28T19:03:34.561Z] ---> 3891751ebfb6 [2024-03-28T19:03:34.561Z] Step 7/18 : RUN apk --no-cache upgrade [2024-03-28T19:03:34.561Z] ---> Running in dfb2c3f2bcf6 [2024-03-28T19:03:35.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:35.789Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:36.372Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-28T19:03:37.329Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-03-28T19:03:37.329Z] OK: 334 MiB in 101 packages [2024-03-28T19:03:38.296Z] Removing intermediate container dfb2c3f2bcf6 [2024-03-28T19:03:38.296Z] ---> a3c71a7f4fd2 [2024-03-28T19:03:38.296Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-03-28T19:03:38.879Z] ---> 9937f9f1ca05 [2024-03-28T19:03:38.879Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-03-28T19:03:39.842Z] ---> 35bcbc16070a [2024-03-28T19:03:39.842Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-03-28T19:03:40.109Z] ---> ba53266ae086 [2024-03-28T19:03:40.109Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-03-28T19:03:40.694Z] ---> 6c8b7caf6e70 [2024-03-28T19:03:40.694Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-03-28T19:03:41.277Z] ---> 16d11ffbc923 [2024-03-28T19:03:41.277Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-03-28T19:03:41.544Z] ---> 5339d0781b76 [2024-03-28T19:03:41.544Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-03-28T19:03:41.814Z] ---> Running in 9c5bb51b4c1d [2024-03-28T19:03:42.088Z] Removing intermediate container 9c5bb51b4c1d [2024-03-28T19:03:42.088Z] ---> c070b3412b18 [2024-03-28T19:03:42.088Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-03-28T19:03:42.088Z] ---> Running in 4160c76f5b4b [2024-03-28T19:03:42.362Z] Removing intermediate container 4160c76f5b4b [2024-03-28T19:03:42.362Z] ---> 29cce589a2b4 [2024-03-28T19:03:42.362Z] Step 16/18 : LABEL arch=arm64 [2024-03-28T19:03:42.629Z] ---> Running in 9f75b787470b [2024-03-28T19:03:42.901Z] Removing intermediate container 9f75b787470b [2024-03-28T19:03:42.901Z] ---> 3468ef5ddcf3 [2024-03-28T19:03:42.901Z] Step 17/18 : LABEL git_sha=f95beaf80225190ec09120b30a0a2c33f7b90e1e [2024-03-28T19:03:42.901Z] ---> Running in e6a4400a0b77 [2024-03-28T19:03:43.168Z] Removing intermediate container e6a4400a0b77 [2024-03-28T19:03:43.168Z] ---> d6aaaf0bf224 [2024-03-28T19:03:43.168Z] Step 18/18 : LABEL version=0.0.0 [2024-03-28T19:03:43.168Z] ---> Running in 706f307cd182 [2024-03-28T19:03:43.747Z] Removing intermediate container 706f307cd182 [2024-03-28T19:03:43.748Z] ---> 155ab2c8f6d0 [2024-03-28T19:03:43.748Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-03-28T19:03:43.748Z] Successfully built 155ab2c8f6d0 [2024-03-28T19:03:43.748Z] 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 [2024-03-28T19:03:44.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-28T19:03:44.221Z] [2024-03-28T19:03:44.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T19:03:44.555Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-28T19:03:44.823Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-28T19:03:44.823Z] 8998bd30e6a1: Pulling fs layer [2024-03-28T19:03:44.823Z] 04944245beec: Pulling fs layer [2024-03-28T19:03:44.823Z] 699f458cf7ca: Pulling fs layer [2024-03-28T19:03:44.823Z] 765212b225bb: Pulling fs layer [2024-03-28T19:03:44.823Z] f23df028b6ca: Pulling fs layer [2024-03-28T19:03:44.823Z] d65c8cfc05b1: Pulling fs layer [2024-03-28T19:03:44.823Z] 2437ff75d9bd: Pulling fs layer [2024-03-28T19:03:44.823Z] 765212b225bb: Waiting [2024-03-28T19:03:44.823Z] f23df028b6ca: Waiting [2024-03-28T19:03:44.823Z] d65c8cfc05b1: Waiting [2024-03-28T19:03:44.823Z] 2437ff75d9bd: Waiting [2024-03-28T19:03:44.823Z] 04944245beec: Verifying Checksum [2024-03-28T19:03:44.823Z] 04944245beec: Download complete [2024-03-28T19:03:44.823Z] 765212b225bb: Verifying Checksum [2024-03-28T19:03:44.823Z] 765212b225bb: Download complete [2024-03-28T19:03:44.823Z] f23df028b6ca: Download complete [2024-03-28T19:03:44.823Z] d65c8cfc05b1: Verifying Checksum [2024-03-28T19:03:44.823Z] d65c8cfc05b1: Download complete [2024-03-28T19:03:45.091Z] 699f458cf7ca: Verifying Checksum [2024-03-28T19:03:45.091Z] 699f458cf7ca: Download complete [2024-03-28T19:03:45.357Z] 8998bd30e6a1: Download complete [2024-03-28T19:03:47.943Z] 2437ff75d9bd: Verifying Checksum [2024-03-28T19:03:47.943Z] 2437ff75d9bd: Download complete [2024-03-28T19:03:49.893Z] 8998bd30e6a1: Pull complete [2024-03-28T19:03:50.477Z] 04944245beec: Pull complete [2024-03-28T19:03:52.422Z] 699f458cf7ca: Pull complete [2024-03-28T19:03:52.422Z] 765212b225bb: Pull complete [2024-03-28T19:03:53.391Z] f23df028b6ca: Pull complete [2024-03-28T19:03:53.391Z] d65c8cfc05b1: Pull complete [2024-03-28T19:04:11.587Z] 2437ff75d9bd: Pull complete [2024-03-28T19:04:11.587Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-28T19:04:11.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-28T19:04:11.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T19:04:11.817Z] prd-ubuntu20.04-docker-arm64-4c-16g-1574 does not seem to be running inside a container [2024-03-28T19:04:11.884Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-28T19:04:14.832Z] $ docker top 58266e3a636f2ade6dc3b2392866a1ac3038831f786828e7d3f372eed449700d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:04:15.700Z] ---> job-cost.sh [2024-03-28T19:04:15.701Z] lf-activate-venv: SKIPPING [2024-03-28T19:04:15.701Z] INFO: No Stack... [2024-03-28T19:04:16.658Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-28T19:04:17.616Z] INFO: Archiving Costs [Pipeline] sh [2024-03-28T19:04:18.263Z] + + cat /w/workspace/device-sdk-c/6/archives/cost.csv [2024-03-28T19:04:18.263Z] cut -d, -f6 [Pipeline] lock [2024-03-28T19:04:18.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] [2024-03-28T19:04:18.336Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] did not exist. Created. [2024-03-28T19:04:18.341Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-28T19:04:19.000Z] /w/workspace/device-sdk-c/6@tmp/durable-5d76aa11/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-28T19:04:19.643Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-28T19:04:19.670Z] Warning: overwriting stash ‘stack-cost’ [2024-03-28T19:04:20.190Z] Stashed 1 file(s) [Pipeline] } [2024-03-28T19:04:20.197Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-496-6-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-28T19:04:20.229Z] $ docker stop --time=1 58266e3a636f2ade6dc3b2392866a1ac3038831f786828e7d3f372eed449700d [2024-03-28T19:04:21.837Z] $ docker rm -f --volumes 58266e3a636f2ade6dc3b2392866a1ac3038831f786828e7d3f372eed449700d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-28T19:04:22.762Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives ] [2024-03-28T19:04:22.762Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-03-28T19:04:22.762Z] total 16 [2024-03-28T19:04:22.762Z] drwxr-xr-x 3 root root 4096 Mar 28 18:58 . [2024-03-28T19:04:22.762Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:58 .. [2024-03-28T19:04:22.762Z] drwxr-xr-x 2 root root 4096 Mar 28 18:58 cost [2024-03-28T19:04:22.762Z] -rw-r--r-- 1 root root 84 Mar 28 18:58 cost.csv [2024-03-28T19:04:22.762Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-03-28T19:04:22.762Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives [2024-03-28T19:04:22.762Z] total 16 [2024-03-28T19:04:22.762Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 18:58 . [2024-03-28T19:04:22.762Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 18:58 .. [2024-03-28T19:04:22.762Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 18:58 cost [2024-03-28T19:04:22.762Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 28 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:04:23.062Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:04:23.911Z] ---> package-listing.sh [2024-03-28T19:04:23.911Z] ++ facter osfamily [2024-03-28T19:04:23.911Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-28T19:04:24.170Z] + OS_FAMILY=debian [2024-03-28T19:04:24.170Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-496 [2024-03-28T19:04:24.170Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-28T19:04:24.170Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-28T19:04:24.170Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-28T19:04:24.170Z] + PACKAGES=/tmp/packages_start.txt [2024-03-28T19:04:24.170Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-03-28T19:04:24.170Z] + PACKAGES=/tmp/packages_end.txt [2024-03-28T19:04:24.170Z] + case "${OS_FAMILY}" in [2024-03-28T19:04:24.170Z] + dpkg -l [2024-03-28T19:04:24.170Z] + grep '^ii' [2024-03-28T19:04:24.170Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-28T19:04:24.170Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-28T19:04:24.170Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-28T19:04:24.170Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-496 ']' [2024-03-28T19:04:24.170Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [2024-03-28T19:04:24.170Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-496/archives/ [Pipeline] echo [2024-03-28T19:04:24.184Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-28T19:04:24.459Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-28T19:04:25.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-28T19:04:25.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-28T19:04:25.103Z] prd-ubuntu20.04-docker-8c-8g-1571 does not seem to be running inside a container [2024-03-28T19:04:25.132Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-496/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-496 -v /w/workspace/edgexfoundry_device-sdk-c_PR-496:/w/workspace/edgexfoundry_device-sdk-c_PR-496:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-28T19:04:25.311Z] $ docker top cd21f581b57ff9841b820551957afdb053beac4ede954433a44042712dbcf627 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-28T19:04:25.666Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-28T19:04:25.962Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-28T19:04:26.246Z] + ls /var/log/sa-host [2024-03-28T19:04:26.246Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-28T19:04:26.319Z] provisioning config files... [2024-03-28T19:04:26.327Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-496@tmp/config9414093284162773032tmp [Pipeline] { [Pipeline] echo [2024-03-28T19:04:26.346Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:04:26.629Z] ---> create-netrc.sh [Pipeline] } [2024-03-28T19:04:26.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:04:26.969Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-28T19:04:27.036Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:04:27.392Z] ---> sudo-logs.sh [2024-03-28T19:04:27.392Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-28T19:04:27.435Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:04:27.728Z] ---> job-cost.sh [2024-03-28T19:04:27.728Z] lf-activate-venv: SKIPPING [2024-03-28T19:04:27.728Z] DEBUG: total: 0.2199999988079071 [2024-03-28T19:04:27.728Z] INFO: Retrieving Stack Cost... [2024-03-28T19:04:28.299Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-28T19:04:28.559Z] INFO: Archiving Costs [Pipeline] echo [2024-03-28T19:04:28.572Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-28T19:04:28.857Z] ---> logs-deploy.sh [2024-03-28T19:04:28.858Z] lf-activate-venv: SKIPPING [2024-03-28T19:04:28.858Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-496/6 [2024-03-28T19:04:28.858Z] INFO: archiving workspace using pattern(s): [2024-03-28T19:04:29.794Z] Archives upload complete. [2024-03-28T19:04:29.794Z] INFO: archiving logs to Nexus