Pull request #517 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from c5e9af27f55e0d8940fc2a74df67f7e916361754+de2f7dd484aed31b8929cc3252062c81ad15313f (fc4d2fe559d9fc3d10585547268aa6f304829273) 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-ssh16912804283796815349.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh15497585185428566690.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14195564668638956144.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4804233140432062663.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10452456793539134730.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23532 in /w/workspace/edgexfoundry_device-sdk-c_PR-517 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-517 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/517/head:refs/remotes/origin/PR-517 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit de2f7dd484aed31b8929cc3252062c81ad15313f into PR head commit c5e9af27f55e0d8940fc2a74df67f7e916361754 Merge succeeded, producing c5e9af27f55e0d8940fc2a74df67f7e916361754 Checking out Revision c5e9af27f55e0d8940fc2a74df67f7e916361754 (PR-517) > git config core.sparsecheckout # timeout=10 > git checkout -f c5e9af27f55e0d8940fc2a74df67f7e916361754 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5e9af27f55e0d8940fc2a74df67f7e916361754 # timeout=10 Commit message: "bug: Wait for MQTT subscriptions to take effect before returning (#516)" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-22T18:11:52.769Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-22T18:11:52.825Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-22T18:11:52.848Z] ========================================================= [2024-10-22T18:11:52.848Z] EdgeX Global Pipelines Version Info [2024-10-22T18:11:52.848Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:11:53.617Z] ------------------- [2024-10-22T18:11:53.617Z] stable info: [2024-10-22T18:11:53.617Z] ------------------- [2024-10-22T18:11:53.617Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-22T18:11:53.617Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-22T18:11:53.617Z] Message: update stable to v1.0.265 [2024-10-22T18:11:54.188Z] ------------------- [2024-10-22T18:11:54.188Z] experimental info: [2024-10-22T18:11:54.188Z] ------------------- [2024-10-22T18:11:54.188Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-22T18:11:54.188Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-22T18:11:54.188Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-22T18:11:54.263Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-10-22T18:11:54.282Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-10-22T18:11:54.307Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-22T18:11:54.331Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-22T18:11:54.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-22T18:11:54.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-10-22T18:11:54.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-10-22T18:11:54.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-22T18:11:54.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-22T18:11:54.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-10-22T18:11:54.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-22T18:11:54.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-22T18:11:54.529Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-22T18:11:54.554Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T18:11:54.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-22T18:11:54.603Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-22T18:11:54.631Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-22T18:11:54.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-517 [Pipeline] echo [2024-10-22T18:11:54.673Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-517 [Pipeline] echo [2024-10-22T18:11:54.699Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-517 [Pipeline] echo [2024-10-22T18:11:54.723Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5e9af27f55e0d8940fc2a74df67f7e916361754 [Pipeline] echo [2024-10-22T18:11:54.746Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5e9af2 [Pipeline] echo [2024-10-22T18:11:54.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:11:54.835Z] provisioning config files... [2024-10-22T18:11:54.850Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config4619049333988762186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:11:55.190Z] ---> ****-login.sh [2024-10-22T18:11:55.190Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:11:55.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:11:55.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:11:55.451Z] Configure a credential helper to remove this warning. See [2024-10-22T18:11:55.451Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:11:55.451Z] [2024-10-22T18:11:55.451Z] Login Succeeded [2024-10-22T18:11:55.451Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:11:55.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:11:55.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:11:55.451Z] Configure a credential helper to remove this warning. See [2024-10-22T18:11:55.452Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:11:55.452Z] [2024-10-22T18:11:55.452Z] Login Succeeded [2024-10-22T18:11:55.452Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:11:55.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:11:55.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:11:55.712Z] Configure a credential helper to remove this warning. See [2024-10-22T18:11:55.712Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:11:55.712Z] [2024-10-22T18:11:55.712Z] Login Succeeded [2024-10-22T18:11:55.712Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:11:55.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:11:55.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:11:55.712Z] Configure a credential helper to remove this warning. See [2024-10-22T18:11:55.712Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:11:55.712Z] [2024-10-22T18:11:55.712Z] Login Succeeded [2024-10-22T18:11:55.712Z] ****.io [2024-10-22T18:11:55.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:11:55.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:11:55.971Z] Configure a credential helper to remove this warning. See [2024-10-22T18:11:55.971Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:11:55.971Z] [2024-10-22T18:11:55.971Z] Login Succeeded [2024-10-22T18:11:55.971Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:11:55.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh [2024-10-22T18:11:56.384Z] + git rev-list -1 --merges c5e9af27f55e0d8940fc2a74df67f7e916361754~1..c5e9af27f55e0d8940fc2a74df67f7e916361754 [Pipeline] echo [2024-10-22T18:11:56.415Z] -----------> git rev-list -1 --merges c5e9af27f55e0d8940fc2a74df67f7e916361754~1..c5e9af27f55e0d8940fc2a74df67f7e916361754 c5e9af27f55e0d8940fc2a74df67f7e916361754 [false] [Pipeline] sh [2024-10-22T18:11:56.714Z] + git log --format=format:%s -1 c5e9af27f55e0d8940fc2a74df67f7e916361754 [Pipeline] echo [2024-10-22T18:11:56.730Z] ========================================================= [2024-10-22T18:11:56.730Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-22T18:11:56.730Z] ========================================================= Stage "Build LTS Release Image" 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 [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-22T18:11:57.192Z] + git rev-list -1 --merges c5e9af27f55e0d8940fc2a74df67f7e916361754~1..c5e9af27f55e0d8940fc2a74df67f7e916361754 [Pipeline] echo [2024-10-22T18:11:57.207Z] -----------> git rev-list -1 --merges c5e9af27f55e0d8940fc2a74df67f7e916361754~1..c5e9af27f55e0d8940fc2a74df67f7e916361754 c5e9af27f55e0d8940fc2a74df67f7e916361754 [false] [Pipeline] sh [2024-10-22T18:11:57.500Z] + git log --format=format:%s -1 c5e9af27f55e0d8940fc2a74df67f7e916361754 [Pipeline] echo [2024-10-22T18:11:57.517Z] ========================================================= [2024-10-22T18:11:57.517Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-22T18:11:57.517Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-10-22T18:11:57.905Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-22T18:11:57.905Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-22T18:11:57.905Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-22T18:11:57.905Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-22T18:11:57.905Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-22T18:11:57.905Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-22T18:11:57.905Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:11:58.260Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:11:58.260Z] [2024-10-22T18:11:58.260Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:11:58.565Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:11:58.565Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-22T18:11:58.565Z] b85a868b505f: Pulling fs layer [2024-10-22T18:11:58.565Z] e2be974225ed: Pulling fs layer [2024-10-22T18:11:58.565Z] 339a4e72a1f5: Pulling fs layer [2024-10-22T18:11:58.565Z] 988bab9f4d93: Pulling fs layer [2024-10-22T18:11:58.565Z] 1469e6f7b9e6: Pulling fs layer [2024-10-22T18:11:58.565Z] eaf3925da568: Pulling fs layer [2024-10-22T18:11:58.565Z] bab4dde63d76: Pulling fs layer [2024-10-22T18:11:58.565Z] bde34c3a00c8: Pulling fs layer [2024-10-22T18:11:58.565Z] b352a97aabf1: Pulling fs layer [2024-10-22T18:11:58.565Z] 4872d77fe225: Pulling fs layer [2024-10-22T18:11:58.565Z] 5851b861e8e6: Pulling fs layer [2024-10-22T18:11:58.565Z] 988bab9f4d93: Waiting [2024-10-22T18:11:58.565Z] 1469e6f7b9e6: Waiting [2024-10-22T18:11:58.565Z] eaf3925da568: Waiting [2024-10-22T18:11:58.565Z] bde34c3a00c8: Waiting [2024-10-22T18:11:58.565Z] b352a97aabf1: Waiting [2024-10-22T18:11:58.565Z] 4872d77fe225: Waiting [2024-10-22T18:11:58.565Z] 5851b861e8e6: Waiting [2024-10-22T18:11:58.565Z] e2be974225ed: Download complete [2024-10-22T18:11:58.565Z] 988bab9f4d93: Download complete [2024-10-22T18:11:58.565Z] 1469e6f7b9e6: Verifying Checksum [2024-10-22T18:11:58.565Z] 1469e6f7b9e6: Download complete [2024-10-22T18:11:58.565Z] eaf3925da568: Verifying Checksum [2024-10-22T18:11:58.565Z] eaf3925da568: Download complete [2024-10-22T18:11:58.565Z] 339a4e72a1f5: Verifying Checksum [2024-10-22T18:11:58.565Z] 339a4e72a1f5: Download complete [2024-10-22T18:11:58.824Z] bde34c3a00c8: Verifying Checksum [2024-10-22T18:11:58.824Z] bde34c3a00c8: Download complete [2024-10-22T18:11:58.824Z] b352a97aabf1: Download complete [2024-10-22T18:11:58.824Z] 4872d77fe225: Verifying Checksum [2024-10-22T18:11:58.824Z] 4872d77fe225: Download complete [2024-10-22T18:11:58.824Z] 5851b861e8e6: Download complete [2024-10-22T18:11:58.824Z] b85a868b505f: Verifying Checksum [2024-10-22T18:11:58.824Z] b85a868b505f: Download complete [2024-10-22T18:11:59.083Z] bab4dde63d76: Verifying Checksum [2024-10-22T18:11:59.084Z] bab4dde63d76: Download complete [2024-10-22T18:12:00.022Z] b85a868b505f: Pull complete [2024-10-22T18:12:00.283Z] e2be974225ed: Pull complete [2024-10-22T18:12:00.853Z] 339a4e72a1f5: Pull complete [2024-10-22T18:12:00.853Z] 988bab9f4d93: Pull complete [2024-10-22T18:12:01.112Z] 1469e6f7b9e6: Pull complete [2024-10-22T18:12:01.112Z] eaf3925da568: Pull complete [2024-10-22T18:12:03.032Z] bab4dde63d76: Pull complete [2024-10-22T18:12:03.032Z] bde34c3a00c8: Pull complete [2024-10-22T18:12:03.295Z] b352a97aabf1: Pull complete [2024-10-22T18:12:03.295Z] 4872d77fe225: Pull complete [2024-10-22T18:12:03.555Z] 5851b861e8e6: Pull complete [2024-10-22T18:12:03.555Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-22T18:12:03.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:12:03.555Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:12:03.723Z] prd-ubuntu20.04-docker-8c-8g-23532 does not seem to be running inside a container [2024-10-22T18:12:03.753Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-22T18:12:06.969Z] $ docker top b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b -eo pid,comm [2024-10-22T18:12:07.022Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-22T18:12:07.022Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-22T18:12:07.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T18:12:07.103Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T18:12:07.220Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T18:12:07.220Z] $ docker exec b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b ssh-agent [2024-10-22T18:12:07.335Z] SSH_AUTH_SOCK=/tmp/ssh-ufuYJWcqFInJ/agent.32 [2024-10-22T18:12:07.335Z] SSH_AGENT_PID=38 [2024-10-22T18:12:07.341Z] Running ssh-add (command line suppressed) [2024-10-22T18:12:07.446Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_1164386423510853773.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_1164386423510853773.key) [2024-10-22T18:12:07.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T18:12:07.753Z] + git tag --points-at HEAD [Pipeline] } [2024-10-22T18:12:07.762Z] $ docker exec --env ******** --env ******** b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b ssh-agent -k [2024-10-22T18:12:07.853Z] unset SSH_AUTH_SOCK; [2024-10-22T18:12:07.853Z] unset SSH_AGENT_PID; [2024-10-22T18:12:07.853Z] echo Agent pid 38 killed; [2024-10-22T18:12:07.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-22T18:12:07.906Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T18:12:07.906Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T18:12:08.013Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T18:12:08.013Z] $ docker exec b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b ssh-agent [2024-10-22T18:12:08.118Z] SSH_AUTH_SOCK=/tmp/ssh-wIWBKZEWiVdA/agent.71 [2024-10-22T18:12:08.118Z] SSH_AGENT_PID=77 [2024-10-22T18:12:08.123Z] Running ssh-add (command line suppressed) [2024-10-22T18:12:08.228Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_4854992570646696738.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_4854992570646696738.key) [2024-10-22T18:12:08.245Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T18:12:08.536Z] + git semver init [2024-10-22T18:12:08.796Z] 2024-10-22 18:12:08,702 [run_init] DEBUG init version:0.0.0 force:False [2024-10-22T18:12:08.796Z] 2024-10-22 18:12:08,703 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver [2024-10-22T18:12:08.796Z] 2024-10-22 18:12:08,703 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver [2024-10-22T18:12:08.796Z] 2024-10-22 18:12:08,703 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517, universal_newlines=False, shell=None, istream=None) [2024-10-22T18:12:09.735Z] 2024-10-22 18:12:09,501 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.git/info/exclude [2024-10-22T18:12:09.735Z] 2024-10-22 18:12:09,502 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 with force:False [2024-10-22T18:12:09.735Z] 2024-10-22 18:12:09,502 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-10-22T18:12:09.735Z] 2024-10-22 18:12:09,506 [execute] INFO git cat-file --batch-check [2024-10-22T18:12:09.735Z] 2024-10-22 18:12:09,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T18:12:09.735Z] 2024-10-22 18:12:09,513 [execute] INFO git cat-file --batch [2024-10-22T18:12:09.735Z] 2024-10-22 18:12:09,513 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T18:12:09.735Z] 2024-10-22 18:12:09,518 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-10-22T18:12:09.735Z] 0.0.0 [Pipeline] } [2024-10-22T18:12:09.743Z] $ docker exec --env ******** --env ******** b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b ssh-agent -k [2024-10-22T18:12:09.829Z] unset SSH_AUTH_SOCK; [2024-10-22T18:12:09.829Z] unset SSH_AGENT_PID; [2024-10-22T18:12:09.829Z] echo Agent pid 77 killed; [2024-10-22T18:12:09.844Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-22T18:12:10.169Z] + git semver [Pipeline] } [2024-10-22T18:12:10.442Z] $ docker stop --time=1 b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b [2024-10-22T18:12:11.710Z] $ docker rm -f --volumes b99ad0d5df1a35bb6e750fcaa7165c088ab986e1d4895259050949ca3f46ac4b [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T18:12:12.058Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-22T18:12:12.281Z] Stashed 1 file(s) [Pipeline] echo [2024-10-22T18:12:12.284Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:12:12.429Z] provisioning config files... [2024-10-22T18:12:12.439Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config10446700523594744916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:12:12.739Z] ---> ****-login.sh [2024-10-22T18:12:12.740Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:12:12.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:12:12.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:12:12.740Z] Configure a credential helper to remove this warning. See [2024-10-22T18:12:12.740Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:12:12.740Z] [2024-10-22T18:12:12.740Z] Login Succeeded [2024-10-22T18:12:12.740Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:12:12.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:12:12.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:12:12.740Z] Configure a credential helper to remove this warning. See [2024-10-22T18:12:12.740Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:12:12.740Z] [2024-10-22T18:12:12.740Z] Login Succeeded [2024-10-22T18:12:12.740Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:12:12.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:12:12.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:12:12.999Z] Configure a credential helper to remove this warning. See [2024-10-22T18:12:12.999Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:12:12.999Z] [2024-10-22T18:12:12.999Z] Login Succeeded [2024-10-22T18:12:12.999Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:12:12.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:12:12.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:12:12.999Z] Configure a credential helper to remove this warning. See [2024-10-22T18:12:12.999Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:12:12.999Z] [2024-10-22T18:12:12.999Z] Login Succeeded [2024-10-22T18:12:12.999Z] ****.io [2024-10-22T18:12:12.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:12:13.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:12:13.257Z] Configure a credential helper to remove this warning. See [2024-10-22T18:12:13.257Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:12:13.257Z] [2024-10-22T18:12:13.257Z] Login Succeeded [2024-10-22T18:12:13.257Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:12:13.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T18:12:13.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:12:13.376Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-10-22T18:12:13.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:12:13.417Z] ========================================================= [2024-10-22T18:12:13.417Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-10-22T18:12:13.417Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:12:13.734Z] + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . [2024-10-22T18:12:13.734Z] Sending build context to Docker daemon 5.107MB [2024-10-22T18:12:13.734Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-10-22T18:12:13.734Z] Step 2/22 : FROM ${BASE} as builder [2024-10-22T18:12:13.734Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-10-22T18:12:13.734Z] 96526aa774ef: Pulling fs layer [2024-10-22T18:12:13.734Z] da60e534fd72: Pulling fs layer [2024-10-22T18:12:13.994Z] 96526aa774ef: Verifying Checksum [2024-10-22T18:12:13.994Z] 96526aa774ef: Download complete [2024-10-22T18:12:13.994Z] 96526aa774ef: Pull complete [2024-10-22T18:12:14.930Z] da60e534fd72: Verifying Checksum [2024-10-22T18:12:14.930Z] da60e534fd72: Download complete [2024-10-22T18:12:18.240Z] da60e534fd72: Pull complete [2024-10-22T18:12:18.240Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-10-22T18:12:18.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-10-22T18:12:18.240Z] ---> 6605166a5db4 [2024-10-22T18:12:18.240Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-10-22T18:12:20.181Z] ---> Running in 19f54b414b1e [2024-10-22T18:12:20.452Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-22T18:12:21.022Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:12:21.022Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:12:21.022Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:12:21.280Z] Removing intermediate container 19f54b414b1e [2024-10-22T18:12:21.280Z] ---> 4c6cce8fbe31 [2024-10-22T18:12:21.280Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:12:21.280Z] ---> Running in 46e92d649713 [2024-10-22T18:12:21.847Z] Removing intermediate container 46e92d649713 [2024-10-22T18:12:21.847Z] ---> 71f6a8a21fed [2024-10-22T18:12:21.847Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-10-22T18:12:21.847Z] ---> Running in bfa41063d5b3 [2024-10-22T18:12:22.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:22.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:22.367Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:22.936Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:12:22.936Z] (1/17) Installing hiredis (1.1.0-r2) [2024-10-22T18:12:23.196Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-10-22T18:12:23.196Z] (3/17) Installing libcbor (0.10.2-r1) [2024-10-22T18:12:23.196Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-22T18:12:24.136Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-22T18:12:24.136Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-22T18:12:24.397Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-10-22T18:12:24.657Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-10-22T18:12:24.657Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-10-22T18:12:24.657Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-10-22T18:12:24.657Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-22T18:12:24.657Z] (12/17) Installing libblkid (2.38.1-r8) [2024-10-22T18:12:24.657Z] (13/17) Installing libuuid (2.38.1-r8) [2024-10-22T18:12:24.657Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-10-22T18:12:24.657Z] (15/17) Installing libmount (2.38.1-r8) [2024-10-22T18:12:24.657Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-10-22T18:12:24.657Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-10-22T18:12:24.657Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:12:24.657Z] OK: 336 MiB in 99 packages [2024-10-22T18:12:25.224Z] Removing intermediate container bfa41063d5b3 [2024-10-22T18:12:25.224Z] ---> 7674db73a584 [2024-10-22T18:12:25.224Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-10-22T18:12:25.224Z] ---> Running in a65ebb5f7bb7 [2024-10-22T18:12:25.788Z] Removing intermediate container a65ebb5f7bb7 [2024-10-22T18:12:25.788Z] ---> 9b0ba4606dbe [2024-10-22T18:12:25.788Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-10-22T18:12:26.047Z] ---> 59a7944da0dd [2024-10-22T18:12:26.047Z] Step 8/22 : COPY src /tmp/sdk/src [2024-10-22T18:12:26.307Z] ---> d49fb84db69d [2024-10-22T18:12:26.307Z] Step 9/22 : COPY include /tmp/sdk/include [2024-10-22T18:12:26.307Z] ---> 1726249cbd53 [2024-10-22T18:12:26.307Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-10-22T18:12:26.566Z] ---> 0faf6752ca3b [2024-10-22T18:12:26.566Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-10-22T18:12:26.566Z] ---> ccce12d2e7ee [2024-10-22T18:12:26.566Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-10-22T18:12:26.827Z] ---> 028b8ebf9e0b [2024-10-22T18:12:26.827Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-10-22T18:12:26.827Z] ---> Running in 0737d1675855 [2024-10-22T18:12:27.087Z] + CPPCHECK=false [2024-10-22T18:12:27.087Z] + DOCGEN=false [2024-10-22T18:12:27.087Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-10-22T18:12:27.087Z] + '[' 0 -gt 0 ] [2024-10-22T18:12:27.087Z] + readlink -f ./scripts/build.sh [2024-10-22T18:12:27.087Z] + dirname /tmp/sdk/scripts/build.sh [2024-10-22T18:12:27.087Z] + dirname /tmp/sdk/scripts [2024-10-22T18:12:27.087Z] + ROOT=/tmp/sdk [2024-10-22T18:12:27.087Z] + cd /tmp/sdk [2024-10-22T18:12:27.087Z] + mkdir -p /tmp/sdk/build/release [2024-10-22T18:12:27.087Z] + cd /tmp/sdk/build/release [2024-10-22T18:12:27.087Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-10-22T18:12:27.087Z] -- The C compiler identification is GNU 12.2.1 [2024-10-22T18:12:27.087Z] -- Detecting C compiler ABI info [2024-10-22T18:12:27.348Z] -- Detecting C compiler ABI info - done [2024-10-22T18:12:27.348Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-22T18:12:27.348Z] -- Detecting C compile features [2024-10-22T18:12:27.348Z] -- Detecting C compile features - done [2024-10-22T18:12:27.348Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-22T18:12:27.348Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-22T18:12:27.348Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-22T18:12:27.348Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-22T18:12:27.348Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-22T18:12:27.348Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-22T18:12:27.348Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-22T18:12:27.348Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-22T18:12:27.348Z] -- /opt/iotech/iot/1.5/include [2024-10-22T18:12:27.348Z] -- C SDK 0.0.0 for Linux [2024-10-22T18:12:27.348Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-22T18:12:27.348Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-22T18:12:27.348Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-22T18:12:27.382Z] Still waiting to schedule task [2024-10-22T18:12:27.382Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-23529’ [2024-10-22T18:12:27.607Z] -- Configuring done (0.4s) [2024-10-22T18:12:27.607Z] -- Generating done (0.0s) [2024-10-22T18:12:27.607Z] -- Build files have been written to: /tmp/sdk/build/release [2024-10-22T18:12:27.607Z] + tee release.log [2024-10-22T18:12:27.607Z] + make all package [2024-10-22T18:12:27.607Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-22T18:12:27.607Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-22T18:12:27.866Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-22T18:12:27.866Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-22T18:12:28.125Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-22T18:12:28.125Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-22T18:12:28.384Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-22T18:12:28.644Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-10-22T18:12:28.644Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:12:28.644Z] 294 | while (privateConfig) [2024-10-22T18:12:28.644Z] | ^~~~~~~~~~~~~ [2024-10-22T18:12:28.644Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-10-22T18:12:28.644Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-22T18:12:28.644Z] | ^~~~~~~~~~~~~ [2024-10-22T18:12:28.644Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:12:28.644Z] 271 | while (result) [2024-10-22T18:12:28.644Z] | ^~~~~~ [2024-10-22T18:12:28.644Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-10-22T18:12:28.644Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-22T18:12:28.644Z] | ^~~~~~ [2024-10-22T18:12:28.644Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-22T18:12:28.644Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-22T18:12:28.903Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-22T18:12:29.162Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-22T18:12:29.162Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-22T18:12:29.421Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-22T18:12:29.421Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-22T18:12:29.679Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-22T18:12:29.679Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-22T18:12:29.679Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-22T18:12:30.246Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-22T18:12:30.246Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-22T18:12:30.246Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-22T18:12:30.505Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-22T18:12:31.442Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-22T18:12:31.700Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-22T18:12:31.700Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-22T18:12:31.700Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-22T18:12:31.700Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-22T18:12:31.959Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-22T18:12:32.528Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-22T18:12:32.528Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-22T18:12:32.528Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-22T18:12:32.787Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-22T18:12:32.787Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-22T18:12:32.787Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:12:32.787Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-22T18:12:32.787Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:12:32.787Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:12:32.787Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-22T18:12:32.787Z] | ^ [2024-10-22T18:12:33.046Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:12:33.046Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-10-22T18:12:33.046Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:12:33.046Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-10-22T18:12:33.046Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-10-22T18:12:33.046Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:12:33.046Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-22T18:12:33.305Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-22T18:12:33.305Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-22T18:12:33.305Z] [ 68%] Linking C shared library libcsdk.so [2024-10-22T18:12:33.305Z] [ 68%] Built target csdk [2024-10-22T18:12:33.565Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-22T18:12:33.565Z] [ 72%] Linking C executable template [2024-10-22T18:12:33.565Z] [ 72%] Built target template [2024-10-22T18:12:33.565Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-22T18:12:33.824Z] [ 76%] Linking C executable device-counter [2024-10-22T18:12:33.824Z] [ 76%] Built target device-counter [2024-10-22T18:12:33.824Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-22T18:12:33.824Z] [ 80%] Linking C executable device-random [2024-10-22T18:12:34.082Z] [ 80%] Built target device-random [2024-10-22T18:12:34.082Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-22T18:12:34.082Z] [ 84%] Linking C executable device-gyro [2024-10-22T18:12:34.082Z] [ 84%] Built target device-gyro [2024-10-22T18:12:34.083Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-22T18:12:34.341Z] [ 88%] Linking C executable device-bitfields [2024-10-22T18:12:34.341Z] [ 88%] Built target device-bitfields [2024-10-22T18:12:34.341Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-22T18:12:34.599Z] [ 92%] Linking C executable template-discovery [2024-10-22T18:12:34.599Z] [ 92%] Built target template-discovery [2024-10-22T18:12:34.599Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-22T18:12:34.599Z] [ 96%] Linking C executable device-file [2024-10-22T18:12:34.859Z] [ 96%] Built target device-file [2024-10-22T18:12:34.859Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-22T18:12:34.859Z] [100%] Linking C executable device-terminal [2024-10-22T18:12:34.859Z] [100%] Built target device-terminal [2024-10-22T18:12:35.118Z] Run CPack packaging tool... [2024-10-22T18:12:35.118Z] CPack: Create package using TGZ [2024-10-22T18:12:35.118Z] CPack: Install projects [2024-10-22T18:12:35.118Z] CPack: - Run preinstall target for: Csdk [2024-10-22T18:12:35.377Z] CPack: - Install project: Csdk [] [2024-10-22T18:12:35.377Z] CPack: Create package [2024-10-22T18:12:35.377Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-10-22T18:12:35.377Z] + '[' false '=' true ] [2024-10-22T18:12:35.377Z] + '[' false '=' true ] [2024-10-22T18:12:35.377Z] + mkdir -p /tmp/sdk/build/debug [2024-10-22T18:12:35.377Z] + cd /tmp/sdk/build/debug [2024-10-22T18:12:35.377Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-10-22T18:12:35.377Z] -- The C compiler identification is GNU 12.2.1 [2024-10-22T18:12:35.377Z] -- Detecting C compiler ABI info [2024-10-22T18:12:35.377Z] -- Detecting C compiler ABI info - done [2024-10-22T18:12:35.377Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-22T18:12:35.377Z] -- Detecting C compile features [2024-10-22T18:12:35.377Z] -- Detecting C compile features - done [2024-10-22T18:12:35.377Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-22T18:12:35.635Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-22T18:12:35.635Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-22T18:12:35.635Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-22T18:12:35.635Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-22T18:12:35.635Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-22T18:12:35.635Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-22T18:12:35.635Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-22T18:12:35.635Z] -- /opt/iotech/iot/1.5/include [2024-10-22T18:12:35.635Z] -- C SDK 0.0.0 for Linux [2024-10-22T18:12:35.635Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-22T18:12:35.635Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-22T18:12:35.635Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-22T18:12:35.635Z] -- Configuring done (0.4s) [2024-10-22T18:12:35.635Z] -- Generating done (0.0s) [2024-10-22T18:12:35.635Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-10-22T18:12:35.635Z] + make [2024-10-22T18:12:35.635Z] + tee debug.log [2024-10-22T18:12:35.893Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-22T18:12:35.893Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-22T18:12:35.893Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-22T18:12:36.151Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-22T18:12:36.152Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-22T18:12:36.152Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-22T18:12:36.410Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-22T18:12:36.410Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-22T18:12:36.410Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-22T18:12:36.410Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-22T18:12:36.667Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-22T18:12:36.668Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-22T18:12:36.668Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-22T18:12:36.926Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-22T18:12:36.926Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-22T18:12:36.926Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-22T18:12:36.926Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-22T18:12:37.184Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-22T18:12:37.184Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-22T18:12:37.184Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-22T18:12:37.443Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-22T18:12:37.702Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-22T18:12:37.702Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-22T18:12:37.702Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-22T18:12:37.702Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-22T18:12:37.960Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-22T18:12:37.960Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-22T18:12:38.219Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-22T18:12:38.219Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-22T18:12:38.219Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-22T18:12:38.478Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-22T18:12:38.478Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-22T18:12:38.478Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:12:38.478Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-22T18:12:38.478Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:12:38.478Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:12:38.478Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-22T18:12:38.478Z] | ^ [2024-10-22T18:12:38.478Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-22T18:12:38.478Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-22T18:12:38.736Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-22T18:12:38.736Z] [ 68%] Linking C shared library libcsdk.so [2024-10-22T18:12:38.736Z] [ 68%] Built target csdk [2024-10-22T18:12:38.736Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-22T18:12:38.736Z] [ 72%] Linking C executable template [2024-10-22T18:12:38.994Z] [ 72%] Built target template [2024-10-22T18:12:38.994Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-22T18:12:38.994Z] [ 76%] Linking C executable device-counter [2024-10-22T18:12:38.994Z] [ 76%] Built target device-counter [2024-10-22T18:12:38.994Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-22T18:12:39.253Z] [ 80%] Linking C executable device-random [2024-10-22T18:12:39.253Z] [ 80%] Built target device-random [2024-10-22T18:12:39.253Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-22T18:12:39.253Z] [ 84%] Linking C executable device-gyro [2024-10-22T18:12:39.253Z] [ 84%] Built target device-gyro [2024-10-22T18:12:39.253Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-22T18:12:39.512Z] [ 88%] Linking C executable device-bitfields [2024-10-22T18:12:39.512Z] [ 88%] Built target device-bitfields [2024-10-22T18:12:39.512Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-22T18:12:39.512Z] [ 92%] Linking C executable template-discovery [2024-10-22T18:12:39.512Z] [ 92%] Built target template-discovery [2024-10-22T18:12:39.772Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-22T18:12:39.772Z] [ 96%] Linking C executable device-file [2024-10-22T18:12:39.772Z] [ 96%] Built target device-file [2024-10-22T18:12:39.772Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-22T18:12:39.772Z] [100%] Linking C executable device-terminal [2024-10-22T18:12:40.030Z] [100%] Built target device-terminal [2024-10-22T18:12:40.030Z] make: Entering directory '/tmp/sdk/build/release' [2024-10-22T18:12:40.030Z] [ 68%] Built target csdk [2024-10-22T18:12:40.030Z] [ 72%] Built target template [2024-10-22T18:12:40.030Z] [ 76%] Built target device-counter [2024-10-22T18:12:40.030Z] [ 80%] Built target device-random [2024-10-22T18:12:40.030Z] [ 84%] Built target device-gyro [2024-10-22T18:12:40.030Z] [ 88%] Built target device-bitfields [2024-10-22T18:12:40.030Z] [ 92%] Built target template-discovery [2024-10-22T18:12:40.290Z] [ 96%] Built target device-file [2024-10-22T18:12:40.290Z] [100%] Built target device-terminal [2024-10-22T18:12:40.290Z] Install the project... [2024-10-22T18:12:40.290Z] -- Install configuration: "Release" [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/lib/libcsdk.so [2024-10-22T18:12:40.290Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include/devsdk [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include/edgex [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include/edgex/devices.h [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-10-22T18:12:40.290Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-10-22T18:12:40.290Z] make: Leaving directory '/tmp/sdk/build/release' [2024-10-22T18:12:40.859Z] Removing intermediate container 0737d1675855 [2024-10-22T18:12:40.859Z] ---> e9777cba66d4 [2024-10-22T18:12:40.859Z] Step 14/22 : FROM ${BASE} [2024-10-22T18:12:40.859Z] ---> 6605166a5db4 [2024-10-22T18:12:40.859Z] Step 15/22 : LABEL maintainer="IOTech " [2024-10-22T18:12:40.859Z] ---> Running in 9ec335cc7997 [2024-10-22T18:12:41.119Z] Removing intermediate container 9ec335cc7997 [2024-10-22T18:12:41.119Z] ---> b1231b1db7fc [2024-10-22T18:12:41.119Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-10-22T18:12:41.119Z] ---> Running in 559248eb6ffe [2024-10-22T18:12:41.378Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-10-22T18:12:41.947Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:12:41.947Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:12:41.947Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:12:41.947Z] Removing intermediate container 559248eb6ffe [2024-10-22T18:12:41.947Z] ---> 4a2c9b7daf73 [2024-10-22T18:12:41.947Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:12:42.209Z] ---> Running in ef665d81d0bd [2024-10-22T18:12:42.778Z] Removing intermediate container ef665d81d0bd [2024-10-22T18:12:42.778Z] ---> b0bc3e1c7420 [2024-10-22T18:12:42.778Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-10-22T18:12:42.778Z] ---> Running in 0cff53a93192 [2024-10-22T18:12:43.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:43.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:43.297Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:43.863Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:12:43.863Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-10-22T18:12:43.863Z] (2/10) Installing curl (8.9.1-r1) [2024-10-22T18:12:43.863Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-10-22T18:12:43.863Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-10-22T18:12:43.863Z] (5/10) Installing hiredis (1.1.0-r2) [2024-10-22T18:12:43.863Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-10-22T18:12:43.863Z] (7/10) Installing libcbor (0.10.2-r1) [2024-10-22T18:12:43.863Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-22T18:12:44.798Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-22T18:12:44.798Z] (10/10) Installing libuuid (2.38.1-r8) [2024-10-22T18:12:44.798Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:12:44.798Z] OK: 331 MiB in 90 packages [2024-10-22T18:12:45.364Z] Removing intermediate container 0cff53a93192 [2024-10-22T18:12:45.364Z] ---> d48daf3f1847 [2024-10-22T18:12:45.364Z] Step 19/22 : RUN apk --no-cache upgrade [2024-10-22T18:12:45.364Z] ---> Running in 111860e2b45a [2024-10-22T18:12:45.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:45.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:45.887Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:46.456Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:12:46.456Z] Upgrading critical system libraries and apk-tools: [2024-10-22T18:12:46.456Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-22T18:12:46.456Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:12:46.456Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T18:12:46.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:46.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:46.715Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:47.282Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:12:47.282Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:12:47.282Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-22T18:12:47.282Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:12:47.282Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-22T18:12:47.282Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:12:47.282Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:12:47.282Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:12:47.282Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-10-22T18:12:47.282Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) [2024-10-22T18:12:47.282Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-10-22T18:12:47.282Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:12:47.282Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-10-22T18:12:47.282Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:12:47.282Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:12:47.540Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:12:47.540Z] Executing busybox-1.36.1-r7.trigger [2024-10-22T18:12:47.540Z] Executing ca-certificates-20240226-r0.trigger [2024-10-22T18:12:47.540Z] OK: 332 MiB in 90 packages [2024-10-22T18:12:48.487Z] Removing intermediate container 111860e2b45a [2024-10-22T18:12:48.487Z] ---> 79e8ff66c445 [2024-10-22T18:12:48.487Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-10-22T18:12:48.748Z] ---> 86db7b294aaf [2024-10-22T18:12:48.748Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-10-22T18:12:49.008Z] ---> b2b80f7077c9 [2024-10-22T18:12:49.008Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-10-22T18:12:49.008Z] ---> d23f1dee972c [2024-10-22T18:12:49.008Z] Successfully built d23f1dee972c [2024-10-22T18:12:49.008Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:12:49.408Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-22T18:12:49.408Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:12:49.492Z] prd-ubuntu20.04-docker-8c-8g-23532 does not seem to be running inside a container [2024-10-22T18:12:49.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-22T18:12:49.874Z] $ docker top ec8b1853fa7fa0ca007a3f53a6fb1dbe04dee3161ffc835cf1efcbb51683b805 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:12:50.232Z] + make test [2024-10-22T18:12:50.232Z] echo "make test" [2024-10-22T18:12:50.232Z] make test [Pipeline] } [2024-10-22T18:12:50.242Z] $ docker stop --time=1 ec8b1853fa7fa0ca007a3f53a6fb1dbe04dee3161ffc835cf1efcbb51683b805 [2024-10-22T18:12:51.536Z] $ docker rm -f --volumes ec8b1853fa7fa0ca007a3f53a6fb1dbe04dee3161ffc835cf1efcbb51683b805 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:12:52.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T18:12:52.333Z] + ls -al . [2024-10-22T18:12:52.333Z] total 212 [2024-10-22T18:12:52.333Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 22 18:12 . [2024-10-22T18:12:52.333Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:11 .. [2024-10-22T18:12:52.333Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:12 .git [2024-10-22T18:12:52.333Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:11 .github [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 22 18:11 .gitignore [2024-10-22T18:12:52.333Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:12 .semver [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 22 18:11 Attribution.txt [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 11953 Oct 22 18:11 CHANGELOG.md [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 22 18:11 Doxyfile [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:11 GOVERNANCE.md [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 22 18:11 Jenkinsfile [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 22 18:11 LICENSE [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 22 18:11 Makefile [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 22 18:11 OWNERS.md [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 22 18:11 README.IOT.md [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 22 18:11 README.md [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 22 18:11 README.v3.md [2024-10-22T18:12:52.333Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:12 VERSION [2024-10-22T18:12:52.333Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:11 docs [2024-10-22T18:12:52.333Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:11 include [2024-10-22T18:12:52.333Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:11 scripts [2024-10-22T18:12:52.333Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:11 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:12:52.642Z] + docker build -t device-sdk -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c5e9af27f55e0d8940fc2a74df67f7e916361754 --label arch=amd64 --label version=0.0.0 . [2024-10-22T18:12:52.642Z] Sending build context to Docker daemon 5.107MB [2024-10-22T18:12:52.642Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-10-22T18:12:52.642Z] Step 2/18 : FROM ${BASE} [2024-10-22T18:12:52.642Z] ---> d23f1dee972c [2024-10-22T18:12:52.642Z] Step 3/18 : LABEL maintainer="IOTech " [2024-10-22T18:12:52.900Z] ---> Running in cff63f909ef3 [2024-10-22T18:12:52.900Z] Removing intermediate container cff63f909ef3 [2024-10-22T18:12:52.900Z] ---> 058a25662a08 [2024-10-22T18:12:52.900Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-10-22T18:12:52.900Z] ---> Running in 154290e4e4f2 [2024-10-22T18:12:53.159Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-22T18:12:53.729Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:12:53.729Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:12:53.729Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:12:53.729Z] Removing intermediate container 154290e4e4f2 [2024-10-22T18:12:53.729Z] ---> 0a35f99928c1 [2024-10-22T18:12:53.729Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:12:53.988Z] ---> Running in 63a95588be8d [2024-10-22T18:12:54.558Z] Removing intermediate container 63a95588be8d [2024-10-22T18:12:54.558Z] ---> 7a03b652ca1c [2024-10-22T18:12:54.558Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-10-22T18:12:54.558Z] ---> Running in abcab9a416e7 [2024-10-22T18:12:54.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:54.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:55.077Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:55.645Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:12:55.645Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-22T18:12:55.903Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-10-22T18:12:55.903Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-10-22T18:12:55.903Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-10-22T18:12:55.903Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-10-22T18:12:55.903Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-22T18:12:55.903Z] (7/11) Installing libblkid (2.38.1-r8) [2024-10-22T18:12:55.903Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-10-22T18:12:55.903Z] (9/11) Installing libmount (2.38.1-r8) [2024-10-22T18:12:55.903Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-10-22T18:12:55.903Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-10-22T18:12:55.903Z] Executing busybox-1.36.1-r7.trigger [2024-10-22T18:12:55.903Z] OK: 337 MiB in 101 packages [2024-10-22T18:12:56.469Z] Removing intermediate container abcab9a416e7 [2024-10-22T18:12:56.469Z] ---> 1d41e6f93336 [2024-10-22T18:12:56.469Z] Step 7/18 : RUN apk --no-cache upgrade [2024-10-22T18:12:56.469Z] ---> Running in 1e0d5d1344bf [2024-10-22T18:12:56.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:56.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:56.989Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:12:57.249Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:12:57.249Z] OK: 337 MiB in 101 packages [2024-10-22T18:12:57.819Z] Removing intermediate container 1e0d5d1344bf [2024-10-22T18:12:57.819Z] ---> f9af22ad4d0a [2024-10-22T18:12:57.819Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-10-22T18:12:57.819Z] ---> faf6ec29cf07 [2024-10-22T18:12:57.819Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-10-22T18:12:58.079Z] ---> 2d61de31e816 [2024-10-22T18:12:58.079Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-10-22T18:12:58.079Z] ---> 2e90f03ea203 [2024-10-22T18:12:58.079Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-10-22T18:12:58.338Z] ---> 568c875347ee [2024-10-22T18:12:58.338Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-10-22T18:12:58.338Z] ---> 119703dadbc7 [2024-10-22T18:12:58.338Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-10-22T18:12:58.598Z] ---> d99e87230ddd [2024-10-22T18:12:58.598Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-10-22T18:12:58.598Z] ---> Running in e28eb352b4ec [2024-10-22T18:12:58.598Z] Removing intermediate container e28eb352b4ec [2024-10-22T18:12:58.598Z] ---> 77f36fbd4bf1 [2024-10-22T18:12:58.598Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-10-22T18:12:58.598Z] ---> Running in 25a05b995a8b [2024-10-22T18:12:58.858Z] Removing intermediate container 25a05b995a8b [2024-10-22T18:12:58.858Z] ---> 3ce77572310f [2024-10-22T18:12:58.858Z] Step 16/18 : LABEL arch=amd64 [2024-10-22T18:12:58.858Z] ---> Running in 29a3236d42ca [2024-10-22T18:12:58.858Z] Removing intermediate container 29a3236d42ca [2024-10-22T18:12:58.858Z] ---> ef21799468e5 [2024-10-22T18:12:58.858Z] Step 17/18 : LABEL git_sha=c5e9af27f55e0d8940fc2a74df67f7e916361754 [2024-10-22T18:12:58.858Z] ---> Running in ccbdcf1286f8 [2024-10-22T18:12:58.858Z] Removing intermediate container ccbdcf1286f8 [2024-10-22T18:12:58.858Z] ---> 25614357cf63 [2024-10-22T18:12:58.858Z] Step 18/18 : LABEL version=0.0.0 [2024-10-22T18:12:59.117Z] ---> Running in 76d1bc7c06bf [2024-10-22T18:12:59.117Z] Removing intermediate container 76d1bc7c06bf [2024-10-22T18:12:59.117Z] ---> 5be0e655c015 [2024-10-22T18:12:59.117Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-10-22T18:12:59.117Z] Successfully built 5be0e655c015 [2024-10-22T18:12:59.117Z] Successfully tagged device-sdk:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:12:59.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:12:59.584Z] [2024-10-22T18:12:59.584Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:12:59.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:13:00.823Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-22T18:13:00.823Z] 5eb5b503b376: Pulling fs layer [2024-10-22T18:13:00.823Z] 5c69ac0246d0: Pulling fs layer [2024-10-22T18:13:00.823Z] ec43610c2a17: Pulling fs layer [2024-10-22T18:13:00.823Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-22T18:13:00.823Z] 33b1e0a273af: Pulling fs layer [2024-10-22T18:13:00.823Z] 5d3b04190fa2: Pulling fs layer [2024-10-22T18:13:00.823Z] 2f39f015ded8: Pulling fs layer [2024-10-22T18:13:00.823Z] 3a2ae6a8a46f: Waiting [2024-10-22T18:13:00.823Z] 5d3b04190fa2: Waiting [2024-10-22T18:13:00.823Z] 33b1e0a273af: Waiting [2024-10-22T18:13:00.823Z] 5c69ac0246d0: Download complete [2024-10-22T18:13:00.823Z] 3a2ae6a8a46f: Download complete [2024-10-22T18:13:00.823Z] 33b1e0a273af: Verifying Checksum [2024-10-22T18:13:00.823Z] 33b1e0a273af: Download complete [2024-10-22T18:13:00.823Z] 5d3b04190fa2: Download complete [2024-10-22T18:13:00.823Z] ec43610c2a17: Verifying Checksum [2024-10-22T18:13:00.823Z] ec43610c2a17: Download complete [2024-10-22T18:13:01.082Z] 5eb5b503b376: Verifying Checksum [2024-10-22T18:13:01.082Z] 5eb5b503b376: Download complete [2024-10-22T18:13:01.650Z] 2f39f015ded8: Download complete [2024-10-22T18:13:02.220Z] 5eb5b503b376: Pull complete [2024-10-22T18:13:02.479Z] 5c69ac0246d0: Pull complete [2024-10-22T18:13:03.047Z] ec43610c2a17: Pull complete [2024-10-22T18:13:03.047Z] 3a2ae6a8a46f: Pull complete [2024-10-22T18:13:03.306Z] 33b1e0a273af: Pull complete [2024-10-22T18:13:03.306Z] 5d3b04190fa2: Pull complete [2024-10-22T18:13:08.577Z] 2f39f015ded8: Pull complete [2024-10-22T18:13:08.577Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-22T18:13:08.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:13:08.577Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:13:08.681Z] prd-ubuntu20.04-docker-8c-8g-23532 does not seem to be running inside a container [2024-10-22T18:13:08.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-22T18:13:13.815Z] $ docker top 2ea73ed6b0244c43a6c3296c475d121b5d1039d5ac67ca39e30f254beec84a6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:13:14.195Z] ---> job-cost.sh [2024-10-22T18:13:14.195Z] lf-activate-venv: SKIPPING [2024-10-22T18:13:14.195Z] INFO: No Stack... [2024-10-22T18:13:14.455Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T18:13:14.715Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T18:13:15.009Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/cost.csv [2024-10-22T18:13:15.009Z] + cut -d, -f6 [Pipeline] lock [2024-10-22T18:13:15.024Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] [2024-10-22T18:13:15.035Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] did not exist. Created. [2024-10-22T18:13:15.042Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T18:13:15.358Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-22T18:13:15.411Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T18:13:15.420Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T18:13:15.444Z] $ docker stop --time=1 2ea73ed6b0244c43a6c3296c475d121b5d1039d5ac67ca39e30f254beec84a6e [2024-10-22T18:13:16.590Z] $ docker rm -f --volumes 2ea73ed6b0244c43a6c3296c475d121b5d1039d5ac67ca39e30f254beec84a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-22T18:16:18.897Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23534 in /w/workspace/edgexfoundry_device-sdk-c_PR-517 [Pipeline] { [Pipeline] ws [2024-10-22T18:16:18.917Z] Running in /w/workspace/device-sdk-c/2 [Pipeline] { [Pipeline] checkout [2024-10-22T18:16:18.965Z] Selected Git installation does not exist. Using Default [2024-10-22T18:16:18.965Z] The recommended git tool is: NONE [2024-10-22T18:16:27.612Z] using credential edgex-jenkins-ssh [2024-10-22T18:16:27.637Z] Cloning the remote Git repository [2024-10-22T18:16:27.687Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-10-22T18:16:27.801Z] > git init /w/workspace/device-sdk-c/2 # timeout=10 [2024-10-22T18:16:28.096Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-10-22T18:16:28.097Z] > git --version # timeout=10 [2024-10-22T18:16:28.133Z] > git --version # 'git version 2.25.1' [2024-10-22T18:16:28.137Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:16:28.435Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T18:16:29.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-10-22T18:16:29.674Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T18:16:30.803Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-10-22T18:16:30.858Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-10-22T18:16:30.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:16:30.884Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/517/head:refs/remotes/origin/PR-517 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-22T18:16:31.447Z] Merging remotes/origin/main commit de2f7dd484aed31b8929cc3252062c81ad15313f into PR head commit c5e9af27f55e0d8940fc2a74df67f7e916361754 [2024-10-22T18:16:31.790Z] Merge succeeded, producing c5e9af27f55e0d8940fc2a74df67f7e916361754 [2024-10-22T18:16:31.790Z] Checking out Revision c5e9af27f55e0d8940fc2a74df67f7e916361754 (PR-517) [2024-10-22T18:16:31.466Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T18:16:31.547Z] > git checkout -f c5e9af27f55e0d8940fc2a74df67f7e916361754 # timeout=10 [2024-10-22T18:16:31.672Z] > git remote # timeout=10 [2024-10-22T18:16:31.692Z] > git config --get remote.origin.url # timeout=10 [2024-10-22T18:16:31.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:16:31.730Z] > git merge de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 [2024-10-22T18:16:31.765Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-22T18:16:31.794Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T18:16:31.811Z] > git checkout -f c5e9af27f55e0d8940fc2a74df67f7e916361754 # timeout=10 [2024-10-22T18:16:35.538Z] Commit message: "bug: Wait for MQTT subscriptions to take effect before returning (#516)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:16:37.328Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-22T18:16:37.329Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-22T18:16:37.329Z] Dload Upload Total Spent Left Speed [2024-10-22T18:16:37.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-10-22T18:16:37.686Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-22T18:16:38.074Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-22T18:16:38.074Z] + sudo tee /etc/docker/daemon.new [2024-10-22T18:16:38.074Z] { [2024-10-22T18:16:38.074Z] "registry-mirrors": [ [2024-10-22T18:16:38.074Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-22T18:16:38.074Z] ], [2024-10-22T18:16:38.074Z] "bip": "10.250.0.254/24", [2024-10-22T18:16:38.074Z] "hosts": [ [2024-10-22T18:16:38.074Z] "tcp://0.0.0.0:5555", [2024-10-22T18:16:38.074Z] "unix:///var/run/docker.sock" [2024-10-22T18:16:38.074Z] ], [2024-10-22T18:16:38.074Z] "mtu": 1458, [2024-10-22T18:16:38.074Z] "selinux-enabled": true, [2024-10-22T18:16:38.074Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-22T18:16:38.074Z] } [Pipeline] sh [2024-10-22T18:16:38.410Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-22T18:16:38.740Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:16:57.158Z] provisioning config files... [2024-10-22T18:16:57.273Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/2@tmp/config7908220502662759238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:16:57.725Z] ---> ****-login.sh [2024-10-22T18:16:57.725Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:16:58.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:16:58.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:16:58.314Z] Configure a credential helper to remove this warning. See [2024-10-22T18:16:58.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:16:58.314Z] [2024-10-22T18:16:58.314Z] Login Succeeded [2024-10-22T18:16:58.314Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:16:58.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:16:58.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:16:58.865Z] Configure a credential helper to remove this warning. See [2024-10-22T18:16:58.865Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:16:58.865Z] [2024-10-22T18:16:58.865Z] Login Succeeded [2024-10-22T18:16:58.865Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:16:59.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:16:59.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:16:59.139Z] Configure a credential helper to remove this warning. See [2024-10-22T18:16:59.139Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:16:59.139Z] [2024-10-22T18:16:59.139Z] Login Succeeded [2024-10-22T18:16:59.139Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:16:59.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:16:59.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:16:59.690Z] Configure a credential helper to remove this warning. See [2024-10-22T18:16:59.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:16:59.690Z] [2024-10-22T18:16:59.690Z] Login Succeeded [2024-10-22T18:16:59.690Z] ****.io [2024-10-22T18:16:59.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:17:00.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:17:00.234Z] Configure a credential helper to remove this warning. See [2024-10-22T18:17:00.234Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:17:00.234Z] [2024-10-22T18:17:00.234Z] Login Succeeded [2024-10-22T18:17:00.234Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:17:00.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T18:17:00.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:17:00.638Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-10-22T18:17:00.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:17:00.672Z] ========================================================= [2024-10-22T18:17:00.672Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-10-22T18:17:00.672Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:17:01.035Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2024-10-22T18:17:01.627Z] Sending build context to Docker daemon 3.068MB [2024-10-22T18:17:01.627Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-10-22T18:17:01.627Z] Step 2/22 : FROM ${BASE} as builder [2024-10-22T18:17:01.627Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-10-22T18:17:01.627Z] 579b34f0a95b: Pulling fs layer [2024-10-22T18:17:01.627Z] e71477ac5e1b: Pulling fs layer [2024-10-22T18:17:01.898Z] 579b34f0a95b: Verifying Checksum [2024-10-22T18:17:01.898Z] 579b34f0a95b: Download complete [2024-10-22T18:17:02.496Z] 579b34f0a95b: Pull complete [2024-10-22T18:17:04.464Z] e71477ac5e1b: Verifying Checksum [2024-10-22T18:17:04.464Z] e71477ac5e1b: Download complete [2024-10-22T18:17:16.820Z] e71477ac5e1b: Pull complete [2024-10-22T18:17:16.820Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-10-22T18:17:16.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-10-22T18:17:16.820Z] ---> 2b552cad5dd9 [2024-10-22T18:17:16.820Z] Step 3/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-10-22T18:17:16.820Z] ---> Running in a95c78824fee [2024-10-22T18:17:17.093Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-22T18:17:17.680Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:17:17.680Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:17:17.680Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:17:18.670Z] Removing intermediate container a95c78824fee [2024-10-22T18:17:18.671Z] ---> 13a00a48ac03 [2024-10-22T18:17:18.671Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:17:18.671Z] ---> Running in c89db6a07aed [2024-10-22T18:17:20.130Z] Removing intermediate container c89db6a07aed [2024-10-22T18:17:20.130Z] ---> 4b618c7f7c28 [2024-10-22T18:17:20.130Z] Step 5/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-10-22T18:17:20.130Z] ---> Running in 52df65a377bb [2024-10-22T18:17:21.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:17:21.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:17:22.296Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:17:23.261Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:17:23.261Z] (1/17) Installing hiredis (1.1.0-r2) [2024-10-22T18:17:23.261Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-10-22T18:17:23.529Z] (3/17) Installing libcbor (0.10.2-r1) [2024-10-22T18:17:23.529Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-22T18:17:24.492Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-22T18:17:24.492Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-22T18:17:24.758Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-10-22T18:17:24.758Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-10-22T18:17:25.026Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-10-22T18:17:25.026Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-10-22T18:17:25.026Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-22T18:17:25.026Z] (12/17) Installing libblkid (2.38.1-r8) [2024-10-22T18:17:25.026Z] (13/17) Installing libuuid (2.38.1-r8) [2024-10-22T18:17:25.026Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-10-22T18:17:25.026Z] (15/17) Installing libmount (2.38.1-r8) [2024-10-22T18:17:25.026Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-10-22T18:17:25.026Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-10-22T18:17:25.304Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:17:25.304Z] OK: 333 MiB in 99 packages [2024-10-22T18:17:26.716Z] Removing intermediate container 52df65a377bb [2024-10-22T18:17:26.716Z] ---> 0beb32c8a9e1 [2024-10-22T18:17:26.716Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-10-22T18:17:26.716Z] ---> Running in c885d574d975 [2024-10-22T18:17:28.661Z] Removing intermediate container c885d574d975 [2024-10-22T18:17:28.661Z] ---> 920e22267752 [2024-10-22T18:17:28.661Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-10-22T18:17:28.927Z] ---> 1bb0deb0ac36 [2024-10-22T18:17:28.927Z] Step 8/22 : COPY src /tmp/sdk/src [2024-10-22T18:17:29.892Z] ---> 73d14a2d892a [2024-10-22T18:17:29.892Z] Step 9/22 : COPY include /tmp/sdk/include [2024-10-22T18:17:30.586Z] ---> 0098ca68b762 [2024-10-22T18:17:30.586Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-10-22T18:17:32.530Z] ---> 78f384ff2872 [2024-10-22T18:17:32.530Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-10-22T18:17:32.799Z] ---> 43a0308f2c09 [2024-10-22T18:17:32.799Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-10-22T18:17:33.389Z] ---> f493486228c1 [2024-10-22T18:17:33.389Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-10-22T18:17:33.389Z] ---> Running in c1806fa2730b [2024-10-22T18:17:34.354Z] + CPPCHECK=false [2024-10-22T18:17:34.354Z] + DOCGEN=false [2024-10-22T18:17:34.354Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-10-22T18:17:34.354Z] + '[' 0 -gt 0 ] [2024-10-22T18:17:34.354Z] + readlink -f ./scripts/build.sh [2024-10-22T18:17:34.354Z] + dirname /tmp/sdk/scripts/build.sh [2024-10-22T18:17:34.354Z] + dirname /tmp/sdk/scripts [2024-10-22T18:17:34.354Z] + ROOT=/tmp/sdk [2024-10-22T18:17:34.354Z] + cd /tmp/sdk [2024-10-22T18:17:34.354Z] + mkdir -p /tmp/sdk/build/release [2024-10-22T18:17:34.354Z] + cd /tmp/sdk/build/release [2024-10-22T18:17:34.354Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-10-22T18:17:34.623Z] -- The C compiler identification is GNU 12.2.1 [2024-10-22T18:17:34.892Z] -- Detecting C compiler ABI info [2024-10-22T18:17:35.162Z] -- Detecting C compiler ABI info - done [2024-10-22T18:17:35.162Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-22T18:17:35.162Z] -- Detecting C compile features [2024-10-22T18:17:35.162Z] -- Detecting C compile features - done [2024-10-22T18:17:35.162Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-22T18:17:35.438Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-22T18:17:35.438Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-22T18:17:35.438Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-22T18:17:35.438Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-22T18:17:35.438Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-22T18:17:35.438Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-22T18:17:35.438Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-22T18:17:35.438Z] -- /opt/iotech/iot/1.5/include [2024-10-22T18:17:35.438Z] -- C SDK 0.0.0 for Linux [2024-10-22T18:17:35.710Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-22T18:17:35.981Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-22T18:17:35.981Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-22T18:17:36.250Z] -- Configuring done (1.8s) [2024-10-22T18:17:36.519Z] -- Generating done (0.2s) [2024-10-22T18:17:36.519Z] -- Build files have been written to: /tmp/sdk/build/release [2024-10-22T18:17:36.519Z] + make all package [2024-10-22T18:17:36.519Z] + tee release.log [2024-10-22T18:17:36.788Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-22T18:17:37.374Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-22T18:17:38.338Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-22T18:17:38.928Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-22T18:17:39.890Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-22T18:17:40.494Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-22T18:17:42.442Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-22T18:17:43.407Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-10-22T18:17:43.407Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:17:43.407Z] 294 | while (privateConfig) [2024-10-22T18:17:43.407Z] | ^~~~~~~~~~~~~ [2024-10-22T18:17:43.407Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-10-22T18:17:43.407Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-22T18:17:43.407Z] | ^~~~~~~~~~~~~ [2024-10-22T18:17:43.407Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:17:43.407Z] 271 | while (result) [2024-10-22T18:17:43.407Z] | ^~~~~~ [2024-10-22T18:17:43.407Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-10-22T18:17:43.407Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-22T18:17:43.407Z] | ^~~~~~ [2024-10-22T18:17:43.676Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-22T18:17:43.676Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-22T18:17:44.654Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-22T18:17:46.607Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-22T18:17:46.876Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-22T18:17:47.843Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-22T18:17:48.427Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-22T18:17:49.013Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-22T18:17:49.969Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-22T18:17:50.551Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-22T18:17:52.498Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-22T18:17:52.764Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-22T18:17:53.345Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-22T18:17:54.771Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-22T18:18:01.525Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-22T18:18:02.106Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-22T18:18:02.372Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-22T18:18:02.954Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-22T18:18:03.222Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-22T18:18:05.165Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-22T18:18:07.743Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-22T18:18:08.010Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-22T18:18:08.967Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-22T18:18:09.929Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-22T18:18:09.929Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-22T18:18:10.196Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:18:10.196Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-22T18:18:10.196Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:18:10.196Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:18:10.196Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-22T18:18:10.196Z] | ^ [2024-10-22T18:18:12.136Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-22T18:18:12.137Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-10-22T18:18:12.137Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:18:12.137Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-10-22T18:18:12.137Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-10-22T18:18:12.137Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:18:13.098Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-22T18:18:14.057Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-22T18:18:14.643Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-22T18:18:15.228Z] [ 68%] Linking C shared library libcsdk.so [2024-10-22T18:18:15.228Z] [ 68%] Built target csdk [2024-10-22T18:18:15.495Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-22T18:18:16.455Z] [ 72%] Linking C executable template [2024-10-22T18:18:16.723Z] [ 72%] Built target template [2024-10-22T18:18:16.723Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-22T18:18:17.306Z] [ 76%] Linking C executable device-counter [2024-10-22T18:18:17.577Z] [ 76%] Built target device-counter [2024-10-22T18:18:17.844Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-22T18:18:18.426Z] [ 80%] Linking C executable device-random [2024-10-22T18:18:18.693Z] [ 80%] Built target device-random [2024-10-22T18:18:18.693Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-22T18:18:19.277Z] [ 84%] Linking C executable device-gyro [2024-10-22T18:18:19.545Z] [ 84%] Built target device-gyro [2024-10-22T18:18:19.545Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-22T18:18:20.505Z] [ 88%] Linking C executable device-bitfields [2024-10-22T18:18:20.505Z] [ 88%] Built target device-bitfields [2024-10-22T18:18:20.772Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-22T18:18:21.732Z] [ 92%] Linking C executable template-discovery [2024-10-22T18:18:21.999Z] [ 92%] Built target template-discovery [2024-10-22T18:18:21.999Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-22T18:18:22.961Z] [ 96%] Linking C executable device-file [2024-10-22T18:18:23.227Z] [ 96%] Built target device-file [2024-10-22T18:18:23.227Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-22T18:18:24.188Z] [100%] Linking C executable device-terminal [2024-10-22T18:18:24.458Z] [100%] Built target device-terminal [2024-10-22T18:18:24.458Z] Run CPack packaging tool... [2024-10-22T18:18:24.727Z] CPack: Create package using TGZ [2024-10-22T18:18:24.727Z] CPack: Install projects [2024-10-22T18:18:24.727Z] CPack: - Run preinstall target for: Csdk [2024-10-22T18:18:25.693Z] CPack: - Install project: Csdk [] [2024-10-22T18:18:25.693Z] CPack: Create package [2024-10-22T18:18:25.693Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-10-22T18:18:25.693Z] + '[' false '=' true ] [2024-10-22T18:18:25.693Z] + '[' false '=' true ] [2024-10-22T18:18:25.693Z] + mkdir -p /tmp/sdk/build/debug [2024-10-22T18:18:25.693Z] + cd /tmp/sdk/build/debug [2024-10-22T18:18:25.693Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-10-22T18:18:25.962Z] -- The C compiler identification is GNU 12.2.1 [2024-10-22T18:18:25.962Z] -- Detecting C compiler ABI info [2024-10-22T18:18:26.549Z] -- Detecting C compiler ABI info - done [2024-10-22T18:18:26.549Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-22T18:18:26.549Z] -- Detecting C compile features [2024-10-22T18:18:26.549Z] -- Detecting C compile features - done [2024-10-22T18:18:26.549Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-22T18:18:26.817Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-22T18:18:26.817Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-22T18:18:26.817Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-22T18:18:26.817Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-22T18:18:26.817Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-22T18:18:26.817Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-22T18:18:26.817Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-22T18:18:26.817Z] -- /opt/iotech/iot/1.5/include [2024-10-22T18:18:26.817Z] -- C SDK 0.0.0 for Linux [2024-10-22T18:18:26.817Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-22T18:18:27.089Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-22T18:18:27.358Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-22T18:18:27.358Z] -- Configuring done (1.8s) [2024-10-22T18:18:27.625Z] -- Generating done (0.2s) [2024-10-22T18:18:27.893Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-10-22T18:18:27.893Z] + make [2024-10-22T18:18:27.893Z] + tee debug.log [2024-10-22T18:18:27.893Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-22T18:18:28.480Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-22T18:18:28.748Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-22T18:18:29.332Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-22T18:18:29.601Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-22T18:18:29.869Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-22T18:18:30.834Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-22T18:18:31.102Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-22T18:18:31.440Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-22T18:18:31.711Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-22T18:18:32.689Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-22T18:18:32.968Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-22T18:18:33.577Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-22T18:18:33.876Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-22T18:18:34.149Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-22T18:18:34.742Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-22T18:18:35.008Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-22T18:18:35.598Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-22T18:18:35.866Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-22T18:18:36.135Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-22T18:18:37.100Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-22T18:18:38.517Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-22T18:18:38.785Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-22T18:18:39.053Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-22T18:18:39.324Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-22T18:18:39.592Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-22T18:18:40.179Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-22T18:18:42.130Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-22T18:18:42.130Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-22T18:18:42.398Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-22T18:18:42.982Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-22T18:18:43.249Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-22T18:18:43.249Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:18:43.249Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-22T18:18:43.249Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-22T18:18:43.249Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-22T18:18:43.249Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-22T18:18:43.249Z] | ^ [2024-10-22T18:18:43.833Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-22T18:18:44.419Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-22T18:18:44.688Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-22T18:18:44.957Z] [ 68%] Linking C shared library libcsdk.so [2024-10-22T18:18:45.226Z] [ 68%] Built target csdk [2024-10-22T18:18:45.226Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-22T18:18:45.809Z] [ 72%] Linking C executable template [2024-10-22T18:18:46.075Z] [ 72%] Built target template [2024-10-22T18:18:46.076Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-22T18:18:46.343Z] [ 76%] Linking C executable device-counter [2024-10-22T18:18:46.924Z] [ 76%] Built target device-counter [2024-10-22T18:18:46.924Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-22T18:18:47.189Z] [ 80%] Linking C executable device-random [2024-10-22T18:18:47.770Z] [ 80%] Built target device-random [2024-10-22T18:18:47.770Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-22T18:18:48.035Z] [ 84%] Linking C executable device-gyro [2024-10-22T18:18:48.301Z] [ 84%] Built target device-gyro [2024-10-22T18:18:48.301Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-22T18:18:48.567Z] [ 88%] Linking C executable device-bitfields [2024-10-22T18:18:49.147Z] [ 88%] Built target device-bitfields [2024-10-22T18:18:49.147Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-22T18:18:49.412Z] [ 92%] Linking C executable template-discovery [2024-10-22T18:18:49.677Z] [ 92%] Built target template-discovery [2024-10-22T18:18:49.677Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-22T18:18:50.257Z] [ 96%] Linking C executable device-file [2024-10-22T18:18:50.522Z] [ 96%] Built target device-file [2024-10-22T18:18:50.522Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-22T18:18:50.787Z] [100%] Linking C executable device-terminal [2024-10-22T18:18:51.367Z] [100%] Built target device-terminal [2024-10-22T18:18:51.367Z] make: Entering directory '/tmp/sdk/build/release' [2024-10-22T18:18:51.367Z] [ 68%] Built target csdk [2024-10-22T18:18:51.367Z] [ 72%] Built target template [2024-10-22T18:18:51.632Z] [ 76%] Built target device-counter [2024-10-22T18:18:51.632Z] [ 80%] Built target device-random [2024-10-22T18:18:51.632Z] [ 84%] Built target device-gyro [2024-10-22T18:18:51.632Z] [ 88%] Built target device-bitfields [2024-10-22T18:18:51.632Z] [ 92%] Built target template-discovery [2024-10-22T18:18:51.896Z] [ 96%] Built target device-file [2024-10-22T18:18:51.896Z] [100%] Built target device-terminal [2024-10-22T18:18:51.896Z] Install the project... [2024-10-22T18:18:51.896Z] -- Install configuration: "Release" [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/lib/libcsdk.so [2024-10-22T18:18:51.896Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include/devsdk [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include/edgex [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include/edgex/devices.h [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-10-22T18:18:51.896Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-10-22T18:18:51.896Z] make: Leaving directory '/tmp/sdk/build/release' [2024-10-22T18:18:53.316Z] Removing intermediate container c1806fa2730b [2024-10-22T18:18:53.316Z] ---> fcdf8d7e3b05 [2024-10-22T18:18:53.316Z] Step 14/22 : FROM ${BASE} [2024-10-22T18:18:53.316Z] ---> 2b552cad5dd9 [2024-10-22T18:18:53.316Z] Step 15/22 : LABEL maintainer="IOTech " [2024-10-22T18:18:53.316Z] ---> Running in edff832b5716 [2024-10-22T18:18:53.907Z] Removing intermediate container edff832b5716 [2024-10-22T18:18:53.907Z] ---> b6b5fbca57bd [2024-10-22T18:18:53.907Z] Step 16/22 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-10-22T18:18:53.907Z] ---> Running in f22b74038736 [2024-10-22T18:18:54.866Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-22T18:18:55.448Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:18:55.448Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:18:55.448Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:18:56.035Z] Removing intermediate container f22b74038736 [2024-10-22T18:18:56.035Z] ---> 5ab192645f45 [2024-10-22T18:18:56.036Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:18:56.036Z] ---> Running in bf4a7ebd044f [2024-10-22T18:18:57.986Z] Removing intermediate container bf4a7ebd044f [2024-10-22T18:18:57.986Z] ---> 89550bdac303 [2024-10-22T18:18:57.986Z] Step 18/22 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev dumb-init [2024-10-22T18:18:57.986Z] ---> Running in 17825fac768d [2024-10-22T18:18:58.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:18:59.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:18:59.809Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:00.768Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:19:00.768Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-10-22T18:19:00.768Z] (2/10) Installing curl (8.9.1-r1) [2024-10-22T18:19:00.768Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-10-22T18:19:00.768Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-10-22T18:19:01.035Z] (5/10) Installing hiredis (1.1.0-r2) [2024-10-22T18:19:01.035Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-10-22T18:19:01.035Z] (7/10) Installing libcbor (0.10.2-r1) [2024-10-22T18:19:01.035Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-22T18:19:02.006Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-22T18:19:02.006Z] (10/10) Installing libuuid (2.38.1-r8) [2024-10-22T18:19:02.006Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:19:02.006Z] OK: 328 MiB in 90 packages [2024-10-22T18:19:03.427Z] Removing intermediate container 17825fac768d [2024-10-22T18:19:03.427Z] ---> f016285de9fe [2024-10-22T18:19:03.427Z] Step 19/22 : RUN apk --no-cache upgrade [2024-10-22T18:19:03.427Z] ---> Running in a281d6e069af [2024-10-22T18:19:04.394Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:04.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:05.246Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:06.207Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:19:06.207Z] Upgrading critical system libraries and apk-tools: [2024-10-22T18:19:06.207Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-22T18:19:06.207Z] Executing busybox-1.36.1-r4.trigger [2024-10-22T18:19:06.475Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T18:19:06.475Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:06.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:07.328Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:08.289Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:19:08.289Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:19:08.289Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-22T18:19:08.289Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:19:08.289Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-22T18:19:08.289Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:19:08.556Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:19:08.556Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-10-22T18:19:08.556Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-10-22T18:19:08.556Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) [2024-10-22T18:19:08.556Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-10-22T18:19:08.556Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-10-22T18:19:08.824Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-10-22T18:19:09.093Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:19:09.093Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:19:09.373Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-10-22T18:19:09.373Z] Executing busybox-1.36.1-r7.trigger [2024-10-22T18:19:09.373Z] Executing ca-certificates-20240226-r0.trigger [2024-10-22T18:19:09.641Z] OK: 328 MiB in 90 packages [2024-10-22T18:19:11.601Z] Removing intermediate container a281d6e069af [2024-10-22T18:19:11.601Z] ---> e1621df27fdb [2024-10-22T18:19:11.601Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-10-22T18:19:12.186Z] ---> df355665560d [2024-10-22T18:19:12.186Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-10-22T18:19:12.773Z] ---> 7351283fde43 [2024-10-22T18:19:12.773Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-10-22T18:19:13.358Z] ---> 3860f4aaa50f [2024-10-22T18:19:13.358Z] Successfully built 3860f4aaa50f [2024-10-22T18:19:13.358Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:19:13.815Z] + docker inspect -f . ci-base-image-arm64 [2024-10-22T18:19:13.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:19:14.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-23534 does not seem to be running inside a container [2024-10-22T18:19:14.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-22T18:19:15.368Z] $ docker top 2e24f2f01395e72bfa6118fea74258a7907310326bd2579fec0eb7e200756dff -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:19:16.230Z] + make test [2024-10-22T18:19:16.230Z] echo "make test" [2024-10-22T18:19:16.230Z] make test [Pipeline] } [2024-10-22T18:19:16.247Z] $ docker stop --time=1 2e24f2f01395e72bfa6118fea74258a7907310326bd2579fec0eb7e200756dff [2024-10-22T18:19:17.898Z] $ docker rm -f --volumes 2e24f2f01395e72bfa6118fea74258a7907310326bd2579fec0eb7e200756dff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:19:18.474Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T18:19:18.791Z] + ls -al . [2024-10-22T18:19:18.791Z] total 208 [2024-10-22T18:19:18.791Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:16 . [2024-10-22T18:19:18.791Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:16 .. [2024-10-22T18:19:18.791Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:16 .git [2024-10-22T18:19:18.791Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:16 .github [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 22 18:16 .gitignore [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 22 18:16 Attribution.txt [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 11953 Oct 22 18:16 CHANGELOG.md [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 22 18:16 Doxyfile [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:16 GOVERNANCE.md [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 22 18:16 Jenkinsfile [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 22 18:16 LICENSE [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 22 18:16 Makefile [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 22 18:16 OWNERS.md [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 22 18:16 README.IOT.md [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 22 18:16 README.md [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 22 18:16 README.v3.md [2024-10-22T18:19:18.791Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:12 VERSION [2024-10-22T18:19:18.791Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:16 docs [2024-10-22T18:19:18.791Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:16 include [2024-10-22T18:19:18.791Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:16 scripts [2024-10-22T18:19:18.791Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:16 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:19:19.130Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c5e9af27f55e0d8940fc2a74df67f7e916361754 --label arch=arm64 --label version=0.0.0 . [2024-10-22T18:19:19.712Z] Sending build context to Docker daemon 3.068MB [2024-10-22T18:19:19.712Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-10-22T18:19:19.712Z] Step 2/18 : FROM ${BASE} [2024-10-22T18:19:19.712Z] ---> 3860f4aaa50f [2024-10-22T18:19:19.712Z] Step 3/18 : LABEL maintainer="IOTech " [2024-10-22T18:19:20.670Z] ---> Running in 2546dcdf43ab [2024-10-22T18:19:20.670Z] Removing intermediate container 2546dcdf43ab [2024-10-22T18:19:20.670Z] ---> 790c4052ae1b [2024-10-22T18:19:20.670Z] Step 4/18 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-10-22T18:19:20.941Z] ---> Running in 795c3dbc3360 [2024-10-22T18:19:21.897Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-22T18:19:22.163Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-22T18:19:22.163Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-22T18:19:22.163Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-22T18:19:23.122Z] Removing intermediate container 795c3dbc3360 [2024-10-22T18:19:23.122Z] ---> f98d2f3d0796 [2024-10-22T18:19:23.122Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-22T18:19:23.122Z] ---> Running in 43f96ead9dab [2024-10-22T18:19:25.067Z] Removing intermediate container 43f96ead9dab [2024-10-22T18:19:25.067Z] ---> 58cb30e7437d [2024-10-22T18:19:25.067Z] Step 6/18 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-10-22T18:19:25.067Z] ---> Running in 23276351321c [2024-10-22T18:19:26.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:26.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:26.878Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:27.837Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:19:27.837Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-22T18:19:28.107Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-10-22T18:19:28.107Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-10-22T18:19:28.107Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-10-22T18:19:28.107Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-10-22T18:19:28.107Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-22T18:19:28.107Z] (7/11) Installing libblkid (2.38.1-r8) [2024-10-22T18:19:28.107Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-10-22T18:19:28.107Z] (9/11) Installing libmount (2.38.1-r8) [2024-10-22T18:19:28.107Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-10-22T18:19:28.107Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-10-22T18:19:28.107Z] Executing busybox-1.36.1-r7.trigger [2024-10-22T18:19:28.374Z] OK: 334 MiB in 101 packages [2024-10-22T18:19:29.340Z] Removing intermediate container 23276351321c [2024-10-22T18:19:29.340Z] ---> 2a99dfa02358 [2024-10-22T18:19:29.340Z] Step 7/18 : RUN apk --no-cache upgrade [2024-10-22T18:19:29.613Z] ---> Running in 2468e0528861 [2024-10-22T18:19:30.574Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:30.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:31.436Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:19:32.031Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-22T18:19:32.301Z] OK: 334 MiB in 101 packages [2024-10-22T18:19:33.265Z] Removing intermediate container 2468e0528861 [2024-10-22T18:19:33.265Z] ---> 881cc2232ae2 [2024-10-22T18:19:33.265Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-10-22T18:19:33.536Z] ---> 7d999177e033 [2024-10-22T18:19:33.536Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-10-22T18:19:34.499Z] ---> 1226744ab1a8 [2024-10-22T18:19:34.499Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-10-22T18:19:34.767Z] ---> acda3f503191 [2024-10-22T18:19:34.767Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-10-22T18:19:35.351Z] ---> b91c66172519 [2024-10-22T18:19:35.351Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-10-22T18:19:35.935Z] ---> b238021ab91a [2024-10-22T18:19:35.935Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-10-22T18:19:36.517Z] ---> 74cd5df6ecca [2024-10-22T18:19:36.517Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-10-22T18:19:36.517Z] ---> Running in f40f3f98c1eb [2024-10-22T18:19:36.784Z] Removing intermediate container f40f3f98c1eb [2024-10-22T18:19:36.784Z] ---> 8cc0e3e705a7 [2024-10-22T18:19:36.784Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-10-22T18:19:37.049Z] ---> Running in 068cfdeb1e7b [2024-10-22T18:19:37.314Z] Removing intermediate container 068cfdeb1e7b [2024-10-22T18:19:37.314Z] ---> 9fa7d41b5377 [2024-10-22T18:19:37.314Z] Step 16/18 : LABEL arch=arm64 [2024-10-22T18:19:37.314Z] ---> Running in 2bfc40199764 [2024-10-22T18:19:37.901Z] Removing intermediate container 2bfc40199764 [2024-10-22T18:19:37.901Z] ---> ae4e25ba9399 [2024-10-22T18:19:37.901Z] Step 17/18 : LABEL git_sha=c5e9af27f55e0d8940fc2a74df67f7e916361754 [2024-10-22T18:19:37.901Z] ---> Running in cfa5dbc2150f [2024-10-22T18:19:38.167Z] Removing intermediate container cfa5dbc2150f [2024-10-22T18:19:38.167Z] ---> f90f550f6cb7 [2024-10-22T18:19:38.167Z] Step 18/18 : LABEL version=0.0.0 [2024-10-22T18:19:38.167Z] ---> Running in 6c9c71650d64 [2024-10-22T18:19:38.433Z] Removing intermediate container 6c9c71650d64 [2024-10-22T18:19:38.433Z] ---> 275a3fe3451c [2024-10-22T18:19:38.433Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2024-10-22T18:19:38.433Z] Successfully built 275a3fe3451c [2024-10-22T18:19:38.433Z] Successfully tagged device-sdk-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:19:38.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T18:19:38.909Z] [2024-10-22T18:19:38.909Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:19:39.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T18:19:39.518Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-22T18:19:39.518Z] 8998bd30e6a1: Pulling fs layer [2024-10-22T18:19:39.518Z] 04944245beec: Pulling fs layer [2024-10-22T18:19:39.518Z] 699f458cf7ca: Pulling fs layer [2024-10-22T18:19:39.518Z] 765212b225bb: Pulling fs layer [2024-10-22T18:19:39.518Z] f23df028b6ca: Pulling fs layer [2024-10-22T18:19:39.518Z] d65c8cfc05b1: Pulling fs layer [2024-10-22T18:19:39.518Z] 2437ff75d9bd: Pulling fs layer [2024-10-22T18:19:39.518Z] 765212b225bb: Waiting [2024-10-22T18:19:39.518Z] f23df028b6ca: Waiting [2024-10-22T18:19:39.518Z] d65c8cfc05b1: Waiting [2024-10-22T18:19:39.518Z] 2437ff75d9bd: Waiting [2024-10-22T18:19:39.518Z] 04944245beec: Verifying Checksum [2024-10-22T18:19:39.518Z] 04944245beec: Download complete [2024-10-22T18:19:39.518Z] 765212b225bb: Verifying Checksum [2024-10-22T18:19:39.518Z] 765212b225bb: Download complete [2024-10-22T18:19:39.518Z] f23df028b6ca: Download complete [2024-10-22T18:19:39.784Z] d65c8cfc05b1: Verifying Checksum [2024-10-22T18:19:39.784Z] d65c8cfc05b1: Download complete [2024-10-22T18:19:39.784Z] 699f458cf7ca: Verifying Checksum [2024-10-22T18:19:39.784Z] 699f458cf7ca: Download complete [2024-10-22T18:19:40.366Z] 8998bd30e6a1: Verifying Checksum [2024-10-22T18:19:40.366Z] 8998bd30e6a1: Download complete [2024-10-22T18:19:42.955Z] 2437ff75d9bd: Verifying Checksum [2024-10-22T18:19:42.955Z] 2437ff75d9bd: Download complete [2024-10-22T18:19:44.895Z] 8998bd30e6a1: Pull complete [2024-10-22T18:19:45.478Z] 04944245beec: Pull complete [2024-10-22T18:19:46.888Z] 699f458cf7ca: Pull complete [2024-10-22T18:19:47.155Z] 765212b225bb: Pull complete [2024-10-22T18:19:48.118Z] f23df028b6ca: Pull complete [2024-10-22T18:19:48.385Z] d65c8cfc05b1: Pull complete [2024-10-22T18:20:06.597Z] 2437ff75d9bd: Pull complete [2024-10-22T18:20:06.597Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-22T18:20:06.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T18:20:06.597Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:20:06.815Z] prd-ubuntu20.04-docker-arm64-4c-16g-23534 does not seem to be running inside a container [2024-10-22T18:20:06.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/2 -v /w/workspace/device-sdk-c/2:/w/workspace/device-sdk-c/2:rw,z -v /w/workspace/device-sdk-c/2@tmp:/w/workspace/device-sdk-c/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-22T18:20:09.693Z] $ docker top 9d548d60dac4067f357ed436eeb6d6b05089cfd60ace7c9adc2ae91ddb3b662b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:20:10.558Z] ---> job-cost.sh [2024-10-22T18:20:10.558Z] lf-activate-venv: SKIPPING [2024-10-22T18:20:10.558Z] INFO: No Stack... [2024-10-22T18:20:11.142Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-22T18:20:11.728Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T18:20:12.373Z] + cat /w/workspace/device-sdk-c/2/archives/cost.csv [2024-10-22T18:20:12.373Z] + cut -d, -f6 [Pipeline] lock [2024-10-22T18:20:12.440Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] [2024-10-22T18:20:12.453Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] did not exist. Created. [2024-10-22T18:20:12.460Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T18:20:13.125Z] /w/workspace/device-sdk-c/2@tmp/durable-94af8140/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-22T18:20:13.779Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-22T18:20:13.795Z] Warning: overwriting stash ‘stack-cost’ [2024-10-22T18:20:14.353Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T18:20:14.368Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T18:20:14.396Z] $ docker stop --time=1 9d548d60dac4067f357ed436eeb6d6b05089cfd60ace7c9adc2ae91ddb3b662b [2024-10-22T18:20:15.922Z] $ docker rm -f --volumes 9d548d60dac4067f357ed436eeb6d6b05089cfd60ace7c9adc2ae91ddb3b662b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" 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 [2024-10-22T18:20:16.848Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives ] [2024-10-22T18:20:16.849Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-10-22T18:20:16.849Z] total 16 [2024-10-22T18:20:16.849Z] drwxr-xr-x 3 root root 4096 Oct 22 18:13 . [2024-10-22T18:20:16.849Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:13 .. [2024-10-22T18:20:16.849Z] drwxr-xr-x 2 root root 4096 Oct 22 18:13 cost [2024-10-22T18:20:16.849Z] -rw-r--r-- 1 root root 84 Oct 22 18:13 cost.csv [2024-10-22T18:20:16.849Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-10-22T18:20:16.849Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-10-22T18:20:16.849Z] total 16 [2024-10-22T18:20:16.849Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:13 . [2024-10-22T18:20:16.849Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:13 .. [2024-10-22T18:20:16.849Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 18:13 cost [2024-10-22T18:20:16.849Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 22 18:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:20:17.141Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:20:18.004Z] ---> package-listing.sh [2024-10-22T18:20:18.005Z] ++ facter osfamily [2024-10-22T18:20:18.005Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-22T18:20:18.265Z] + OS_FAMILY=debian [2024-10-22T18:20:18.265Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-517 [2024-10-22T18:20:18.265Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-22T18:20:18.265Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-22T18:20:18.265Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-22T18:20:18.265Z] + PACKAGES=/tmp/packages_start.txt [2024-10-22T18:20:18.265Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-10-22T18:20:18.265Z] + PACKAGES=/tmp/packages_end.txt [2024-10-22T18:20:18.265Z] + case "${OS_FAMILY}" in [2024-10-22T18:20:18.265Z] + dpkg -l [2024-10-22T18:20:18.265Z] + grep '^ii' [2024-10-22T18:20:18.265Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-22T18:20:18.265Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-22T18:20:18.265Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-22T18:20:18.265Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-10-22T18:20:18.265Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ [2024-10-22T18:20:18.265Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ [Pipeline] echo [2024-10-22T18:20:18.278Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-517/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-22T18:20:18.556Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:20:19.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:20:19.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:20:19.205Z] prd-ubuntu20.04-docker-8c-8g-23532 does not seem to be running inside a container [2024-10-22T18:20:19.231Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-c_PR-517/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-517 -v /w/workspace/edgexfoundry_device-sdk-c_PR-517:/w/workspace/edgexfoundry_device-sdk-c_PR-517:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-22T18:20:19.427Z] $ docker top 71806ec456e70ef018129aa1ad2eaab0e1214aee5ea8a477d3faff4854ca7cc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:20:19.782Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-22T18:20:20.068Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-22T18:20:20.353Z] + ls /var/log/sa-host [2024-10-22T18:20:20.353Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:20:20.426Z] provisioning config files... [2024-10-22T18:20:20.437Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config7134122983848334442tmp [Pipeline] { [Pipeline] echo [2024-10-22T18:20:20.457Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:20:20.738Z] ---> create-netrc.sh [Pipeline] } [2024-10-22T18:20:20.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:20:21.088Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-22T18:20:21.100Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:20:21.384Z] ---> sudo-logs.sh [2024-10-22T18:20:21.384Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-22T18:20:21.418Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:20:21.698Z] ---> job-cost.sh [2024-10-22T18:20:21.698Z] lf-activate-venv: SKIPPING [2024-10-22T18:20:21.698Z] DEBUG: total: 0.2199999988079071 [2024-10-22T18:20:21.698Z] INFO: Retrieving Stack Cost... [2024-10-22T18:20:21.957Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T18:20:22.215Z] INFO: Archiving Costs [Pipeline] echo [2024-10-22T18:20:22.229Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:20:22.513Z] ---> logs-deploy.sh [2024-10-22T18:20:22.513Z] lf-activate-venv: SKIPPING [2024-10-22T18:20:22.513Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-517/2 [2024-10-22T18:20:22.513Z] INFO: archiving workspace using pattern(s): [2024-10-22T18:20:23.450Z] Archives upload complete. [2024-10-22T18:20:23.450Z] INFO: archiving logs to Nexus