Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271+6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 (ca02f4edd2ecfa84172ab9ed69923cd567f28d4e) 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-ssh6796863246139173894.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-ssh12739145658574819504.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-ssh17189014260994616266.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-ssh11047955576352806071.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-ssh6974175095911601363.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23701 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 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 into PR head commit d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 Merge succeeded, producing 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 Checking out Revision 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 (PR-517) > git config core.sparsecheckout # timeout=10 > git checkout -f d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 # 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 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 # timeout=10 Commit message: "Merge commit '6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678' into HEAD" > git rev-list --no-walk d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-24T18:55:34.248Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-24T18:55:34.301Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-24T18:55:34.321Z] ========================================================= [2024-10-24T18:55:34.321Z] EdgeX Global Pipelines Version Info [2024-10-24T18:55:34.321Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-24T18:55:35.038Z] ------------------- [2024-10-24T18:55:35.038Z] stable info: [2024-10-24T18:55:35.038Z] ------------------- [2024-10-24T18:55:35.038Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-24T18:55:35.038Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-24T18:55:35.038Z] Message: update stable to v1.0.265 [2024-10-24T18:55:35.607Z] ------------------- [2024-10-24T18:55:35.607Z] experimental info: [2024-10-24T18:55:35.607Z] ------------------- [2024-10-24T18:55:35.607Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-24T18:55:35.607Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-24T18:55:35.607Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-24T18:55:35.686Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-10-24T18:55:35.705Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-10-24T18:55:35.728Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-24T18:55:35.750Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-24T18:55:35.775Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-24T18:55:35.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-10-24T18:55:35.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-10-24T18:55:35.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-24T18:55:35.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-24T18:55:35.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-10-24T18:55:35.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-24T18:55:35.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-24T18:55:35.958Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-24T18:55:35.980Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-24T18:55:36.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-24T18:55:36.035Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-24T18:55:36.068Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-24T18:55:36.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-517 [Pipeline] echo [2024-10-24T18:55:36.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-517 [Pipeline] echo [2024-10-24T18:55:36.145Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-517 [Pipeline] echo [2024-10-24T18:55:36.170Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 [Pipeline] echo [2024-10-24T18:55:36.191Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75b42d6 [Pipeline] echo [2024-10-24T18:55:36.216Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-24T18:55:36.281Z] provisioning config files... [2024-10-24T18:55:36.296Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config7337872118024080958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-24T18:55:36.635Z] ---> ****-login.sh [2024-10-24T18:55:36.635Z] nexus3.edgexfoundry.org:10001 [2024-10-24T18:55:36.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:55:37.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:55:37.156Z] Configure a credential helper to remove this warning. See [2024-10-24T18:55:37.156Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:55:37.156Z] [2024-10-24T18:55:37.156Z] Login Succeeded [2024-10-24T18:55:37.156Z] nexus3.edgexfoundry.org:10002 [2024-10-24T18:55:37.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:55:37.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:55:37.156Z] Configure a credential helper to remove this warning. See [2024-10-24T18:55:37.156Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:55:37.156Z] [2024-10-24T18:55:37.156Z] Login Succeeded [2024-10-24T18:55:37.156Z] nexus3.edgexfoundry.org:10003 [2024-10-24T18:55:37.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:55:37.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:55:37.416Z] Configure a credential helper to remove this warning. See [2024-10-24T18:55:37.416Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:55:37.416Z] [2024-10-24T18:55:37.416Z] Login Succeeded [2024-10-24T18:55:37.416Z] nexus3.edgexfoundry.org:10004 [2024-10-24T18:55:37.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:55:37.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:55:37.416Z] Configure a credential helper to remove this warning. See [2024-10-24T18:55:37.416Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:55:37.416Z] [2024-10-24T18:55:37.416Z] Login Succeeded [2024-10-24T18:55:37.416Z] ****.io [2024-10-24T18:55:37.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:55:37.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:55:37.675Z] Configure a credential helper to remove this warning. See [2024-10-24T18:55:37.676Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:55:37.676Z] [2024-10-24T18:55:37.676Z] Login Succeeded [2024-10-24T18:55:37.676Z] ---> ****-login.sh ends [Pipeline] } [2024-10-24T18:55:37.683Z] 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-24T18:55:38.090Z] + git rev-list -1 --merges 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470~1..75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 [Pipeline] echo [2024-10-24T18:55:38.122Z] -----------> git rev-list -1 --merges 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470~1..75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 [2024-10-24T18:55:38.122Z] 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 [false] [Pipeline] sh [2024-10-24T18:55:38.416Z] + git log --format=format:%s -1 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 [Pipeline] echo [2024-10-24T18:55:38.439Z] ========================================================= [2024-10-24T18:55:38.439Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-24T18:55:38.439Z] ========================================================= 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-24T18:55:38.888Z] + git rev-list -1 --merges 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470~1..75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 [Pipeline] echo [2024-10-24T18:55:38.901Z] -----------> git rev-list -1 --merges 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470~1..75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 [2024-10-24T18:55:38.901Z] 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 [false] [Pipeline] sh [2024-10-24T18:55:39.193Z] + git log --format=format:%s -1 75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 [Pipeline] echo [2024-10-24T18:55:39.210Z] ========================================================= [2024-10-24T18:55:39.210Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-24T18:55:39.210Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-10-24T18:55:39.647Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-24T18:55:39.647Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-24T18:55:39.647Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-24T18:55:39.647Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-24T18:55:39.647Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-24T18:55:39.647Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-24T18:55:39.647Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T18:55:40.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-24T18:55:40.065Z] [2024-10-24T18:55:40.065Z] 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-24T18:55:40.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-24T18:55:40.370Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-24T18:55:40.370Z] b85a868b505f: Pulling fs layer [2024-10-24T18:55:40.370Z] e2be974225ed: Pulling fs layer [2024-10-24T18:55:40.370Z] 339a4e72a1f5: Pulling fs layer [2024-10-24T18:55:40.370Z] 988bab9f4d93: Pulling fs layer [2024-10-24T18:55:40.370Z] 1469e6f7b9e6: Pulling fs layer [2024-10-24T18:55:40.370Z] eaf3925da568: Pulling fs layer [2024-10-24T18:55:40.370Z] bab4dde63d76: Pulling fs layer [2024-10-24T18:55:40.370Z] bde34c3a00c8: Pulling fs layer [2024-10-24T18:55:40.370Z] b352a97aabf1: Pulling fs layer [2024-10-24T18:55:40.370Z] 4872d77fe225: Pulling fs layer [2024-10-24T18:55:40.370Z] 5851b861e8e6: Pulling fs layer [2024-10-24T18:55:40.370Z] 988bab9f4d93: Waiting [2024-10-24T18:55:40.370Z] 1469e6f7b9e6: Waiting [2024-10-24T18:55:40.370Z] eaf3925da568: Waiting [2024-10-24T18:55:40.370Z] bab4dde63d76: Waiting [2024-10-24T18:55:40.370Z] bde34c3a00c8: Waiting [2024-10-24T18:55:40.370Z] b352a97aabf1: Waiting [2024-10-24T18:55:40.370Z] 4872d77fe225: Waiting [2024-10-24T18:55:40.370Z] 5851b861e8e6: Waiting [2024-10-24T18:55:40.370Z] e2be974225ed: Verifying Checksum [2024-10-24T18:55:40.370Z] e2be974225ed: Download complete [2024-10-24T18:55:40.370Z] 988bab9f4d93: Verifying Checksum [2024-10-24T18:55:40.370Z] 988bab9f4d93: Download complete [2024-10-24T18:55:40.637Z] 1469e6f7b9e6: Verifying Checksum [2024-10-24T18:55:40.637Z] 1469e6f7b9e6: Download complete [2024-10-24T18:55:40.637Z] 339a4e72a1f5: Verifying Checksum [2024-10-24T18:55:40.637Z] 339a4e72a1f5: Download complete [2024-10-24T18:55:40.637Z] eaf3925da568: Verifying Checksum [2024-10-24T18:55:40.637Z] eaf3925da568: Download complete [2024-10-24T18:55:40.637Z] bde34c3a00c8: Verifying Checksum [2024-10-24T18:55:40.637Z] bde34c3a00c8: Download complete [2024-10-24T18:55:40.637Z] b352a97aabf1: Download complete [2024-10-24T18:55:40.637Z] 4872d77fe225: Verifying Checksum [2024-10-24T18:55:40.637Z] 4872d77fe225: Download complete [2024-10-24T18:55:40.637Z] 5851b861e8e6: Download complete [2024-10-24T18:55:40.637Z] b85a868b505f: Verifying Checksum [2024-10-24T18:55:40.637Z] b85a868b505f: Download complete [2024-10-24T18:55:40.897Z] bab4dde63d76: Download complete [2024-10-24T18:55:41.835Z] b85a868b505f: Pull complete [2024-10-24T18:55:42.094Z] e2be974225ed: Pull complete [2024-10-24T18:55:42.689Z] 339a4e72a1f5: Pull complete [2024-10-24T18:55:42.689Z] 988bab9f4d93: Pull complete [2024-10-24T18:55:42.953Z] 1469e6f7b9e6: Pull complete [2024-10-24T18:55:42.953Z] eaf3925da568: Pull complete [2024-10-24T18:55:44.874Z] bab4dde63d76: Pull complete [2024-10-24T18:55:44.874Z] bde34c3a00c8: Pull complete [2024-10-24T18:55:45.136Z] b352a97aabf1: Pull complete [2024-10-24T18:55:45.136Z] 4872d77fe225: Pull complete [2024-10-24T18:55:45.136Z] 5851b861e8e6: Pull complete [2024-10-24T18:55:45.136Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-24T18:55:45.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-24T18:55:45.136Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T18:55:45.277Z] prd-ubuntu20.04-docker-8c-8g-23701 does not seem to be running inside a container [2024-10-24T18:55:45.310Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-24T18:55:48.245Z] $ docker top e18188462d3f6230220e5c6b6598bd18cd46a0bc0e7970db8bde7fa2cbea64c5 -eo pid,comm [2024-10-24T18:55:48.301Z] 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-24T18:55:48.301Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-24T18:55:48.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-24T18:55:48.355Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-24T18:55:48.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-24T18:55:48.463Z] $ docker exec e18188462d3f6230220e5c6b6598bd18cd46a0bc0e7970db8bde7fa2cbea64c5 ssh-agent [2024-10-24T18:55:48.559Z] SSH_AUTH_SOCK=/tmp/ssh-z9WGaZaIZL0t/agent.32 [2024-10-24T18:55:48.559Z] SSH_AGENT_PID=38 [2024-10-24T18:55:48.566Z] Running ssh-add (command line suppressed) [2024-10-24T18:55:48.669Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_5294217971101200315.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_5294217971101200315.key) [2024-10-24T18:55:48.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-24T18:55:48.981Z] + git tag --points-at HEAD [Pipeline] } [2024-10-24T18:55:48.992Z] $ docker exec --env ******** --env ******** e18188462d3f6230220e5c6b6598bd18cd46a0bc0e7970db8bde7fa2cbea64c5 ssh-agent -k [2024-10-24T18:55:49.086Z] unset SSH_AUTH_SOCK; [2024-10-24T18:55:49.087Z] unset SSH_AGENT_PID; [2024-10-24T18:55:49.087Z] echo Agent pid 38 killed; [2024-10-24T18:55:49.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-24T18:55:49.144Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-24T18:55:49.144Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-24T18:55:49.238Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-24T18:55:49.240Z] $ docker exec e18188462d3f6230220e5c6b6598bd18cd46a0bc0e7970db8bde7fa2cbea64c5 ssh-agent [2024-10-24T18:55:49.340Z] SSH_AUTH_SOCK=/tmp/ssh-YLMoRrM6dxkQ/agent.71 [2024-10-24T18:55:49.340Z] SSH_AGENT_PID=77 [2024-10-24T18:55:49.345Z] Running ssh-add (command line suppressed) [2024-10-24T18:55:49.441Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_2034769097556394334.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_2034769097556394334.key) [2024-10-24T18:55:49.455Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-24T18:55:49.755Z] + git semver init [2024-10-24T18:55:50.015Z] 2024-10-24 18:55:49,909 [run_init] DEBUG init version:0.0.0 force:False [2024-10-24T18:55:50.015Z] 2024-10-24 18:55:49,909 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver [2024-10-24T18:55:50.015Z] 2024-10-24 18:55:49,910 [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-24T18:55:50.015Z] 2024-10-24 18:55:49,910 [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-24T18:55:50.954Z] 2024-10-24 18:55:50,676 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.git/info/exclude [2024-10-24T18:55:50.954Z] 2024-10-24 18:55:50,677 [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-24T18:55:50.954Z] 2024-10-24 18:55:50,677 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-10-24T18:55:50.954Z] 2024-10-24 18:55:50,681 [execute] INFO git cat-file --batch-check [2024-10-24T18:55:50.954Z] 2024-10-24 18:55:50,682 [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-24T18:55:50.954Z] 2024-10-24 18:55:50,686 [execute] INFO git cat-file --batch [2024-10-24T18:55:50.954Z] 2024-10-24 18:55:50,686 [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-24T18:55:50.954Z] 2024-10-24 18:55:50,690 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-10-24T18:55:50.954Z] 0.0.0 [Pipeline] } [2024-10-24T18:55:50.964Z] $ docker exec --env ******** --env ******** e18188462d3f6230220e5c6b6598bd18cd46a0bc0e7970db8bde7fa2cbea64c5 ssh-agent -k [2024-10-24T18:55:51.056Z] unset SSH_AUTH_SOCK; [2024-10-24T18:55:51.057Z] unset SSH_AGENT_PID; [2024-10-24T18:55:51.057Z] echo Agent pid 77 killed; [2024-10-24T18:55:51.068Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-24T18:55:51.403Z] + git semver [Pipeline] } [2024-10-24T18:55:51.675Z] $ docker stop --time=1 e18188462d3f6230220e5c6b6598bd18cd46a0bc0e7970db8bde7fa2cbea64c5 [2024-10-24T18:55:52.943Z] $ docker rm -f --volumes e18188462d3f6230220e5c6b6598bd18cd46a0bc0e7970db8bde7fa2cbea64c5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-24T18:55:53.355Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-24T18:55:53.585Z] Stashed 1 file(s) [Pipeline] echo [2024-10-24T18:55:53.589Z] [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-24T18:55:53.758Z] provisioning config files... [2024-10-24T18:55:53.767Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config13295069340169499835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-24T18:55:54.070Z] ---> ****-login.sh [2024-10-24T18:55:54.070Z] nexus3.edgexfoundry.org:10001 [2024-10-24T18:55:54.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:55:54.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:55:54.070Z] Configure a credential helper to remove this warning. See [2024-10-24T18:55:54.070Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:55:54.070Z] [2024-10-24T18:55:54.070Z] Login Succeeded [2024-10-24T18:55:54.070Z] nexus3.edgexfoundry.org:10002 [2024-10-24T18:55:54.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:55:54.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:55:54.070Z] Configure a credential helper to remove this warning. See [2024-10-24T18:55:54.070Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:55:54.070Z] [2024-10-24T18:55:54.070Z] Login Succeeded [2024-10-24T18:55:54.070Z] nexus3.edgexfoundry.org:10003 [2024-10-24T18:55:54.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:55:54.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:55:54.331Z] Configure a credential helper to remove this warning. See [2024-10-24T18:55:54.331Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:55:54.331Z] [2024-10-24T18:55:54.331Z] Login Succeeded [2024-10-24T18:55:54.331Z] nexus3.edgexfoundry.org:10004 [2024-10-24T18:55:54.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:55:54.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:55:54.331Z] Configure a credential helper to remove this warning. See [2024-10-24T18:55:54.331Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:55:54.331Z] [2024-10-24T18:55:54.331Z] Login Succeeded [2024-10-24T18:55:54.331Z] ****.io [2024-10-24T18:55:54.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:55:54.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:55:54.591Z] Configure a credential helper to remove this warning. See [2024-10-24T18:55:54.591Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:55:54.591Z] [2024-10-24T18:55:54.591Z] Login Succeeded [2024-10-24T18:55:54.591Z] ---> ****-login.sh ends [Pipeline] } [2024-10-24T18:55:54.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-24T18:55:54.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-24T18:55:54.707Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-10-24T18:55:54.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-24T18:55:54.734Z] ========================================================= [2024-10-24T18:55:54.734Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-10-24T18:55:54.734Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T18:55:55.049Z] + 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-24T18:55:55.049Z] Sending build context to Docker daemon 5.14MB [2024-10-24T18:55:55.049Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-10-24T18:55:55.049Z] Step 2/22 : FROM ${BASE} as builder [2024-10-24T18:55:55.328Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-10-24T18:55:55.328Z] 96526aa774ef: Pulling fs layer [2024-10-24T18:55:55.328Z] da60e534fd72: Pulling fs layer [2024-10-24T18:55:55.328Z] 96526aa774ef: Verifying Checksum [2024-10-24T18:55:55.328Z] 96526aa774ef: Download complete [2024-10-24T18:55:55.587Z] 96526aa774ef: Pull complete [2024-10-24T18:55:56.154Z] da60e534fd72: Verifying Checksum [2024-10-24T18:55:56.154Z] da60e534fd72: Download complete [2024-10-24T18:55:59.443Z] da60e534fd72: Pull complete [2024-10-24T18:55:59.443Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-10-24T18:55:59.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-10-24T18:55:59.443Z] ---> 6605166a5db4 [2024-10-24T18:55:59.443Z] 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-24T18:56:01.352Z] ---> Running in f78890f730b7 [2024-10-24T18:56:01.612Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-10-24T18:56:01.872Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T18:56:01.872Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T18:56:01.872Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T18:56:02.132Z] Removing intermediate container f78890f730b7 [2024-10-24T18:56:02.132Z] ---> 9e6620c0e19c [2024-10-24T18:56:02.132Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T18:56:02.132Z] ---> Running in a688922b9800 [2024-10-24T18:56:02.701Z] Removing intermediate container a688922b9800 [2024-10-24T18:56:02.701Z] ---> 3688c078045a [2024-10-24T18:56:02.701Z] 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-24T18:56:02.961Z] ---> Running in e8f697cae151 [2024-10-24T18:56:02.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:03.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:03.221Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:03.787Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T18:56:03.787Z] (1/17) Installing hiredis (1.1.0-r2) [2024-10-24T18:56:03.787Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-10-24T18:56:03.787Z] (3/17) Installing libcbor (0.10.2-r1) [2024-10-24T18:56:03.787Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-24T18:56:04.726Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-24T18:56:04.726Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-24T18:56:04.985Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-10-24T18:56:04.985Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-10-24T18:56:04.985Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-10-24T18:56:04.985Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-10-24T18:56:04.985Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-24T18:56:04.985Z] (12/17) Installing libblkid (2.38.1-r8) [2024-10-24T18:56:04.985Z] (13/17) Installing libuuid (2.38.1-r8) [2024-10-24T18:56:04.985Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-10-24T18:56:04.985Z] (15/17) Installing libmount (2.38.1-r8) [2024-10-24T18:56:04.985Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-10-24T18:56:04.985Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-10-24T18:56:04.985Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T18:56:04.985Z] OK: 336 MiB in 99 packages [2024-10-24T18:56:05.553Z] Removing intermediate container e8f697cae151 [2024-10-24T18:56:05.553Z] ---> 8987faedf3b3 [2024-10-24T18:56:05.553Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-10-24T18:56:05.812Z] ---> Running in 140204777f78 [2024-10-24T18:56:06.381Z] Removing intermediate container 140204777f78 [2024-10-24T18:56:06.381Z] ---> bed4029ca4dc [2024-10-24T18:56:06.381Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-10-24T18:56:06.381Z] ---> a2da9d907054 [2024-10-24T18:56:06.381Z] Step 8/22 : COPY src /tmp/sdk/src [2024-10-24T18:56:06.639Z] ---> b7e213912e27 [2024-10-24T18:56:06.639Z] Step 9/22 : COPY include /tmp/sdk/include [2024-10-24T18:56:06.897Z] ---> db393ceabbcc [2024-10-24T18:56:06.897Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-10-24T18:56:06.897Z] ---> 5c68fabd17b4 [2024-10-24T18:56:06.897Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-10-24T18:56:07.158Z] ---> 4df89adf767b [2024-10-24T18:56:07.158Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-10-24T18:56:07.158Z] ---> f6dd881a1458 [2024-10-24T18:56:07.158Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-10-24T18:56:07.158Z] ---> Running in 76621ff690e9 [2024-10-24T18:56:07.418Z] + CPPCHECK=false [2024-10-24T18:56:07.418Z] + DOCGEN=false [2024-10-24T18:56:07.418Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-10-24T18:56:07.418Z] + '[' 0 -gt 0 ] [2024-10-24T18:56:07.418Z] + readlink -f ./scripts/build.sh [2024-10-24T18:56:07.418Z] + dirname /tmp/sdk/scripts/build.sh [2024-10-24T18:56:07.418Z] + dirname /tmp/sdk/scripts [2024-10-24T18:56:07.418Z] + ROOT=/tmp/sdk [2024-10-24T18:56:07.418Z] + cd /tmp/sdk [2024-10-24T18:56:07.418Z] + mkdir -p /tmp/sdk/build/release [2024-10-24T18:56:07.418Z] + cd /tmp/sdk/build/release [2024-10-24T18:56:07.418Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-10-24T18:56:07.678Z] -- The C compiler identification is GNU 12.2.1 [2024-10-24T18:56:07.678Z] -- Detecting C compiler ABI info [2024-10-24T18:56:07.678Z] -- Detecting C compiler ABI info - done [2024-10-24T18:56:07.678Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-24T18:56:07.678Z] -- Detecting C compile features [2024-10-24T18:56:07.678Z] -- Detecting C compile features - done [2024-10-24T18:56:07.678Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-24T18:56:07.678Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-24T18:56:07.678Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-24T18:56:07.678Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-24T18:56:07.678Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-24T18:56:07.678Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-24T18:56:07.678Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-24T18:56:07.678Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-24T18:56:07.678Z] -- /opt/iotech/iot/1.5/include [2024-10-24T18:56:07.678Z] -- C SDK 0.0.0 for Linux [2024-10-24T18:56:07.678Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-24T18:56:07.938Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-24T18:56:07.938Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-24T18:56:07.938Z] -- Configuring done (0.4s) [2024-10-24T18:56:07.938Z] -- Generating done (0.0s) [2024-10-24T18:56:07.938Z] -- Build files have been written to: /tmp/sdk/build/release [2024-10-24T18:56:07.938Z] + make all package [2024-10-24T18:56:07.938Z] + tee release.log [2024-10-24T18:56:07.938Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-24T18:56:08.197Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-24T18:56:08.197Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-24T18:56:08.457Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-24T18:56:08.457Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-24T18:56:08.457Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-24T18:56:08.697Z] Still waiting to schedule task [2024-10-24T18:56:08.697Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-24T18:56:09.025Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-24T18:56:09.025Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-10-24T18:56:09.025Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T18:56:09.025Z] 294 | while (privateConfig) [2024-10-24T18:56:09.025Z] | ^~~~~~~~~~~~~ [2024-10-24T18:56:09.025Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-10-24T18:56:09.025Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-24T18:56:09.025Z] | ^~~~~~~~~~~~~ [2024-10-24T18:56:09.025Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T18:56:09.025Z] 271 | while (result) [2024-10-24T18:56:09.025Z] | ^~~~~~ [2024-10-24T18:56:09.025Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-10-24T18:56:09.025Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-24T18:56:09.025Z] | ^~~~~~ [2024-10-24T18:56:09.025Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-24T18:56:09.025Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-24T18:56:09.284Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-24T18:56:09.543Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-24T18:56:09.543Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-24T18:56:09.802Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-24T18:56:09.802Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-24T18:56:10.062Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-24T18:56:10.062Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-24T18:56:10.062Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-24T18:56:10.631Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-24T18:56:10.631Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-24T18:56:10.631Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-24T18:56:10.889Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-24T18:56:11.831Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-24T18:56:11.831Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-24T18:56:12.094Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-24T18:56:12.094Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-24T18:56:12.094Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-24T18:56:12.353Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-24T18:56:12.610Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-24T18:56:12.868Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-24T18:56:12.868Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-24T18:56:12.868Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-24T18:56:13.126Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-24T18:56:13.126Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T18:56:13.126Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-24T18:56:13.126Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T18:56:13.126Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T18:56:13.126Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-24T18:56:13.126Z] | ^ [2024-10-24T18:56:13.126Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T18:56:13.126Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-10-24T18:56:13.126Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T18:56:13.126Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-10-24T18:56:13.126Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-10-24T18:56:13.126Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-10-24T18:56:13.385Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-24T18:56:13.385Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-24T18:56:13.647Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-24T18:56:13.647Z] [ 68%] Linking C shared library libcsdk.so [2024-10-24T18:56:13.647Z] [ 68%] Built target csdk [2024-10-24T18:56:13.647Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-24T18:56:13.906Z] [ 72%] Linking C executable template [2024-10-24T18:56:13.906Z] [ 72%] Built target template [2024-10-24T18:56:13.906Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-24T18:56:13.906Z] [ 76%] Linking C executable device-counter [2024-10-24T18:56:14.165Z] [ 76%] Built target device-counter [2024-10-24T18:56:14.165Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-24T18:56:14.166Z] [ 80%] Linking C executable device-random [2024-10-24T18:56:14.166Z] [ 80%] Built target device-random [2024-10-24T18:56:14.166Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-24T18:56:14.424Z] [ 84%] Linking C executable device-gyro [2024-10-24T18:56:14.424Z] [ 84%] Built target device-gyro [2024-10-24T18:56:14.424Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-24T18:56:14.424Z] [ 88%] Linking C executable device-bitfields [2024-10-24T18:56:14.696Z] [ 88%] Built target device-bitfields [2024-10-24T18:56:14.696Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-24T18:56:14.696Z] [ 92%] Linking C executable template-discovery [2024-10-24T18:56:14.955Z] [ 92%] Built target template-discovery [2024-10-24T18:56:14.955Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-24T18:56:14.955Z] [ 96%] Linking C executable device-file [2024-10-24T18:56:14.955Z] [ 96%] Built target device-file [2024-10-24T18:56:14.955Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-24T18:56:15.222Z] [100%] Linking C executable device-terminal [2024-10-24T18:56:15.222Z] [100%] Built target device-terminal [2024-10-24T18:56:15.222Z] Run CPack packaging tool... [2024-10-24T18:56:15.222Z] CPack: Create package using TGZ [2024-10-24T18:56:15.222Z] CPack: Install projects [2024-10-24T18:56:15.222Z] CPack: - Run preinstall target for: Csdk [2024-10-24T18:56:15.481Z] CPack: - Install project: Csdk [] [2024-10-24T18:56:15.481Z] CPack: Create package [2024-10-24T18:56:15.481Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-10-24T18:56:15.481Z] + '[' false '=' true ] [2024-10-24T18:56:15.481Z] + '[' false '=' true ] [2024-10-24T18:56:15.481Z] + mkdir -p /tmp/sdk/build/debug [2024-10-24T18:56:15.481Z] + cd /tmp/sdk/build/debug [2024-10-24T18:56:15.481Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-10-24T18:56:15.481Z] -- The C compiler identification is GNU 12.2.1 [2024-10-24T18:56:15.741Z] -- Detecting C compiler ABI info [2024-10-24T18:56:15.741Z] -- Detecting C compiler ABI info - done [2024-10-24T18:56:15.741Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-24T18:56:15.741Z] -- Detecting C compile features [2024-10-24T18:56:15.741Z] -- Detecting C compile features - done [2024-10-24T18:56:15.741Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-24T18:56:15.741Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-24T18:56:15.741Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-24T18:56:15.741Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-24T18:56:15.741Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-24T18:56:15.741Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-24T18:56:15.741Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-24T18:56:15.741Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-24T18:56:15.741Z] -- /opt/iotech/iot/1.5/include [2024-10-24T18:56:15.741Z] -- C SDK 0.0.0 for Linux [2024-10-24T18:56:15.741Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-24T18:56:16.001Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-24T18:56:16.001Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-24T18:56:16.001Z] -- Configuring done (0.4s) [2024-10-24T18:56:16.001Z] -- Generating done (0.0s) [2024-10-24T18:56:16.001Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-10-24T18:56:16.001Z] + make+ [2024-10-24T18:56:16.001Z] tee debug.log [2024-10-24T18:56:16.001Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-24T18:56:16.001Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-24T18:56:16.260Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-24T18:56:16.260Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-24T18:56:16.260Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-24T18:56:16.260Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-24T18:56:16.520Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-24T18:56:16.520Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-24T18:56:16.520Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-24T18:56:16.779Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-24T18:56:16.779Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-24T18:56:16.779Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-24T18:56:17.038Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-24T18:56:17.038Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-24T18:56:17.038Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-24T18:56:17.038Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-24T18:56:17.297Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-24T18:56:17.297Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-24T18:56:17.297Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-24T18:56:17.297Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-24T18:56:17.558Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-24T18:56:17.816Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-24T18:56:17.816Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-24T18:56:17.816Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-24T18:56:17.816Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-24T18:56:18.075Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-24T18:56:18.075Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-24T18:56:18.334Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-24T18:56:18.334Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-24T18:56:18.334Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-24T18:56:18.592Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-24T18:56:18.592Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-24T18:56:18.592Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T18:56:18.592Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-24T18:56:18.592Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T18:56:18.592Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T18:56:18.592Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-24T18:56:18.592Z] | ^ [2024-10-24T18:56:18.592Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-24T18:56:18.592Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-24T18:56:18.849Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-24T18:56:18.849Z] [ 68%] Linking C shared library libcsdk.so [2024-10-24T18:56:18.849Z] [ 68%] Built target csdk [2024-10-24T18:56:18.849Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-24T18:56:18.849Z] [ 72%] Linking C executable template [2024-10-24T18:56:19.108Z] [ 72%] Built target template [2024-10-24T18:56:19.108Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-24T18:56:19.108Z] [ 76%] Linking C executable device-counter [2024-10-24T18:56:19.108Z] [ 76%] Built target device-counter [2024-10-24T18:56:19.108Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-24T18:56:19.108Z] [ 80%] Linking C executable device-random [2024-10-24T18:56:19.367Z] [ 80%] Built target device-random [2024-10-24T18:56:19.367Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-24T18:56:19.367Z] [ 84%] Linking C executable device-gyro [2024-10-24T18:56:19.367Z] [ 84%] Built target device-gyro [2024-10-24T18:56:19.367Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-24T18:56:19.627Z] [ 88%] Linking C executable device-bitfields [2024-10-24T18:56:19.627Z] [ 88%] Built target device-bitfields [2024-10-24T18:56:19.627Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-24T18:56:19.627Z] [ 92%] Linking C executable template-discovery [2024-10-24T18:56:19.627Z] [ 92%] Built target template-discovery [2024-10-24T18:56:19.887Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-24T18:56:19.887Z] [ 96%] Linking C executable device-file [2024-10-24T18:56:19.887Z] [ 96%] Built target device-file [2024-10-24T18:56:19.887Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-24T18:56:19.887Z] [100%] Linking C executable device-terminal [2024-10-24T18:56:20.146Z] [100%] Built target device-terminal [2024-10-24T18:56:20.146Z] make: Entering directory '/tmp/sdk/build/release' [2024-10-24T18:56:20.146Z] [ 68%] Built target csdk [2024-10-24T18:56:20.146Z] [ 72%] Built target template [2024-10-24T18:56:20.146Z] [ 76%] Built target device-counter [2024-10-24T18:56:20.146Z] [ 80%] Built target device-random [2024-10-24T18:56:20.146Z] [ 84%] Built target device-gyro [2024-10-24T18:56:20.146Z] [ 88%] Built target device-bitfields [2024-10-24T18:56:20.146Z] [ 92%] Built target template-discovery [2024-10-24T18:56:20.146Z] [ 96%] Built target device-file [2024-10-24T18:56:20.146Z] [100%] Built target device-terminal [2024-10-24T18:56:20.146Z] Install the project... [2024-10-24T18:56:20.146Z] -- Install configuration: "Release" [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/lib/libcsdk.so [2024-10-24T18:56:20.146Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include/devsdk [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include/edgex [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include/edgex/devices.h [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-10-24T18:56:20.146Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-10-24T18:56:20.146Z] make: Leaving directory '/tmp/sdk/build/release' [2024-10-24T18:56:21.083Z] Removing intermediate container 76621ff690e9 [2024-10-24T18:56:21.083Z] ---> e8109957e893 [2024-10-24T18:56:21.083Z] Step 14/22 : FROM ${BASE} [2024-10-24T18:56:21.083Z] ---> 6605166a5db4 [2024-10-24T18:56:21.083Z] Step 15/22 : LABEL maintainer="IOTech " [2024-10-24T18:56:21.083Z] ---> Running in 749cd9711378 [2024-10-24T18:56:21.083Z] Removing intermediate container 749cd9711378 [2024-10-24T18:56:21.083Z] ---> f677f2dc96ef [2024-10-24T18:56:21.083Z] 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-24T18:56:21.083Z] ---> Running in 91e8921f6ebb [2024-10-24T18:56:21.342Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-10-24T18:56:21.908Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T18:56:21.908Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T18:56:21.908Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T18:56:21.908Z] Removing intermediate container 91e8921f6ebb [2024-10-24T18:56:21.908Z] ---> a23bc1e40f8f [2024-10-24T18:56:21.908Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T18:56:21.908Z] ---> Running in 5ce910961055 [2024-10-24T18:56:22.475Z] Removing intermediate container 5ce910961055 [2024-10-24T18:56:22.475Z] ---> e4cec607a861 [2024-10-24T18:56:22.475Z] 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-24T18:56:22.475Z] ---> Running in 970241ed0074 [2024-10-24T18:56:22.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:22.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:23.252Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:23.820Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T18:56:23.820Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-10-24T18:56:23.820Z] (2/10) Installing curl (8.9.1-r1) [2024-10-24T18:56:23.820Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-10-24T18:56:23.820Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-10-24T18:56:23.820Z] (5/10) Installing hiredis (1.1.0-r2) [2024-10-24T18:56:23.820Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-10-24T18:56:23.820Z] (7/10) Installing libcbor (0.10.2-r1) [2024-10-24T18:56:23.820Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-24T18:56:24.390Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-24T18:56:24.649Z] (10/10) Installing libuuid (2.38.1-r8) [2024-10-24T18:56:24.649Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T18:56:24.649Z] OK: 331 MiB in 90 packages [2024-10-24T18:56:25.259Z] Removing intermediate container 970241ed0074 [2024-10-24T18:56:25.259Z] ---> 09ee659dee2d [2024-10-24T18:56:25.259Z] Step 19/22 : RUN apk --no-cache upgrade [2024-10-24T18:56:25.259Z] ---> Running in 9014af73f591 [2024-10-24T18:56:25.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:25.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:25.519Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:26.087Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T18:56:26.087Z] Upgrading critical system libraries and apk-tools: [2024-10-24T18:56:26.087Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-24T18:56:26.087Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T18:56:26.087Z] Continuing the upgrade transaction with new apk-tools: [2024-10-24T18:56:26.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:26.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:26.347Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:26.916Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T18:56:26.916Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T18:56:26.916Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-24T18:56:26.916Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T18:56:26.916Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-24T18:56:26.916Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T18:56:26.916Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T18:56:26.916Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T18:56:26.916Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-10-24T18:56:26.916Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) [2024-10-24T18:56:26.916Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-10-24T18:56:26.916Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T18:56:26.916Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-10-24T18:56:26.916Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T18:56:26.916Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T18:56:26.916Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T18:56:26.916Z] Executing busybox-1.36.1-r7.trigger [2024-10-24T18:56:26.916Z] Executing ca-certificates-20240226-r0.trigger [2024-10-24T18:56:26.916Z] OK: 332 MiB in 90 packages [2024-10-24T18:56:27.854Z] Removing intermediate container 9014af73f591 [2024-10-24T18:56:27.854Z] ---> 224e5ffd93ab [2024-10-24T18:56:27.854Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-10-24T18:56:28.113Z] ---> eb98af9a5f01 [2024-10-24T18:56:28.113Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-10-24T18:56:28.113Z] ---> 8547d26fb414 [2024-10-24T18:56:28.113Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-10-24T18:56:28.371Z] ---> 404578874f3c [2024-10-24T18:56:28.371Z] Successfully built 404578874f3c [2024-10-24T18:56:28.371Z] 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-24T18:56:28.761Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-24T18:56:28.762Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T18:56:28.857Z] prd-ubuntu20.04-docker-8c-8g-23701 does not seem to be running inside a container [2024-10-24T18:56:28.880Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2024-10-24T18:56:29.236Z] $ docker top dcf09cc1697df110b0a3099e1c442d0db3dcc951909b02a34df1b070c5906c2f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-24T18:56:29.583Z] + make test [2024-10-24T18:56:29.583Z] echo "make test" [2024-10-24T18:56:29.583Z] make test [Pipeline] } [2024-10-24T18:56:29.591Z] $ docker stop --time=1 dcf09cc1697df110b0a3099e1c442d0db3dcc951909b02a34df1b070c5906c2f [2024-10-24T18:56:30.850Z] $ docker rm -f --volumes dcf09cc1697df110b0a3099e1c442d0db3dcc951909b02a34df1b070c5906c2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-24T18:56:31.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-24T18:56:31.771Z] + ls -al . [2024-10-24T18:56:31.771Z] total 212 [2024-10-24T18:56:31.771Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:55 . [2024-10-24T18:56:31.771Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:55 .. [2024-10-24T18:56:31.771Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:55 .git [2024-10-24T18:56:31.771Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:55 .github [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 24 18:55 .gitignore [2024-10-24T18:56:31.771Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:55 .semver [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 24 18:55 Attribution.txt [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 11953 Oct 24 18:55 CHANGELOG.md [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 24 18:55 Doxyfile [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:55 GOVERNANCE.md [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 24 18:55 Jenkinsfile [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 18:55 LICENSE [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 24 18:55 Makefile [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 18:55 OWNERS.md [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 24 18:55 README.IOT.md [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 24 18:55 README.md [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 24 18:55 README.v3.md [2024-10-24T18:56:31.771Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:55 VERSION [2024-10-24T18:56:31.771Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:55 docs [2024-10-24T18:56:31.771Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:55 include [2024-10-24T18:56:31.771Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:55 scripts [2024-10-24T18:56:31.771Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:55 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T18:56:32.084Z] + 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=75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 --label arch=amd64 --label version=0.0.0 . [2024-10-24T18:56:32.084Z] Sending build context to Docker daemon 5.14MB [2024-10-24T18:56:32.084Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-10-24T18:56:32.084Z] Step 2/18 : FROM ${BASE} [2024-10-24T18:56:32.084Z] ---> 404578874f3c [2024-10-24T18:56:32.084Z] Step 3/18 : LABEL maintainer="IOTech " [2024-10-24T18:56:32.084Z] ---> Running in af443d334095 [2024-10-24T18:56:32.084Z] Removing intermediate container af443d334095 [2024-10-24T18:56:32.084Z] ---> ca71ffd28878 [2024-10-24T18:56:32.084Z] 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-24T18:56:32.344Z] ---> Running in 94f968c2be0c [2024-10-24T18:56:32.344Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-10-24T18:56:32.913Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T18:56:32.913Z] alpine.dev.rsa.pub 100% |********************************|  451 0:00:00 ETA [2024-10-24T18:56:32.913Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T18:56:33.172Z] Removing intermediate container 94f968c2be0c [2024-10-24T18:56:33.172Z] ---> 60515d2c442b [2024-10-24T18:56:33.172Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T18:56:33.172Z] ---> Running in 27e34cefea50 [2024-10-24T18:56:33.737Z] Removing intermediate container 27e34cefea50 [2024-10-24T18:56:33.737Z] ---> d14631f6e933 [2024-10-24T18:56:33.737Z] 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-24T18:56:33.737Z] ---> Running in fa5be726e166 [2024-10-24T18:56:33.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:34.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:34.256Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:34.826Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T18:56:34.826Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-24T18:56:35.085Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-10-24T18:56:35.085Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-10-24T18:56:35.085Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-10-24T18:56:35.085Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-10-24T18:56:35.085Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-24T18:56:35.085Z] (7/11) Installing libblkid (2.38.1-r8) [2024-10-24T18:56:35.085Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-10-24T18:56:35.085Z] (9/11) Installing libmount (2.38.1-r8) [2024-10-24T18:56:35.085Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-10-24T18:56:35.085Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-10-24T18:56:35.085Z] Executing busybox-1.36.1-r7.trigger [2024-10-24T18:56:35.085Z] OK: 337 MiB in 101 packages [2024-10-24T18:56:35.672Z] Removing intermediate container fa5be726e166 [2024-10-24T18:56:35.672Z] ---> 9e23fa0b4504 [2024-10-24T18:56:35.672Z] Step 7/18 : RUN apk --no-cache upgrade [2024-10-24T18:56:35.672Z] ---> Running in bec2323fd7be [2024-10-24T18:56:35.932Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:36.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:36.191Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-24T18:56:36.760Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T18:56:36.761Z] OK: 337 MiB in 101 packages [2024-10-24T18:56:37.019Z] Removing intermediate container bec2323fd7be [2024-10-24T18:56:37.019Z] ---> a52ea6bbab65 [2024-10-24T18:56:37.019Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-10-24T18:56:37.313Z] ---> ea7d197ce268 [2024-10-24T18:56:37.313Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-10-24T18:56:37.572Z] ---> 95c2b1f2e5cf [2024-10-24T18:56:37.572Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-10-24T18:56:37.572Z] ---> 8e72e554d2b2 [2024-10-24T18:56:37.572Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-10-24T18:56:37.572Z] ---> 69baab82b64c [2024-10-24T18:56:37.572Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-10-24T18:56:37.832Z] ---> f6bfc45bd387 [2024-10-24T18:56:37.832Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-10-24T18:56:37.832Z] ---> 9b2afbd1355b [2024-10-24T18:56:37.832Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-10-24T18:56:37.832Z] ---> Running in b19b1b7511d2 [2024-10-24T18:56:38.090Z] Removing intermediate container b19b1b7511d2 [2024-10-24T18:56:38.090Z] ---> 046f6d4e0766 [2024-10-24T18:56:38.090Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-10-24T18:56:38.090Z] ---> Running in 8d65006ec3dd [2024-10-24T18:56:38.090Z] Removing intermediate container 8d65006ec3dd [2024-10-24T18:56:38.090Z] ---> af78a56dd981 [2024-10-24T18:56:38.090Z] Step 16/18 : LABEL arch=amd64 [2024-10-24T18:56:38.090Z] ---> Running in 67a1e85820df [2024-10-24T18:56:38.090Z] Removing intermediate container 67a1e85820df [2024-10-24T18:56:38.090Z] ---> 31a41530345b [2024-10-24T18:56:38.090Z] Step 17/18 : LABEL git_sha=75b42d65cf5b5682c4d160f99ab1e5b2a0e1e470 [2024-10-24T18:56:38.090Z] ---> Running in e36ab66138a1 [2024-10-24T18:56:38.349Z] Removing intermediate container e36ab66138a1 [2024-10-24T18:56:38.349Z] ---> d3860cec4408 [2024-10-24T18:56:38.349Z] Step 18/18 : LABEL version=0.0.0 [2024-10-24T18:56:38.349Z] ---> Running in 25275870e98a [2024-10-24T18:56:38.349Z] Removing intermediate container 25275870e98a [2024-10-24T18:56:38.349Z] ---> 431d1b3562b8 [2024-10-24T18:56:38.349Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-10-24T18:56:38.349Z] Successfully built 431d1b3562b8 [2024-10-24T18:56:38.349Z] 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-24T18:56:38.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-24T18:56:38.857Z] [2024-10-24T18:56:38.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T18:56:39.164Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-24T18:56:39.164Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-24T18:56:39.164Z] 5eb5b503b376: Pulling fs layer [2024-10-24T18:56:39.164Z] 5c69ac0246d0: Pulling fs layer [2024-10-24T18:56:39.164Z] ec43610c2a17: Pulling fs layer [2024-10-24T18:56:39.164Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-24T18:56:39.164Z] 33b1e0a273af: Pulling fs layer [2024-10-24T18:56:39.164Z] 5d3b04190fa2: Pulling fs layer [2024-10-24T18:56:39.164Z] 2f39f015ded8: Pulling fs layer [2024-10-24T18:56:39.164Z] 5d3b04190fa2: Waiting [2024-10-24T18:56:39.164Z] 2f39f015ded8: Waiting [2024-10-24T18:56:39.164Z] 3a2ae6a8a46f: Waiting [2024-10-24T18:56:39.164Z] 33b1e0a273af: Waiting [2024-10-24T18:56:39.164Z] 5c69ac0246d0: Verifying Checksum [2024-10-24T18:56:39.164Z] 5c69ac0246d0: Download complete [2024-10-24T18:56:39.164Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-24T18:56:39.164Z] 3a2ae6a8a46f: Download complete [2024-10-24T18:56:39.164Z] 33b1e0a273af: Verifying Checksum [2024-10-24T18:56:39.164Z] 33b1e0a273af: Download complete [2024-10-24T18:56:39.164Z] 5d3b04190fa2: Download complete [2024-10-24T18:56:39.164Z] ec43610c2a17: Verifying Checksum [2024-10-24T18:56:39.164Z] ec43610c2a17: Download complete [2024-10-24T18:56:39.423Z] 5eb5b503b376: Download complete [2024-10-24T18:56:39.989Z] 2f39f015ded8: Download complete [2024-10-24T18:56:40.555Z] 5eb5b503b376: Pull complete [2024-10-24T18:56:40.555Z] 5c69ac0246d0: Pull complete [2024-10-24T18:56:41.122Z] ec43610c2a17: Pull complete [2024-10-24T18:56:41.122Z] 3a2ae6a8a46f: Pull complete [2024-10-24T18:56:41.380Z] 33b1e0a273af: Pull complete [2024-10-24T18:56:41.380Z] 5d3b04190fa2: Pull complete [2024-10-24T18:56:45.629Z] 2f39f015ded8: Pull complete [2024-10-24T18:56:45.629Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-24T18:56:45.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-24T18:56:45.629Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T18:56:45.727Z] prd-ubuntu20.04-docker-8c-8g-23701 does not seem to be running inside a container [2024-10-24T18:56:45.754Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-24T18:56:49.863Z] $ docker top 1636db8d6c01853eeab5d689c70ad0abbb8628cc5b7fc87b3dba4f5c07b179da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-24T18:56:50.278Z] ---> job-cost.sh [2024-10-24T18:56:50.278Z] lf-activate-venv: SKIPPING [2024-10-24T18:56:50.278Z] INFO: No Stack... [2024-10-24T18:56:50.538Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-24T18:56:50.796Z] INFO: Archiving Costs [Pipeline] sh [2024-10-24T18:56:51.086Z] + cut -d, -f6 [2024-10-24T18:56:51.086Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/cost.csv [Pipeline] lock [2024-10-24T18:56:51.097Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-4-stack-cost] [2024-10-24T18:56:51.107Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-4-stack-cost] did not exist. Created. [2024-10-24T18:56:51.113Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-24T18:56:51.427Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-24T18:56:51.467Z] Stashed 1 file(s) [Pipeline] } [2024-10-24T18:56:51.475Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-24T18:56:51.501Z] $ docker stop --time=1 1636db8d6c01853eeab5d689c70ad0abbb8628cc5b7fc87b3dba4f5c07b179da [2024-10-24T18:56:52.667Z] $ docker rm -f --volumes 1636db8d6c01853eeab5d689c70ad0abbb8628cc5b7fc87b3dba4f5c07b179da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-24T18:57:48.441Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23702 in /w/workspace/edgexfoundry_device-sdk-c_PR-517 [Pipeline] { [Pipeline] ws [2024-10-24T18:57:48.462Z] Running in /w/workspace/device-sdk-c/4 [Pipeline] { [Pipeline] checkout [2024-10-24T18:57:51.554Z] Selected Git installation does not exist. Using Default [2024-10-24T18:57:51.554Z] The recommended git tool is: NONE [2024-10-24T18:58:00.903Z] using credential edgex-jenkins-ssh [2024-10-24T18:58:00.944Z] Cloning the remote Git repository [2024-10-24T18:58:01.002Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-10-24T18:58:01.121Z] > git init /w/workspace/device-sdk-c/4 # timeout=10 [2024-10-24T18:58:01.323Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-10-24T18:58:01.324Z] > git --version # timeout=10 [2024-10-24T18:58:01.356Z] > git --version # 'git version 2.25.1' [2024-10-24T18:58:01.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-24T18:58:01.559Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-24T18:58:02.741Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-10-24T18:58:02.773Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-24T18:58:04.589Z] Merging remotes/origin/main commit 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 into PR head commit d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [2024-10-24T18:58:05.080Z] Merge succeeded, producing c657e349c2ab6e9eba269d958c8844669a195ef4 [2024-10-24T18:58:05.080Z] Checking out Revision c657e349c2ab6e9eba269d958c8844669a195ef4 (PR-517) [2024-10-24T18:58:03.920Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-10-24T18:58:03.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-10-24T18:58:03.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-24T18:58:04.017Z] > 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-24T18:58:04.621Z] > git config core.sparsecheckout # timeout=10 [2024-10-24T18:58:04.699Z] > git checkout -f d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 # timeout=10 [2024-10-24T18:58:04.843Z] > git remote # timeout=10 [2024-10-24T18:58:04.873Z] > git config --get remote.origin.url # timeout=10 [2024-10-24T18:58:04.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-24T18:58:04.925Z] > git merge 6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678 # timeout=10 [2024-10-24T18:58:05.044Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-24T18:58:05.158Z] > git config core.sparsecheckout # timeout=10 [2024-10-24T18:58:05.225Z] > git checkout -f c657e349c2ab6e9eba269d958c8844669a195ef4 # timeout=10 [2024-10-24T18:58:09.080Z] Commit message: "Merge commit '6bae00d1ebd04fbf3bb2a120a46a31d42b2bc678' into HEAD" [2024-10-24T18:58:09.084Z] > git rev-list --no-walk d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-24T18:58:11.081Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-24T18:58:11.081Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-24T18:58:11.081Z] Dload Upload Total Spent Left Speed [2024-10-24T18:58:11.081Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 59 12828 59 7616 0 0 33257 0 --:--:-- --:--:-- --:--:-- 33113 100 12828 100 12828 0 0 55293 0 --:--:-- --:--:-- --:--:-- 55055 [Pipeline] sh [2024-10-24T18:58:11.418Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-24T18:58:11.749Z] + sudo tee /etc/docker/daemon.new [2024-10-24T18:58:11.749Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-24T18:58:11.749Z] { [2024-10-24T18:58:11.749Z] "registry-mirrors": [ [2024-10-24T18:58:11.749Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-24T18:58:11.749Z] ], [2024-10-24T18:58:11.749Z] "bip": "10.250.0.254/24", [2024-10-24T18:58:11.749Z] "hosts": [ [2024-10-24T18:58:11.749Z] "tcp://0.0.0.0:5555", [2024-10-24T18:58:11.749Z] "unix:///var/run/docker.sock" [2024-10-24T18:58:11.749Z] ], [2024-10-24T18:58:11.749Z] "mtu": 1458, [2024-10-24T18:58:11.749Z] "selinux-enabled": true, [2024-10-24T18:58:11.749Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-24T18:58:11.749Z] } [Pipeline] sh [2024-10-24T18:58:12.081Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-24T18:58:12.416Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-24T18:58:30.736Z] provisioning config files... [2024-10-24T18:58:30.765Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/4@tmp/config12971434531359257077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-24T18:58:31.226Z] ---> ****-login.sh [2024-10-24T18:58:31.227Z] nexus3.edgexfoundry.org:10001 [2024-10-24T18:58:31.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:58:31.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:58:31.776Z] Configure a credential helper to remove this warning. See [2024-10-24T18:58:31.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:58:31.777Z] [2024-10-24T18:58:31.777Z] Login Succeeded [2024-10-24T18:58:31.777Z] nexus3.edgexfoundry.org:10002 [2024-10-24T18:58:32.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:58:32.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:58:32.333Z] Configure a credential helper to remove this warning. See [2024-10-24T18:58:32.333Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:58:32.333Z] [2024-10-24T18:58:32.333Z] Login Succeeded [2024-10-24T18:58:32.333Z] nexus3.edgexfoundry.org:10003 [2024-10-24T18:58:32.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:58:32.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:58:32.607Z] Configure a credential helper to remove this warning. See [2024-10-24T18:58:32.608Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:58:32.608Z] [2024-10-24T18:58:32.608Z] Login Succeeded [2024-10-24T18:58:32.608Z] nexus3.edgexfoundry.org:10004 [2024-10-24T18:58:32.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:58:33.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:58:33.160Z] Configure a credential helper to remove this warning. See [2024-10-24T18:58:33.160Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:58:33.160Z] [2024-10-24T18:58:33.160Z] Login Succeeded [2024-10-24T18:58:33.160Z] ****.io [2024-10-24T18:58:33.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-24T18:58:33.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-24T18:58:33.719Z] Configure a credential helper to remove this warning. See [2024-10-24T18:58:33.720Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-24T18:58:33.720Z] [2024-10-24T18:58:33.720Z] Login Succeeded [2024-10-24T18:58:33.720Z] ---> ****-login.sh ends [Pipeline] } [2024-10-24T18:58:33.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-24T18:58:34.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-24T18:58:34.170Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-10-24T18:58:34.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-24T18:58:34.215Z] ========================================================= [2024-10-24T18:58:34.215Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-10-24T18:58:34.215Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T18:58:34.591Z] + 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-24T18:58:34.859Z] Sending build context to Docker daemon 3.082MB [2024-10-24T18:58:35.129Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-10-24T18:58:35.129Z] Step 2/22 : FROM ${BASE} as builder [2024-10-24T18:58:35.129Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-10-24T18:58:35.129Z] 579b34f0a95b: Pulling fs layer [2024-10-24T18:58:35.129Z] e71477ac5e1b: Pulling fs layer [2024-10-24T18:58:35.407Z] 579b34f0a95b: Download complete [2024-10-24T18:58:36.000Z] 579b34f0a95b: Pull complete [2024-10-24T18:58:37.961Z] e71477ac5e1b: Verifying Checksum [2024-10-24T18:58:37.961Z] e71477ac5e1b: Download complete [2024-10-24T18:58:50.307Z] e71477ac5e1b: Pull complete [2024-10-24T18:58:50.307Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-10-24T18:58:50.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-10-24T18:58:50.307Z] ---> 2b552cad5dd9 [2024-10-24T18:58:50.307Z] 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-24T18:58:50.307Z] ---> Running in 25d512cab027 [2024-10-24T18:58:50.307Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-24T18:58:50.892Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T18:58:50.892Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T18:58:50.892Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T18:58:51.490Z] Removing intermediate container 25d512cab027 [2024-10-24T18:58:51.490Z] ---> 752cbba99bbf [2024-10-24T18:58:51.490Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T18:58:51.490Z] ---> Running in d8e33b7a1af2 [2024-10-24T18:58:53.445Z] Removing intermediate container d8e33b7a1af2 [2024-10-24T18:58:53.445Z] ---> 97bac318a86a [2024-10-24T18:58:53.445Z] 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-24T18:58:53.445Z] ---> Running in d2c404853127 [2024-10-24T18:58:54.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T18:58:54.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T18:58:55.198Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T18:58:56.157Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T18:58:56.157Z] (1/17) Installing hiredis (1.1.0-r2) [2024-10-24T18:58:56.157Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-10-24T18:58:56.157Z] (3/17) Installing libcbor (0.10.2-r1) [2024-10-24T18:58:56.157Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-24T18:58:56.742Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-24T18:58:57.011Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-24T18:58:57.011Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-10-24T18:58:57.011Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-10-24T18:58:57.011Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-10-24T18:58:57.011Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-10-24T18:58:57.281Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-24T18:58:57.281Z] (12/17) Installing libblkid (2.38.1-r8) [2024-10-24T18:58:57.281Z] (13/17) Installing libuuid (2.38.1-r8) [2024-10-24T18:58:57.281Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-10-24T18:58:57.281Z] (15/17) Installing libmount (2.38.1-r8) [2024-10-24T18:58:57.281Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-10-24T18:58:57.281Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-10-24T18:58:57.281Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T18:58:57.281Z] OK: 333 MiB in 99 packages [2024-10-24T18:58:58.694Z] Removing intermediate container d2c404853127 [2024-10-24T18:58:58.694Z] ---> e4d62ad900e0 [2024-10-24T18:58:58.694Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-10-24T18:58:58.694Z] ---> Running in ec53aea3a69c [2024-10-24T18:59:00.105Z] Removing intermediate container ec53aea3a69c [2024-10-24T18:59:00.105Z] ---> 993efad08c1e [2024-10-24T18:59:00.105Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-10-24T18:59:00.690Z] ---> 1fb822ab8ea2 [2024-10-24T18:59:00.690Z] Step 8/22 : COPY src /tmp/sdk/src [2024-10-24T18:59:01.663Z] ---> 976873fc7824 [2024-10-24T18:59:01.663Z] Step 9/22 : COPY include /tmp/sdk/include [2024-10-24T18:59:01.930Z] ---> 8374057557ea [2024-10-24T18:59:01.930Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-10-24T18:59:02.514Z] ---> 6a388b9eca4f [2024-10-24T18:59:02.514Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-10-24T18:59:03.103Z] ---> 9fb3e6d087fe [2024-10-24T18:59:03.103Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-10-24T18:59:03.372Z] ---> f17d95b77f3d [2024-10-24T18:59:03.372Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-10-24T18:59:03.372Z] ---> Running in 27451d052e9a [2024-10-24T18:59:04.338Z] + CPPCHECK=false [2024-10-24T18:59:04.338Z] + DOCGEN=false [2024-10-24T18:59:04.338Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-10-24T18:59:04.338Z] + '[' 0 -gt 0 ] [2024-10-24T18:59:04.338Z] + readlink -f ./scripts/build.sh [2024-10-24T18:59:04.338Z] + dirname /tmp/sdk/scripts/build.sh [2024-10-24T18:59:04.338Z] + dirname /tmp/sdk/scripts [2024-10-24T18:59:04.338Z] + ROOT=/tmp/sdk [2024-10-24T18:59:04.338Z] + cd /tmp/sdk [2024-10-24T18:59:04.338Z] + mkdir -p /tmp/sdk/build/release [2024-10-24T18:59:04.338Z] + cd /tmp/sdk/build/release [2024-10-24T18:59:04.338Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-10-24T18:59:04.604Z] -- The C compiler identification is GNU 12.2.1 [2024-10-24T18:59:04.605Z] -- Detecting C compiler ABI info [2024-10-24T18:59:04.870Z] -- Detecting C compiler ABI info - done [2024-10-24T18:59:05.136Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-24T18:59:05.136Z] -- Detecting C compile features [2024-10-24T18:59:05.136Z] -- Detecting C compile features - done [2024-10-24T18:59:05.136Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-24T18:59:05.496Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-24T18:59:05.496Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-24T18:59:05.496Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-24T18:59:05.496Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-24T18:59:05.496Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-24T18:59:05.496Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-24T18:59:05.496Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-24T18:59:05.496Z] -- /opt/iotech/iot/1.5/include [2024-10-24T18:59:05.496Z] -- C SDK 0.0.0 for Linux [2024-10-24T18:59:05.496Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-24T18:59:05.787Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-24T18:59:05.787Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-24T18:59:06.071Z] -- Configuring done (1.6s) [2024-10-24T18:59:06.341Z] -- Generating done (0.2s) [2024-10-24T18:59:06.341Z] -- Build files have been written to: /tmp/sdk/build/release [2024-10-24T18:59:06.341Z] + + maketee all release.log [2024-10-24T18:59:06.341Z] package [2024-10-24T18:59:06.341Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-24T18:59:06.921Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-24T18:59:07.888Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-24T18:59:08.853Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-24T18:59:09.814Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-24T18:59:10.080Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-24T18:59:12.664Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-24T18:59:12.930Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-10-24T18:59:12.930Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T18:59:12.930Z] 294 | while (privateConfig) [2024-10-24T18:59:12.930Z] | ^~~~~~~~~~~~~ [2024-10-24T18:59:12.930Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-10-24T18:59:12.930Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-24T18:59:12.930Z] | ^~~~~~~~~~~~~ [2024-10-24T18:59:12.930Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T18:59:12.930Z] 271 | while (result) [2024-10-24T18:59:12.930Z] | ^~~~~~ [2024-10-24T18:59:12.930Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-10-24T18:59:12.930Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-24T18:59:12.930Z] | ^~~~~~ [2024-10-24T18:59:13.517Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-24T18:59:13.517Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-24T18:59:14.474Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-24T18:59:16.418Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-24T18:59:16.685Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-24T18:59:17.645Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-24T18:59:18.226Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-24T18:59:18.812Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-24T18:59:19.769Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-24T18:59:20.351Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-24T18:59:22.289Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-24T18:59:22.556Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-24T18:59:23.138Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-24T18:59:24.544Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-24T18:59:31.177Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-24T18:59:31.442Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-24T18:59:31.708Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-24T18:59:32.301Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-24T18:59:32.566Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-24T18:59:33.970Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-24T18:59:36.545Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-24T18:59:36.545Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-24T18:59:37.503Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-24T18:59:38.085Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-24T18:59:38.350Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-24T18:59:38.351Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T18:59:38.351Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-24T18:59:38.351Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T18:59:38.351Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T18:59:38.351Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-24T18:59:38.351Z] | ^ [2024-10-24T18:59:39.750Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-24T18:59:39.751Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-10-24T18:59:39.751Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T18:59:39.751Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-10-24T18:59:39.751Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-10-24T18:59:39.751Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-10-24T18:59:40.719Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-24T18:59:41.681Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-24T18:59:41.946Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-24T18:59:42.527Z] [ 68%] Linking C shared library libcsdk.so [2024-10-24T18:59:42.527Z] [ 68%] Built target csdk [2024-10-24T18:59:42.792Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-24T18:59:43.747Z] [ 72%] Linking C executable template [2024-10-24T18:59:43.747Z] [ 72%] Built target template [2024-10-24T18:59:43.747Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-24T18:59:44.328Z] [ 76%] Linking C executable device-counter [2024-10-24T18:59:44.594Z] [ 76%] Built target device-counter [2024-10-24T18:59:44.859Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-24T18:59:45.126Z] [ 80%] Linking C executable device-random [2024-10-24T18:59:45.708Z] [ 80%] Built target device-random [2024-10-24T18:59:45.708Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-24T18:59:45.973Z] [ 84%] Linking C executable device-gyro [2024-10-24T18:59:46.239Z] [ 84%] Built target device-gyro [2024-10-24T18:59:46.506Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-24T18:59:46.772Z] [ 88%] Linking C executable device-bitfields [2024-10-24T18:59:47.039Z] [ 88%] Built target device-bitfields [2024-10-24T18:59:47.305Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-24T18:59:48.259Z] [ 92%] Linking C executable template-discovery [2024-10-24T18:59:48.525Z] [ 92%] Built target template-discovery [2024-10-24T18:59:48.525Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-24T18:59:49.110Z] [ 96%] Linking C executable device-file [2024-10-24T18:59:49.377Z] [ 96%] Built target device-file [2024-10-24T18:59:49.644Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-24T18:59:50.226Z] [100%] Linking C executable device-terminal [2024-10-24T18:59:50.492Z] [100%] Built target device-terminal [2024-10-24T18:59:50.492Z] Run CPack packaging tool... [2024-10-24T18:59:50.492Z] CPack: Create package using TGZ [2024-10-24T18:59:50.492Z] CPack: Install projects [2024-10-24T18:59:50.492Z] CPack: - Run preinstall target for: Csdk [2024-10-24T18:59:51.449Z] CPack: - Install project: Csdk [] [2024-10-24T18:59:51.449Z] CPack: Create package [2024-10-24T18:59:51.449Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-10-24T18:59:51.449Z] + '[' false '=' true ] [2024-10-24T18:59:51.449Z] + '[' false '=' true ] [2024-10-24T18:59:51.449Z] + mkdir -p /tmp/sdk/build/debug [2024-10-24T18:59:51.449Z] + cd /tmp/sdk/build/debug [2024-10-24T18:59:51.449Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-10-24T18:59:51.715Z] -- The C compiler identification is GNU 12.2.1 [2024-10-24T18:59:51.715Z] -- Detecting C compiler ABI info [2024-10-24T18:59:51.981Z] -- Detecting C compiler ABI info - done [2024-10-24T18:59:52.247Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-24T18:59:52.247Z] -- Detecting C compile features [2024-10-24T18:59:52.247Z] -- Detecting C compile features - done [2024-10-24T18:59:52.247Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-24T18:59:52.247Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-24T18:59:52.514Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-24T18:59:52.514Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-24T18:59:52.514Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-24T18:59:52.514Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-24T18:59:52.514Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-24T18:59:52.514Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-24T18:59:52.514Z] -- /opt/iotech/iot/1.5/include [2024-10-24T18:59:52.514Z] -- C SDK 0.0.0 for Linux [2024-10-24T18:59:52.514Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-24T18:59:52.781Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-24T18:59:53.049Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-24T18:59:53.049Z] -- Configuring done (1.6s) [2024-10-24T18:59:53.317Z] -- Generating done (0.2s) [2024-10-24T18:59:53.317Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-10-24T18:59:53.317Z] + make [2024-10-24T18:59:53.317Z] + tee debug.log [2024-10-24T18:59:53.585Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-24T18:59:53.853Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-24T18:59:54.124Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-24T18:59:54.704Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-24T18:59:54.970Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-24T18:59:55.235Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-24T18:59:55.815Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-24T18:59:56.395Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-24T18:59:56.395Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-24T18:59:56.976Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-24T18:59:57.556Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-24T18:59:57.821Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-24T18:59:58.401Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-24T18:59:58.665Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-24T18:59:58.931Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-24T18:59:59.511Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-24T18:59:59.511Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-24T19:00:00.465Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-24T19:00:00.465Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-24T19:00:00.732Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-24T19:00:01.312Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-24T19:00:02.712Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-24T19:00:02.712Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-24T19:00:02.978Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-24T19:00:03.242Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-24T19:00:03.512Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-24T19:00:04.092Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-24T19:00:05.506Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-24T19:00:05.771Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-24T19:00:06.350Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-24T19:00:06.615Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-24T19:00:06.880Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-24T19:00:06.880Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T19:00:06.880Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-24T19:00:06.880Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-24T19:00:06.880Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-24T19:00:06.880Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-24T19:00:06.880Z] | ^ [2024-10-24T19:00:07.459Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-24T19:00:07.723Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-24T19:00:07.988Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-24T19:00:08.253Z] [ 68%] Linking C shared library libcsdk.so [2024-10-24T19:00:08.519Z] [ 68%] Built target csdk [2024-10-24T19:00:08.519Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-24T19:00:09.097Z] [ 72%] Linking C executable template [2024-10-24T19:00:09.364Z] [ 72%] Built target template [2024-10-24T19:00:09.364Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-24T19:00:09.628Z] [ 76%] Linking C executable device-counter [2024-10-24T19:00:09.893Z] [ 76%] Built target device-counter [2024-10-24T19:00:09.893Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-24T19:00:10.159Z] [ 80%] Linking C executable device-random [2024-10-24T19:00:10.740Z] [ 80%] Built target device-random [2024-10-24T19:00:10.740Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-24T19:00:11.005Z] [ 84%] Linking C executable device-gyro [2024-10-24T19:00:11.270Z] [ 84%] Built target device-gyro [2024-10-24T19:00:11.270Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-24T19:00:11.536Z] [ 88%] Linking C executable device-bitfields [2024-10-24T19:00:11.814Z] [ 88%] Built target device-bitfields [2024-10-24T19:00:11.814Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-24T19:00:12.402Z] [ 92%] Linking C executable template-discovery [2024-10-24T19:00:12.673Z] [ 92%] Built target template-discovery [2024-10-24T19:00:12.673Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-24T19:00:12.939Z] [ 96%] Linking C executable device-file [2024-10-24T19:00:13.204Z] [ 96%] Built target device-file [2024-10-24T19:00:13.204Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-24T19:00:13.783Z] [100%] Linking C executable device-terminal [2024-10-24T19:00:14.051Z] [100%] Built target device-terminal [2024-10-24T19:00:14.051Z] make: Entering directory '/tmp/sdk/build/release' [2024-10-24T19:00:14.318Z] [ 68%] Built target csdk [2024-10-24T19:00:14.318Z] [ 72%] Built target template [2024-10-24T19:00:14.318Z] [ 76%] Built target device-counter [2024-10-24T19:00:14.318Z] [ 80%] Built target device-random [2024-10-24T19:00:14.597Z] [ 84%] Built target device-gyro [2024-10-24T19:00:14.597Z] [ 88%] Built target device-bitfields [2024-10-24T19:00:14.597Z] [ 92%] Built target template-discovery [2024-10-24T19:00:14.597Z] [ 96%] Built target device-file [2024-10-24T19:00:14.597Z] [100%] Built target device-terminal [2024-10-24T19:00:14.869Z] Install the project... [2024-10-24T19:00:14.869Z] -- Install configuration: "Release" [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/lib/libcsdk.so [2024-10-24T19:00:14.869Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include/devsdk [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include/edgex [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include/edgex/devices.h [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-10-24T19:00:14.869Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-10-24T19:00:14.869Z] make: Leaving directory '/tmp/sdk/build/release' [2024-10-24T19:00:16.290Z] Removing intermediate container 27451d052e9a [2024-10-24T19:00:16.290Z] ---> ebca57e6a461 [2024-10-24T19:00:16.290Z] Step 14/22 : FROM ${BASE} [2024-10-24T19:00:16.290Z] ---> 2b552cad5dd9 [2024-10-24T19:00:16.290Z] Step 15/22 : LABEL maintainer="IOTech " [2024-10-24T19:00:16.556Z] ---> Running in 9a4db7abb890 [2024-10-24T19:00:16.824Z] Removing intermediate container 9a4db7abb890 [2024-10-24T19:00:16.824Z] ---> 11395e6fab51 [2024-10-24T19:00:16.824Z] 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-24T19:00:16.824Z] ---> Running in 3b884cd619d0 [2024-10-24T19:00:17.781Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-10-24T19:00:18.361Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T19:00:18.361Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T19:00:18.361Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T19:00:18.945Z] Removing intermediate container 3b884cd619d0 [2024-10-24T19:00:18.945Z] ---> d2a157e1fb8e [2024-10-24T19:00:18.945Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T19:00:18.945Z] ---> Running in 6e32e351811f [2024-10-24T19:00:20.347Z] Removing intermediate container 6e32e351811f [2024-10-24T19:00:20.347Z] ---> ec416895ff55 [2024-10-24T19:00:20.347Z] 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-24T19:00:20.612Z] ---> Running in 30ee310a03f1 [2024-10-24T19:00:21.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T19:00:24.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T19:00:24.808Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T19:00:25.778Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T19:00:26.043Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-10-24T19:00:26.043Z] (2/10) Installing curl (8.9.1-r1) [2024-10-24T19:00:26.043Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-10-24T19:00:26.043Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-10-24T19:00:26.043Z] (5/10) Installing hiredis (1.1.0-r2) [2024-10-24T19:00:26.043Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-10-24T19:00:26.043Z] (7/10) Installing libcbor (0.10.2-r1) [2024-10-24T19:00:26.043Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-24T19:00:27.001Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-24T19:00:27.001Z] (10/10) Installing libuuid (2.38.1-r8) [2024-10-24T19:00:27.001Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T19:00:27.001Z] OK: 328 MiB in 90 packages [2024-10-24T19:00:27.963Z] Removing intermediate container 30ee310a03f1 [2024-10-24T19:00:27.963Z] ---> 133e811c8fea [2024-10-24T19:00:27.963Z] Step 19/22 : RUN apk --no-cache upgrade [2024-10-24T19:00:28.230Z] ---> Running in 8130dc07dac6 [2024-10-24T19:00:29.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T19:00:29.451Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T19:00:29.715Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T19:00:30.668Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T19:00:30.668Z] Upgrading critical system libraries and apk-tools: [2024-10-24T19:00:30.668Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-24T19:00:30.668Z] Executing busybox-1.36.1-r4.trigger [2024-10-24T19:00:30.931Z] Continuing the upgrade transaction with new apk-tools: [2024-10-24T19:00:30.932Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T19:00:31.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T19:00:31.776Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T19:00:32.354Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T19:00:32.620Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T19:00:32.620Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-24T19:00:32.620Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T19:00:32.620Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-24T19:00:32.620Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T19:00:32.620Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T19:00:32.620Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-10-24T19:00:32.620Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-10-24T19:00:32.884Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) [2024-10-24T19:00:32.884Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-10-24T19:00:32.884Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-10-24T19:00:32.884Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-10-24T19:00:33.880Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T19:00:33.880Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T19:00:33.880Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-10-24T19:00:33.880Z] Executing busybox-1.36.1-r7.trigger [2024-10-24T19:00:33.880Z] Executing ca-certificates-20240226-r0.trigger [2024-10-24T19:00:33.880Z] OK: 328 MiB in 90 packages [2024-10-24T19:00:36.785Z] Removing intermediate container 8130dc07dac6 [2024-10-24T19:00:36.785Z] ---> fd66eac6651b [2024-10-24T19:00:36.785Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-10-24T19:00:36.785Z] ---> a480f582f1e4 [2024-10-24T19:00:36.785Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-10-24T19:00:36.785Z] ---> e68a3f1ec63c [2024-10-24T19:00:36.785Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-10-24T19:00:36.785Z] ---> 742154e6b97f [2024-10-24T19:00:36.785Z] Successfully built 742154e6b97f [2024-10-24T19:00:36.785Z] 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-24T19:00:42.165Z] + docker inspect -f . ci-base-image-arm64 [2024-10-24T19:00:42.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T19:00:46.163Z] prd-ubuntu20.04-docker-arm64-4c-16g-23702 does not seem to be running inside a container [2024-10-24T19:00:49.693Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-24T19:00:50.988Z] $ docker top f435042125095504fee35285ebc47185b9fab9f1e3af8f07372ceb96491e3005 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-24T19:00:57.075Z] + make test [2024-10-24T19:00:57.075Z] echo "make test" [2024-10-24T19:00:57.075Z] make test [Pipeline] } [2024-10-24T19:00:57.089Z] $ docker stop --time=1 f435042125095504fee35285ebc47185b9fab9f1e3af8f07372ceb96491e3005 [2024-10-24T19:00:58.656Z] $ docker rm -f --volumes f435042125095504fee35285ebc47185b9fab9f1e3af8f07372ceb96491e3005 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-24T19:00:59.219Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-24T19:00:59.528Z] + ls -al . [2024-10-24T19:00:59.528Z] total 208 [2024-10-24T19:00:59.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:58 . [2024-10-24T19:00:59.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:58 .. [2024-10-24T19:00:59.528Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:58 .git [2024-10-24T19:00:59.528Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:58 .github [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 24 18:58 .gitignore [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 24 18:58 Attribution.txt [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 11953 Oct 24 18:58 CHANGELOG.md [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 24 18:58 Doxyfile [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:58 GOVERNANCE.md [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 24 18:58 Jenkinsfile [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 24 18:58 LICENSE [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 24 18:58 Makefile [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 24 18:58 OWNERS.md [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 24 18:58 README.IOT.md [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 24 18:58 README.md [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 24 18:58 README.v3.md [2024-10-24T19:00:59.528Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 18:55 VERSION [2024-10-24T19:00:59.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:58 docs [2024-10-24T19:00:59.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:58 include [2024-10-24T19:00:59.528Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:58 scripts [2024-10-24T19:00:59.528Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:58 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T19:00:59.868Z] + 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=c657e349c2ab6e9eba269d958c8844669a195ef4 --label arch=arm64 --label version=0.0.0 . [2024-10-24T19:01:00.136Z] Sending build context to Docker daemon 3.082MB [2024-10-24T19:01:00.136Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-10-24T19:01:00.136Z] Step 2/18 : FROM ${BASE} [2024-10-24T19:01:00.136Z] ---> 742154e6b97f [2024-10-24T19:01:00.136Z] Step 3/18 : LABEL maintainer="IOTech " [2024-10-24T19:01:01.083Z] ---> Running in aadbaec10c93 [2024-10-24T19:01:01.083Z] Removing intermediate container aadbaec10c93 [2024-10-24T19:01:01.083Z] ---> ec8aed744466 [2024-10-24T19:01:01.083Z] 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-24T19:01:01.083Z] ---> Running in ff4d7e24997d [2024-10-24T19:01:01.673Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-10-24T19:01:02.256Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-24T19:01:02.256Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-24T19:01:02.256Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-24T19:01:02.837Z] Removing intermediate container ff4d7e24997d [2024-10-24T19:01:02.837Z] ---> 33a0efff3dd1 [2024-10-24T19:01:02.837Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-24T19:01:02.837Z] ---> Running in 598e2e65e92d [2024-10-24T19:01:04.785Z] Removing intermediate container 598e2e65e92d [2024-10-24T19:01:04.785Z] ---> 6b025402fa8e [2024-10-24T19:01:04.785Z] 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-24T19:01:04.785Z] ---> Running in e764ed93e69d [2024-10-24T19:01:05.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T19:01:05.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T19:01:06.216Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T19:01:07.180Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T19:01:07.180Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-24T19:01:07.444Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-10-24T19:01:07.444Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-10-24T19:01:07.444Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-10-24T19:01:07.444Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-10-24T19:01:07.444Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-24T19:01:07.444Z] (7/11) Installing libblkid (2.38.1-r8) [2024-10-24T19:01:07.444Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-10-24T19:01:07.444Z] (9/11) Installing libmount (2.38.1-r8) [2024-10-24T19:01:07.444Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-10-24T19:01:07.444Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-10-24T19:01:07.711Z] Executing busybox-1.36.1-r7.trigger [2024-10-24T19:01:07.711Z] OK: 334 MiB in 101 packages [2024-10-24T19:01:08.693Z] Removing intermediate container e764ed93e69d [2024-10-24T19:01:08.693Z] ---> f5c6784f8b67 [2024-10-24T19:01:08.693Z] Step 7/18 : RUN apk --no-cache upgrade [2024-10-24T19:01:08.962Z] ---> Running in 88eec54766f1 [2024-10-24T19:01:09.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T19:01:09.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-24T19:01:10.504Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-24T19:01:11.459Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-24T19:01:11.459Z] OK: 334 MiB in 101 packages [2024-10-24T19:01:12.862Z] Removing intermediate container 88eec54766f1 [2024-10-24T19:01:12.862Z] ---> df319f9be803 [2024-10-24T19:01:12.862Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-10-24T19:01:13.447Z] ---> a8e98517f8af [2024-10-24T19:01:13.447Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-10-24T19:01:14.032Z] ---> 15e0bea71f80 [2024-10-24T19:01:14.032Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-10-24T19:01:14.616Z] ---> 64628bf37726 [2024-10-24T19:01:14.616Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-10-24T19:01:15.217Z] ---> 895ecdebb32e [2024-10-24T19:01:15.217Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-10-24T19:01:15.486Z] ---> 4dfd136e465a [2024-10-24T19:01:15.486Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-10-24T19:01:16.071Z] ---> ac13155ee485 [2024-10-24T19:01:16.071Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-10-24T19:01:16.071Z] ---> Running in ef00bbf25fb1 [2024-10-24T19:01:16.344Z] Removing intermediate container ef00bbf25fb1 [2024-10-24T19:01:16.344Z] ---> 71e65538711a [2024-10-24T19:01:16.344Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-10-24T19:01:16.612Z] ---> Running in 9a24c555a6b4 [2024-10-24T19:01:16.885Z] Removing intermediate container 9a24c555a6b4 [2024-10-24T19:01:16.885Z] ---> 80fecce05c17 [2024-10-24T19:01:16.885Z] Step 16/18 : LABEL arch=arm64 [2024-10-24T19:01:16.885Z] ---> Running in 9f059af3852d [2024-10-24T19:01:17.153Z] Removing intermediate container 9f059af3852d [2024-10-24T19:01:17.153Z] ---> 384eebc9ee6c [2024-10-24T19:01:17.153Z] Step 17/18 : LABEL git_sha=c657e349c2ab6e9eba269d958c8844669a195ef4 [2024-10-24T19:01:17.153Z] ---> Running in 7f0c6be7c7f4 [2024-10-24T19:01:17.423Z] Removing intermediate container 7f0c6be7c7f4 [2024-10-24T19:01:17.423Z] ---> b42987258edd [2024-10-24T19:01:17.423Z] Step 18/18 : LABEL version=0.0.0 [2024-10-24T19:01:17.691Z] ---> Running in 68a3376b67f6 [2024-10-24T19:01:17.955Z] Removing intermediate container 68a3376b67f6 [2024-10-24T19:01:17.955Z] ---> 4e94b6266c39 [2024-10-24T19:01:17.955Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-10-24T19:01:17.955Z] Successfully built 4e94b6266c39 [2024-10-24T19:01:17.955Z] 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-24T19:01:18.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-24T19:01:18.424Z] [2024-10-24T19:01:18.424Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T19:01:18.745Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-24T19:01:19.009Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-24T19:01:19.009Z] 8998bd30e6a1: Pulling fs layer [2024-10-24T19:01:19.009Z] 04944245beec: Pulling fs layer [2024-10-24T19:01:19.009Z] 699f458cf7ca: Pulling fs layer [2024-10-24T19:01:19.009Z] 765212b225bb: Pulling fs layer [2024-10-24T19:01:19.009Z] f23df028b6ca: Pulling fs layer [2024-10-24T19:01:19.009Z] d65c8cfc05b1: Pulling fs layer [2024-10-24T19:01:19.009Z] 2437ff75d9bd: Pulling fs layer [2024-10-24T19:01:19.009Z] 765212b225bb: Waiting [2024-10-24T19:01:19.009Z] f23df028b6ca: Waiting [2024-10-24T19:01:19.009Z] d65c8cfc05b1: Waiting [2024-10-24T19:01:19.009Z] 2437ff75d9bd: Waiting [2024-10-24T19:01:19.009Z] 04944245beec: Verifying Checksum [2024-10-24T19:01:19.009Z] 04944245beec: Download complete [2024-10-24T19:01:19.009Z] 765212b225bb: Verifying Checksum [2024-10-24T19:01:19.009Z] 765212b225bb: Download complete [2024-10-24T19:01:19.009Z] f23df028b6ca: Verifying Checksum [2024-10-24T19:01:19.009Z] f23df028b6ca: Download complete [2024-10-24T19:01:19.009Z] d65c8cfc05b1: Verifying Checksum [2024-10-24T19:01:19.009Z] d65c8cfc05b1: Download complete [2024-10-24T19:01:19.274Z] 699f458cf7ca: Verifying Checksum [2024-10-24T19:01:19.539Z] 8998bd30e6a1: Verifying Checksum [2024-10-24T19:01:19.539Z] 8998bd30e6a1: Download complete [2024-10-24T19:01:22.115Z] 2437ff75d9bd: Verifying Checksum [2024-10-24T19:01:22.115Z] 2437ff75d9bd: Download complete [2024-10-24T19:01:24.051Z] 8998bd30e6a1: Pull complete [2024-10-24T19:01:24.631Z] 04944245beec: Pull complete [2024-10-24T19:01:26.034Z] 699f458cf7ca: Pull complete [2024-10-24T19:01:26.301Z] 765212b225bb: Pull complete [2024-10-24T19:01:27.257Z] f23df028b6ca: Pull complete [2024-10-24T19:01:27.257Z] d65c8cfc05b1: Pull complete [2024-10-24T19:01:45.457Z] 2437ff75d9bd: Pull complete [2024-10-24T19:01:45.457Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-24T19:01:45.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-24T19:01:45.457Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T19:01:45.666Z] prd-ubuntu20.04-docker-arm64-4c-16g-23702 does not seem to be running inside a container [2024-10-24T19:01:45.725Z] $ 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/4 -v /w/workspace/device-sdk-c/4:/w/workspace/device-sdk-c/4:rw,z -v /w/workspace/device-sdk-c/4@tmp:/w/workspace/device-sdk-c/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-24T19:01:48.106Z] $ docker top 4ce2d34a750a5c3615013bf7f6f6933fe42f1c5b3deab053d00139cb85ffa731 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-24T19:01:48.598Z] ---> job-cost.sh [2024-10-24T19:01:48.863Z] lf-activate-venv: SKIPPING [2024-10-24T19:01:48.863Z] INFO: No Stack... [2024-10-24T19:01:49.127Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-24T19:01:50.076Z] INFO: Archiving Costs [Pipeline] sh [2024-10-24T19:01:50.435Z] + + cut -d,cat -f6 /w/workspace/device-sdk-c/4/archives/cost.csv [2024-10-24T19:01:50.435Z] [Pipeline] lock [2024-10-24T19:01:50.519Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-4-stack-cost] [2024-10-24T19:01:50.527Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-4-stack-cost] did not exist. Created. [2024-10-24T19:01:50.534Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-24T19:01:50.901Z] /w/workspace/device-sdk-c/4@tmp/durable-6792da79/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-24T19:01:51.256Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-24T19:01:51.289Z] Warning: overwriting stash ‘stack-cost’ [2024-10-24T19:01:51.749Z] Stashed 1 file(s) [Pipeline] } [2024-10-24T19:01:51.758Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-24T19:01:51.785Z] $ docker stop --time=1 4ce2d34a750a5c3615013bf7f6f6933fe42f1c5b3deab053d00139cb85ffa731 [2024-10-24T19:01:53.244Z] $ docker rm -f --volumes 4ce2d34a750a5c3615013bf7f6f6933fe42f1c5b3deab053d00139cb85ffa731 [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-24T19:01:54.220Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives ] [2024-10-24T19:01:54.221Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-10-24T19:01:54.221Z] total 16 [2024-10-24T19:01:54.221Z] drwxr-xr-x 3 root root 4096 Oct 24 18:56 . [2024-10-24T19:01:54.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 18:56 .. [2024-10-24T19:01:54.221Z] drwxr-xr-x 2 root root 4096 Oct 24 18:56 cost [2024-10-24T19:01:54.221Z] -rw-r--r-- 1 root root 84 Oct 24 18:56 cost.csv [2024-10-24T19:01:54.221Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-10-24T19:01:54.221Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-10-24T19:01:54.221Z] total 16 [2024-10-24T19:01:54.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:56 . [2024-10-24T19:01:54.221Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 18:56 .. [2024-10-24T19:01:54.221Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:56 cost [2024-10-24T19:01:54.221Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 24 18:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-24T19:01:54.517Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T19:01:55.381Z] ---> package-listing.sh [2024-10-24T19:01:55.381Z] ++ facter osfamily [2024-10-24T19:01:55.381Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-24T19:01:55.642Z] + OS_FAMILY=debian [2024-10-24T19:01:55.642Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-517 [2024-10-24T19:01:55.642Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-24T19:01:55.642Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-24T19:01:55.642Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-24T19:01:55.642Z] + PACKAGES=/tmp/packages_start.txt [2024-10-24T19:01:55.642Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-10-24T19:01:55.642Z] + PACKAGES=/tmp/packages_end.txt [2024-10-24T19:01:55.642Z] + case "${OS_FAMILY}" in [2024-10-24T19:01:55.642Z] + dpkg -l [2024-10-24T19:01:55.642Z] + grep '^ii' [2024-10-24T19:01:55.642Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-24T19:01:55.642Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-24T19:01:55.642Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-24T19:01:55.642Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-10-24T19:01:55.642Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ [2024-10-24T19:01:55.642Z] + 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-24T19:01:55.655Z] 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-24T19:01:55.937Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-24T19:01:56.514Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-24T19:01:56.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-24T19:01:56.602Z] prd-ubuntu20.04-docker-8c-8g-23701 does not seem to be running inside a container [2024-10-24T19:01:56.631Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-24T19:01:56.813Z] $ docker top 76b4d92a7f5c5d31f5e8d1e65d924142319cae49885b43b290d3e4fdd3981399 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-24T19:01:57.176Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-24T19:01:57.468Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-24T19:01:57.754Z] + ls /var/log/sa-host [2024-10-24T19:01:57.754Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-24T19:01:57.929Z] provisioning config files... [2024-10-24T19:01:57.943Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config9558313004527232548tmp [Pipeline] { [Pipeline] echo [2024-10-24T19:01:57.964Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T19:01:58.252Z] ---> create-netrc.sh [Pipeline] } [2024-10-24T19:01:58.261Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-24T19:01:58.607Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-24T19:01:58.618Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T19:01:58.903Z] ---> sudo-logs.sh [2024-10-24T19:01:58.903Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-24T19:01:58.938Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T19:01:59.226Z] ---> job-cost.sh [2024-10-24T19:01:59.226Z] lf-activate-venv: SKIPPING [2024-10-24T19:01:59.226Z] DEBUG: total: 0.2199999988079071 [2024-10-24T19:01:59.226Z] INFO: Retrieving Stack Cost... [2024-10-24T19:01:59.486Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-24T19:01:59.744Z] INFO: Archiving Costs [Pipeline] echo [2024-10-24T19:01:59.758Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-24T19:02:00.042Z] ---> logs-deploy.sh [2024-10-24T19:02:00.042Z] lf-activate-venv: SKIPPING [2024-10-24T19:02:00.042Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-517/4 [2024-10-24T19:02:00.042Z] INFO: archiving workspace using pattern(s): [2024-10-24T19:02:00.980Z] Archives upload complete. [2024-10-24T19:02:00.980Z] INFO: archiving logs to Nexus