Push event to branch palau Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 47eeda0b76c36ac554de4b74dce1a8513d2937ce 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-ssh11523309119522453545.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b1c004cf40c352fe6d03b0971bc7ee860312a7b0 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-ssh765424117020422113.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 b1c004cf40c352fe6d03b0971bc7ee860312a7b0 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/palau/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/palau/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3422198312717666775.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/palau/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10498306711832928915.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b1c004cf40c352fe6d03b0971bc7ee860312a7b0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b1c004cf40c352fe6d03b0971bc7ee860312a7b0 # timeout=10 Commit message: "Merge pull request #480 from jinlinGuan/fix-docs-publish" > 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-ssh13979992170039966676.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/palau/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/palau/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3261094586150462764.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 b1c004cf40c352fe6d03b0971bc7ee860312a7b0 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-13627 in /w/workspace/edgexfoundry_device-sdk-c_palau [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_palau # 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 47eeda0b76c36ac554de4b74dce1a8513d2937ce (palau) Commit message: "ci(lts-release): LTS release v4.0.2 @1b5e0fd" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b1c004cf40c352fe6d03b0971bc7ee860312a7b0 > 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 47eeda0b76c36ac554de4b74dce1a8513d2937ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:37:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:37:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:37:11 ========================================================= 06:37:11 EdgeX Global Pipelines Version Info 06:37:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:37:12 ------------------- 06:37:12 stable info: 06:37:12 ------------------- 06:37:12 Commited By: Ginny Guan ginny@iotechsys.com 06:37:12 Commit SHA: b1c004cf40c352fe6d03b0971bc7ee860312a7b0 06:37:12 Message: update stable to v1.0.281 06:37:12 ------------------- 06:37:12 experimental info: 06:37:12 ------------------- 06:37:12 Commited By: **** collab-it+edgex@linuxfoundation.org 06:37:12 Commit SHA: b1c004cf40c352fe6d03b0971bc7ee860312a7b0 06:37:12 Message: update experimental to v1.0.281 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:37:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:37:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:37:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:37:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:37:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = palau [Pipeline] echo 06:37:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = palau [Pipeline] echo 06:37:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = palau [Pipeline] echo 06:37:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47eeda0b76c36ac554de4b74dce1a8513d2937ce [Pipeline] echo 06:37:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47eeda0 [Pipeline] echo 06:37:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:14 provisioning config files... 06:37:14 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_palau@tmp/config11928261799173066295tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:15 ---> ****-login.sh 06:37:15 nexus3.edgexfoundry.org:10001 06:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:15 06:37:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:37:15 Configure a credential helper to remove this warning. See 06:37:15 https://docs.****.com/go/credential-store/ 06:37:15 06:37:15 Login Succeeded 06:37:15 nexus3.edgexfoundry.org:10002 06:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:15 06:37:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:37:15 Configure a credential helper to remove this warning. See 06:37:15 https://docs.****.com/go/credential-store/ 06:37:15 06:37:15 Login Succeeded 06:37:15 nexus3.edgexfoundry.org:10003 06:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:15 06:37:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:37:15 Configure a credential helper to remove this warning. See 06:37:15 https://docs.****.com/go/credential-store/ 06:37:15 06:37:15 Login Succeeded 06:37:15 nexus3.edgexfoundry.org:10004 06:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:15 06:37:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:37:15 Configure a credential helper to remove this warning. See 06:37:15 https://docs.****.com/go/credential-store/ 06:37:15 06:37:15 Login Succeeded 06:37:15 ****.io 06:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:15 06:37:15 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 06:37:15 Configure a credential helper to remove this warning. See 06:37:15 https://docs.****.com/go/credential-store/ 06:37:15 06:37:15 Login Succeeded 06:37:15 ---> ****-login.sh ends [Pipeline] } 06:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 06:37:16 + git rev-list -1 --merges 47eeda0b76c36ac554de4b74dce1a8513d2937ce~1..47eeda0b76c36ac554de4b74dce1a8513d2937ce [Pipeline] echo 06:37:16 -----------> git rev-list -1 --merges 47eeda0b76c36ac554de4b74dce1a8513d2937ce~1..47eeda0b76c36ac554de4b74dce1a8513d2937ce 47eeda0b76c36ac554de4b74dce1a8513d2937ce [false] [Pipeline] sh 06:37:16 + git log --format=format:%s -1 47eeda0b76c36ac554de4b74dce1a8513d2937ce [Pipeline] echo 06:37:16 ========================================================= 06:37:16 [isLTSReleaseBuild] No build required. isLTSRelease: [true] 06:37:16 ========================================================= [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 06:37:17 [edgeX.isLTS] Checking if [palau] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^palau$, ^lts-test$]] [Pipeline] sh 06:37:17 + echo 0.0.0 [Pipeline] echo 06:37:17 [prepBaseBuildImage] Generating new image with name: device-sdk-c-builder-x86_64 [Pipeline] echo 06:37:17 [edgeX.isLTS] Checking if [palau] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^palau$, ^lts-test$]] [Pipeline] echo 06:37:17 ========================================================= 06:37:17 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts] 06:37:17 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:18 + 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 . 06:37:19 #0 building with "default" instance using docker driver 06:37:19 06:37:19 #1 [internal] load build definition from Dockerfile.alpine-base 06:37:19 #1 transferring dockerfile: 2.13kB done 06:37:19 #1 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 18) 06:37:19 #1 DONE 0.0s 06:37:19 06:37:19 #2 [internal] load metadata for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts 06:37:19 #2 DONE 0.1s 06:37:19 06:37:19 #3 [internal] load .dockerignore 06:37:19 #3 transferring context: 2B done 06:37:19 #3 DONE 0.0s 06:37:19 06:37:19 #4 [internal] load build context 06:37:19 #4 transferring context: 694.79kB 0.0s done 06:37:19 #4 DONE 0.1s 06:37:19 06:37:19 #5 [builder 1/12] FROM nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts@sha256:b18ea3d6655bca8321bc47a2d462380979833a9574db8212b385fd511e1c6302 06:37:19 #5 resolve nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base:gcc-lts@sha256:b18ea3d6655bca8321bc47a2d462380979833a9574db8212b385fd511e1c6302 0.0s done 06:37:19 #5 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 0.1s done 06:37:19 #5 sha256:45f96820a350bc5ff134eee18b2c33da3183da8af935a5cbc1ba4b51e5b778fc 2.76kB / 2.76kB done 06:37:19 #5 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 3.40MB / 3.40MB 0.1s done 06:37:19 #5 sha256:4f9bc52d1dc7ec5e3db381b3ffee4adf53c6edfdd431a6c70e1f8b019ff691b0 250B / 250B 0.0s done 06:37:19 #5 sha256:585e8d389ef7ded4f4913bc4460fffe4b374e851c1adddbbe96fdb724a247c32 3.15MB / 115.71MB 0.1s 06:37:19 #5 sha256:b18ea3d6655bca8321bc47a2d462380979833a9574db8212b385fd511e1c6302 948B / 948B done 06:37:19 #5 sha256:585e8d389ef7ded4f4913bc4460fffe4b374e851c1adddbbe96fdb724a247c32 32.51MB / 115.71MB 0.3s 06:37:19 #5 extracting sha256:4f9bc52d1dc7ec5e3db381b3ffee4adf53c6edfdd431a6c70e1f8b019ff691b0 done 06:37:19 #5 sha256:585e8d389ef7ded4f4913bc4460fffe4b374e851c1adddbbe96fdb724a247c32 80.74MB / 115.71MB 0.5s 06:37:19 #5 sha256:585e8d389ef7ded4f4913bc4460fffe4b374e851c1adddbbe96fdb724a247c32 115.71MB / 115.71MB 0.7s 06:37:20 #5 sha256:585e8d389ef7ded4f4913bc4460fffe4b374e851c1adddbbe96fdb724a247c32 115.71MB / 115.71MB 0.8s done 06:37:20 #5 extracting sha256:585e8d389ef7ded4f4913bc4460fffe4b374e851c1adddbbe96fdb724a247c32 0.1s 06:37:24 #5 extracting sha256:585e8d389ef7ded4f4913bc4460fffe4b374e851c1adddbbe96fdb724a247c32 3.6s done 06:37:24 #5 DONE 4.6s 06:37:24 06:37:24 #6 [builder 2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 06:37:24 #6 0.251 Connecting to iotech.jfrog.io (54.73.4.50:443) 06:37:24 #6 0.683 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:37:24 #6 0.683 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:37:24 #6 0.683 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:37:25 #6 DONE 1.5s 06:37:25 06:37:25 #7 [builder 3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main' >> /etc/apk/repositories 06:37:25 #7 DONE 0.2s 06:37:25 06:37:25 #8 [stage-1 4/8] 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.6 dumb-init 06:37:25 #8 0.344 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:37:26 #8 0.859 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:37:26 #8 1.117 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz 06:37:27 #8 1.626 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:37:27 #8 1.632 (1/11) Installing libpsl (0.21.5-r0) 06:37:27 #8 1.771 (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 06:37:27 #8 1.935 (3/11) Installing curl (8.12.1-r0) 06:37:27 #8 2.144 (4/11) Installing libpsl-utils (0.21.5-r0) 06:37:27 #8 2.277 (5/11) Installing libpsl-dev (0.21.5-r0) 06:37:27 #8 2.433 (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 06:37:28 #8 2.585 (7/11) Installing dumb-init (1.2.5-r2) 06:37:28 #8 2.754 (8/11) Installing libcbor (0.10.2-r1) 06:37:28 #8 2.923 (9/11) Installing iotech-iot-1.6 (1.6.3-r0) 06:37:28 #8 3.308 (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.162-r0) 06:37:29 #8 3.605 (11/11) Installing libuuid (2.38.1-r8) 06:37:29 #8 3.742 Executing busybox-1.36.1-r2.trigger 06:37:29 #8 3.751 OK: 332 MiB in 91 packages 06:37:29 #8 DONE 3.9s 06:37:29 06:37:29 #9 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.6-dev 06:37:29 #9 0.347 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:37:29 #9 0.864 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:37:29 #9 1.178 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz 06:37:29 #9 1.673 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:37:29 #9 1.679 (1/15) Installing libcbor (0.10.2-r1) 06:37:29 #9 1.850 (2/15) Installing iotech-iot-1.6 (1.6.3-r0) 06:37:29 #9 2.221 (3/15) Installing iotech-iot-1.6-dev (1.6.3-r0) 06:37:29 #9 2.326 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.162-r0) 06:37:29 #9 2.615 (5/15) Installing libcbor-dev (0.10.2-r1) 06:37:29 #9 2.763 (6/15) Installing libmenuw (6.4_p20230506-r0) 06:37:29 #9 2.902 (7/15) Installing libpanelw (6.4_p20230506-r0) 06:37:29 #9 3.052 (8/15) Installing libncurses++ (6.4_p20230506-r0) 06:37:29 #9 3.193 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 06:37:29 #9 3.386 (10/15) Installing libblkid (2.38.1-r8) 06:37:29 #9 3.549 (11/15) Installing libuuid (2.38.1-r8) 06:37:29 #9 3.728 (12/15) Installing libfdisk (2.38.1-r8) 06:37:29 #9 3.943 (13/15) Installing libmount (2.38.1-r8) 06:37:29 #9 4.124 (14/15) Installing libsmartcols (2.38.1-r8) 06:37:30 #9 4.321 (15/15) Installing util-linux-dev (2.38.1-r8) 06:37:30 #9 5.064 Executing busybox-1.36.1-r2.trigger 06:37:30 #9 5.073 OK: 337 MiB in 97 packages 06:37:30 #9 DONE 5.2s 06:37:30 06:37:30 #10 [stage-1 5/8] RUN apk --no-cache upgrade 06:37:30 #10 0.262 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:37:30 #10 0.440 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:37:30 #10 0.757 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz 06:37:30 #10 1.240 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:37:30 #10 1.247 Upgrading critical system libraries and apk-tools: 06:37:30 #10 1.247 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 06:37:30 #10 1.470 Executing busybox-1.36.1-r2.trigger 06:37:30 #10 ... 06:37:30 06:37:30 #11 [builder 5/12] RUN mkdir /tmp/sdk 06:37:30 #11 DONE 0.3s 06:37:30 06:37:30 #10 [stage-1 5/8] RUN apk --no-cache upgrade 06:37:30 #10 1.516 Continuing the upgrade transaction with new apk-tools: 06:37:30 #10 1.521 fetch https://nl.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:37:31 #10 ... 06:37:31 06:37:31 #12 [builder 6/12] COPY VERSION /tmp/sdk 06:37:31 #12 DONE 0.1s 06:37:31 06:37:31 #10 [stage-1 5/8] RUN apk --no-cache upgrade 06:37:31 #10 1.710 fetch https://nl.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:37:31 #10 ... 06:37:31 06:37:31 #13 [builder 7/12] COPY src /tmp/sdk/src 06:37:31 #13 DONE 0.1s 06:37:31 06:37:31 #14 [builder 8/12] COPY include /tmp/sdk/include 06:37:31 #14 DONE 0.0s 06:37:31 06:37:31 #15 [builder 9/12] COPY scripts /tmp/sdk/scripts 06:37:31 #15 DONE 0.0s 06:37:31 06:37:31 #16 [builder 10/12] COPY LICENSE /tmp/sdk 06:37:31 #16 DONE 0.0s 06:37:31 06:37:31 #17 [builder 11/12] COPY Attribution.txt /tmp/sdk 06:37:31 #17 DONE 0.0s 06:37:31 06:37:31 #18 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:37:31 #18 0.220 + CPPCHECK=false 06:37:31 #18 0.220 + DOCGEN=false 06:37:31 #18 0.220 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 06:37:31 #18 0.220 + '[' 0 -gt 0 ] 06:37:31 #18 0.221 + readlink -f ./scripts/build.sh 06:37:31 #18 0.221 + dirname /tmp/sdk/scripts/build.sh 06:37:31 #18 0.222 + dirname /tmp/sdk/scripts 06:37:31 #18 0.223 + ROOT=/tmp/sdk 06:37:31 #18 0.223 + cd /tmp/sdk 06:37:31 #18 0.223 + mkdir -p /tmp/sdk/build/release 06:37:31 #18 0.226 + cd /tmp/sdk/build/release 06:37:31 #18 0.226 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 06:37:31 #18 0.308 -- The C compiler identification is GNU 12.2.1 06:37:31 #18 0.324 -- Detecting C compiler ABI info 06:37:31 #18 0.403 -- Detecting C compiler ABI info - done 06:37:31 #18 0.421 -- Check for working C compiler: /usr/bin/cc - skipped 06:37:31 #18 0.421 -- Detecting C compile features 06:37:31 #18 0.422 -- Detecting C compile features - done 06:37:31 #18 0.426 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:37:31 #18 0.471 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:37:31 #18 0.474 -- Found LIBYAML: /usr/lib/libyaml.so 06:37:31 #18 0.478 -- Found LIBUUID: /usr/lib/libuuid.so 06:37:31 #18 0.481 -- Found LIBCBOR: /usr/lib/libcbor.so 06:37:31 #18 0.484 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:37:31 #18 0.487 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so 06:37:31 #18 0.487 -- /opt/iotech/iot/1.6/include 06:37:31 #18 0.487 -- C SDK 0.0.0 for Linux 06:37:31 #18 0.490 -- Performing Test CSDK_HAVE_ATOMIC 06:37:31 #18 0.571 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:37:31 #18 0.616 -- Found Curses: /usr/lib/libcurses.so 06:37:31 #18 0.638 -- Configuring done (0.4s) 06:37:31 #18 0.668 -- Generating done (0.0s) 06:37:31 #18 0.670 -- Build files have been written to: /tmp/sdk/build/release 06:37:31 #18 0.674 + make all package 06:37:32 #18 0.674 + tee release.log 06:37:32 #18 0.702 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:37:32 #18 0.840 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:37:32 #18 1.000 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:37:32 Still waiting to schedule task 06:37:32 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:37:32 #18 1.147 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:37:32 #18 1.243 [ 9%] Building C object c/CMakeFiles/csdk.dir/command.c.o 06:37:32 #18 1.287 /tmp/sdk/src/c/command.c: In function 'devsdk_devicecorecommand_populate': 06:37:32 #18 1.287 /tmp/sdk/src/c/command.c:218:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:37:32 #18 1.287 218 | iot_data_t* cc_src_vector=iot_data_string_map_get_vector(map,"coreCommands"); 06:37:32 #18 1.287 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:37:32 #18 1.383 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:37:32 #18 1.703 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:37:32 #18 1.736 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:37:33 #18 1.877 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:37:33 #18 2.172 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:37:33 #18 2.264 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:37:33 #18 2.400 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:37:33 #18 2.524 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:37:33 #18 2.616 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:37:34 #18 2.795 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:37:34 #18 2.846 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:37:34 #18 3.177 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:37:34 #18 3.244 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:37:34 #18 3.480 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:37:35 #18 3.580 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:37:35 #18 3.792 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 06:37:35 #18 3.885 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:37:36 #18 4.906 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:37:36 #18 5.015 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:37:36 #18 5.087 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:37:36 #18 5.173 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:37:36 #18 5.229 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:37:36 #18 ... 06:37:36 06:37:36 #10 [stage-1 5/8] RUN apk --no-cache upgrade 06:37:36 #10 2.284 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz 06:37:36 #10 2.782 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:37:36 #10 2.789 (1/22) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 06:37:36 #10 2.958 (2/22) Upgrading busybox (1.36.1-r2 -> 1.36.1-r7) 06:37:36 #10 3.213 Executing busybox-1.36.1-r7.post-upgrade 06:37:36 #10 3.228 (3/22) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r7) 06:37:36 #10 3.347 (4/22) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 06:37:36 #10 3.566 (5/22) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 06:37:36 #10 3.772 (6/22) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 06:37:36 #10 4.002 (7/22) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r7) 06:37:36 #10 4.131 (8/22) Upgrading binutils (2.40-r7 -> 2.40-r8) 06:37:36 #10 4.471 (9/22) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 06:37:36 #10 4.690 (10/22) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) 06:37:36 #10 4.887 (11/22) Upgrading xz-libs (5.4.3-r0 -> 5.4.3-r1) 06:37:36 #10 5.042 (12/22) Upgrading libarchive (3.7.2-r0 -> 3.8.0-r0) 06:37:36 #10 5.274 (13/22) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 06:37:36 #10 5.443 (14/22) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 06:37:36 #10 5.689 (15/22) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 06:37:36 #10 5.909 (16/22) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r3) 06:37:36 #10 6.083 (17/22) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 06:37:36 #10 6.225 (18/22) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 06:37:36 #10 6.496 (19/22) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 06:37:36 #10 6.635 (20/22) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 06:37:36 #10 6.812 (21/22) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 06:37:36 #10 6.931 (22/22) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 06:37:36 #10 7.125 Executing busybox-1.36.1-r7.trigger 06:37:36 #10 7.130 Executing ca-certificates-20241121-r1.trigger 06:37:36 #10 7.176 OK: 332 MiB in 91 packages 06:37:36 #10 DONE 7.4s 06:37:36 06:37:36 #18 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:37:36 #18 5.466 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:37:37 #18 5.801 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:37:37 #18 5.873 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:37:37 #18 6.000 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:37:37 #18 6.089 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:37:37 #18 6.580 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:37:37 #18 6.693 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:37:38 #18 6.756 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:37:38 #18 6.868 [ 69%] Linking C shared library libcsdk.so 06:37:38 #18 6.919 [ 69%] Built target csdk 06:37:38 #18 6.940 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:37:38 #18 7.076 [ 73%] Linking C executable template 06:37:38 #18 7.104 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:38 #18 7.141 [ 73%] Built target template 06:37:38 #18 7.161 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:37:38 #18 7.253 [ 76%] Linking C executable device-counter 06:37:38 #18 7.278 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:38 #18 7.318 [ 76%] Built target device-counter 06:37:38 #18 7.334 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:37:38 #18 7.428 [ 80%] Linking C executable device-random 06:37:38 #18 7.452 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:38 #18 7.490 [ 80%] Built target device-random 06:37:38 #18 7.505 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:37:38 #18 7.582 [ 84%] Linking C executable device-gyro 06:37:38 #18 7.608 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:38 #18 7.648 [ 84%] Built target device-gyro 06:37:38 #18 7.665 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:37:38 #18 7.761 [ 88%] Linking C executable device-bitfields 06:37:39 #18 7.785 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:39 #18 7.825 [ 88%] Built target device-bitfields 06:37:39 #18 7.846 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:37:39 #18 7.996 [ 92%] Linking C executable template-discovery 06:37:39 #18 8.023 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:39 #18 8.063 [ 92%] Built target template-discovery 06:37:39 #18 8.078 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:37:39 #18 8.191 [ 96%] Linking C executable device-file 06:37:39 #18 8.213 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:39 #18 8.252 [ 96%] Built target device-file 06:37:39 #18 8.268 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:37:39 #18 8.363 [100%] Linking C executable device-terminal 06:37:39 #18 8.388 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:39 #18 8.424 [100%] Built target device-terminal 06:37:39 #18 8.441 Run CPack packaging tool... 06:37:39 #18 8.451 CPack: Create package using TGZ 06:37:39 #18 8.451 CPack: Install projects 06:37:39 #18 8.451 CPack: - Run preinstall target for: Csdk 06:37:39 #18 8.669 CPack: - Install project: Csdk [] 06:37:39 #18 8.677 CPack: Create package 06:37:39 #18 8.702 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 06:37:39 #18 8.703 + '[' false '=' true ] 06:37:39 #18 8.703 + '[' false '=' true ] 06:37:39 #18 8.703 + mkdir -p /tmp/sdk/build/debug 06:37:39 #18 8.704 + cd /tmp/sdk/build/debug 06:37:39 #18 8.704 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 06:37:39 #18 8.772 -- The C compiler identification is GNU 12.2.1 06:37:40 #18 8.788 -- Detecting C compiler ABI info 06:37:40 #18 8.877 -- Detecting C compiler ABI info - done 06:37:40 #18 8.898 -- Check for working C compiler: /usr/bin/cc - skipped 06:37:40 #18 8.898 -- Detecting C compile features 06:37:40 #18 8.899 -- Detecting C compile features - done 06:37:40 #18 8.902 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:37:40 #18 8.953 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:37:40 #18 8.956 -- Found LIBYAML: /usr/lib/libyaml.so 06:37:40 #18 8.959 -- Found LIBUUID: /usr/lib/libuuid.so 06:37:40 #18 8.962 -- Found LIBCBOR: /usr/lib/libcbor.so 06:37:40 #18 8.964 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:37:40 #18 8.966 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so 06:37:40 #18 8.967 -- /opt/iotech/iot/1.6/include 06:37:40 #18 8.967 -- C SDK 0.0.0 for Linux 06:37:40 #18 8.969 -- Performing Test CSDK_HAVE_ATOMIC 06:37:40 #18 9.051 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:37:40 #18 9.098 -- Found Curses: /usr/lib/libcurses.so 06:37:40 #18 9.118 -- Configuring done (0.4s) 06:37:40 #18 9.148 -- Generating done (0.0s) 06:37:40 #18 9.150 -- Build files have been written to: /tmp/sdk/build/debug 06:37:40 #18 9.154 + make 06:37:40 #18 9.154 + tee debug.log 06:37:40 #18 9.195 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:37:40 #18 9.274 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:37:40 #18 9.347 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:37:40 #18 9.426 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:37:40 #18 9.495 [ 9%] Building C object c/CMakeFiles/csdk.dir/command.c.o 06:37:40 #18 9.532 /tmp/sdk/src/c/command.c: In function 'devsdk_devicecorecommand_populate': 06:37:40 #18 9.532 /tmp/sdk/src/c/command.c:218:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:37:40 #18 9.532 218 | iot_data_t* cc_src_vector=iot_data_string_map_get_vector(map,"coreCommands"); 06:37:40 #18 9.532 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:37:40 #18 9.587 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:37:40 #18 9.697 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:37:40 #18 9.726 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:37:40 #18 9.801 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:37:41 #18 9.910 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:37:41 #18 9.968 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:37:41 #18 10.05 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:37:41 #18 10.12 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:37:41 #18 10.18 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:37:41 #18 10.25 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:37:41 #18 10.30 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:37:41 #18 10.43 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:37:41 #18 10.47 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:37:41 #18 10.57 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:37:41 #18 10.62 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:37:41 #18 10.74 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 06:37:42 #18 10.80 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:37:42 #18 10.99 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:37:42 #18 11.06 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:37:42 #18 11.11 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:37:42 #18 11.17 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:37:42 #18 11.22 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:37:42 #18 11.31 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:37:42 #18 11.54 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:37:42 #18 11.59 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:37:42 #18 11.66 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:37:42 #18 11.73 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:37:42 #18 11.89 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:37:43 #18 11.95 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:37:43 #18 12.01 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:37:43 #18 12.08 [ 69%] Linking C shared library libcsdk.so 06:37:43 #18 12.14 [ 69%] Built target csdk 06:37:43 #18 12.16 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:37:43 #18 12.22 [ 73%] Linking C executable template 06:37:43 #18 12.25 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:43 #18 12.29 [ 73%] Built target template 06:37:43 #18 12.31 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:37:43 #18 12.37 [ 76%] Linking C executable device-counter 06:37:43 #18 12.39 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:43 #18 12.43 [ 76%] Built target device-counter 06:37:43 #18 12.45 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:37:43 #18 12.50 [ 80%] Linking C executable device-random 06:37:43 #18 12.53 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:43 #18 12.57 [ 80%] Built target device-random 06:37:43 #18 12.59 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:37:43 #18 12.64 [ 84%] Linking C executable device-gyro 06:37:44 #18 12.67 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:44 #18 12.71 [ 84%] Built target device-gyro 06:37:44 #18 12.73 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:37:44 #18 12.79 [ 88%] Linking C executable device-bitfields 06:37:44 #18 12.81 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:44 #18 12.85 [ 88%] Built target device-bitfields 06:37:44 #18 12.87 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:37:44 #18 12.94 [ 92%] Linking C executable template-discovery 06:37:44 #18 12.96 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:44 #18 13.01 [ 92%] Built target template-discovery 06:37:44 #18 13.02 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:37:44 #18 13.09 [ 96%] Linking C executable device-file 06:37:44 #18 13.11 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:44 #18 13.15 [ 96%] Built target device-file 06:37:44 #18 13.17 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:37:44 #18 13.23 [100%] Linking C executable device-terminal 06:37:44 #18 13.26 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:37:44 #18 13.30 [100%] Built target device-terminal 06:37:44 #18 13.32 make: Entering directory '/tmp/sdk/build/release' 06:37:44 #18 13.37 [ 69%] Built target csdk 06:37:44 #18 13.38 [ 73%] Built target template 06:37:44 #18 13.40 [ 76%] Built target device-counter 06:37:44 #18 13.42 [ 80%] Built target device-random 06:37:44 #18 13.44 [ 84%] Built target device-gyro 06:37:44 #18 13.46 [ 88%] Built target device-bitfields 06:37:44 #18 13.48 [ 92%] Built target template-discovery 06:37:44 #18 13.50 [ 96%] Built target device-file 06:37:44 #18 13.52 [100%] Built target device-terminal 06:37:44 #18 13.53 Install the project... 06:37:44 #18 13.54 -- Install configuration: "Release" 06:37:44 #18 13.54 -- Installing: /usr/local/lib/libcsdk.so 06:37:44 #18 13.54 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 06:37:44 #18 13.54 -- Installing: /usr/local/include 06:37:44 #18 13.54 -- Installing: /usr/local/include/devsdk 06:37:44 #18 13.54 -- Installing: /usr/local/include/devsdk/devsdk.h 06:37:44 #18 13.54 -- Installing: /usr/local/include/devsdk/devsdk-base.h 06:37:44 #18 13.54 -- Installing: /usr/local/include/edgex 06:37:44 #18 13.54 -- Installing: /usr/local/include/edgex/edgex.h 06:37:44 #18 13.54 -- Installing: /usr/local/include/edgex/devices.h 06:37:44 #18 13.54 -- Installing: /usr/local/include/edgex/profiles.h 06:37:44 #18 13.54 -- Installing: /usr/local/include/edgex/edgex-base.h 06:37:44 #18 13.54 -- Installing: /usr/local/include/edgex/rest-server.h 06:37:44 #18 13.54 -- Installing: /usr/local/include/edgex/csdk-defs.h 06:37:44 #18 13.54 -- Installing: /usr/local/share/device-sdk-c/LICENSE 06:37:44 #18 13.54 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 06:37:44 #18 13.55 make: Leaving directory '/tmp/sdk/build/release' 06:37:44 #18 DONE 13.6s 06:37:44 06:37:44 #19 [stage-1 6/8] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 06:37:44 #19 DONE 0.0s 06:37:44 06:37:44 #20 [stage-1 7/8] COPY --from=builder /usr/local/lib /usr/local/lib 06:37:44 #20 DONE 0.0s 06:37:45 06:37:45 #21 [stage-1 8/8] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 06:37:45 #21 DONE 0.0s 06:37:45 06:37:45 #22 exporting to image 06:37:45 #22 exporting layers 06:37:45 #22 exporting layers 0.3s done 06:37:45 #22 writing image sha256:68197a021e4cd64b1724f2bd0ab882ce5aab73171e56b15c5a9e09a3099daea4 done 06:37:45 #22 naming to docker.io/library/device-sdk-c-builder-x86_64 done 06:37:45 #22 DONE 0.3s 06:37:45 06:37:45 1 warning found (use docker --debug to expand): 06:37:45  - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 18) [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:37:45 + + git log --pretty=%H %sgrep 06:37:45 ci(lts-release) 06:37:45 + head -n 1 06:37:45 + awk {print $1} [Pipeline] echo 06:37:46 [edgeXDocker.push] Tagging docker image device-sdk-c-builder-x86_64 with the following tags: 06:37:46 47eeda0b76c36ac554de4b74dce1a8513d2937ce 06:37:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:46 + docker tag device-sdk-c-builder-x86_64 nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:47eeda0b76c36ac554de4b74dce1a8513d2937ce [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:47 + docker push nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:47eeda0b76c36ac554de4b74dce1a8513d2937ce 06:37:47 The push refers to repository [nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64] 06:37:47 71a75032d2de: Preparing 06:37:47 08725f8bfb4e: Preparing 06:37:47 24a3ca1dce71: Preparing 06:37:47 006813346a02: Preparing 06:37:47 3d30fb0050c2: Preparing 06:37:47 16ac0effd59c: Preparing 06:37:47 c2a2685ab8c4: Preparing 06:37:47 9d94fa7f7201: Preparing 06:37:47 1a98914da975: Preparing 06:37:47 cc2447e1835a: Preparing 06:37:47 9d94fa7f7201: Waiting 06:37:47 16ac0effd59c: Waiting 06:37:47 c2a2685ab8c4: Waiting 06:37:47 1a98914da975: Waiting 06:37:47 cc2447e1835a: Waiting 06:37:47 24a3ca1dce71: Pushed 06:37:47 71a75032d2de: Pushed 06:37:47 08725f8bfb4e: Pushed 06:37:47 9d94fa7f7201: Layer already exists 06:37:47 1a98914da975: Layer already exists 06:37:47 16ac0effd59c: Pushed 06:37:47 cc2447e1835a: Layer already exists 06:37:47 c2a2685ab8c4: Pushed 06:37:47 3d30fb0050c2: Pushed 06:37:51 006813346a02: Pushed 06:37:51 47eeda0b76c36ac554de4b74dce1a8513d2937ce: digest: sha256:7d942a825504f688c373403cf7aa24f72b22c2ff752fc3bb8a9f7d6b06373e3f size: 2411 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:37:51 ===================================================== [Pipeline] echo 06:37:51 taggedImages: 06:37:51 - nexus3.edgexfoundry.org:10002/device-sdk-c-builder-x86_64:47eeda0b76c36ac554de4b74dce1a8513d2937ce [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:39:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13628 in /w/workspace/edgexfoundry_device-sdk-c_palau [Pipeline] { [Pipeline] checkout 06:39:15 Selected Git installation does not exist. Using Default 06:39:15 The recommended git tool is: NONE 06:39:20 using credential edgex-jenkins-ssh 06:39:20 Cloning the remote Git repository 06:39:20 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 06:39:20 > git init /w/workspace/edgexfoundry_device-sdk-c_palau # timeout=10 06:39:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 06:39:20 > git --version # timeout=10 06:39:20 > git --version # 'git version 2.25.1' 06:39:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:39:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 06:39:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:39:22 Avoid second fetch 06:39:22 Checking out Revision 47eeda0b76c36ac554de4b74dce1a8513d2937ce (palau) 06:39:22 > git config core.sparsecheckout # timeout=10 06:39:23 > git checkout -f 47eeda0b76c36ac554de4b74dce1a8513d2937ce # timeout=10 06:39:23 Commit message: "ci(lts-release): LTS release v4.0.2 @1b5e0fd" 06:39:23 > git --version # timeout=10 06:39:23 > git --version # 'git version 2.25.1' 06:39:23 fatal: bad object b1c004cf40c352fe6d03b0971bc7ee860312a7b0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:39:28 provisioning config files... 06:39:28 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_palau@tmp/config3651926246926814823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:29 ---> ****-login.sh 06:39:29 nexus3.edgexfoundry.org:10001 06:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:39:29 Configure a credential helper to remove this warning. See 06:39:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:39:29 06:39:29 Login Succeeded 06:39:29 nexus3.edgexfoundry.org:10002 06:39:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:39:29 Configure a credential helper to remove this warning. See 06:39:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:39:29 06:39:29 Login Succeeded 06:39:29 nexus3.edgexfoundry.org:10003 06:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:39:30 Configure a credential helper to remove this warning. See 06:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:39:30 06:39:30 Login Succeeded 06:39:30 nexus3.edgexfoundry.org:10004 06:39:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:39:30 Configure a credential helper to remove this warning. See 06:39:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:39:30 06:39:30 Login Succeeded 06:39:30 ****.io 06:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:39:31 Configure a credential helper to remove this warning. See 06:39:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:39:31 06:39:31 Login Succeeded 06:39:31 ---> ****-login.sh ends [Pipeline] } 06:39:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:39:31 [edgeX.isLTS] Checking if [palau] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^palau$, ^lts-test$]] [Pipeline] sh 06:39:31 + echo 0.0.0 [Pipeline] echo 06:39:31 [prepBaseBuildImage] Generating new image with name: device-sdk-c-builder-arm64 [Pipeline] echo 06:39:32 [edgeX.isLTS] Checking if [palau] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^palau$, ^lts-test$]] [Pipeline] echo 06:39:32 ========================================================= 06:39:32 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts] 06:39:32 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:32 + 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 . 06:39:32 Sending build context to Docker daemon 3.375MB 06:39:32 Step 1/22 : ARG BASE=alpine:3.22 06:39:32 Step 2/22 : FROM ${BASE} as builder 06:39:33 gcc-lts: Pulling from edgex-devops/edgex-gcc-base-arm64 06:39:33 579b34f0a95b: Pulling fs layer 06:39:33 b046b3a35be6: Pulling fs layer 06:39:33 2014ba793e07: Pulling fs layer 06:39:33 b046b3a35be6: Verifying Checksum 06:39:33 b046b3a35be6: Download complete 06:39:33 579b34f0a95b: Verifying Checksum 06:39:33 579b34f0a95b: Download complete 06:39:34 579b34f0a95b: Pull complete 06:39:34 b046b3a35be6: Pull complete 06:39:36 2014ba793e07: Download complete 06:39:48 2014ba793e07: Pull complete 06:39:48 Digest: sha256:b5906dbdf2aa12511e9e52d54665ccd7a12a762119da8971e0963525c2f84566 06:39:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-gcc-base-arm64:gcc-lts 06:39:48 ---> 4f4201145ecf 06:39:48 Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 06:39:48 ---> Running in 24446361e72d 06:39:48 Connecting to iotech.jfrog.io (34.247.22.236:443) 06:39:49 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:39:49 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:39:49 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:39:49 Removing intermediate container 24446361e72d 06:39:49 ---> ea89d62241e7 06:39:49 Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main' >> /etc/apk/repositories 06:39:50 ---> Running in 968fe1e13fe2 06:39:54 Removing intermediate container 968fe1e13fe2 06:39:54 ---> 28c60f4677f8 06:39:54 Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.6-dev 06:39:54 ---> Running in 640c27cf3686 06:39:54 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:39:55 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:39:56 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/aarch64/APKINDEX.tar.gz 06:39:57 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:39:57 (1/15) Installing libcbor (0.10.2-r1) 06:39:57 (2/15) Installing iotech-iot-1.6 (1.6.3-r0) 06:39:57 (3/15) Installing iotech-iot-1.6-dev (1.6.3-r0) 06:39:57 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.162-r0) 06:39:58 (5/15) Installing libcbor-dev (0.10.2-r1) 06:39:58 (6/15) Installing libmenuw (6.4_p20230506-r0) 06:39:59 (7/15) Installing libpanelw (6.4_p20230506-r0) 06:39:59 (8/15) Installing libncurses++ (6.4_p20230506-r0) 06:39:59 (9/15) Installing ncurses-dev (6.4_p20230506-r0) 06:39:59 (10/15) Installing libblkid (2.38.1-r8) 06:39:59 (11/15) Installing libuuid (2.38.1-r8) 06:40:00 (12/15) Installing libfdisk (2.38.1-r8) 06:40:00 (13/15) Installing libmount (2.38.1-r8) 06:40:00 (14/15) Installing libsmartcols (2.38.1-r8) 06:40:01 (15/15) Installing util-linux-dev (2.38.1-r8) 06:40:01 Executing busybox-1.36.1-r2.trigger 06:40:01 OK: 334 MiB in 97 packages 06:40:03 Removing intermediate container 640c27cf3686 06:40:03 ---> e21cf4184dc7 06:40:03 Step 6/22 : RUN mkdir /tmp/sdk 06:40:03 ---> Running in d9e9ea65bc97 06:40:07 Removing intermediate container d9e9ea65bc97 06:40:07 ---> 60d287964a17 06:40:07 Step 7/22 : COPY VERSION /tmp/sdk 06:40:07 ---> f2454614d811 06:40:07 Step 8/22 : COPY src /tmp/sdk/src 06:40:08 ---> 21b419aab292 06:40:08 Step 9/22 : COPY include /tmp/sdk/include 06:40:08 ---> 48c5a9eb2733 06:40:08 Step 10/22 : COPY scripts /tmp/sdk/scripts 06:40:08 ---> 46f4913bfc84 06:40:08 Step 11/22 : COPY LICENSE /tmp/sdk 06:40:09 ---> 4a58a6c2ceb1 06:40:09 Step 12/22 : COPY Attribution.txt /tmp/sdk 06:40:10 ---> a0e305190ffd 06:40:10 Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install 06:40:10 ---> Running in fe29622198ab 06:40:11 + CPPCHECK=false 06:40:11 + DOCGEN=false 06:40:11 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 06:40:11 + '[' 0 -gt 0 ] 06:40:11 + readlink -f ./scripts/build.sh 06:40:11 + dirname /tmp/sdk/scripts/build.sh 06:40:11 + dirname /tmp/sdk/scripts 06:40:11 + ROOT=/tmp/sdk 06:40:11 + cd /tmp/sdk 06:40:11 + mkdir -p /tmp/sdk/build/release 06:40:11 + cd /tmp/sdk/build/release 06:40:11 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src 06:40:11 -- The C compiler identification is GNU 12.2.1 06:40:11 -- Detecting C compiler ABI info 06:40:11 -- Detecting C compiler ABI info - done 06:40:11 -- Check for working C compiler: /usr/bin/cc - skipped 06:40:11 -- Detecting C compile features 06:40:11 -- Detecting C compile features - done 06:40:11 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:40:11 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:40:11 -- Found LIBYAML: /usr/lib/libyaml.so 06:40:11 -- Found LIBUUID: /usr/lib/libuuid.so 06:40:11 -- Found LIBCBOR: /usr/lib/libcbor.so 06:40:11 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:40:11 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so 06:40:11 -- /opt/iotech/iot/1.6/include 06:40:11 -- C SDK 0.0.0 for Linux 06:40:11 -- Performing Test CSDK_HAVE_ATOMIC 06:40:12 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:40:12 -- Found Curses: /usr/lib/libcurses.so 06:40:12 -- Configuring done (1.6s) 06:40:12 -- Generating done (0.2s) 06:40:12 -- Build files have been written to: /tmp/sdk/build/release 06:40:12 + make all package 06:40:12 + tee release.log 06:40:13 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:40:13 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:40:14 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:40:15 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:40:16 [ 9%] Building C object c/CMakeFiles/csdk.dir/command.c.o 06:40:16 /tmp/sdk/src/c/command.c: In function 'devsdk_devicecorecommand_populate': 06:40:16 /tmp/sdk/src/c/command.c:218:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:40:16 218 | iot_data_t* cc_src_vector=iot_data_string_map_get_vector(map,"coreCommands"); 06:40:16 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:40:17 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:40:19 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:40:19 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:40:20 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:40:22 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:40:22 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:40:23 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:40:24 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:40:24 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:40:25 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:40:26 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:40:28 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:40:28 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:40:30 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:40:30 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:40:32 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 06:40:32 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:40:38 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:40:39 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:40:39 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:40:40 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:40:40 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:40:42 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:40:43 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:40:44 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:40:45 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:40:45 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:40:50 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:40:50 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:40:50 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:40:51 [ 69%] Linking C shared library libcsdk.so 06:40:51 [ 69%] Built target csdk 06:40:51 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:40:52 [ 73%] Linking C executable template 06:40:52 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:40:52 [ 73%] Built target template 06:40:52 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:40:53 [ 76%] Linking C executable device-counter 06:40:53 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:40:53 [ 76%] Built target device-counter 06:40:53 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:40:54 [ 80%] Linking C executable device-random 06:40:54 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:40:54 [ 80%] Built target device-random 06:40:54 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:40:54 [ 84%] Linking C executable device-gyro 06:40:54 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:40:54 [ 84%] Built target device-gyro 06:40:55 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:40:55 [ 88%] Linking C executable device-bitfields 06:40:55 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:40:55 [ 88%] Built target device-bitfields 06:40:55 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:40:56 [ 92%] Linking C executable template-discovery 06:40:56 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:40:56 [ 92%] Built target template-discovery 06:40:57 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:40:57 [ 96%] Linking C executable device-file 06:40:57 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:40:58 [ 96%] Built target device-file 06:40:58 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:40:59 [100%] Linking C executable device-terminal 06:40:59 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:40:59 [100%] Built target device-terminal 06:40:59 Run CPack packaging tool... 06:40:59 CPack: Create package using TGZ 06:40:59 CPack: Install projects 06:40:59 CPack: - Run preinstall target for: Csdk 06:41:00 CPack: - Install project: Csdk [] 06:41:00 CPack: Create package 06:41:00 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. 06:41:00 + '[' false '=' true ] 06:41:00 + '[' false '=' true ] 06:41:00 + mkdir -p /tmp/sdk/build/debug 06:41:00 + cd /tmp/sdk/build/debug 06:41:00 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src 06:41:00 -- The C compiler identification is GNU 12.2.1 06:41:00 -- Detecting C compiler ABI info 06:41:00 -- Detecting C compiler ABI info - done 06:41:01 -- Check for working C compiler: /usr/bin/cc - skipped 06:41:01 -- Detecting C compile features 06:41:01 -- Detecting C compile features - done 06:41:01 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so 06:41:01 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") 06:41:01 -- Found LIBYAML: /usr/lib/libyaml.so 06:41:01 -- Found LIBUUID: /usr/lib/libuuid.so 06:41:01 -- Found LIBCBOR: /usr/lib/libcbor.so 06:41:01 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so 06:41:01 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so 06:41:01 -- /opt/iotech/iot/1.6/include 06:41:01 -- C SDK 0.0.0 for Linux 06:41:01 -- Performing Test CSDK_HAVE_ATOMIC 06:41:01 -- Performing Test CSDK_HAVE_ATOMIC - Success 06:41:01 -- Found Curses: /usr/lib/libcurses.so 06:41:01 -- Configuring done (1.6s) 06:41:02 -- Generating done (0.2s) 06:41:02 -- Build files have been written to: /tmp/sdk/build/debug 06:41:02 + make 06:41:02 + tee debug.log 06:41:02 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o 06:41:02 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o 06:41:02 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o 06:41:03 [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o 06:41:03 [ 9%] Building C object c/CMakeFiles/csdk.dir/command.c.o 06:41:04 /tmp/sdk/src/c/command.c: In function 'devsdk_devicecorecommand_populate': 06:41:04 /tmp/sdk/src/c/command.c:218:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 06:41:04 218 | iot_data_t* cc_src_vector=iot_data_string_map_get_vector(map,"coreCommands"); 06:41:04 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 06:41:04 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o 06:41:04 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o 06:41:05 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o 06:41:05 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o 06:41:06 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o 06:41:06 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o 06:41:06 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o 06:41:07 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o 06:41:07 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o 06:41:07 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o 06:41:07 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o 06:41:08 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o 06:41:08 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o 06:41:09 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o 06:41:09 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o 06:41:10 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o 06:41:10 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o 06:41:12 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o 06:41:12 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o 06:41:12 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o 06:41:12 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o 06:41:13 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o 06:41:13 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o 06:41:15 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o 06:41:15 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o 06:41:15 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o 06:41:15 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o 06:41:16 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o 06:41:17 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o 06:41:17 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o 06:41:17 [ 69%] Linking C shared library libcsdk.so 06:41:17 [ 69%] Built target csdk 06:41:18 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o 06:41:18 [ 73%] Linking C executable template 06:41:18 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:41:18 [ 73%] Built target template 06:41:18 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o 06:41:19 [ 76%] Linking C executable device-counter 06:41:19 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:41:19 [ 76%] Built target device-counter 06:41:19 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o 06:41:19 [ 80%] Linking C executable device-random 06:41:19 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:41:20 [ 80%] Built target device-random 06:41:20 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o 06:41:20 [ 84%] Linking C executable device-gyro 06:41:20 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:41:20 [ 84%] Built target device-gyro 06:41:20 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o 06:41:20 [ 88%] Linking C executable device-bitfields 06:41:21 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:41:21 [ 88%] Built target device-bitfields 06:41:21 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o 06:41:21 [ 92%] Linking C executable template-discovery 06:41:21 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:41:22 [ 92%] Built target template-discovery 06:41:22 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o 06:41:22 [ 96%] Linking C executable device-file 06:41:22 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:41:22 [ 96%] Built target device-file 06:41:22 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o 06:41:23 [100%] Linking C executable device-terminal 06:41:23 /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link) 06:41:23 [100%] Built target device-terminal 06:41:23 make: Entering directory '/tmp/sdk/build/release' 06:41:23 [ 69%] Built target csdk 06:41:23 [ 73%] Built target template 06:41:23 [ 76%] Built target device-counter 06:41:23 [ 80%] Built target device-random 06:41:23 [ 84%] Built target device-gyro 06:41:23 [ 88%] Built target device-bitfields 06:41:23 [ 92%] Built target template-discovery 06:41:24 [ 96%] Built target device-file 06:41:24 [100%] Built target device-terminal 06:41:24 Install the project... 06:41:24 -- Install configuration: "Release" 06:41:24 -- Installing: /usr/local/lib/libcsdk.so 06:41:24 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" 06:41:24 -- Installing: /usr/local/include 06:41:24 -- Installing: /usr/local/include/devsdk 06:41:24 -- Installing: /usr/local/include/devsdk/devsdk.h 06:41:24 -- Installing: /usr/local/include/devsdk/devsdk-base.h 06:41:24 -- Installing: /usr/local/include/edgex 06:41:24 -- Installing: /usr/local/include/edgex/rest-server.h 06:41:24 -- Installing: /usr/local/include/edgex/edgex.h 06:41:24 -- Installing: /usr/local/include/edgex/edgex-base.h 06:41:24 -- Installing: /usr/local/include/edgex/devices.h 06:41:24 -- Installing: /usr/local/include/edgex/profiles.h 06:41:24 -- Installing: /usr/local/include/edgex/csdk-defs.h 06:41:24 -- Installing: /usr/local/share/device-sdk-c/LICENSE 06:41:24 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt 06:41:24 make: Leaving directory '/tmp/sdk/build/release' 06:41:27 Removing intermediate container fe29622198ab 06:41:27 ---> bb6d82b21f84 06:41:27 Step 14/22 : FROM ${BASE} 06:41:27 ---> 4f4201145ecf 06:41:27 Step 15/22 : LABEL maintainer="IOTech " 06:41:27 ---> Running in e94412c6ceba 06:41:27 Removing intermediate container e94412c6ceba 06:41:27 ---> 9e91b5681359 06:41:27 Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 06:41:28 ---> Running in d4dcc01ffdc6 06:41:29 Connecting to iotech.jfrog.io (54.73.4.50:443) 06:41:29 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 06:41:29 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 06:41:29 '/etc/apk/keys/alpine.dev.rsa.pub' saved 06:41:29 Removing intermediate container d4dcc01ffdc6 06:41:29 ---> b9fce4130936 06:41:29 Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main' >> /etc/apk/repositories 06:41:30 ---> Running in a460744fa9a3 06:41:32 Removing intermediate container a460744fa9a3 06:41:32 ---> 16ae78fc35cb 06:41:32 Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.6 dumb-init 06:41:32 ---> Running in 31f2dab620a4 06:41:32 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:41:33 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:41:33 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/aarch64/APKINDEX.tar.gz 06:41:34 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:41:34 (1/11) Installing libpsl (0.21.5-r0) 06:41:35 (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0) 06:41:35 (3/11) Installing curl (8.12.1-r0) 06:41:35 (4/11) Installing libpsl-utils (0.21.5-r0) 06:41:35 (5/11) Installing libpsl-dev (0.21.5-r0) 06:41:36 (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0) 06:41:36 (7/11) Installing dumb-init (1.2.5-r2) 06:41:36 (8/11) Installing libcbor (0.10.2-r1) 06:41:36 (9/11) Installing iotech-iot-1.6 (1.6.3-r0) 06:41:38 (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.162-r0) 06:41:39 (11/11) Installing libuuid (2.38.1-r8) 06:41:39 Executing busybox-1.36.1-r2.trigger 06:41:39 OK: 329 MiB in 91 packages 06:41:41 Removing intermediate container 31f2dab620a4 06:41:41 ---> 656b9f7b37bc 06:41:41 Step 19/22 : RUN apk --no-cache upgrade 06:41:41 ---> Running in b0b94c42cf25 06:41:42 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:41:43 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:41:43 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/aarch64/APKINDEX.tar.gz 06:41:44 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:41:44 Upgrading critical system libraries and apk-tools: 06:41:44 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 06:41:44 Executing busybox-1.36.1-r2.trigger 06:41:45 Continuing the upgrade transaction with new apk-tools: 06:41:45 fetch https://nl.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:41:45 fetch https://nl.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:41:46 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/aarch64/APKINDEX.tar.gz 06:41:46 WARNING: This apk-tools is OLD! Some packages might not function properly. 06:41:46 (1/22) Upgrading musl (1.2.4-r2 -> 1.2.4-r3) 06:41:47 (2/22) Upgrading busybox (1.36.1-r2 -> 1.36.1-r7) 06:41:47 Executing busybox-1.36.1-r7.post-upgrade 06:41:47 (3/22) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r7) 06:41:47 (4/22) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1) 06:41:47 (5/22) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0) 06:41:48 (6/22) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0) 06:41:48 (7/22) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r7) 06:41:48 (8/22) Upgrading binutils (2.40-r7 -> 2.40-r8) 06:41:49 (9/22) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3) 06:41:50 (10/22) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0) 06:41:50 (11/22) Upgrading xz-libs (5.4.3-r0 -> 5.4.3-r1) 06:41:50 (12/22) Upgrading libarchive (3.7.2-r0 -> 3.8.0-r0) 06:41:50 (13/22) Upgrading ca-certificates (20230506-r0 -> 20241121-r1) 06:41:51 (14/22) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0) 06:41:51 (15/22) Upgrading git (2.40.1-r0 -> 2.40.4-r0) 06:41:52 (16/22) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r3) 06:41:52 (17/22) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0) 06:41:52 (18/22) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) 06:41:53 (19/22) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) 06:41:53 (20/22) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0) 06:41:53 (21/22) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0) 06:41:53 (22/22) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) 06:41:53 Executing busybox-1.36.1-r7.trigger 06:41:53 Executing ca-certificates-20241121-r1.trigger 06:41:54 OK: 329 MiB in 91 packages 06:41:56 Removing intermediate container b0b94c42cf25 06:41:56 ---> d3cfa65d4dc3 06:41:56 Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex 06:41:57 ---> 6c26ca40b56e 06:41:57 Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib 06:41:57 ---> 384a8a01df2c 06:41:57 Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c 06:41:58 ---> 1054fd0f393a 06:41:58 Successfully built 1054fd0f393a 06:41:58 Successfully tagged device-sdk-c-builder-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:41:58 + head -n 1 06:41:58 + git log --pretty=%H %s 06:41:58 + awk {print $1} 06:41:58 + grep ci(lts-release) [Pipeline] echo 06:41:59 [edgeXDocker.push] Tagging docker image device-sdk-c-builder-arm64 with the following tags: 06:41:59 47eeda0b76c36ac554de4b74dce1a8513d2937ce 06:41:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:59 + docker tag device-sdk-c-builder-arm64 nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:47eeda0b76c36ac554de4b74dce1a8513d2937ce [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:00 + docker push nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:47eeda0b76c36ac554de4b74dce1a8513d2937ce 06:42:00 The push refers to repository [nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64] 06:42:00 c8111bb818bb: Preparing 06:42:00 57b20e55cc01: Preparing 06:42:00 d4c128f04889: Preparing 06:42:00 85875e646ea6: Preparing 06:42:00 ebc5a51c7b5c: Preparing 06:42:00 654d83042f63: Preparing 06:42:00 862111eb8382: Preparing 06:42:00 7516a9d68dc0: Preparing 06:42:00 fbbef3d89ef9: Preparing 06:42:00 5f4d9fc4d98d: Preparing 06:42:00 654d83042f63: Waiting 06:42:00 862111eb8382: Waiting 06:42:00 7516a9d68dc0: Waiting 06:42:00 fbbef3d89ef9: Waiting 06:42:00 5f4d9fc4d98d: Waiting 06:42:00 d4c128f04889: Pushed 06:42:00 c8111bb818bb: Pushed 06:42:00 57b20e55cc01: Pushed 06:42:00 7516a9d68dc0: Layer already exists 06:42:00 654d83042f63: Pushed 06:42:00 862111eb8382: Pushed 06:42:00 fbbef3d89ef9: Layer already exists 06:42:00 5f4d9fc4d98d: Layer already exists 06:42:01 ebc5a51c7b5c: Pushed 06:42:09 85875e646ea6: Pushed 06:42:09 47eeda0b76c36ac554de4b74dce1a8513d2937ce: digest: sha256:81edc968d93c47c3630443954af779e17dbb00a3bc98f19e03bb2e818f25214f size: 2411 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:42:09 ===================================================== [Pipeline] echo 06:42:09 taggedImages: 06:42:09 - nexus3.edgexfoundry.org:10002/device-sdk-c-builder-arm64:47eeda0b76c36ac554de4b74dce1a8513d2937ce [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 06:42:10 + git rev-list -1 --merges 47eeda0b76c36ac554de4b74dce1a8513d2937ce~1..47eeda0b76c36ac554de4b74dce1a8513d2937ce [Pipeline] echo 06:42:10 -----------> git rev-list -1 --merges 47eeda0b76c36ac554de4b74dce1a8513d2937ce~1..47eeda0b76c36ac554de4b74dce1a8513d2937ce 47eeda0b76c36ac554de4b74dce1a8513d2937ce [false] [Pipeline] sh 06:42:11 + git log --format=format:%s -1 47eeda0b76c36ac554de4b74dce1a8513d2937ce [Pipeline] echo 06:42:11 ========================================================= 06:42:11 [isLTSReleaseBuild] No build required. isLTSRelease: [true] 06:42:11 ========================================================= Stage "Build Check" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Build Check" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build Check" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Prep) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Build) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Docker Push) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) Stage "amd64" skipped due to when conditional [Pipeline] getContext [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] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Build Check" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Build Check" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:42:14 + [ -d /w/workspace/edgexfoundry_device-sdk-c_palau/archives ] [Pipeline] libraryResource [Pipeline] sh 06:42:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:42:15 ---> package-listing.sh 06:42:15 ++ facter osfamily 06:42:15 ++ tr '[:upper:]' '[:lower:]' 06:42:16 + OS_FAMILY=debian 06:42:16 + workspace=/w/workspace/edgexfoundry_device-sdk-c_palau 06:42:16 + START_PACKAGES=/tmp/packages_start.txt 06:42:16 + END_PACKAGES=/tmp/packages_end.txt 06:42:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:42:16 + PACKAGES=/tmp/packages_start.txt 06:42:16 + '[' /w/workspace/edgexfoundry_device-sdk-c_palau ']' 06:42:16 + PACKAGES=/tmp/packages_end.txt 06:42:16 + case "${OS_FAMILY}" in 06:42:16 + dpkg -l 06:42:16 + grep '^ii' 06:42:16 + '[' -f /tmp/packages_start.txt ']' 06:42:16 + '[' -f /tmp/packages_end.txt ']' 06:42:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:42:16 + '[' /w/workspace/edgexfoundry_device-sdk-c_palau ']' 06:42:16 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_palau/archives/ 06:42:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_palau/archives/ [Pipeline] echo 06:42:16 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_palau/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:42:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:42:17 06:42:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:42:17 latest: Pulling from edgex-lftools-log-publisher 06:42:17 5eb5b503b376: Pulling fs layer 06:42:17 5c69ac0246d0: Pulling fs layer 06:42:17 ec43610c2a17: Pulling fs layer 06:42:17 3a2ae6a8a46f: Pulling fs layer 06:42:17 33b1e0a273af: Pulling fs layer 06:42:17 5d3b04190fa2: Pulling fs layer 06:42:17 2f39f015ded8: Pulling fs layer 06:42:17 33b1e0a273af: Waiting 06:42:17 5d3b04190fa2: Waiting 06:42:17 2f39f015ded8: Waiting 06:42:17 3a2ae6a8a46f: Waiting 06:42:17 5c69ac0246d0: Verifying Checksum 06:42:17 5c69ac0246d0: Download complete 06:42:17 3a2ae6a8a46f: Verifying Checksum 06:42:17 3a2ae6a8a46f: Download complete 06:42:17 33b1e0a273af: Verifying Checksum 06:42:17 33b1e0a273af: Download complete 06:42:17 5d3b04190fa2: Verifying Checksum 06:42:17 5d3b04190fa2: Download complete 06:42:17 ec43610c2a17: Verifying Checksum 06:42:17 ec43610c2a17: Download complete 06:42:17 5eb5b503b376: Verifying Checksum 06:42:17 5eb5b503b376: Download complete 06:42:18 2f39f015ded8: Verifying Checksum 06:42:18 2f39f015ded8: Download complete 06:42:19 5eb5b503b376: Pull complete 06:42:19 5c69ac0246d0: Pull complete 06:42:19 ec43610c2a17: Pull complete 06:42:19 3a2ae6a8a46f: Pull complete 06:42:20 33b1e0a273af: Pull complete 06:42:20 5d3b04190fa2: Pull complete 06:42:25 2f39f015ded8: Pull complete 06:42:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:42:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:42:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:25 prd-ubuntu20.04-docker-8c-8g-13627 does not seem to be running inside a container 06:42:25 $ 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_palau/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_palau -v /w/workspace/edgexfoundry_device-sdk-c_palau:/w/workspace/edgexfoundry_device-sdk-c_palau:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_palau@tmp:/w/workspace/edgexfoundry_device-sdk-c_palau@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 06:42:27 $ docker top f2484d6f7e0c03d0fcb8e23404c3ff851a5c121f6dd4185e5ba899c3a52eff57 -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:27 + touch /tmp/pre-build-complete [Pipeline] sh 06:42:27 + mkdir -p /var/log/sysstat [Pipeline] sh 06:42:28 + ls /var/log/sa-host 06:42:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:42:28 provisioning config files... 06:42:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_palau@tmp/config4570326477543684332tmp [Pipeline] { [Pipeline] echo 06:42:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:42:28 ---> create-netrc.sh [Pipeline] } 06:42:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:42:29 ---> python-tools-install.sh [Pipeline] echo 06:42:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:42:29 ---> sudo-logs.sh 06:42:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:42:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:42:30 ---> job-cost.sh 06:42:30 lf-activate-venv: SKIPPING 06:42:30 INFO: No Stack... 06:42:30 INFO: Retrieving Pricing Info for: v3-standard-8 06:42:30 INFO: Archiving Costs [Pipeline] echo 06:42:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:42:31 ---> logs-deploy.sh 06:42:31 lf-activate-venv: SKIPPING 06:42:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/palau/1 06:42:31 INFO: archiving workspace using pattern(s): 06:42:31 Archives upload complete. 06:42:31 INFO: archiving logs to Nexus 06:42:32 ---> uname -a: 06:42:32 Linux prd-ubuntu20-04-docker-8c-8g-13627 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 GNU/Linux 06:42:32 06:42:32 06:42:32 ---> lscpu: 06:42:32 Architecture: x86_64 06:42:32 CPU op-mode(s): 32-bit, 64-bit 06:42:32 Byte Order: Little Endian 06:42:32 Address sizes: 40 bits physical, 48 bits virtual 06:42:32 CPU(s): 8 06:42:32 On-line CPU(s) list: 0-7 06:42:32 Thread(s) per core: 1 06:42:32 Core(s) per socket: 1 06:42:32 Socket(s): 8 06:42:32 NUMA node(s): 1 06:42:32 Vendor ID: AuthenticAMD 06:42:32 CPU family: 23 06:42:32 Model: 49 06:42:32 Model name: AMD EPYC-Rome Processor 06:42:32 Stepping: 0 06:42:32 CPU MHz: 2799.998 06:42:32 BogoMIPS: 5599.99 06:42:32 Virtualization: AMD-V 06:42:32 Hypervisor vendor: KVM 06:42:32 Virtualization type: full 06:42:32 L1d cache: 256 KiB 06:42:32 L1i cache: 256 KiB 06:42:32 L2 cache: 4 MiB 06:42:32 L3 cache: 128 MiB 06:42:32 NUMA node0 CPU(s): 0-7 06:42:32 Vulnerability Gather data sampling: Not affected 06:42:32 Vulnerability Itlb multihit: Not affected 06:42:32 Vulnerability L1tf: Not affected 06:42:32 Vulnerability Mds: Not affected 06:42:32 Vulnerability Meltdown: Not affected 06:42:32 Vulnerability Mmio stale data: Not affected 06:42:32 Vulnerability Retbleed: Vulnerable 06:42:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:42:32 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 06:42:32 Vulnerability Spectre v2: Mitigation; Retpolines; IBPB conditional; IBRS_FW; STIBP disabled; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected 06:42:32 Vulnerability Srbds: Not affected 06:42:32 Vulnerability Tsx async abort: Not affected 06:42:32 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 06:42:32 06:42:32 06:42:32 ---> nproc: 06:42:32 8 06:42:32 06:42:32 06:42:32 ---> df -h: 06:42:32 Filesystem Size Used Avail Use% Mounted on 06:42:32 overlay 155G 11G 145G 7% / 06:42:32 tmpfs 64M 0 64M 0% /dev 06:42:32 tmpfs 16G 0 16G 0% /sys/fs/cgroup 06:42:32 shm 64M 0 64M 0% /dev/shm 06:42:32 /dev/vda1 155G 11G 145G 7% /facter-os 06:42:32 06:42:32 06:42:32 ---> sar -b -r -n DEV: 06:42:32 Linux 5.4.0-216-generic (prd-ubuntu20-04-docker-8c-8g-13627) 06/22/26 _x86_64_ (8 CPU) 06:42:32 06:42:32 06:36:32 LINUX RESTART (8 CPU) 06:42:32 06:42:32 06:37:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 06:42:32 06:38:01 390.82 19.38 371.44 0.00 2854.99 22085.52 0.00 06:42:32 06:39:01 3.33 0.00 3.33 0.00 0.00 37.21 0.00 06:42:32 06:40:01 0.90 0.02 0.88 0.00 3.87 10.66 0.00 06:42:32 06:41:01 1.13 0.00 1.13 0.00 0.00 13.60 0.00 06:42:32 06:42:01 14.08 2.27 11.81 0.00 2008.20 2561.17 0.00 06:42:32 Average: 82.05 4.33 77.72 0.00 973.41 4941.63 0.00 06:42:32 06:42:32 06:37:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:42:32 06:38:01 29430560 31537584 781916 2.38 71496 2341148 1661984 4.90 1122968 1976492 632 06:42:32 06:39:01 29431556 31538696 780364 2.37 71584 2341152 1661984 4.90 1122368 1976456 164 06:42:32 06:40:01 29441400 31548732 770304 2.34 71624 2341268 1661984 4.90 1112780 1976568 24 06:42:32 06:41:01 29443396 31550724 768440 2.34 71656 2341272 1661984 4.90 1110724 1976572 196 06:42:32 06:42:01 29293800 31530652 779736 2.37 73444 2466956 1709824 5.04 1188040 2033520 312 06:42:32 Average: 29408142 31541278 776152 2.36 71961 2366359 1671552 4.93 1131376 1987922 266 06:42:32 06:42:32 06:37:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:42:32 06:38:01 lo 4.47 4.47 0.44 0.44 0.00 0.00 0.00 0.00 06:42:32 06:38:01 docker0 64.87 74.22 3.93 430.78 0.00 0.00 0.00 0.00 06:42:32 06:38:01 ens3 399.18 273.35 2720.26 344.72 0.00 0.00 0.00 0.00 06:42:32 06:39:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:42:32 06:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:39:01 ens3 1.03 0.55 0.10 0.05 0.00 0.00 0.00 0.00 06:42:32 06:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:40:01 ens3 0.95 0.55 0.67 0.29 0.00 0.00 0.00 0.00 06:42:32 06:41:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 06:42:32 06:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:41:01 ens3 0.20 0.13 0.02 0.01 0.00 0.00 0.00 0.00 06:42:32 06:42:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 06:42:32 06:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 06:42:32 06:42:01 ens3 37.14 17.51 715.78 1.53 0.00 0.00 0.00 0.00 06:42:32 Average: lo 1.03 1.03 0.10 0.10 0.00 0.00 0.00 0.00 06:42:32 Average: docker0 12.97 14.84 0.79 86.16 0.00 0.00 0.00 0.00 06:42:32 Average: ens3 87.70 58.42 687.37 69.32 0.00 0.00 0.00 0.00 06:42:32 06:42:32 06:42:32 ---> sar -P ALL: 06:42:32 Linux 5.4.0-216-generic (prd-ubuntu20-04-docker-8c-8g-13627) 06/22/26 _x86_64_ (8 CPU) 06:42:32 06:42:32 06:36:32 LINUX RESTART (8 CPU) 06:42:32 06:42:32 06:37:01 CPU %user %nice %system %iowait %steal %idle 06:42:32 06:38:01 all 8.37 0.00 2.08 1.12 0.05 88.38 06:42:32 06:38:01 0 7.60 0.00 1.93 0.18 0.05 90.23 06:42:32 06:38:01 1 7.26 0.00 1.93 1.19 0.05 89.58 06:42:32 06:38:01 2 10.66 0.00 2.91 0.18 0.05 86.19 06:42:32 06:38:01 3 6.34 0.00 1.76 1.78 0.07 90.05 06:42:32 06:38:01 4 7.72 0.00 1.82 0.50 0.05 89.91 06:42:32 06:38:01 5 9.08 0.00 2.84 3.68 0.05 84.35 06:42:32 06:38:01 6 8.64 0.00 1.83 1.27 0.05 88.21 06:42:32 06:38:01 7 9.63 0.00 1.62 0.20 0.07 88.49 06:42:32 06:39:01 all 0.05 0.00 0.01 0.01 0.01 99.91 06:42:32 06:39:01 0 0.02 0.00 0.02 0.07 0.02 99.88 06:42:32 06:39:01 1 0.07 0.00 0.05 0.00 0.03 99.85 06:42:32 06:39:01 2 0.03 0.00 0.00 0.00 0.00 99.97 06:42:32 06:39:01 3 0.00 0.00 0.00 0.05 0.00 99.95 06:42:32 06:39:01 4 0.05 0.00 0.00 0.00 0.02 99.93 06:42:32 06:39:01 5 0.03 0.00 0.03 0.00 0.02 99.92 06:42:32 06:39:01 6 0.00 0.00 0.02 0.00 0.02 99.97 06:42:32 06:39:01 7 0.18 0.00 0.00 0.00 0.00 99.82 06:42:32 06:40:01 all 0.03 0.00 0.01 0.00 0.00 99.96 06:42:32 06:40:01 0 0.00 0.00 0.00 0.00 0.00 100.00 06:42:32 06:40:01 1 0.05 0.00 0.02 0.00 0.02 99.92 06:42:32 06:40:01 2 0.00 0.00 0.00 0.00 0.00 100.00 06:42:32 06:40:01 3 0.02 0.00 0.02 0.02 0.00 99.95 06:42:32 06:40:01 4 0.07 0.00 0.00 0.00 0.00 99.93 06:42:32 06:40:01 5 0.03 0.00 0.00 0.00 0.00 99.97 06:42:32 06:40:01 6 0.02 0.00 0.00 0.00 0.00 99.98 06:42:32 06:40:01 7 0.05 0.00 0.02 0.00 0.02 99.92 06:42:32 06:41:01 all 0.01 0.00 0.02 0.00 0.01 99.96 06:42:32 06:41:01 0 0.00 0.00 0.00 0.00 0.00 100.00 06:42:32 06:41:01 1 0.03 0.00 0.03 0.00 0.02 99.92 06:42:32 06:41:01 2 0.00 0.00 0.00 0.00 0.02 99.98 06:42:32 06:41:01 3 0.00 0.00 0.03 0.03 0.02 99.92 06:42:32 06:41:01 4 0.02 0.00 0.03 0.00 0.02 99.93 06:42:32 06:41:01 5 0.00 0.00 0.00 0.00 0.00 100.00 06:42:32 06:41:01 6 0.00 0.00 0.02 0.00 0.00 99.98 06:42:32 06:41:01 7 0.02 0.00 0.02 0.00 0.02 99.95 06:42:32 06:42:01 all 0.41 0.00 0.14 0.24 0.01 99.20 06:42:32 06:42:01 0 0.08 0.00 0.08 0.03 0.00 99.80 06:42:32 06:42:01 1 0.75 0.00 0.10 0.07 0.02 99.07 06:42:32 06:42:01 2 0.28 0.00 0.07 0.08 0.00 99.57 06:42:32 06:42:01 3 0.17 0.00 0.07 1.55 0.00 98.21 06:42:32 06:42:01 4 0.83 0.00 0.17 0.02 0.00 98.98 06:42:32 06:42:01 5 0.48 0.00 0.43 0.08 0.02 98.98 06:42:32 06:42:01 6 0.30 0.00 0.08 0.07 0.02 99.53 06:42:32 06:42:01 7 0.37 0.00 0.10 0.05 0.02 99.46 06:42:32 Average: all 1.77 0.00 0.45 0.28 0.02 97.49 06:42:32 Average: 0 1.54 0.00 0.41 0.06 0.01 97.98 06:42:32 Average: 1 1.63 0.00 0.42 0.25 0.03 97.67 06:42:32 Average: 2 2.19 0.00 0.59 0.05 0.01 97.15 06:42:32 Average: 3 1.30 0.00 0.37 0.68 0.02 97.62 06:42:32 Average: 4 1.73 0.00 0.40 0.10 0.02 97.74 06:42:32 Average: 5 1.91 0.00 0.66 0.75 0.02 96.66 06:42:32 Average: 6 1.78 0.00 0.39 0.27 0.02 97.55 06:42:32 Average: 7 2.05 0.00 0.35 0.05 0.02 97.52 06:42:32 06:42:32 06:42:32