Push event to branch napa Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 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-ssh5443784748040777352.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12049842916116510739.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9905865681201692756.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14253743675498953291.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2235599400810808148.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14242429428713296392.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-18031 in /w/workspace/edgexfoundry_device-sdk-c_napa [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_napa # 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 Avoid second fetch Checking out Revision faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 (napa) Commit message: "ci(lts-release): LTS release v3.1.0 @1a776ee" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 > 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 core.sparsecheckout # timeout=10 > git checkout -f faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-15T00:23:39.695Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-15T00:23:39.839Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-15T00:23:39.932Z] ========================================================= [2023-11-15T00:23:39.932Z] EdgeX Global Pipelines Version Info [2023-11-15T00:23:39.932Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-15T00:23:42.636Z] ------------------- [2023-11-15T00:23:42.636Z] stable info: [2023-11-15T00:23:42.636Z] ------------------- [2023-11-15T00:23:42.636Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-15T00:23:42.636Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T00:23:42.636Z] Message: update stable to v1.0.257 [2023-11-15T00:23:42.897Z] ------------------- [2023-11-15T00:23:42.897Z] experimental info: [2023-11-15T00:23:42.897Z] ------------------- [2023-11-15T00:23:42.897Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-15T00:23:42.897Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-15T00:23:42.897Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-15T00:23:43.184Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2023-11-15T00:23:43.230Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2023-11-15T00:23:43.278Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-15T00:23:43.321Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-15T00:23:43.363Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-15T00:23:43.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2023-11-15T00:23:43.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2023-11-15T00:23:43.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-15T00:23:43.518Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-15T00:23:43.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2023-11-15T00:23:43.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-15T00:23:43.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-15T00:23:43.669Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-15T00:23:43.707Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-15T00:23:43.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-15T00:23:43.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-15T00:23:43.833Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-15T00:23:43.870Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2023-11-15T00:23:43.911Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2023-11-15T00:23:43.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2023-11-15T00:23:43.987Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [Pipeline] echo [2023-11-15T00:23:44.031Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = faa745f [Pipeline] echo [2023-11-15T00:23:44.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T00:23:44.183Z] provisioning config files... [2023-11-15T00:23:44.197Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_napa@tmp/config4956087633913746424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T00:23:44.543Z] ---> docker-login.sh [2023-11-15T00:23:44.543Z] nexus3.edgexfoundry.org:10001 [2023-11-15T00:23:44.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T00:23:44.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T00:23:44.804Z] Configure a credential helper to remove this warning. See [2023-11-15T00:23:44.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T00:23:44.804Z] [2023-11-15T00:23:44.804Z] Login Succeeded [2023-11-15T00:23:44.804Z] nexus3.edgexfoundry.org:10002 [2023-11-15T00:23:44.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T00:23:44.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T00:23:44.804Z] Configure a credential helper to remove this warning. See [2023-11-15T00:23:44.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T00:23:44.804Z] [2023-11-15T00:23:44.804Z] Login Succeeded [2023-11-15T00:23:44.804Z] nexus3.edgexfoundry.org:10003 [2023-11-15T00:23:45.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T00:23:45.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T00:23:45.065Z] Configure a credential helper to remove this warning. See [2023-11-15T00:23:45.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T00:23:45.065Z] [2023-11-15T00:23:45.065Z] Login Succeeded [2023-11-15T00:23:45.065Z] nexus3.edgexfoundry.org:10004 [2023-11-15T00:23:45.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T00:23:45.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T00:23:45.065Z] Configure a credential helper to remove this warning. See [2023-11-15T00:23:45.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T00:23:45.065Z] [2023-11-15T00:23:45.065Z] Login Succeeded [2023-11-15T00:23:45.065Z] docker.io [2023-11-15T00:23:45.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T00:23:45.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T00:23:45.588Z] Configure a credential helper to remove this warning. See [2023-11-15T00:23:45.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T00:23:45.588Z] [2023-11-15T00:23:45.588Z] Login Succeeded [2023-11-15T00:23:45.588Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T00:23:45.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2023-11-15T00:23:46.235Z] + git rev-list -1 --merges faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7~1..faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [Pipeline] echo [2023-11-15T00:23:46.296Z] -----------> git rev-list -1 --merges faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7~1..faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [false] [Pipeline] sh [2023-11-15T00:23:46.601Z] + git log --format=format:%s -1 faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [Pipeline] echo [2023-11-15T00:23:46.641Z] ========================================================= [2023-11-15T00:23:46.641Z] [isLTSReleaseBuild] No build required. isLTSRelease: [true] [2023-11-15T00:23:46.641Z] ========================================================= [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] echo [2023-11-15T00:23:46.966Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2023-11-15T00:23:47.276Z] + echo 0.0.0 [Pipeline] echo [2023-11-15T00:23:47.314Z] [prepBaseBuildImage] Generating new image with name: device-sdk-c-builder-x86_64 [Pipeline] echo [2023-11-15T00:23:47.344Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T00:23:47.373Z] ========================================================= [2023-11-15T00:23:47.373Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts] [2023-11-15T00:23:47.373Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T00:23:47.839Z] + docker build -t device-sdk-c-builder-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts . [2023-11-15T00:23:47.839Z] Sending build context to Docker daemon 2.96MB [2023-11-15T00:23:47.839Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-11-15T00:23:47.839Z] Step 2/21 : FROM ${BASE} as builder [2023-11-15T00:23:47.839Z] gcc-lts: Pulling from edgex-devops/edgex-gcc-base [2023-11-15T00:23:47.839Z] 96526aa774ef: Pulling fs layer [2023-11-15T00:23:47.839Z] 4f9bc52d1dc7: Pulling fs layer [2023-11-15T00:23:47.839Z] 585e8d389ef7: Pulling fs layer [2023-11-15T00:23:47.839Z] 4f9bc52d1dc7: Download complete [2023-11-15T00:23:48.102Z] 96526aa774ef: Verifying Checksum [2023-11-15T00:23:48.102Z] 96526aa774ef: Download complete [2023-11-15T00:23:48.102Z] 96526aa774ef: Pull complete [2023-11-15T00:23:48.364Z] 4f9bc52d1dc7: Pull complete [2023-11-15T00:23:48.932Z] 585e8d389ef7: Verifying Checksum [2023-11-15T00:23:48.932Z] 585e8d389ef7: Download complete [2023-11-15T00:23:52.215Z] 585e8d389ef7: Pull complete [2023-11-15T00:23:52.215Z] Digest: sha256:b18ea3d6655bca8321bc47a2d462380979833a9574db8212b385fd511e1c6302 [2023-11-15T00:23:52.215Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts [2023-11-15T00:23:52.215Z] ---> 45f96820a350 [2023-11-15T00:23:52.215Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-11-15T00:23:53.151Z] ---> Running in 328d774d957b [2023-11-15T00:23:53.409Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-11-15T00:23:53.979Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-15T00:23:53.979Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-15T00:23:53.979Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-15T00:23:54.237Z] Removing intermediate container 328d774d957b [2023-11-15T00:23:54.237Z] ---> 585a78f0e50e [2023-11-15T00:23:54.237Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-15T00:23:54.237Z] ---> Running in 156bc5e8dbcd [2023-11-15T00:23:54.806Z] Removing intermediate container 156bc5e8dbcd [2023-11-15T00:23:54.806Z] ---> 64c0aef18636 [2023-11-15T00:23:54.806Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-11-15T00:23:54.806Z] ---> Running in 9f883a0b29bf [2023-11-15T00:23:55.067Z] fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T00:23:55.637Z] fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T00:23:56.208Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T00:23:56.778Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-15T00:23:56.778Z] (1/17) Installing hiredis (1.1.0-r2) [2023-11-15T00:23:57.038Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-11-15T00:23:57.608Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-15T00:23:57.866Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-15T00:23:58.125Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-15T00:23:58.389Z] (6/17) Installing libcbor (0.10.2-r1) [2023-11-15T00:23:58.649Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-11-15T00:23:58.907Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-11-15T00:23:59.166Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-11-15T00:23:59.425Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-11-15T00:23:59.685Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-15T00:24:00.253Z] (12/17) Installing libblkid (2.38.1-r8) [2023-11-15T00:24:00.512Z] (13/17) Installing libuuid (2.38.1-r8) [2023-11-15T00:24:00.773Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-11-15T00:24:01.343Z] (15/17) Installing libmount (2.38.1-r8) [2023-11-15T00:24:01.602Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-11-15T00:24:01.828Z] Still waiting to schedule task [2023-11-15T00:24:01.829Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-18028’ [2023-11-15T00:24:02.167Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-11-15T00:24:02.426Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T00:24:02.426Z] OK: 336 MiB in 99 packages [2023-11-15T00:24:02.995Z] Removing intermediate container 9f883a0b29bf [2023-11-15T00:24:02.995Z] ---> 3f281d49820c [2023-11-15T00:24:02.995Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-11-15T00:24:02.995Z] ---> Running in 410958d0e2bd [2023-11-15T00:24:03.565Z] Removing intermediate container 410958d0e2bd [2023-11-15T00:24:03.565Z] ---> aa9bcd137da2 [2023-11-15T00:24:03.565Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-11-15T00:24:03.824Z] ---> 4045c1dfa267 [2023-11-15T00:24:03.824Z] Step 8/21 : COPY src /tmp/sdk/src [2023-11-15T00:24:03.824Z] ---> bed7df0de5fa [2023-11-15T00:24:03.824Z] Step 9/21 : COPY include /tmp/sdk/include [2023-11-15T00:24:04.084Z] ---> 5cadf74dd317 [2023-11-15T00:24:04.084Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-11-15T00:24:04.084Z] ---> 8b03079b0db5 [2023-11-15T00:24:04.084Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-11-15T00:24:04.343Z] ---> b4dd68f76902 [2023-11-15T00:24:04.343Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-11-15T00:24:04.343Z] ---> 26a4ba0ec9c4 [2023-11-15T00:24:04.343Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-11-15T00:24:04.602Z] ---> Running in 063429a53e5b [2023-11-15T00:24:04.862Z] + CPPCHECK=false [2023-11-15T00:24:04.862Z] + DOCGEN=false [2023-11-15T00:24:04.862Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-11-15T00:24:04.862Z] + '[' 0 -gt 0 ] [2023-11-15T00:24:04.862Z] + readlink -f ./scripts/build.sh [2023-11-15T00:24:04.862Z] + dirname /tmp/sdk/scripts/build.sh [2023-11-15T00:24:04.862Z] + dirname /tmp/sdk/scripts [2023-11-15T00:24:04.862Z] + ROOT=/tmp/sdk [2023-11-15T00:24:04.862Z] + cd /tmp/sdk [2023-11-15T00:24:04.862Z] + mkdir -p /tmp/sdk/build/release [2023-11-15T00:24:04.862Z] + cd /tmp/sdk/build/release [2023-11-15T00:24:04.862Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-11-15T00:24:04.862Z] -- The C compiler identification is GNU 12.2.1 [2023-11-15T00:24:04.862Z] -- Detecting C compiler ABI info [2023-11-15T00:24:04.862Z] -- Detecting C compiler ABI info - done [2023-11-15T00:24:04.862Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-15T00:24:04.862Z] -- Detecting C compile features [2023-11-15T00:24:04.862Z] -- Detecting C compile features - done [2023-11-15T00:24:04.862Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-15T00:24:05.122Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-15T00:24:05.122Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-15T00:24:05.122Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-15T00:24:05.122Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-15T00:24:05.122Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-15T00:24:05.122Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-15T00:24:05.122Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-15T00:24:05.122Z] -- /opt/iotech/iot/1.5/include [2023-11-15T00:24:05.122Z] -- C SDK 0.0.0 for Linux [2023-11-15T00:24:05.122Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-15T00:24:05.122Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-15T00:24:05.122Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-15T00:24:05.122Z] -- Configuring done (0.5s) [2023-11-15T00:24:05.382Z] -- Generating done (0.0s) [2023-11-15T00:24:05.382Z] -- Build files have been written to: /tmp/sdk/build/release [2023-11-15T00:24:05.382Z] + make all+ tee release.log [2023-11-15T00:24:05.382Z] package [2023-11-15T00:24:05.382Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-15T00:24:05.382Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-15T00:24:05.642Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-15T00:24:05.643Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-15T00:24:05.902Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-15T00:24:05.902Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-15T00:24:06.163Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-15T00:24:06.424Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-11-15T00:24:06.424Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T00:24:06.424Z] 294 | while (privateConfig) [2023-11-15T00:24:06.424Z] | ^~~~~~~~~~~~~ [2023-11-15T00:24:06.424Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-11-15T00:24:06.424Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-15T00:24:06.424Z] | ^~~~~~~~~~~~~ [2023-11-15T00:24:06.424Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T00:24:06.424Z] 271 | while (result) [2023-11-15T00:24:06.424Z] | ^~~~~~ [2023-11-15T00:24:06.424Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-11-15T00:24:06.424Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-15T00:24:06.424Z] | ^~~~~~ [2023-11-15T00:24:06.424Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-15T00:24:06.424Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-15T00:24:06.685Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-15T00:24:06.945Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-15T00:24:06.945Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-15T00:24:07.207Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-15T00:24:07.207Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-15T00:24:07.466Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-15T00:24:07.466Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-15T00:24:07.466Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-15T00:24:08.036Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-15T00:24:08.036Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-15T00:24:08.036Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-15T00:24:08.295Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-15T00:24:09.233Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-15T00:24:09.495Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-15T00:24:09.495Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-15T00:24:09.495Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-15T00:24:09.754Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-15T00:24:10.014Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-15T00:24:10.274Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-15T00:24:10.274Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-15T00:24:10.534Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-15T00:24:10.534Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-15T00:24:10.534Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-15T00:24:10.534Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T00:24:10.534Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-15T00:24:10.534Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T00:24:10.534Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T00:24:10.534Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-15T00:24:10.534Z] | ^ [2023-11-15T00:24:10.793Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T00:24:10.794Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-11-15T00:24:10.794Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T00:24:10.794Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-11-15T00:24:10.794Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-11-15T00:24:10.794Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-11-15T00:24:11.052Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-15T00:24:11.052Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-15T00:24:11.052Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-15T00:24:11.315Z] [ 68%] Linking C shared library libcsdk.so [2023-11-15T00:24:11.315Z] [ 68%] Built target csdk [2023-11-15T00:24:11.315Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-15T00:24:11.585Z] [ 72%] Linking C executable template [2023-11-15T00:24:11.585Z] [ 72%] Built target template [2023-11-15T00:24:11.585Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-15T00:24:11.585Z] [ 76%] Linking C executable device-counter [2023-11-15T00:24:11.844Z] [ 76%] Built target device-counter [2023-11-15T00:24:11.845Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-15T00:24:11.845Z] [ 80%] Linking C executable device-random [2023-11-15T00:24:11.845Z] [ 80%] Built target device-random [2023-11-15T00:24:11.845Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-15T00:24:12.104Z] [ 84%] Linking C executable device-gyro [2023-11-15T00:24:12.104Z] [ 84%] Built target device-gyro [2023-11-15T00:24:12.104Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-15T00:24:12.363Z] [ 88%] Linking C executable device-bitfields [2023-11-15T00:24:12.363Z] [ 88%] Built target device-bitfields [2023-11-15T00:24:12.363Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-15T00:24:12.363Z] [ 92%] Linking C executable template-discovery [2023-11-15T00:24:12.623Z] [ 92%] Built target template-discovery [2023-11-15T00:24:12.623Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-15T00:24:12.624Z] [ 96%] Linking C executable device-file [2023-11-15T00:24:12.624Z] [ 96%] Built target device-file [2023-11-15T00:24:12.884Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-15T00:24:12.884Z] [100%] Linking C executable device-terminal [2023-11-15T00:24:12.884Z] [100%] Built target device-terminal [2023-11-15T00:24:12.884Z] Run CPack packaging tool... [2023-11-15T00:24:12.884Z] CPack: Create package using TGZ [2023-11-15T00:24:12.884Z] CPack: Install projects [2023-11-15T00:24:12.884Z] CPack: - Run preinstall target for: Csdk [2023-11-15T00:24:13.144Z] CPack: - Install project: Csdk [] [2023-11-15T00:24:13.144Z] CPack: Create package [2023-11-15T00:24:13.403Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-11-15T00:24:13.403Z] + '[' false '=' true ] [2023-11-15T00:24:13.403Z] + '[' false '=' true ] [2023-11-15T00:24:13.403Z] + mkdir -p /tmp/sdk/build/debug [2023-11-15T00:24:13.403Z] + cd /tmp/sdk/build/debug [2023-11-15T00:24:13.403Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-11-15T00:24:13.403Z] -- The C compiler identification is GNU 12.2.1 [2023-11-15T00:24:13.403Z] -- Detecting C compiler ABI info [2023-11-15T00:24:13.403Z] -- Detecting C compiler ABI info - done [2023-11-15T00:24:13.403Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-15T00:24:13.403Z] -- Detecting C compile features [2023-11-15T00:24:13.403Z] -- Detecting C compile features - done [2023-11-15T00:24:13.403Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-15T00:24:13.662Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-15T00:24:13.662Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-15T00:24:13.662Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-15T00:24:13.662Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-15T00:24:13.662Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-15T00:24:13.662Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-15T00:24:13.662Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-15T00:24:13.662Z] -- /opt/iotech/iot/1.5/include [2023-11-15T00:24:13.662Z] -- C SDK 0.0.0 for Linux [2023-11-15T00:24:13.662Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-15T00:24:13.662Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-15T00:24:13.662Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-15T00:24:13.662Z] -- Configuring done (0.4s) [2023-11-15T00:24:13.662Z] -- Generating done (0.0s) [2023-11-15T00:24:13.662Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-11-15T00:24:13.662Z] + make [2023-11-15T00:24:13.662Z] + tee debug.log [2023-11-15T00:24:13.920Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-15T00:24:13.921Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-15T00:24:13.921Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-15T00:24:14.180Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-15T00:24:14.180Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-15T00:24:14.180Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-15T00:24:14.439Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-15T00:24:14.439Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-15T00:24:14.439Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-15T00:24:14.439Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-15T00:24:14.699Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-15T00:24:14.699Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-15T00:24:14.699Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-15T00:24:14.957Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-15T00:24:14.957Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-15T00:24:14.957Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-15T00:24:14.957Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-15T00:24:15.216Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-15T00:24:15.216Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-15T00:24:15.216Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-15T00:24:15.475Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-15T00:24:15.734Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-15T00:24:15.734Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-15T00:24:15.734Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-15T00:24:15.734Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-15T00:24:15.992Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-15T00:24:15.992Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-15T00:24:16.250Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-15T00:24:16.250Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-15T00:24:16.250Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-15T00:24:16.508Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-15T00:24:16.508Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-15T00:24:16.508Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T00:24:16.508Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-15T00:24:16.508Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T00:24:16.508Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T00:24:16.508Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-15T00:24:16.508Z] | ^ [2023-11-15T00:24:16.508Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-15T00:24:16.767Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-15T00:24:16.767Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-15T00:24:16.767Z] [ 68%] Linking C shared library libcsdk.so [2023-11-15T00:24:16.767Z] [ 68%] Built target csdk [2023-11-15T00:24:16.767Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-15T00:24:17.025Z] [ 72%] Linking C executable template [2023-11-15T00:24:17.025Z] [ 72%] Built target template [2023-11-15T00:24:17.025Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-15T00:24:17.025Z] [ 76%] Linking C executable device-counter [2023-11-15T00:24:17.284Z] [ 76%] Built target device-counter [2023-11-15T00:24:17.284Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-15T00:24:17.284Z] [ 80%] Linking C executable device-random [2023-11-15T00:24:17.284Z] [ 80%] Built target device-random [2023-11-15T00:24:17.284Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-15T00:24:17.543Z] [ 84%] Linking C executable device-gyro [2023-11-15T00:24:17.543Z] [ 84%] Built target device-gyro [2023-11-15T00:24:17.543Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-15T00:24:17.543Z] [ 88%] Linking C executable device-bitfields [2023-11-15T00:24:17.543Z] [ 88%] Built target device-bitfields [2023-11-15T00:24:17.543Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-15T00:24:17.801Z] [ 92%] Linking C executable template-discovery [2023-11-15T00:24:17.801Z] [ 92%] Built target template-discovery [2023-11-15T00:24:17.801Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-15T00:24:17.801Z] [ 96%] Linking C executable device-file [2023-11-15T00:24:18.060Z] [ 96%] Built target device-file [2023-11-15T00:24:18.060Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-15T00:24:18.060Z] [100%] Linking C executable device-terminal [2023-11-15T00:24:18.060Z] [100%] Built target device-terminal [2023-11-15T00:24:18.060Z] make: Entering directory '/tmp/sdk/build/release' [2023-11-15T00:24:18.319Z] [ 68%] Built target csdk [2023-11-15T00:24:18.319Z] [ 72%] Built target template [2023-11-15T00:24:18.319Z] [ 76%] Built target device-counter [2023-11-15T00:24:18.319Z] [ 80%] Built target device-random [2023-11-15T00:24:18.319Z] [ 84%] Built target device-gyro [2023-11-15T00:24:18.319Z] [ 88%] Built target device-bitfields [2023-11-15T00:24:18.319Z] [ 92%] Built target template-discovery [2023-11-15T00:24:18.319Z] [ 96%] Built target device-file [2023-11-15T00:24:18.319Z] [100%] Built target device-terminal [2023-11-15T00:24:18.319Z] Install the project... [2023-11-15T00:24:18.319Z] -- Install configuration: "Release" [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/lib/libcsdk.so [2023-11-15T00:24:18.319Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include/devsdk [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include/edgex [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include/edgex/devices.h [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-11-15T00:24:18.319Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-11-15T00:24:18.319Z] make: Leaving directory '/tmp/sdk/build/release' [2023-11-15T00:24:18.889Z] Removing intermediate container 063429a53e5b [2023-11-15T00:24:18.889Z] ---> 1c1243b65d36 [2023-11-15T00:24:18.889Z] Step 14/21 : FROM ${BASE} [2023-11-15T00:24:18.889Z] ---> 45f96820a350 [2023-11-15T00:24:18.889Z] Step 15/21 : LABEL maintainer="IOTech " [2023-11-15T00:24:19.148Z] ---> Running in e01534e28fb3 [2023-11-15T00:24:19.148Z] Removing intermediate container e01534e28fb3 [2023-11-15T00:24:19.148Z] ---> c81809fdf7e4 [2023-11-15T00:24:19.148Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-11-15T00:24:19.148Z] ---> Running in 2f24f40687f6 [2023-11-15T00:24:19.407Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-11-15T00:24:19.975Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-15T00:24:19.975Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-15T00:24:19.975Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-15T00:24:20.237Z] Removing intermediate container 2f24f40687f6 [2023-11-15T00:24:20.237Z] ---> edcb68e951ab [2023-11-15T00:24:20.237Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-15T00:24:20.237Z] ---> Running in 676ad3b9b1be [2023-11-15T00:24:20.805Z] Removing intermediate container 676ad3b9b1be [2023-11-15T00:24:20.805Z] ---> 93398416edcd [2023-11-15T00:24:20.805Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2023-11-15T00:24:20.805Z] ---> Running in 9a00f7c62dcd [2023-11-15T00:24:21.064Z] fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T00:24:21.634Z] fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-15T00:24:22.200Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-15T00:24:22.768Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-15T00:24:22.768Z] (1/7) Installing curl (8.4.0-r0) [2023-11-15T00:24:23.027Z] (2/7) Installing hiredis (1.1.0-r2) [2023-11-15T00:24:23.596Z] (3/7) Installing hiredis-dev (1.1.0-r2) [2023-11-15T00:24:23.855Z] (4/7) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-15T00:24:24.115Z] (5/7) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-15T00:24:24.683Z] (6/7) Installing libcbor (0.10.2-r1) [2023-11-15T00:24:24.683Z] (7/7) Installing libuuid (2.38.1-r8) [2023-11-15T00:24:25.251Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T00:24:25.251Z] OK: 331 MiB in 89 packages [2023-11-15T00:24:25.510Z] Removing intermediate container 9a00f7c62dcd [2023-11-15T00:24:25.510Z] ---> 37d7de2978d6 [2023-11-15T00:24:25.510Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-11-15T00:24:25.768Z] ---> 7c1e4b0f50c7 [2023-11-15T00:24:25.768Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-11-15T00:24:25.768Z] ---> 4640a0ad3c18 [2023-11-15T00:24:25.768Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-11-15T00:24:26.028Z] ---> fbfc8f2b3e40 [2023-11-15T00:24:26.028Z] Successfully built fbfc8f2b3e40 [2023-11-15T00:24:26.028Z] Successfully tagged device-sdk-c-builder-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T00:24:26.451Z] + git log --pretty=%H %s [2023-11-15T00:24:26.451Z] + head -n 1 [2023-11-15T00:24:26.451Z] + grep ci(lts-release) [2023-11-15T00:24:26.451Z] + awk {print $1} [Pipeline] echo [2023-11-15T00:24:26.738Z] [edgeXDocker.push] Tagging docker image device-sdk-c-builder-x86_64 with the following tags: [2023-11-15T00:24:26.738Z] faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [2023-11-15T00:24:26.738Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T00:24:27.224Z] + docker tag device-sdk-c-builder-x86_64 nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T00:24:27.672Z] + docker push nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [2023-11-15T00:24:27.672Z] The push refers to repository [nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64] [2023-11-15T00:24:27.672Z] 101a4405bf3e: Preparing [2023-11-15T00:24:27.672Z] ac8debea96bf: Preparing [2023-11-15T00:24:27.672Z] e3824f8e27be: Preparing [2023-11-15T00:24:27.672Z] 07864c94605e: Preparing [2023-11-15T00:24:27.672Z] 3029911de4e2: Preparing [2023-11-15T00:24:27.672Z] 3f591e5ff749: Preparing [2023-11-15T00:24:27.672Z] 9d94fa7f7201: Preparing [2023-11-15T00:24:27.672Z] 1a98914da975: Preparing [2023-11-15T00:24:27.672Z] cc2447e1835a: Preparing [2023-11-15T00:24:27.672Z] 9d94fa7f7201: Waiting [2023-11-15T00:24:27.672Z] cc2447e1835a: Waiting [2023-11-15T00:24:27.672Z] 1a98914da975: Waiting [2023-11-15T00:24:27.672Z] 3f591e5ff749: Waiting [2023-11-15T00:24:27.672Z] 101a4405bf3e: Pushed [2023-11-15T00:24:27.672Z] 3029911de4e2: Pushed [2023-11-15T00:24:27.672Z] e3824f8e27be: Pushed [2023-11-15T00:24:27.931Z] ac8debea96bf: Pushed [2023-11-15T00:24:27.931Z] 9d94fa7f7201: Layer already exists [2023-11-15T00:24:27.931Z] 1a98914da975: Layer already exists [2023-11-15T00:24:27.931Z] cc2447e1835a: Layer already exists [2023-11-15T00:24:27.931Z] 3f591e5ff749: Pushed [2023-11-15T00:24:27.931Z] 07864c94605e: Pushed [2023-11-15T00:24:28.190Z] faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7: digest: sha256:3ec7123fb91b4a511f3d76380cde1bfed4ea5ab0d734fd668911db47a8038c56 size: 2199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T00:24:28.430Z] ===================================================== [Pipeline] echo [2023-11-15T00:24:28.459Z] taggedImages: [2023-11-15T00:24:28.459Z] - nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-15T00:27:20.768Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18032 in /w/workspace/edgexfoundry_device-sdk-c_napa [Pipeline] { [Pipeline] checkout [2023-11-15T00:27:20.850Z] Selected Git installation does not exist. Using Default [2023-11-15T00:27:20.850Z] The recommended git tool is: NONE [2023-11-15T00:27:25.971Z] using credential edgex-jenkins-ssh [2023-11-15T00:27:25.987Z] Cloning the remote Git repository [2023-11-15T00:27:26.035Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2023-11-15T00:27:26.133Z] > git init /w/workspace/edgexfoundry_device-sdk-c_napa # timeout=10 [2023-11-15T00:27:26.261Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2023-11-15T00:27:26.262Z] > git --version # timeout=10 [2023-11-15T00:27:26.287Z] > git --version # 'git version 2.25.1' [2023-11-15T00:27:26.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-15T00:27:26.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T00:27:28.299Z] Avoid second fetch [2023-11-15T00:27:27.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2023-11-15T00:27:27.500Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-15T00:27:28.300Z] Checking out Revision faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 (napa) [2023-11-15T00:27:28.870Z] Commit message: "ci(lts-release): LTS release v3.1.0 @1a776ee" [2023-11-15T00:27:28.927Z] > git --version # timeout=10 [2023-11-15T00:27:28.941Z] > git --version # 'git version 2.25.1' [2023-11-15T00:27:28.960Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [2023-11-15T00:27:28.318Z] > git config core.sparsecheckout # timeout=10 [2023-11-15T00:27:28.384Z] > git checkout -f faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 # timeout=10 [Pipeline] sh [2023-11-15T00:27:30.136Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-15T00:27:30.136Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-15T00:27:30.136Z] Dload Upload Total Spent Left Speed [2023-11-15T00:27:30.136Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-11-15T00:27:30.881Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-15T00:27:31.242Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-15T00:27:31.242Z] + sudo tee /etc/docker/daemon.new [2023-11-15T00:27:31.242Z] { [2023-11-15T00:27:31.242Z] "registry-mirrors": [ [2023-11-15T00:27:31.242Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-15T00:27:31.242Z] ], [2023-11-15T00:27:31.242Z] "bip": "10.250.0.254/24", [2023-11-15T00:27:31.242Z] "hosts": [ [2023-11-15T00:27:31.242Z] "tcp://0.0.0.0:5555", [2023-11-15T00:27:31.242Z] "unix:///var/run/docker.sock" [2023-11-15T00:27:31.242Z] ], [2023-11-15T00:27:31.242Z] "mtu": 1458, [2023-11-15T00:27:31.242Z] "selinux-enabled": true, [2023-11-15T00:27:31.242Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-15T00:27:31.242Z] } [Pipeline] sh [2023-11-15T00:27:31.610Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-15T00:27:31.959Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T00:27:50.284Z] provisioning config files... [2023-11-15T00:27:50.310Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_napa@tmp/config872525594557281636tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-15T00:27:50.711Z] ---> docker-login.sh [2023-11-15T00:27:50.711Z] nexus3.edgexfoundry.org:10001 [2023-11-15T00:27:50.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T00:27:51.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T00:27:51.251Z] Configure a credential helper to remove this warning. See [2023-11-15T00:27:51.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T00:27:51.251Z] [2023-11-15T00:27:51.251Z] Login Succeeded [2023-11-15T00:27:51.251Z] nexus3.edgexfoundry.org:10002 [2023-11-15T00:27:51.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T00:27:51.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T00:27:51.787Z] Configure a credential helper to remove this warning. See [2023-11-15T00:27:51.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T00:27:51.787Z] [2023-11-15T00:27:51.787Z] Login Succeeded [2023-11-15T00:27:51.787Z] nexus3.edgexfoundry.org:10003 [2023-11-15T00:27:52.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T00:27:52.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T00:27:52.054Z] Configure a credential helper to remove this warning. See [2023-11-15T00:27:52.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T00:27:52.054Z] [2023-11-15T00:27:52.054Z] Login Succeeded [2023-11-15T00:27:52.054Z] nexus3.edgexfoundry.org:10004 [2023-11-15T00:27:52.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T00:27:52.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T00:27:52.325Z] Configure a credential helper to remove this warning. See [2023-11-15T00:27:52.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T00:27:52.325Z] [2023-11-15T00:27:52.325Z] Login Succeeded [2023-11-15T00:27:52.325Z] docker.io [2023-11-15T00:27:52.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-15T00:27:52.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-15T00:27:52.861Z] Configure a credential helper to remove this warning. See [2023-11-15T00:27:52.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-15T00:27:52.861Z] [2023-11-15T00:27:52.861Z] Login Succeeded [2023-11-15T00:27:52.861Z] ---> docker-login.sh ends [Pipeline] } [2023-11-15T00:27:52.889Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T00:27:53.044Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2023-11-15T00:27:53.383Z] + echo 0.0.0 [Pipeline] echo [2023-11-15T00:27:53.420Z] [prepBaseBuildImage] Generating new image with name: device-sdk-c-builder-arm64 [Pipeline] echo [2023-11-15T00:27:53.455Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-15T00:27:53.492Z] ========================================================= [2023-11-15T00:27:53.492Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts] [2023-11-15T00:27:53.492Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T00:27:53.948Z] + docker build -t device-sdk-c-builder-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts . [2023-11-15T00:27:54.216Z] Sending build context to Docker daemon 2.961MB [2023-11-15T00:27:54.216Z] Step 1/21 : ARG BASE=alpine:3.18 [2023-11-15T00:27:54.216Z] Step 2/21 : FROM ${BASE} as builder [2023-11-15T00:27:54.485Z] gcc-lts: Pulling from edgex-devops/edgex-gcc-base-arm64 [2023-11-15T00:27:54.485Z] 579b34f0a95b: Pulling fs layer [2023-11-15T00:27:54.485Z] b046b3a35be6: Pulling fs layer [2023-11-15T00:27:54.485Z] 2014ba793e07: Pulling fs layer [2023-11-15T00:27:54.485Z] b046b3a35be6: Verifying Checksum [2023-11-15T00:27:54.485Z] b046b3a35be6: Download complete [2023-11-15T00:27:54.762Z] 579b34f0a95b: Verifying Checksum [2023-11-15T00:27:54.762Z] 579b34f0a95b: Download complete [2023-11-15T00:27:55.354Z] 579b34f0a95b: Pull complete [2023-11-15T00:27:55.623Z] b046b3a35be6: Pull complete [2023-11-15T00:27:57.044Z] 2014ba793e07: Verifying Checksum [2023-11-15T00:27:57.044Z] 2014ba793e07: Download complete [2023-11-15T00:28:09.369Z] 2014ba793e07: Pull complete [2023-11-15T00:28:09.370Z] Digest: sha256:b5906dbdf2aa12511e9e52d54665ccd7a12a762119da8971e0963525c2f84566 [2023-11-15T00:28:09.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts [2023-11-15T00:28:09.370Z] ---> 4f4201145ecf [2023-11-15T00:28:09.370Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-11-15T00:28:09.370Z] ---> Running in 31f26255c15b [2023-11-15T00:28:09.636Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2023-11-15T00:28:10.222Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-15T00:28:10.222Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-15T00:28:10.222Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-15T00:28:10.808Z] Removing intermediate container 31f26255c15b [2023-11-15T00:28:10.808Z] ---> 02fd6730bf30 [2023-11-15T00:28:10.808Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-15T00:28:11.075Z] ---> Running in 1ca45410023b [2023-11-15T00:28:12.503Z] Removing intermediate container 1ca45410023b [2023-11-15T00:28:12.503Z] ---> ae74f618b458 [2023-11-15T00:28:12.503Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2023-11-15T00:28:12.773Z] ---> Running in d94917aac9c3 [2023-11-15T00:28:13.742Z] fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T00:28:14.332Z] fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T00:28:15.294Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T00:28:16.330Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-15T00:28:16.330Z] (1/17) Installing hiredis (1.1.0-r2) [2023-11-15T00:28:16.610Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2023-11-15T00:28:17.224Z] (3/17) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-15T00:28:17.494Z] (4/17) Installing iotech-iot-1.5-dev (1.5.0-r0) [2023-11-15T00:28:17.760Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-15T00:28:18.028Z] (6/17) Installing libcbor (0.10.2-r1) [2023-11-15T00:28:18.294Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2023-11-15T00:28:18.876Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2023-11-15T00:28:19.141Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2023-11-15T00:28:19.406Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2023-11-15T00:28:19.988Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2023-11-15T00:28:20.254Z] (12/17) Installing libblkid (2.38.1-r8) [2023-11-15T00:28:20.836Z] (13/17) Installing libuuid (2.38.1-r8) [2023-11-15T00:28:21.113Z] (14/17) Installing libfdisk (2.38.1-r8) [2023-11-15T00:28:21.703Z] (15/17) Installing libmount (2.38.1-r8) [2023-11-15T00:28:22.284Z] (16/17) Installing libsmartcols (2.38.1-r8) [2023-11-15T00:28:22.553Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2023-11-15T00:28:23.136Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T00:28:23.136Z] OK: 333 MiB in 99 packages [2023-11-15T00:28:24.550Z] Removing intermediate container d94917aac9c3 [2023-11-15T00:28:24.550Z] ---> bc08fb046ad1 [2023-11-15T00:28:24.550Z] Step 6/21 : RUN mkdir /tmp/sdk [2023-11-15T00:28:24.550Z] ---> Running in 5526bee6071e [2023-11-15T00:28:26.498Z] Removing intermediate container 5526bee6071e [2023-11-15T00:28:26.499Z] ---> 29c015f2fd0c [2023-11-15T00:28:26.499Z] Step 7/21 : COPY VERSION /tmp/sdk [2023-11-15T00:28:26.499Z] ---> e9eed065467c [2023-11-15T00:28:26.499Z] Step 8/21 : COPY src /tmp/sdk/src [2023-11-15T00:28:27.463Z] ---> 518a5c392629 [2023-11-15T00:28:27.463Z] Step 9/21 : COPY include /tmp/sdk/include [2023-11-15T00:28:30.808Z] ---> 5117cf683aa0 [2023-11-15T00:28:30.808Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2023-11-15T00:28:31.077Z] ---> bf08c1fe25c4 [2023-11-15T00:28:31.077Z] Step 11/21 : COPY LICENSE /tmp/sdk [2023-11-15T00:28:31.664Z] ---> 0dff1d231193 [2023-11-15T00:28:31.664Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2023-11-15T00:28:32.254Z] ---> 55be09f29a16 [2023-11-15T00:28:32.254Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2023-11-15T00:28:32.254Z] ---> Running in bec3a532ea28 [2023-11-15T00:28:33.216Z] + CPPCHECK=false [2023-11-15T00:28:33.216Z] + DOCGEN=false [2023-11-15T00:28:33.216Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2023-11-15T00:28:33.216Z] + '[' 0 -gt 0 ] [2023-11-15T00:28:33.216Z] + readlink -f ./scripts/build.sh [2023-11-15T00:28:33.216Z] + dirname /tmp/sdk/scripts/build.sh [2023-11-15T00:28:33.216Z] + dirname /tmp/sdk/scripts [2023-11-15T00:28:33.216Z] + ROOT=/tmp/sdk [2023-11-15T00:28:33.216Z] + cd /tmp/sdk [2023-11-15T00:28:33.216Z] + mkdir -p /tmp/sdk/build/release [2023-11-15T00:28:33.216Z] + cd /tmp/sdk/build/release [2023-11-15T00:28:33.216Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2023-11-15T00:28:33.482Z] -- The C compiler identification is GNU 12.2.1 [2023-11-15T00:28:33.749Z] -- Detecting C compiler ABI info [2023-11-15T00:28:34.017Z] -- Detecting C compiler ABI info - done [2023-11-15T00:28:34.017Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-15T00:28:34.017Z] -- Detecting C compile features [2023-11-15T00:28:34.017Z] -- Detecting C compile features - done [2023-11-15T00:28:34.017Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-15T00:28:34.285Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-15T00:28:34.285Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-15T00:28:34.285Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-15T00:28:34.285Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-15T00:28:34.285Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-15T00:28:34.552Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-15T00:28:34.552Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-15T00:28:34.552Z] -- /opt/iotech/iot/1.5/include [2023-11-15T00:28:34.552Z] -- C SDK 0.0.0 for Linux [2023-11-15T00:28:34.552Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-15T00:28:34.820Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-15T00:28:35.087Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-15T00:28:35.087Z] -- Configuring done (1.9s) [2023-11-15T00:28:35.355Z] -- Generating done (0.3s) [2023-11-15T00:28:35.355Z] -- Build files have been written to: /tmp/sdk/build/release [2023-11-15T00:28:35.355Z] + make all package [2023-11-15T00:28:35.355Z] + tee release.log [2023-11-15T00:28:35.624Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-15T00:28:36.591Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-15T00:28:37.176Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-15T00:28:38.141Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-15T00:28:38.724Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-15T00:28:39.308Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-15T00:28:41.884Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-15T00:28:42.467Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2023-11-15T00:28:42.467Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T00:28:42.467Z] 294 | while (privateConfig) [2023-11-15T00:28:42.467Z] | ^~~~~~~~~~~~~ [2023-11-15T00:28:42.467Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2023-11-15T00:28:42.467Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-15T00:28:42.467Z] | ^~~~~~~~~~~~~ [2023-11-15T00:28:42.467Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T00:28:42.467Z] 271 | while (result) [2023-11-15T00:28:42.467Z] | ^~~~~~ [2023-11-15T00:28:42.467Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2023-11-15T00:28:42.467Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2023-11-15T00:28:42.467Z] | ^~~~~~ [2023-11-15T00:28:42.734Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-15T00:28:42.734Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-15T00:28:43.694Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-15T00:28:45.637Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-15T00:28:46.220Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-15T00:28:46.803Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-15T00:28:47.762Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-15T00:28:48.028Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-15T00:28:48.995Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-15T00:28:49.580Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-15T00:28:51.525Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-15T00:28:51.791Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-15T00:28:52.375Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-15T00:28:53.790Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-15T00:29:00.441Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-15T00:29:01.024Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-15T00:29:01.293Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-15T00:29:01.874Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-15T00:29:02.147Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-15T00:29:03.554Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-15T00:29:06.134Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-15T00:29:06.134Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-15T00:29:07.092Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-15T00:29:07.677Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-15T00:29:07.946Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-15T00:29:07.946Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T00:29:07.946Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-15T00:29:07.946Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T00:29:07.946Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T00:29:07.946Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-15T00:29:07.946Z] | ^ [2023-11-15T00:29:09.352Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2023-11-15T00:29:09.352Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2023-11-15T00:29:09.352Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T00:29:09.352Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2023-11-15T00:29:09.352Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2023-11-15T00:29:09.352Z] | ^~~~~~~~~~~~~~~~~~~~~ [2023-11-15T00:29:10.312Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-15T00:29:11.271Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-15T00:29:11.546Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-15T00:29:12.128Z] [ 68%] Linking C shared library libcsdk.so [2023-11-15T00:29:12.395Z] [ 68%] Built target csdk [2023-11-15T00:29:12.395Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-15T00:29:13.363Z] [ 72%] Linking C executable template [2023-11-15T00:29:13.629Z] [ 72%] Built target template [2023-11-15T00:29:13.629Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-15T00:29:14.209Z] [ 76%] Linking C executable device-counter [2023-11-15T00:29:14.475Z] [ 76%] Built target device-counter [2023-11-15T00:29:14.475Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-15T00:29:15.056Z] [ 80%] Linking C executable device-random [2023-11-15T00:29:15.323Z] [ 80%] Built target device-random [2023-11-15T00:29:15.323Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-15T00:29:15.904Z] [ 84%] Linking C executable device-gyro [2023-11-15T00:29:16.171Z] [ 84%] Built target device-gyro [2023-11-15T00:29:16.171Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-15T00:29:16.751Z] [ 88%] Linking C executable device-bitfields [2023-11-15T00:29:17.021Z] [ 88%] Built target device-bitfields [2023-11-15T00:29:17.290Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-15T00:29:17.874Z] [ 92%] Linking C executable template-discovery [2023-11-15T00:29:18.457Z] [ 92%] Built target template-discovery [2023-11-15T00:29:18.457Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-15T00:29:19.039Z] [ 96%] Linking C executable device-file [2023-11-15T00:29:19.311Z] [ 96%] Built target device-file [2023-11-15T00:29:19.582Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-15T00:29:20.166Z] [100%] Linking C executable device-terminal [2023-11-15T00:29:20.435Z] [100%] Built target device-terminal [2023-11-15T00:29:20.435Z] Run CPack packaging tool... [2023-11-15T00:29:20.702Z] CPack: Create package using TGZ [2023-11-15T00:29:20.702Z] CPack: Install projects [2023-11-15T00:29:20.702Z] CPack: - Run preinstall target for: Csdk [2023-11-15T00:29:21.287Z] CPack: - Install project: Csdk [] [2023-11-15T00:29:21.556Z] CPack: Create package [2023-11-15T00:29:21.556Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2023-11-15T00:29:21.556Z] + '[' false '=' true ] [2023-11-15T00:29:21.556Z] + '[' false '=' true ] [2023-11-15T00:29:21.556Z] + mkdir -p /tmp/sdk/build/debug [2023-11-15T00:29:21.556Z] + cd /tmp/sdk/build/debug [2023-11-15T00:29:21.556Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2023-11-15T00:29:21.825Z] -- The C compiler identification is GNU 12.2.1 [2023-11-15T00:29:21.825Z] -- Detecting C compiler ABI info [2023-11-15T00:29:22.417Z] -- Detecting C compiler ABI info - done [2023-11-15T00:29:22.417Z] -- Check for working C compiler: /usr/bin/cc - skipped [2023-11-15T00:29:22.417Z] -- Detecting C compile features [2023-11-15T00:29:22.417Z] -- Detecting C compile features - done [2023-11-15T00:29:22.417Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2023-11-15T00:29:22.685Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2023-11-15T00:29:22.685Z] -- Found LIBYAML: /usr/lib/libyaml.so [2023-11-15T00:29:22.685Z] -- Found LIBUUID: /usr/lib/libuuid.so [2023-11-15T00:29:22.685Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2023-11-15T00:29:22.685Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2023-11-15T00:29:22.685Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2023-11-15T00:29:22.685Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2023-11-15T00:29:22.685Z] -- /opt/iotech/iot/1.5/include [2023-11-15T00:29:22.685Z] -- C SDK 0.0.0 for Linux [2023-11-15T00:29:22.685Z] -- Performing Test CSDK_HAVE_ATOMIC [2023-11-15T00:29:22.964Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2023-11-15T00:29:23.231Z] -- Found Curses: /usr/lib/libcurses.so [2023-11-15T00:29:23.231Z] -- Configuring done (1.7s) [2023-11-15T00:29:23.501Z] -- Generating done (0.2s) [2023-11-15T00:29:23.501Z] -- Build files have been written to: /tmp/sdk/build/debug [2023-11-15T00:29:23.501Z] + + maketee [2023-11-15T00:29:23.501Z] debug.log [2023-11-15T00:29:23.768Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2023-11-15T00:29:24.036Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2023-11-15T00:29:24.624Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2023-11-15T00:29:24.891Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2023-11-15T00:29:25.159Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2023-11-15T00:29:25.743Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2023-11-15T00:29:26.341Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2023-11-15T00:29:26.932Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2023-11-15T00:29:26.932Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2023-11-15T00:29:27.519Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2023-11-15T00:29:28.125Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2023-11-15T00:29:28.393Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2023-11-15T00:29:28.978Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2023-11-15T00:29:29.245Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2023-11-15T00:29:29.511Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2023-11-15T00:29:29.777Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2023-11-15T00:29:30.044Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2023-11-15T00:29:31.001Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2023-11-15T00:29:31.001Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2023-11-15T00:29:31.267Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2023-11-15T00:29:32.224Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2023-11-15T00:29:33.184Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2023-11-15T00:29:33.452Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2023-11-15T00:29:33.719Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2023-11-15T00:29:33.985Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2023-11-15T00:29:34.252Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2023-11-15T00:29:34.835Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2023-11-15T00:29:36.244Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2023-11-15T00:29:36.514Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2023-11-15T00:29:37.095Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2023-11-15T00:29:37.364Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2023-11-15T00:29:37.632Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2023-11-15T00:29:37.632Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T00:29:37.632Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2023-11-15T00:29:37.632Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2023-11-15T00:29:37.632Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2023-11-15T00:29:37.632Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2023-11-15T00:29:37.632Z] | ^ [2023-11-15T00:29:38.215Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2023-11-15T00:29:38.483Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2023-11-15T00:29:39.067Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2023-11-15T00:29:39.336Z] [ 68%] Linking C shared library libcsdk.so [2023-11-15T00:29:39.605Z] [ 68%] Built target csdk [2023-11-15T00:29:39.605Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2023-11-15T00:29:39.891Z] [ 72%] Linking C executable template [2023-11-15T00:29:40.476Z] [ 72%] Built target template [2023-11-15T00:29:40.476Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2023-11-15T00:29:40.743Z] [ 76%] Linking C executable device-counter [2023-11-15T00:29:41.010Z] [ 76%] Built target device-counter [2023-11-15T00:29:41.010Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2023-11-15T00:29:41.596Z] [ 80%] Linking C executable device-random [2023-11-15T00:29:41.875Z] [ 80%] Built target device-random [2023-11-15T00:29:41.875Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2023-11-15T00:29:42.143Z] [ 84%] Linking C executable device-gyro [2023-11-15T00:29:42.726Z] [ 84%] Built target device-gyro [2023-11-15T00:29:42.726Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2023-11-15T00:29:42.992Z] [ 88%] Linking C executable device-bitfields [2023-11-15T00:29:43.259Z] [ 88%] Built target device-bitfields [2023-11-15T00:29:43.259Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2023-11-15T00:29:43.528Z] [ 92%] Linking C executable template-discovery [2023-11-15T00:29:44.112Z] [ 92%] Built target template-discovery [2023-11-15T00:29:44.112Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2023-11-15T00:29:44.390Z] [ 96%] Linking C executable device-file [2023-11-15T00:29:44.657Z] [ 96%] Built target device-file [2023-11-15T00:29:44.658Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2023-11-15T00:29:45.240Z] [100%] Linking C executable device-terminal [2023-11-15T00:29:45.507Z] [100%] Built target device-terminal [2023-11-15T00:29:45.507Z] make: Entering directory '/tmp/sdk/build/release' [2023-11-15T00:29:45.507Z] [ 68%] Built target csdk [2023-11-15T00:29:45.774Z] [ 72%] Built target template [2023-11-15T00:29:45.774Z] [ 76%] Built target device-counter [2023-11-15T00:29:45.774Z] [ 80%] Built target device-random [2023-11-15T00:29:45.774Z] [ 84%] Built target device-gyro [2023-11-15T00:29:45.774Z] [ 88%] Built target device-bitfields [2023-11-15T00:29:46.041Z] [ 92%] Built target template-discovery [2023-11-15T00:29:46.041Z] [ 96%] Built target device-file [2023-11-15T00:29:46.041Z] [100%] Built target device-terminal [2023-11-15T00:29:46.041Z] Install the project... [2023-11-15T00:29:46.041Z] -- Install configuration: "Release" [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/lib/libcsdk.so [2023-11-15T00:29:46.041Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include/devsdk [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include/edgex [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include/edgex/rest-server.h [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include/edgex/edgex.h [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include/edgex/devices.h [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include/edgex/profiles.h [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2023-11-15T00:29:46.041Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2023-11-15T00:29:46.041Z] make: Leaving directory '/tmp/sdk/build/release' [2023-11-15T00:29:47.456Z] Removing intermediate container bec3a532ea28 [2023-11-15T00:29:47.456Z] ---> 05c4ce287054 [2023-11-15T00:29:47.456Z] Step 14/21 : FROM ${BASE} [2023-11-15T00:29:47.456Z] ---> 4f4201145ecf [2023-11-15T00:29:47.456Z] Step 15/21 : LABEL maintainer="IOTech " [2023-11-15T00:29:47.456Z] ---> Running in 65d9f0314535 [2023-11-15T00:29:47.724Z] Removing intermediate container 65d9f0314535 [2023-11-15T00:29:47.724Z] ---> 4b1f7ec1b1ad [2023-11-15T00:29:47.724Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2023-11-15T00:29:47.996Z] ---> Running in 6306816f109d [2023-11-15T00:29:48.953Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2023-11-15T00:29:49.535Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2023-11-15T00:29:49.535Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2023-11-15T00:29:49.535Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2023-11-15T00:29:50.121Z] Removing intermediate container 6306816f109d [2023-11-15T00:29:50.121Z] ---> f9379638e932 [2023-11-15T00:29:50.122Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2023-11-15T00:29:50.122Z] ---> Running in e4fc3a5d18a5 [2023-11-15T00:29:52.063Z] Removing intermediate container e4fc3a5d18a5 [2023-11-15T00:29:52.063Z] ---> a843024e7d88 [2023-11-15T00:29:52.063Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2023-11-15T00:29:52.063Z] ---> Running in 80baa3dad06a [2023-11-15T00:29:53.022Z] fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T00:29:53.605Z] fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-15T00:29:54.570Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-15T00:29:55.152Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2023-11-15T00:29:55.418Z] (1/7) Installing curl (8.4.0-r0) [2023-11-15T00:29:55.682Z] (2/7) Installing hiredis (1.1.0-r2) [2023-11-15T00:29:56.261Z] (3/7) Installing hiredis-dev (1.1.0-r2) [2023-11-15T00:29:56.526Z] (4/7) Installing iotech-iot-1.5 (1.5.0-r0) [2023-11-15T00:29:57.109Z] (5/7) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.12-r0) [2023-11-15T00:29:57.374Z] (6/7) Installing libcbor (0.10.2-r1) [2023-11-15T00:29:57.638Z] (7/7) Installing libuuid (2.38.1-r8) [2023-11-15T00:29:57.903Z] Executing busybox-1.36.1-r2.trigger [2023-11-15T00:29:58.169Z] OK: 327 MiB in 89 packages [2023-11-15T00:29:59.127Z] Removing intermediate container 80baa3dad06a [2023-11-15T00:29:59.127Z] ---> cc3666bc1b86 [2023-11-15T00:29:59.127Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2023-11-15T00:29:59.708Z] ---> ee87800e6c58 [2023-11-15T00:29:59.708Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2023-11-15T00:30:00.291Z] ---> 3fd4de680f5f [2023-11-15T00:30:00.291Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2023-11-15T00:30:00.559Z] ---> 218f5de8259d [2023-11-15T00:30:00.559Z] Successfully built 218f5de8259d [2023-11-15T00:30:00.560Z] Successfully tagged device-sdk-c-builder-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-15T00:30:01.219Z] + git log --pretty=%H %s [2023-11-15T00:30:01.219Z] + grep ci(lts-release) [2023-11-15T00:30:01.219Z] + head -n 1 [2023-11-15T00:30:01.219Z] + awk {print $1} [Pipeline] echo [2023-11-15T00:30:01.348Z] [edgeXDocker.push] Tagging docker image device-sdk-c-builder-arm64 with the following tags: [2023-11-15T00:30:01.348Z] faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [2023-11-15T00:30:01.348Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T00:30:01.862Z] + docker tag device-sdk-c-builder-arm64 nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T00:30:02.341Z] + docker push nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [2023-11-15T00:30:02.341Z] The push refers to repository [nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64] [2023-11-15T00:30:02.341Z] 7abb57e2978c: Preparing [2023-11-15T00:30:02.341Z] da4dfd282350: Preparing [2023-11-15T00:30:02.341Z] f50119a80772: Preparing [2023-11-15T00:30:02.341Z] 15db49713c16: Preparing [2023-11-15T00:30:02.341Z] 39318cf0cfeb: Preparing [2023-11-15T00:30:02.341Z] 20e1878af89e: Preparing [2023-11-15T00:30:02.341Z] 7516a9d68dc0: Preparing [2023-11-15T00:30:02.341Z] fbbef3d89ef9: Preparing [2023-11-15T00:30:02.341Z] 5f4d9fc4d98d: Preparing [2023-11-15T00:30:02.341Z] 20e1878af89e: Waiting [2023-11-15T00:30:02.341Z] 7516a9d68dc0: Waiting [2023-11-15T00:30:02.341Z] fbbef3d89ef9: Waiting [2023-11-15T00:30:02.341Z] 5f4d9fc4d98d: Waiting [2023-11-15T00:30:02.606Z] 39318cf0cfeb: Pushed [2023-11-15T00:30:02.606Z] f50119a80772: Pushed [2023-11-15T00:30:02.606Z] da4dfd282350: Pushed [2023-11-15T00:30:02.606Z] 7abb57e2978c: Pushed [2023-11-15T00:30:02.606Z] 7516a9d68dc0: Layer already exists [2023-11-15T00:30:02.606Z] fbbef3d89ef9: Layer already exists [2023-11-15T00:30:02.606Z] 5f4d9fc4d98d: Layer already exists [2023-11-15T00:30:02.871Z] 20e1878af89e: Pushed [2023-11-15T00:30:03.137Z] 15db49713c16: Pushed [2023-11-15T00:30:03.402Z] faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7: digest: sha256:562758cfa96a572b54c21e92050971cac9011483215b3dcbf73b74f9ee2fb111 size: 2199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-11-15T00:30:03.633Z] ===================================================== [Pipeline] echo [2023-11-15T00:30:03.663Z] taggedImages: [2023-11-15T00:30:03.663Z] - nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-15T00:30:04.525Z] + git rev-list -1 --merges faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7~1..faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [Pipeline] echo [2023-11-15T00:30:04.557Z] -----------> git rev-list -1 --merges faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7~1..faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [false] [Pipeline] sh [2023-11-15T00:30:04.865Z] + git log --format=format:%s -1 faa745f0f589186e39f3c6e0cfffdb0f71b3fbd7 [Pipeline] echo [2023-11-15T00:30:04.899Z] ========================================================= [2023-11-15T00:30:04.899Z] [isLTSReleaseBuild] No build required. isLTSRelease: [true] [2023-11-15T00:30:04.899Z] ========================================================= Stage "Build Check" skipped due to when conditional [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Build Check" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build Check" 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 Stage "arm64" skipped due to when conditional [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Build Check" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Build Check" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Build Check" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-15T00:30:07.346Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_napa/archives ] [Pipeline] libraryResource [Pipeline] sh [2023-11-15T00:30:07.680Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T00:30:08.572Z] ---> package-listing.sh [2023-11-15T00:30:08.572Z] ++ facter osfamily [2023-11-15T00:30:08.572Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-15T00:30:08.832Z] + OS_FAMILY=debian [2023-11-15T00:30:08.832Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_napa [2023-11-15T00:30:08.832Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-15T00:30:08.832Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-15T00:30:08.832Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-15T00:30:08.832Z] + PACKAGES=/tmp/packages_start.txt [2023-11-15T00:30:08.832Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_napa ']' [2023-11-15T00:30:08.832Z] + PACKAGES=/tmp/packages_end.txt [2023-11-15T00:30:08.832Z] + case "${OS_FAMILY}" in [2023-11-15T00:30:08.832Z] + dpkg -l [2023-11-15T00:30:08.832Z] + grep '^ii' [2023-11-15T00:30:08.832Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-15T00:30:08.832Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-15T00:30:08.832Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-15T00:30:08.832Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_napa ']' [2023-11-15T00:30:08.832Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_napa/archives/ [2023-11-15T00:30:08.832Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_napa/archives/ [Pipeline] echo [2023-11-15T00:30:08.864Z] 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_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-15T00:30:09.158Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T00:30:09.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T00:30:09.790Z] [2023-11-15T00:30:09.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-15T00:30:10.163Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T00:30:10.163Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-15T00:30:10.163Z] 5eb5b503b376: Pulling fs layer [2023-11-15T00:30:10.163Z] 5c69ac0246d0: Pulling fs layer [2023-11-15T00:30:10.163Z] ec43610c2a17: Pulling fs layer [2023-11-15T00:30:10.163Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-15T00:30:10.163Z] 33b1e0a273af: Pulling fs layer [2023-11-15T00:30:10.163Z] 5d3b04190fa2: Pulling fs layer [2023-11-15T00:30:10.163Z] 2f39f015ded8: Pulling fs layer [2023-11-15T00:30:10.163Z] 33b1e0a273af: Waiting [2023-11-15T00:30:10.163Z] 5d3b04190fa2: Waiting [2023-11-15T00:30:10.163Z] 3a2ae6a8a46f: Waiting [2023-11-15T00:30:10.163Z] 2f39f015ded8: Waiting [2023-11-15T00:30:10.163Z] 5c69ac0246d0: Download complete [2023-11-15T00:30:10.163Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-15T00:30:10.163Z] 3a2ae6a8a46f: Download complete [2023-11-15T00:30:10.163Z] 33b1e0a273af: Verifying Checksum [2023-11-15T00:30:10.163Z] 33b1e0a273af: Download complete [2023-11-15T00:30:10.163Z] ec43610c2a17: Verifying Checksum [2023-11-15T00:30:10.163Z] ec43610c2a17: Download complete [2023-11-15T00:30:10.163Z] 5d3b04190fa2: Verifying Checksum [2023-11-15T00:30:10.163Z] 5d3b04190fa2: Download complete [2023-11-15T00:30:10.421Z] 5eb5b503b376: Verifying Checksum [2023-11-15T00:30:10.421Z] 5eb5b503b376: Download complete [2023-11-15T00:30:10.989Z] 2f39f015ded8: Download complete [2023-11-15T00:30:11.557Z] 5eb5b503b376: Pull complete [2023-11-15T00:30:11.557Z] 5c69ac0246d0: Pull complete [2023-11-15T00:30:12.124Z] ec43610c2a17: Pull complete [2023-11-15T00:30:12.124Z] 3a2ae6a8a46f: Pull complete [2023-11-15T00:30:12.124Z] 33b1e0a273af: Pull complete [2023-11-15T00:30:12.383Z] 5d3b04190fa2: Pull complete [2023-11-15T00:30:16.564Z] 2f39f015ded8: Pull complete [2023-11-15T00:30:16.564Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-15T00:30:16.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-15T00:30:16.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-15T00:30:16.943Z] prd-ubuntu20.04-docker-8c-8g-18031 does not seem to be running inside a container [2023-11-15T00:30:16.981Z] $ 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_napa/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_napa -v /w/workspace/edgexfoundry_device-sdk-c_napa:/w/workspace/edgexfoundry_device-sdk-c_napa:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_napa@tmp:/w/workspace/edgexfoundry_device-sdk-c_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-15T00:30:18.940Z] $ docker top f437e54155c9083e47fd123b43c7cdc222d7be8d4c56d7144f8b1864a3a799fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-15T00:30:19.331Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-15T00:30:19.644Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-15T00:30:19.955Z] + ls /var/log/sa-host [2023-11-15T00:30:19.955Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-15T00:30:20.185Z] provisioning config files... [2023-11-15T00:30:20.193Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_napa@tmp/config15532971424487609611tmp [Pipeline] { [Pipeline] echo [2023-11-15T00:30:20.244Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T00:30:20.555Z] ---> create-netrc.sh [Pipeline] } [2023-11-15T00:30:20.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-15T00:30:20.982Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-15T00:30:21.011Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T00:30:21.319Z] ---> sudo-logs.sh [2023-11-15T00:30:21.319Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-15T00:30:21.401Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T00:30:21.713Z] ---> job-cost.sh [2023-11-15T00:30:21.713Z] lf-activate-venv: SKIPPING [2023-11-15T00:30:21.713Z] INFO: No Stack... [2023-11-15T00:30:21.972Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-15T00:30:22.233Z] INFO: Archiving Costs [Pipeline] echo [2023-11-15T00:30:22.275Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-15T00:30:22.587Z] ---> logs-deploy.sh [2023-11-15T00:30:22.587Z] lf-activate-venv: SKIPPING [2023-11-15T00:30:22.587Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/napa/1 [2023-11-15T00:30:22.587Z] INFO: archiving workspace using pattern(s): [2023-11-15T00:30:23.524Z] Archives upload complete. [2023-11-15T00:30:23.524Z] INFO: archiving logs to Nexus