Pull request #517 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271+de2f7dd484aed31b8929cc3252062c81ad15313f (4835ad73589b692f46ef3ef3525bfe87be05263d) 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-ssh10343259354738858825.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-ssh7381532504227644735.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-ssh346183738512428283.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-ssh7719716385346207305.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-ssh9030408555162335797.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-23549 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 Merging remotes/origin/main commit de2f7dd484aed31b8929cc3252062c81ad15313f into PR head commit d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 # timeout=10 > git remote # timeout=10 Merge succeeded, producing d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 Checking out Revision d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 (PR-517) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 # timeout=10 Commit message: "fix: Wait for MQTT subscriptions to take effect before returning (#516)" First time build. Skipping changelog. > git rev-list --no-walk c5e9af27f55e0d8940fc2a74df67f7e916361754 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-23T00:13:44.970Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-23T00:13:45.036Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-23T00:13:45.061Z] ========================================================= [2024-10-23T00:13:45.061Z] EdgeX Global Pipelines Version Info [2024-10-23T00:13:45.061Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:13:45.786Z] ------------------- [2024-10-23T00:13:45.786Z] stable info: [2024-10-23T00:13:45.786Z] ------------------- [2024-10-23T00:13:45.786Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-23T00:13:45.786Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-23T00:13:45.786Z] Message: update stable to v1.0.265 [2024-10-23T00:13:46.353Z] ------------------- [2024-10-23T00:13:46.353Z] experimental info: [2024-10-23T00:13:46.353Z] ------------------- [2024-10-23T00:13:46.353Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-23T00:13:46.353Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-23T00:13:46.353Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-23T00:13:46.425Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-10-23T00:13:46.448Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-10-23T00:13:46.473Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-23T00:13:46.498Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-23T00:13:46.523Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-23T00:13:46.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-10-23T00:13:46.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-10-23T00:13:46.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-23T00:13:46.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-23T00:13:46.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-10-23T00:13:46.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-23T00:13:46.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-23T00:13:46.694Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-23T00:13:46.714Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-23T00:13:46.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-23T00:13:46.757Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-23T00:13:46.775Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-23T00:13:46.796Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-517 [Pipeline] echo [2024-10-23T00:13:46.818Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-517 [Pipeline] echo [2024-10-23T00:13:46.838Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-517 [Pipeline] echo [2024-10-23T00:13:46.863Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [Pipeline] echo [2024-10-23T00:13:46.884Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d2bfa6c [Pipeline] echo [2024-10-23T00:13:46.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-23T00:13:46.969Z] provisioning config files... [2024-10-23T00:13:46.983Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config9017363623203137577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:13:47.319Z] ---> ****-login.sh [2024-10-23T00:13:47.319Z] nexus3.edgexfoundry.org:10001 [2024-10-23T00:13:47.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:13:47.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:13:47.580Z] Configure a credential helper to remove this warning. See [2024-10-23T00:13:47.580Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:13:47.580Z] [2024-10-23T00:13:47.580Z] Login Succeeded [2024-10-23T00:13:47.580Z] nexus3.edgexfoundry.org:10002 [2024-10-23T00:13:47.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:13:47.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:13:47.581Z] Configure a credential helper to remove this warning. See [2024-10-23T00:13:47.581Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:13:47.581Z] [2024-10-23T00:13:47.581Z] Login Succeeded [2024-10-23T00:13:47.581Z] nexus3.edgexfoundry.org:10003 [2024-10-23T00:13:47.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:13:47.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:13:47.845Z] Configure a credential helper to remove this warning. See [2024-10-23T00:13:47.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:13:47.845Z] [2024-10-23T00:13:47.845Z] Login Succeeded [2024-10-23T00:13:47.845Z] nexus3.edgexfoundry.org:10004 [2024-10-23T00:13:47.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:13:47.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:13:47.845Z] Configure a credential helper to remove this warning. See [2024-10-23T00:13:47.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:13:47.845Z] [2024-10-23T00:13:47.845Z] Login Succeeded [2024-10-23T00:13:47.845Z] ****.io [2024-10-23T00:13:48.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:13:48.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:13:48.109Z] Configure a credential helper to remove this warning. See [2024-10-23T00:13:48.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:13:48.109Z] [2024-10-23T00:13:48.109Z] Login Succeeded [2024-10-23T00:13:48.109Z] ---> ****-login.sh ends [Pipeline] } [2024-10-23T00:13:48.116Z] 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-23T00:13:48.502Z] + git rev-list -1 --merges d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271~1..d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [Pipeline] echo [2024-10-23T00:13:48.531Z] -----------> git rev-list -1 --merges d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271~1..d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [false] [Pipeline] sh [2024-10-23T00:13:48.823Z] + git log --format=format:%s -1 d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [Pipeline] echo [2024-10-23T00:13:48.840Z] ========================================================= [2024-10-23T00:13:48.840Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-23T00:13:48.840Z] ========================================================= 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-23T00:13:49.275Z] + git rev-list -1 --merges d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271~1..d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [Pipeline] echo [2024-10-23T00:13:49.288Z] -----------> git rev-list -1 --merges d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271~1..d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [false] [Pipeline] sh [2024-10-23T00:13:49.585Z] + git log --format=format:%s -1 d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [Pipeline] echo [2024-10-23T00:13:49.600Z] ========================================================= [2024-10-23T00:13:49.600Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-23T00:13:49.600Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-10-23T00:13:49.969Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-23T00:13:49.969Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-23T00:13:49.969Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-23T00:13:49.969Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-23T00:13:49.969Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-23T00:13:49.969Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-23T00:13:49.969Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T00:13:50.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-23T00:13:50.315Z] [2024-10-23T00:13:50.315Z] 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-23T00:13:50.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-23T00:13:50.617Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-23T00:13:50.617Z] b85a868b505f: Pulling fs layer [2024-10-23T00:13:50.617Z] e2be974225ed: Pulling fs layer [2024-10-23T00:13:50.617Z] 339a4e72a1f5: Pulling fs layer [2024-10-23T00:13:50.617Z] 988bab9f4d93: Pulling fs layer [2024-10-23T00:13:50.617Z] 1469e6f7b9e6: Pulling fs layer [2024-10-23T00:13:50.617Z] eaf3925da568: Pulling fs layer [2024-10-23T00:13:50.617Z] bab4dde63d76: Pulling fs layer [2024-10-23T00:13:50.617Z] bde34c3a00c8: Pulling fs layer [2024-10-23T00:13:50.617Z] b352a97aabf1: Pulling fs layer [2024-10-23T00:13:50.617Z] 4872d77fe225: Pulling fs layer [2024-10-23T00:13:50.617Z] 5851b861e8e6: Pulling fs layer [2024-10-23T00:13:50.617Z] bab4dde63d76: Waiting [2024-10-23T00:13:50.617Z] bde34c3a00c8: Waiting [2024-10-23T00:13:50.617Z] b352a97aabf1: Waiting [2024-10-23T00:13:50.617Z] 4872d77fe225: Waiting [2024-10-23T00:13:50.617Z] 5851b861e8e6: Waiting [2024-10-23T00:13:50.617Z] eaf3925da568: Waiting [2024-10-23T00:13:50.617Z] 988bab9f4d93: Waiting [2024-10-23T00:13:50.617Z] 1469e6f7b9e6: Waiting [2024-10-23T00:13:50.617Z] e2be974225ed: Download complete [2024-10-23T00:13:50.617Z] 988bab9f4d93: Verifying Checksum [2024-10-23T00:13:50.617Z] 988bab9f4d93: Download complete [2024-10-23T00:13:50.617Z] 1469e6f7b9e6: Verifying Checksum [2024-10-23T00:13:50.617Z] 1469e6f7b9e6: Download complete [2024-10-23T00:13:50.617Z] eaf3925da568: Verifying Checksum [2024-10-23T00:13:50.617Z] eaf3925da568: Download complete [2024-10-23T00:13:50.876Z] 339a4e72a1f5: Verifying Checksum [2024-10-23T00:13:50.876Z] 339a4e72a1f5: Download complete [2024-10-23T00:13:50.876Z] bde34c3a00c8: Download complete [2024-10-23T00:13:50.876Z] b352a97aabf1: Verifying Checksum [2024-10-23T00:13:50.876Z] b352a97aabf1: Download complete [2024-10-23T00:13:50.876Z] 4872d77fe225: Download complete [2024-10-23T00:13:50.876Z] 5851b861e8e6: Verifying Checksum [2024-10-23T00:13:50.876Z] 5851b861e8e6: Download complete [2024-10-23T00:13:50.876Z] b85a868b505f: Verifying Checksum [2024-10-23T00:13:50.876Z] b85a868b505f: Download complete [2024-10-23T00:13:51.135Z] bab4dde63d76: Verifying Checksum [2024-10-23T00:13:51.135Z] bab4dde63d76: Download complete [2024-10-23T00:13:52.072Z] b85a868b505f: Pull complete [2024-10-23T00:13:52.330Z] e2be974225ed: Pull complete [2024-10-23T00:13:52.898Z] 339a4e72a1f5: Pull complete [2024-10-23T00:13:52.898Z] 988bab9f4d93: Pull complete [2024-10-23T00:13:53.156Z] 1469e6f7b9e6: Pull complete [2024-10-23T00:13:53.156Z] eaf3925da568: Pull complete [2024-10-23T00:13:55.059Z] bab4dde63d76: Pull complete [2024-10-23T00:13:55.059Z] bde34c3a00c8: Pull complete [2024-10-23T00:13:55.059Z] b352a97aabf1: Pull complete [2024-10-23T00:13:55.059Z] 4872d77fe225: Pull complete [2024-10-23T00:13:55.059Z] 5851b861e8e6: Pull complete [2024-10-23T00:13:55.320Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-23T00:13:55.320Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-23T00:13:55.320Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T00:13:55.466Z] prd-ubuntu20.04-docker-8c-8g-23549 does not seem to be running inside a container [2024-10-23T00:13:55.496Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-23T00:13:58.686Z] $ docker top e4d23e8651cfd9619e9200468148ee6328dd93c1b8f6ce91ca2161a974c408de -eo pid,comm [2024-10-23T00:13:58.739Z] 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-23T00:13:58.739Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-23T00:13:58.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-23T00:13:58.789Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-23T00:13:58.899Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-23T00:13:58.900Z] $ docker exec e4d23e8651cfd9619e9200468148ee6328dd93c1b8f6ce91ca2161a974c408de ssh-agent [2024-10-23T00:13:59.008Z] SSH_AUTH_SOCK=/tmp/ssh-ejDR8c708uuI/agent.33 [2024-10-23T00:13:59.008Z] SSH_AGENT_PID=39 [2024-10-23T00:13:59.013Z] Running ssh-add (command line suppressed) [2024-10-23T00:13:59.127Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_5051133000908857593.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_5051133000908857593.key) [2024-10-23T00:13:59.142Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-23T00:13:59.436Z] + git tag --points-at HEAD [Pipeline] } [2024-10-23T00:13:59.446Z] $ docker exec --env ******** --env ******** e4d23e8651cfd9619e9200468148ee6328dd93c1b8f6ce91ca2161a974c408de ssh-agent -k [2024-10-23T00:13:59.550Z] unset SSH_AUTH_SOCK; [2024-10-23T00:13:59.551Z] unset SSH_AGENT_PID; [2024-10-23T00:13:59.551Z] echo Agent pid 39 killed; [2024-10-23T00:13:59.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-23T00:13:59.600Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-23T00:13:59.600Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-23T00:13:59.717Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-23T00:13:59.717Z] $ docker exec e4d23e8651cfd9619e9200468148ee6328dd93c1b8f6ce91ca2161a974c408de ssh-agent [2024-10-23T00:13:59.825Z] SSH_AUTH_SOCK=/tmp/ssh-31rhnQmhr7rJ/agent.72 [2024-10-23T00:13:59.825Z] SSH_AGENT_PID=78 [2024-10-23T00:13:59.829Z] Running ssh-add (command line suppressed) [2024-10-23T00:13:59.918Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_4527434954991497953.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_4527434954991497953.key) [2024-10-23T00:13:59.933Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-23T00:14:00.222Z] + git semver init [2024-10-23T00:14:00.481Z] 2024-10-23 00:14:00,389 [run_init] DEBUG init version:0.0.0 force:False [2024-10-23T00:14:00.481Z] 2024-10-23 00:14:00,389 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver [2024-10-23T00:14:00.481Z] 2024-10-23 00:14:00,390 [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-23T00:14:00.481Z] 2024-10-23 00:14:00,390 [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-23T00:14:01.416Z] 2024-10-23 00:14:01,169 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.git/info/exclude [2024-10-23T00:14:01.416Z] 2024-10-23 00:14:01,170 [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-23T00:14:01.416Z] 2024-10-23 00:14:01,170 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-10-23T00:14:01.416Z] 2024-10-23 00:14:01,174 [execute] INFO git cat-file --batch-check [2024-10-23T00:14:01.416Z] 2024-10-23 00:14:01,175 [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-23T00:14:01.416Z] 2024-10-23 00:14:01,181 [execute] INFO git cat-file --batch [2024-10-23T00:14:01.416Z] 2024-10-23 00:14:01,181 [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-23T00:14:01.416Z] 2024-10-23 00:14:01,187 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-10-23T00:14:01.416Z] 0.0.0 [Pipeline] } [2024-10-23T00:14:01.424Z] $ docker exec --env ******** --env ******** e4d23e8651cfd9619e9200468148ee6328dd93c1b8f6ce91ca2161a974c408de ssh-agent -k [2024-10-23T00:14:01.539Z] unset SSH_AUTH_SOCK; [2024-10-23T00:14:01.539Z] unset SSH_AGENT_PID; [2024-10-23T00:14:01.539Z] echo Agent pid 78 killed; [2024-10-23T00:14:01.551Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-23T00:14:01.872Z] + git semver [Pipeline] } [2024-10-23T00:14:02.143Z] $ docker stop --time=1 e4d23e8651cfd9619e9200468148ee6328dd93c1b8f6ce91ca2161a974c408de [2024-10-23T00:14:03.441Z] $ docker rm -f --volumes e4d23e8651cfd9619e9200468148ee6328dd93c1b8f6ce91ca2161a974c408de [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-23T00:14:03.790Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-23T00:14:04.038Z] Stashed 1 file(s) [Pipeline] echo [2024-10-23T00:14:04.043Z] [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-23T00:14:04.202Z] provisioning config files... [2024-10-23T00:14:04.210Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config6005709494384235851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:14:04.516Z] ---> ****-login.sh [2024-10-23T00:14:04.516Z] nexus3.edgexfoundry.org:10001 [2024-10-23T00:14:04.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:14:04.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:14:04.516Z] Configure a credential helper to remove this warning. See [2024-10-23T00:14:04.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:14:04.517Z] [2024-10-23T00:14:04.517Z] Login Succeeded [2024-10-23T00:14:04.517Z] nexus3.edgexfoundry.org:10002 [2024-10-23T00:14:04.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:14:04.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:14:04.517Z] Configure a credential helper to remove this warning. See [2024-10-23T00:14:04.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:14:04.517Z] [2024-10-23T00:14:04.517Z] Login Succeeded [2024-10-23T00:14:04.517Z] nexus3.edgexfoundry.org:10003 [2024-10-23T00:14:04.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:14:04.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:14:04.776Z] Configure a credential helper to remove this warning. See [2024-10-23T00:14:04.776Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:14:04.776Z] [2024-10-23T00:14:04.776Z] Login Succeeded [2024-10-23T00:14:04.776Z] nexus3.edgexfoundry.org:10004 [2024-10-23T00:14:04.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:14:04.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:14:04.776Z] Configure a credential helper to remove this warning. See [2024-10-23T00:14:04.776Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:14:04.776Z] [2024-10-23T00:14:04.776Z] Login Succeeded [2024-10-23T00:14:04.776Z] ****.io [2024-10-23T00:14:05.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:14:05.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:14:05.035Z] Configure a credential helper to remove this warning. See [2024-10-23T00:14:05.035Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:14:05.035Z] [2024-10-23T00:14:05.035Z] Login Succeeded [2024-10-23T00:14:05.035Z] ---> ****-login.sh ends [Pipeline] } [2024-10-23T00:14:05.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-23T00:14:05.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T00:14:05.149Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-10-23T00:14:05.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T00:14:05.178Z] ========================================================= [2024-10-23T00:14:05.178Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-10-23T00:14:05.178Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T00:14:05.491Z] + 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-23T00:14:05.491Z] Sending build context to Docker daemon 5.125MB [2024-10-23T00:14:05.491Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-10-23T00:14:05.491Z] Step 2/22 : FROM ${BASE} as builder [2024-10-23T00:14:05.491Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-10-23T00:14:05.491Z] 96526aa774ef: Pulling fs layer [2024-10-23T00:14:05.491Z] da60e534fd72: Pulling fs layer [2024-10-23T00:14:05.750Z] 96526aa774ef: Verifying Checksum [2024-10-23T00:14:05.750Z] 96526aa774ef: Download complete [2024-10-23T00:14:05.750Z] 96526aa774ef: Pull complete [2024-10-23T00:14:06.690Z] da60e534fd72: Download complete [2024-10-23T00:14:09.235Z] da60e534fd72: Pull complete [2024-10-23T00:14:09.235Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-10-23T00:14:09.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-10-23T00:14:09.235Z] ---> 6605166a5db4 [2024-10-23T00:14:09.235Z] 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-23T00:14:11.827Z] ---> Running in ee041546f874 [2024-10-23T00:14:11.827Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-10-23T00:14:12.086Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-23T00:14:12.086Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-23T00:14:12.086Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-23T00:14:12.346Z] Removing intermediate container ee041546f874 [2024-10-23T00:14:12.346Z] ---> d259d48d1259 [2024-10-23T00:14:12.346Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-23T00:14:12.346Z] ---> Running in 1e9120ce7ef3 [2024-10-23T00:14:12.913Z] Removing intermediate container 1e9120ce7ef3 [2024-10-23T00:14:12.913Z] ---> 0c11db9ce56a [2024-10-23T00:14:12.913Z] 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-23T00:14:13.173Z] ---> Running in dda5a07c6392 [2024-10-23T00:14:13.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:13.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:13.432Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:14.000Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:14:14.000Z] (1/17) Installing hiredis (1.1.0-r2) [2024-10-23T00:14:14.000Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-10-23T00:14:14.000Z] (3/17) Installing libcbor (0.10.2-r1) [2024-10-23T00:14:14.000Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-23T00:14:14.571Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-23T00:14:14.831Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-23T00:14:15.090Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-10-23T00:14:15.090Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-10-23T00:14:15.090Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-10-23T00:14:15.090Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-10-23T00:14:15.090Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-23T00:14:15.090Z] (12/17) Installing libblkid (2.38.1-r8) [2024-10-23T00:14:15.090Z] (13/17) Installing libuuid (2.38.1-r8) [2024-10-23T00:14:15.090Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-10-23T00:14:15.090Z] (15/17) Installing libmount (2.38.1-r8) [2024-10-23T00:14:15.090Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-10-23T00:14:15.090Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-10-23T00:14:15.090Z] Executing busybox-1.36.1-r4.trigger [2024-10-23T00:14:15.090Z] OK: 336 MiB in 99 packages [2024-10-23T00:14:15.658Z] Removing intermediate container dda5a07c6392 [2024-10-23T00:14:15.658Z] ---> b3afea3f6a6b [2024-10-23T00:14:15.658Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-10-23T00:14:15.658Z] ---> Running in c0d5a411296f [2024-10-23T00:14:16.227Z] Removing intermediate container c0d5a411296f [2024-10-23T00:14:16.227Z] ---> 6097e6929f1c [2024-10-23T00:14:16.227Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-10-23T00:14:16.485Z] ---> 9c8008f7c52d [2024-10-23T00:14:16.485Z] Step 8/22 : COPY src /tmp/sdk/src [2024-10-23T00:14:16.485Z] ---> ab8606993551 [2024-10-23T00:14:16.485Z] Step 9/22 : COPY include /tmp/sdk/include [2024-10-23T00:14:16.744Z] ---> 1beb2097ebe8 [2024-10-23T00:14:16.744Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-10-23T00:14:16.744Z] ---> b4dcceb2fce6 [2024-10-23T00:14:16.744Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-10-23T00:14:17.003Z] ---> aab74427b7da [2024-10-23T00:14:17.003Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-10-23T00:14:17.003Z] ---> ed547bfd7dae [2024-10-23T00:14:17.003Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-10-23T00:14:17.003Z] ---> Running in b1c0d6d37d76 [2024-10-23T00:14:17.262Z] + CPPCHECK=false [2024-10-23T00:14:17.262Z] + DOCGEN=false [2024-10-23T00:14:17.263Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-10-23T00:14:17.263Z] + '[' 0 -gt 0 ] [2024-10-23T00:14:17.263Z] + readlink -f ./scripts/build.sh [2024-10-23T00:14:17.263Z] + dirname /tmp/sdk/scripts/build.sh [2024-10-23T00:14:17.263Z] + dirname /tmp/sdk/scripts [2024-10-23T00:14:17.263Z] + ROOT=/tmp/sdk [2024-10-23T00:14:17.263Z] + cd /tmp/sdk [2024-10-23T00:14:17.263Z] + mkdir -p /tmp/sdk/build/release [2024-10-23T00:14:17.263Z] + cd /tmp/sdk/build/release [2024-10-23T00:14:17.263Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-10-23T00:14:17.521Z] -- The C compiler identification is GNU 12.2.1 [2024-10-23T00:14:17.521Z] -- Detecting C compiler ABI info [2024-10-23T00:14:17.521Z] -- Detecting C compiler ABI info - done [2024-10-23T00:14:17.521Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-23T00:14:17.521Z] -- Detecting C compile features [2024-10-23T00:14:17.521Z] -- Detecting C compile features - done [2024-10-23T00:14:17.521Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-23T00:14:17.780Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-23T00:14:17.780Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-23T00:14:17.780Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-23T00:14:17.780Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-23T00:14:17.780Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-23T00:14:17.780Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-23T00:14:17.780Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-23T00:14:17.780Z] -- /opt/iotech/iot/1.5/include [2024-10-23T00:14:17.780Z] -- C SDK 0.0.0 for Linux [2024-10-23T00:14:17.780Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-23T00:14:17.780Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-23T00:14:17.780Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-23T00:14:17.780Z] -- Configuring done (0.4s) [2024-10-23T00:14:17.780Z] -- Generating done (0.0s) [2024-10-23T00:14:17.780Z] -- Build files have been written to: /tmp/sdk/build/release [2024-10-23T00:14:17.780Z] + make all package [2024-10-23T00:14:17.780Z] + tee release.log [2024-10-23T00:14:17.780Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-23T00:14:18.038Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-23T00:14:18.038Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-23T00:14:18.296Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-23T00:14:18.296Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-23T00:14:18.555Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-23T00:14:18.815Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-23T00:14:18.815Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-10-23T00:14:18.815Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-23T00:14:18.815Z] 294 | while (privateConfig) [2024-10-23T00:14:18.815Z] | ^~~~~~~~~~~~~ [2024-10-23T00:14:18.815Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-10-23T00:14:18.815Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-23T00:14:18.815Z] | ^~~~~~~~~~~~~ [2024-10-23T00:14:18.815Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-23T00:14:18.815Z] 271 | while (result) [2024-10-23T00:14:18.815Z] | ^~~~~~ [2024-10-23T00:14:18.815Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-10-23T00:14:18.815Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-23T00:14:18.815Z] | ^~~~~~ [2024-10-23T00:14:18.815Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-23T00:14:19.075Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-23T00:14:19.075Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-23T00:14:19.148Z] Still waiting to schedule task [2024-10-23T00:14:19.148Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-23T00:14:19.334Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-23T00:14:19.593Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-23T00:14:19.593Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-23T00:14:19.853Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-23T00:14:19.853Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-23T00:14:20.112Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-23T00:14:20.112Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-23T00:14:20.371Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-23T00:14:20.371Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-23T00:14:20.630Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-23T00:14:20.630Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-23T00:14:22.008Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-23T00:14:22.008Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-23T00:14:22.008Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-23T00:14:22.008Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-23T00:14:22.008Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-23T00:14:22.267Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-23T00:14:22.526Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-23T00:14:22.526Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-23T00:14:22.785Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-23T00:14:22.785Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-23T00:14:23.043Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-23T00:14:23.043Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-23T00:14:23.043Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-23T00:14:23.043Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-23T00:14:23.043Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-23T00:14:23.043Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-23T00:14:23.043Z] | ^ [2024-10-23T00:14:23.043Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-23T00:14:23.043Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-10-23T00:14:23.043Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-23T00:14:23.043Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-10-23T00:14:23.043Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-10-23T00:14:23.043Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-10-23T00:14:23.308Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-23T00:14:23.308Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-23T00:14:23.568Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-23T00:14:23.568Z] [ 68%] Linking C shared library libcsdk.so [2024-10-23T00:14:23.568Z] [ 68%] Built target csdk [2024-10-23T00:14:23.568Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-23T00:14:23.828Z] [ 72%] Linking C executable template [2024-10-23T00:14:23.828Z] [ 72%] Built target template [2024-10-23T00:14:23.828Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-23T00:14:23.828Z] [ 76%] Linking C executable device-counter [2024-10-23T00:14:24.089Z] [ 76%] Built target device-counter [2024-10-23T00:14:24.089Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-23T00:14:24.089Z] [ 80%] Linking C executable device-random [2024-10-23T00:14:24.089Z] [ 80%] Built target device-random [2024-10-23T00:14:24.089Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-23T00:14:24.348Z] [ 84%] Linking C executable device-gyro [2024-10-23T00:14:24.348Z] [ 84%] Built target device-gyro [2024-10-23T00:14:24.348Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-23T00:14:24.348Z] [ 88%] Linking C executable device-bitfields [2024-10-23T00:14:24.348Z] [ 88%] Built target device-bitfields [2024-10-23T00:14:24.348Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-23T00:14:24.607Z] [ 92%] Linking C executable template-discovery [2024-10-23T00:14:24.607Z] [ 92%] Built target template-discovery [2024-10-23T00:14:24.607Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-23T00:14:24.866Z] [ 96%] Linking C executable device-file [2024-10-23T00:14:24.866Z] [ 96%] Built target device-file [2024-10-23T00:14:24.866Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-23T00:14:25.125Z] [100%] Linking C executable device-terminal [2024-10-23T00:14:25.125Z] [100%] Built target device-terminal [2024-10-23T00:14:25.125Z] Run CPack packaging tool... [2024-10-23T00:14:25.125Z] CPack: Create package using TGZ [2024-10-23T00:14:25.125Z] CPack: Install projects [2024-10-23T00:14:25.125Z] CPack: - Run preinstall target for: Csdk [2024-10-23T00:14:25.385Z] CPack: - Install project: Csdk [] [2024-10-23T00:14:25.385Z] CPack: Create package [2024-10-23T00:14:25.385Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-10-23T00:14:25.385Z] + '[' false '=' true ] [2024-10-23T00:14:25.385Z] + '[' false '=' true ] [2024-10-23T00:14:25.385Z] + mkdir -p /tmp/sdk/build/debug [2024-10-23T00:14:25.385Z] + cd /tmp/sdk/build/debug [2024-10-23T00:14:25.385Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-10-23T00:14:25.385Z] -- The C compiler identification is GNU 12.2.1 [2024-10-23T00:14:25.385Z] -- Detecting C compiler ABI info [2024-10-23T00:14:25.645Z] -- Detecting C compiler ABI info - done [2024-10-23T00:14:25.645Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-23T00:14:25.645Z] -- Detecting C compile features [2024-10-23T00:14:25.645Z] -- Detecting C compile features - done [2024-10-23T00:14:25.645Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-23T00:14:25.645Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-23T00:14:25.645Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-23T00:14:25.645Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-23T00:14:25.645Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-23T00:14:25.645Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-23T00:14:25.645Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-23T00:14:25.645Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-23T00:14:25.645Z] -- /opt/iotech/iot/1.5/include [2024-10-23T00:14:25.645Z] -- C SDK 0.0.0 for Linux [2024-10-23T00:14:25.645Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-23T00:14:25.645Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-23T00:14:25.645Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-23T00:14:25.904Z] -- Configuring done (0.4s) [2024-10-23T00:14:25.904Z] -- Generating done (0.0s) [2024-10-23T00:14:25.904Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-10-23T00:14:25.904Z] + make [2024-10-23T00:14:25.904Z] + tee debug.log [2024-10-23T00:14:25.904Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-23T00:14:25.904Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-23T00:14:25.904Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-23T00:14:26.163Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-23T00:14:26.163Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-23T00:14:26.163Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-23T00:14:26.422Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-23T00:14:26.422Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-23T00:14:26.422Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-23T00:14:26.422Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-23T00:14:26.681Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-23T00:14:26.681Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-23T00:14:26.681Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-23T00:14:26.940Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-23T00:14:26.940Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-23T00:14:26.940Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-23T00:14:26.940Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-23T00:14:27.200Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-23T00:14:27.200Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-23T00:14:27.200Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-23T00:14:27.470Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-23T00:14:27.729Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-23T00:14:27.729Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-23T00:14:27.729Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-23T00:14:27.729Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-23T00:14:27.729Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-23T00:14:28.002Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-23T00:14:28.261Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-23T00:14:28.261Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-23T00:14:28.261Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-23T00:14:28.261Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-23T00:14:28.520Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-23T00:14:28.520Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-23T00:14:28.520Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-23T00:14:28.520Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-23T00:14:28.520Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-23T00:14:28.520Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-23T00:14:28.520Z] | ^ [2024-10-23T00:14:28.520Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-23T00:14:28.520Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-23T00:14:28.520Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-23T00:14:28.778Z] [ 68%] Linking C shared library libcsdk.so [2024-10-23T00:14:28.778Z] [ 68%] Built target csdk [2024-10-23T00:14:28.778Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-23T00:14:28.778Z] [ 72%] Linking C executable template [2024-10-23T00:14:28.778Z] [ 72%] Built target template [2024-10-23T00:14:28.778Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-23T00:14:29.037Z] [ 76%] Linking C executable device-counter [2024-10-23T00:14:29.037Z] [ 76%] Built target device-counter [2024-10-23T00:14:29.037Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-23T00:14:29.037Z] [ 80%] Linking C executable device-random [2024-10-23T00:14:29.296Z] [ 80%] Built target device-random [2024-10-23T00:14:29.296Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-23T00:14:29.296Z] [ 84%] Linking C executable device-gyro [2024-10-23T00:14:29.296Z] [ 84%] Built target device-gyro [2024-10-23T00:14:29.296Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-23T00:14:29.296Z] [ 88%] Linking C executable device-bitfields [2024-10-23T00:14:29.555Z] [ 88%] Built target device-bitfields [2024-10-23T00:14:29.555Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-23T00:14:29.555Z] [ 92%] Linking C executable template-discovery [2024-10-23T00:14:29.555Z] [ 92%] Built target template-discovery [2024-10-23T00:14:29.555Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-23T00:14:29.814Z] [ 96%] Linking C executable device-file [2024-10-23T00:14:29.814Z] [ 96%] Built target device-file [2024-10-23T00:14:29.814Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-23T00:14:29.814Z] [100%] Linking C executable device-terminal [2024-10-23T00:14:29.814Z] [100%] Built target device-terminal [2024-10-23T00:14:29.814Z] make: Entering directory '/tmp/sdk/build/release' [2024-10-23T00:14:30.075Z] [ 68%] Built target csdk [2024-10-23T00:14:30.075Z] [ 72%] Built target template [2024-10-23T00:14:30.075Z] [ 76%] Built target device-counter [2024-10-23T00:14:30.075Z] [ 80%] Built target device-random [2024-10-23T00:14:30.075Z] [ 84%] Built target device-gyro [2024-10-23T00:14:30.075Z] [ 88%] Built target device-bitfields [2024-10-23T00:14:30.075Z] [ 92%] Built target template-discovery [2024-10-23T00:14:30.075Z] [ 96%] Built target device-file [2024-10-23T00:14:30.075Z] [100%] Built target device-terminal [2024-10-23T00:14:30.075Z] Install the project... [2024-10-23T00:14:30.075Z] -- Install configuration: "Release" [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/lib/libcsdk.so [2024-10-23T00:14:30.075Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include/devsdk [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include/edgex [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include/edgex/devices.h [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-10-23T00:14:30.075Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-10-23T00:14:30.075Z] make: Leaving directory '/tmp/sdk/build/release' [2024-10-23T00:14:31.010Z] Removing intermediate container b1c0d6d37d76 [2024-10-23T00:14:31.010Z] ---> 04d92ef541cb [2024-10-23T00:14:31.010Z] Step 14/22 : FROM ${BASE} [2024-10-23T00:14:31.010Z] ---> 6605166a5db4 [2024-10-23T00:14:31.010Z] Step 15/22 : LABEL maintainer="IOTech " [2024-10-23T00:14:31.010Z] ---> Running in b31c4fc4b76b [2024-10-23T00:14:31.010Z] Removing intermediate container b31c4fc4b76b [2024-10-23T00:14:31.010Z] ---> d55eb1c02bef [2024-10-23T00:14:31.010Z] 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-23T00:14:31.010Z] ---> Running in 2a7ebcb1c953 [2024-10-23T00:14:31.269Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-10-23T00:14:31.837Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-23T00:14:31.837Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-23T00:14:31.837Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-23T00:14:31.837Z] Removing intermediate container 2a7ebcb1c953 [2024-10-23T00:14:31.837Z] ---> 54c0c3942614 [2024-10-23T00:14:31.837Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-23T00:14:31.837Z] ---> Running in 583225769ce0 [2024-10-23T00:14:32.404Z] Removing intermediate container 583225769ce0 [2024-10-23T00:14:32.404Z] ---> bdfcbf9a7753 [2024-10-23T00:14:32.404Z] 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-23T00:14:32.404Z] ---> Running in ada515f55bd7 [2024-10-23T00:14:32.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:32.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:32.920Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:33.489Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:14:33.490Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-10-23T00:14:33.490Z] (2/10) Installing curl (8.9.1-r1) [2024-10-23T00:14:33.490Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-10-23T00:14:33.490Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-10-23T00:14:33.490Z] (5/10) Installing hiredis (1.1.0-r2) [2024-10-23T00:14:33.490Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-10-23T00:14:33.490Z] (7/10) Installing libcbor (0.10.2-r1) [2024-10-23T00:14:33.490Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-23T00:14:34.059Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-23T00:14:34.318Z] (10/10) Installing libuuid (2.38.1-r8) [2024-10-23T00:14:34.318Z] Executing busybox-1.36.1-r4.trigger [2024-10-23T00:14:34.318Z] OK: 331 MiB in 90 packages [2024-10-23T00:14:34.888Z] Removing intermediate container ada515f55bd7 [2024-10-23T00:14:34.888Z] ---> 40a507277dc1 [2024-10-23T00:14:34.888Z] Step 19/22 : RUN apk --no-cache upgrade [2024-10-23T00:14:34.888Z] ---> Running in 5f05baab69f0 [2024-10-23T00:14:35.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:35.148Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:35.407Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:35.976Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:14:35.976Z] Upgrading critical system libraries and apk-tools: [2024-10-23T00:14:35.976Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-23T00:14:35.976Z] Executing busybox-1.36.1-r4.trigger [2024-10-23T00:14:35.976Z] Continuing the upgrade transaction with new apk-tools: [2024-10-23T00:14:35.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:35.976Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:35.976Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:36.545Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:14:36.545Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-10-23T00:14:36.545Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-23T00:14:36.545Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-10-23T00:14:36.545Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-23T00:14:36.545Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-23T00:14:36.545Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-23T00:14:36.545Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-10-23T00:14:36.545Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-10-23T00:14:36.545Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) [2024-10-23T00:14:36.545Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-10-23T00:14:36.804Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-10-23T00:14:36.804Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-10-23T00:14:36.804Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-10-23T00:14:36.804Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-10-23T00:14:36.804Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-10-23T00:14:36.804Z] Executing busybox-1.36.1-r7.trigger [2024-10-23T00:14:36.804Z] Executing ca-certificates-20240226-r0.trigger [2024-10-23T00:14:36.804Z] OK: 332 MiB in 90 packages [2024-10-23T00:14:37.759Z] Removing intermediate container 5f05baab69f0 [2024-10-23T00:14:37.759Z] ---> ef49e98047be [2024-10-23T00:14:37.759Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-10-23T00:14:37.759Z] ---> 2ea7ff42fa89 [2024-10-23T00:14:37.759Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-10-23T00:14:38.018Z] ---> 7c7a8c33e2ab [2024-10-23T00:14:38.018Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-10-23T00:14:38.018Z] ---> 68974ccccf19 [2024-10-23T00:14:38.018Z] Successfully built 68974ccccf19 [2024-10-23T00:14:38.018Z] 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-23T00:14:38.445Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-23T00:14:38.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T00:14:38.525Z] prd-ubuntu20.04-docker-8c-8g-23549 does not seem to be running inside a container [2024-10-23T00:14:38.552Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2024-10-23T00:14:38.854Z] $ docker top 4e69020cd6b0da65d19a0198c6de2e028d39365a5d58e9782e5c81eaf37628f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T00:14:39.211Z] + make test [2024-10-23T00:14:39.211Z] echo "make test" [2024-10-23T00:14:39.211Z] make test [Pipeline] } [2024-10-23T00:14:39.225Z] $ docker stop --time=1 4e69020cd6b0da65d19a0198c6de2e028d39365a5d58e9782e5c81eaf37628f1 [2024-10-23T00:14:40.498Z] $ docker rm -f --volumes 4e69020cd6b0da65d19a0198c6de2e028d39365a5d58e9782e5c81eaf37628f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-23T00:14:41.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-23T00:14:41.310Z] + ls -al . [2024-10-23T00:14:41.310Z] total 212 [2024-10-23T00:14:41.310Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 23 00:14 . [2024-10-23T00:14:41.310Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:13 .. [2024-10-23T00:14:41.310Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 00:14 .git [2024-10-23T00:14:41.310Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 00:13 .github [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 23 00:13 .gitignore [2024-10-23T00:14:41.310Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 00:14 .semver [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 23 00:13 Attribution.txt [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 11953 Oct 23 00:13 CHANGELOG.md [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 23 00:13 Doxyfile [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 00:13 GOVERNANCE.md [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 23 00:13 Jenkinsfile [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 23 00:13 LICENSE [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 23 00:13 Makefile [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 23 00:13 OWNERS.md [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 23 00:13 README.IOT.md [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 23 00:13 README.md [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 23 00:13 README.v3.md [2024-10-23T00:14:41.310Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 00:14 VERSION [2024-10-23T00:14:41.310Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 00:13 docs [2024-10-23T00:14:41.310Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:13 include [2024-10-23T00:14:41.310Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 00:13 scripts [2024-10-23T00:14:41.310Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:13 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T00:14:41.628Z] + 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=d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 --label arch=amd64 --label version=0.0.0 . [2024-10-23T00:14:41.628Z] Sending build context to Docker daemon 5.125MB [2024-10-23T00:14:41.628Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-10-23T00:14:41.628Z] Step 2/18 : FROM ${BASE} [2024-10-23T00:14:41.628Z] ---> 68974ccccf19 [2024-10-23T00:14:41.628Z] Step 3/18 : LABEL maintainer="IOTech " [2024-10-23T00:14:41.628Z] ---> Running in e2360e5bd076 [2024-10-23T00:14:41.628Z] Removing intermediate container e2360e5bd076 [2024-10-23T00:14:41.628Z] ---> d47a36a0355b [2024-10-23T00:14:41.628Z] 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-23T00:14:41.886Z] ---> Running in a78e38ddfc5d [2024-10-23T00:14:42.146Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-10-23T00:14:42.406Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-23T00:14:42.406Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-23T00:14:42.406Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-23T00:14:42.668Z] Removing intermediate container a78e38ddfc5d [2024-10-23T00:14:42.668Z] ---> cb30734ea449 [2024-10-23T00:14:42.668Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-23T00:14:42.668Z] ---> Running in 06039092ee33 [2024-10-23T00:14:43.237Z] Removing intermediate container 06039092ee33 [2024-10-23T00:14:43.237Z] ---> 6c53f0f07be3 [2024-10-23T00:14:43.237Z] 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-23T00:14:43.237Z] ---> Running in 84314378be0c [2024-10-23T00:14:43.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:43.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:44.013Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:44.271Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:14:44.271Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-23T00:14:44.530Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-10-23T00:14:44.530Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-10-23T00:14:44.530Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-10-23T00:14:44.530Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-10-23T00:14:44.531Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-23T00:14:44.531Z] (7/11) Installing libblkid (2.38.1-r8) [2024-10-23T00:14:44.531Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-10-23T00:14:44.531Z] (9/11) Installing libmount (2.38.1-r8) [2024-10-23T00:14:44.531Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-10-23T00:14:44.531Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-10-23T00:14:44.531Z] Executing busybox-1.36.1-r7.trigger [2024-10-23T00:14:44.531Z] OK: 337 MiB in 101 packages [2024-10-23T00:14:45.099Z] Removing intermediate container 84314378be0c [2024-10-23T00:14:45.099Z] ---> 54dcfa0a895a [2024-10-23T00:14:45.099Z] Step 7/18 : RUN apk --no-cache upgrade [2024-10-23T00:14:45.358Z] ---> Running in 538c3072585f [2024-10-23T00:14:45.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:45.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:45.618Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-23T00:14:46.185Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:14:46.185Z] OK: 337 MiB in 101 packages [2024-10-23T00:14:46.444Z] Removing intermediate container 538c3072585f [2024-10-23T00:14:46.444Z] ---> 51324bd6c8b9 [2024-10-23T00:14:46.444Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-10-23T00:14:46.705Z] ---> 3c068a31a826 [2024-10-23T00:14:46.705Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-10-23T00:14:46.967Z] ---> 2e69b0b2189b [2024-10-23T00:14:46.967Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-10-23T00:14:46.967Z] ---> b8d46a9fdf24 [2024-10-23T00:14:46.967Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-10-23T00:14:46.967Z] ---> 47a7d753eb8d [2024-10-23T00:14:46.967Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-10-23T00:14:47.225Z] ---> 6c85c65b6d4f [2024-10-23T00:14:47.225Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-10-23T00:14:47.225Z] ---> 99e86e344179 [2024-10-23T00:14:47.225Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-10-23T00:14:47.225Z] ---> Running in fe0f5a5edb64 [2024-10-23T00:14:47.484Z] Removing intermediate container fe0f5a5edb64 [2024-10-23T00:14:47.484Z] ---> a327c650be83 [2024-10-23T00:14:47.484Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-10-23T00:14:47.484Z] ---> Running in 74b2608374e8 [2024-10-23T00:14:47.484Z] Removing intermediate container 74b2608374e8 [2024-10-23T00:14:47.484Z] ---> cc5f35528974 [2024-10-23T00:14:47.484Z] Step 16/18 : LABEL arch=amd64 [2024-10-23T00:14:47.484Z] ---> Running in dd5a5eb2ef9b [2024-10-23T00:14:47.484Z] Removing intermediate container dd5a5eb2ef9b [2024-10-23T00:14:47.484Z] ---> 84a3bedea2f3 [2024-10-23T00:14:47.484Z] Step 17/18 : LABEL git_sha=d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [2024-10-23T00:14:47.484Z] ---> Running in 29c770b5151f [2024-10-23T00:14:47.743Z] Removing intermediate container 29c770b5151f [2024-10-23T00:14:47.744Z] ---> 685d993c4f6e [2024-10-23T00:14:47.744Z] Step 18/18 : LABEL version=0.0.0 [2024-10-23T00:14:47.744Z] ---> Running in 685c173179a8 [2024-10-23T00:14:47.744Z] Removing intermediate container 685c173179a8 [2024-10-23T00:14:47.744Z] ---> 0c7de59a2b5d [2024-10-23T00:14:47.744Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-10-23T00:14:47.744Z] Successfully built 0c7de59a2b5d [2024-10-23T00:14:47.744Z] 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-23T00:14:48.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T00:14:48.221Z] [2024-10-23T00:14:48.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T00:14:48.527Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T00:14:48.527Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-23T00:14:48.527Z] 5eb5b503b376: Pulling fs layer [2024-10-23T00:14:48.527Z] 5c69ac0246d0: Pulling fs layer [2024-10-23T00:14:48.527Z] ec43610c2a17: Pulling fs layer [2024-10-23T00:14:48.527Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-23T00:14:48.527Z] 33b1e0a273af: Pulling fs layer [2024-10-23T00:14:48.527Z] 5d3b04190fa2: Pulling fs layer [2024-10-23T00:14:48.527Z] 2f39f015ded8: Pulling fs layer [2024-10-23T00:14:48.527Z] 3a2ae6a8a46f: Waiting [2024-10-23T00:14:48.527Z] 5d3b04190fa2: Waiting [2024-10-23T00:14:48.527Z] 2f39f015ded8: Waiting [2024-10-23T00:14:48.527Z] 33b1e0a273af: Waiting [2024-10-23T00:14:48.527Z] 5c69ac0246d0: Download complete [2024-10-23T00:14:48.527Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-23T00:14:48.527Z] 3a2ae6a8a46f: Download complete [2024-10-23T00:14:48.527Z] 33b1e0a273af: Verifying Checksum [2024-10-23T00:14:48.527Z] 33b1e0a273af: Download complete [2024-10-23T00:14:48.527Z] 5d3b04190fa2: Verifying Checksum [2024-10-23T00:14:48.527Z] 5d3b04190fa2: Download complete [2024-10-23T00:14:48.527Z] ec43610c2a17: Verifying Checksum [2024-10-23T00:14:48.527Z] ec43610c2a17: Download complete [2024-10-23T00:14:48.786Z] 5eb5b503b376: Verifying Checksum [2024-10-23T00:14:48.786Z] 5eb5b503b376: Download complete [2024-10-23T00:14:49.352Z] 2f39f015ded8: Download complete [2024-10-23T00:14:49.917Z] 5eb5b503b376: Pull complete [2024-10-23T00:14:50.175Z] 5c69ac0246d0: Pull complete [2024-10-23T00:14:50.436Z] ec43610c2a17: Pull complete [2024-10-23T00:14:50.695Z] 3a2ae6a8a46f: Pull complete [2024-10-23T00:14:50.953Z] 33b1e0a273af: Pull complete [2024-10-23T00:14:50.953Z] 5d3b04190fa2: Pull complete [2024-10-23T00:14:55.139Z] 2f39f015ded8: Pull complete [2024-10-23T00:14:55.139Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-23T00:14:55.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T00:14:55.139Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T00:14:55.256Z] prd-ubuntu20.04-docker-8c-8g-23549 does not seem to be running inside a container [2024-10-23T00:14:55.290Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-23T00:14:59.451Z] $ docker top 0b69bbb2992469610d6233fc7cf4d5866d7aef833d78723c148f8f51115377b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:14:59.839Z] ---> job-cost.sh [2024-10-23T00:14:59.839Z] lf-activate-venv: SKIPPING [2024-10-23T00:14:59.839Z] INFO: No Stack... [2024-10-23T00:15:00.098Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-23T00:15:00.357Z] INFO: Archiving Costs [Pipeline] sh [2024-10-23T00:15:00.647Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/cost.csv [2024-10-23T00:15:00.647Z] + cut -d, -f6 [Pipeline] lock [2024-10-23T00:15:00.662Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-3-stack-cost] [2024-10-23T00:15:00.671Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-3-stack-cost] did not exist. Created. [2024-10-23T00:15:00.679Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-23T00:15:00.992Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-23T00:15:01.054Z] Stashed 1 file(s) [Pipeline] } [2024-10-23T00:15:01.063Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-23T00:15:01.085Z] $ docker stop --time=1 0b69bbb2992469610d6233fc7cf4d5866d7aef833d78723c148f8f51115377b4 [2024-10-23T00:15:02.234Z] $ docker rm -f --volumes 0b69bbb2992469610d6233fc7cf4d5866d7aef833d78723c148f8f51115377b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-23T00:17:06.087Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23551 in /w/workspace/edgexfoundry_device-sdk-c_PR-517 [Pipeline] { [Pipeline] ws [2024-10-23T00:17:06.104Z] Running in /w/workspace/device-sdk-c/3 [Pipeline] { [Pipeline] checkout [2024-10-23T00:17:09.150Z] Selected Git installation does not exist. Using Default [2024-10-23T00:17:09.151Z] The recommended git tool is: NONE [2024-10-23T00:17:14.057Z] using credential edgex-jenkins-ssh [2024-10-23T00:17:14.081Z] Cloning the remote Git repository [2024-10-23T00:17:14.118Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-10-23T00:17:14.207Z] > git init /w/workspace/device-sdk-c/3 # timeout=10 [2024-10-23T00:17:14.376Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-10-23T00:17:14.377Z] > git --version # timeout=10 [2024-10-23T00:17:14.399Z] > git --version # 'git version 2.25.1' [2024-10-23T00:17:14.401Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-23T00:17:14.538Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-23T00:17:15.627Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-10-23T00:17:15.652Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-23T00:17:17.273Z] Merging remotes/origin/main commit de2f7dd484aed31b8929cc3252062c81ad15313f into PR head commit d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [2024-10-23T00:17:17.626Z] Merge succeeded, producing d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [2024-10-23T00:17:17.627Z] Checking out Revision d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 (PR-517) [2024-10-23T00:17:16.646Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-10-23T00:17:16.692Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-10-23T00:17:16.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-23T00:17:16.725Z] > 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-23T00:17:17.292Z] > git config core.sparsecheckout # timeout=10 [2024-10-23T00:17:17.395Z] > git checkout -f d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 # timeout=10 [2024-10-23T00:17:17.517Z] > git remote # timeout=10 [2024-10-23T00:17:17.535Z] > git config --get remote.origin.url # timeout=10 [2024-10-23T00:17:17.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-23T00:17:17.574Z] > git merge de2f7dd484aed31b8929cc3252062c81ad15313f # timeout=10 [2024-10-23T00:17:17.604Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-23T00:17:17.630Z] > git config core.sparsecheckout # timeout=10 [2024-10-23T00:17:17.643Z] > git checkout -f d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 # timeout=10 [2024-10-23T00:17:21.332Z] Commit message: "fix: Wait for MQTT subscriptions to take effect before returning (#516)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-23T00:17:22.945Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-23T00:17:22.945Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-23T00:17:22.945Z] Dload Upload Total Spent Left Speed [2024-10-23T00:17:22.945Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2024-10-23T00:17:23.295Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-23T00:17:23.667Z] + + sudo teesudo /etc/docker/daemon.new jq [2024-10-23T00:17:23.667Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-23T00:17:23.667Z] { [2024-10-23T00:17:23.667Z] "registry-mirrors": [ [2024-10-23T00:17:23.667Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-23T00:17:23.667Z] ], [2024-10-23T00:17:23.667Z] "bip": "10.250.0.254/24", [2024-10-23T00:17:23.667Z] "hosts": [ [2024-10-23T00:17:23.667Z] "tcp://0.0.0.0:5555", [2024-10-23T00:17:23.667Z] "unix:///var/run/docker.sock" [2024-10-23T00:17:23.667Z] ], [2024-10-23T00:17:23.667Z] "mtu": 1458, [2024-10-23T00:17:23.667Z] "selinux-enabled": true, [2024-10-23T00:17:23.667Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-23T00:17:23.667Z] } [Pipeline] sh [2024-10-23T00:17:24.009Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-23T00:17:24.346Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-23T00:17:42.644Z] provisioning config files... [2024-10-23T00:17:42.685Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/3@tmp/config2986280747169510308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:17:43.145Z] ---> ****-login.sh [2024-10-23T00:17:43.145Z] nexus3.edgexfoundry.org:10001 [2024-10-23T00:17:43.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:17:43.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:17:43.736Z] Configure a credential helper to remove this warning. See [2024-10-23T00:17:43.736Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:17:43.736Z] [2024-10-23T00:17:43.736Z] Login Succeeded [2024-10-23T00:17:43.736Z] nexus3.edgexfoundry.org:10002 [2024-10-23T00:17:44.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:17:44.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:17:44.277Z] Configure a credential helper to remove this warning. See [2024-10-23T00:17:44.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:17:44.277Z] [2024-10-23T00:17:44.277Z] Login Succeeded [2024-10-23T00:17:44.277Z] nexus3.edgexfoundry.org:10003 [2024-10-23T00:17:44.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:17:44.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:17:44.548Z] Configure a credential helper to remove this warning. See [2024-10-23T00:17:44.548Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:17:44.548Z] [2024-10-23T00:17:44.548Z] Login Succeeded [2024-10-23T00:17:44.548Z] nexus3.edgexfoundry.org:10004 [2024-10-23T00:17:44.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:17:44.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:17:44.826Z] Configure a credential helper to remove this warning. See [2024-10-23T00:17:44.826Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:17:44.826Z] [2024-10-23T00:17:44.826Z] Login Succeeded [2024-10-23T00:17:44.826Z] ****.io [2024-10-23T00:17:45.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-23T00:17:45.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-23T00:17:45.363Z] Configure a credential helper to remove this warning. See [2024-10-23T00:17:45.363Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-23T00:17:45.363Z] [2024-10-23T00:17:45.363Z] Login Succeeded [2024-10-23T00:17:45.363Z] ---> ****-login.sh ends [Pipeline] } [2024-10-23T00:17:45.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-23T00:17:45.738Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T00:17:45.752Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-10-23T00:17:45.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-23T00:17:45.784Z] ========================================================= [2024-10-23T00:17:45.784Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-10-23T00:17:45.784Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T00:17:46.140Z] + 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-23T00:17:46.731Z] Sending build context to Docker daemon 3.061MB [2024-10-23T00:17:46.731Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-10-23T00:17:46.731Z] Step 2/22 : FROM ${BASE} as builder [2024-10-23T00:17:46.731Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-10-23T00:17:46.731Z] 579b34f0a95b: Pulling fs layer [2024-10-23T00:17:46.731Z] e71477ac5e1b: Pulling fs layer [2024-10-23T00:17:47.002Z] 579b34f0a95b: Download complete [2024-10-23T00:17:47.625Z] 579b34f0a95b: Pull complete [2024-10-23T00:17:49.585Z] e71477ac5e1b: Verifying Checksum [2024-10-23T00:17:49.585Z] e71477ac5e1b: Download complete [2024-10-23T00:18:01.945Z] e71477ac5e1b: Pull complete [2024-10-23T00:18:01.945Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-10-23T00:18:01.945Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-10-23T00:18:01.945Z] ---> 2b552cad5dd9 [2024-10-23T00:18:01.945Z] 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-23T00:18:01.945Z] ---> Running in 1a24c16e77b4 [2024-10-23T00:18:02.227Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-10-23T00:18:02.817Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-23T00:18:02.817Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-23T00:18:02.817Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-23T00:18:03.412Z] Removing intermediate container 1a24c16e77b4 [2024-10-23T00:18:03.412Z] ---> 312c5a3fd128 [2024-10-23T00:18:03.412Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-23T00:18:03.412Z] ---> Running in 435a69b95e45 [2024-10-23T00:18:05.392Z] Removing intermediate container 435a69b95e45 [2024-10-23T00:18:05.392Z] ---> b57cf5ec3c94 [2024-10-23T00:18:05.392Z] 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-23T00:18:05.392Z] ---> Running in fa343f9d749b [2024-10-23T00:18:08.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:18:08.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-23T00:18:08.867Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:18:09.823Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:18:09.823Z] (1/17) Installing hiredis (1.1.0-r2) [2024-10-23T00:18:09.823Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-10-23T00:18:09.823Z] (3/17) Installing libcbor (0.10.2-r1) [2024-10-23T00:18:09.823Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-23T00:18:10.403Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-23T00:18:10.669Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-23T00:18:10.935Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-10-23T00:18:10.935Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-10-23T00:18:10.935Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-10-23T00:18:10.935Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-10-23T00:18:10.935Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-23T00:18:10.935Z] (12/17) Installing libblkid (2.38.1-r8) [2024-10-23T00:18:10.935Z] (13/17) Installing libuuid (2.38.1-r8) [2024-10-23T00:18:10.935Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-10-23T00:18:10.935Z] (15/17) Installing libmount (2.38.1-r8) [2024-10-23T00:18:10.935Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-10-23T00:18:10.935Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-10-23T00:18:10.935Z] Executing busybox-1.36.1-r4.trigger [2024-10-23T00:18:11.202Z] OK: 333 MiB in 99 packages [2024-10-23T00:18:12.625Z] Removing intermediate container fa343f9d749b [2024-10-23T00:18:12.625Z] ---> 394f75c971d1 [2024-10-23T00:18:12.625Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-10-23T00:18:12.625Z] ---> Running in 81ac573769c8 [2024-10-23T00:18:14.584Z] Removing intermediate container 81ac573769c8 [2024-10-23T00:18:14.584Z] ---> b461ce43e941 [2024-10-23T00:18:14.584Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-10-23T00:18:14.584Z] ---> 2cf5d70d8ae4 [2024-10-23T00:18:14.584Z] Step 8/22 : COPY src /tmp/sdk/src [2024-10-23T00:18:15.542Z] ---> 028476662d78 [2024-10-23T00:18:15.542Z] Step 9/22 : COPY include /tmp/sdk/include [2024-10-23T00:18:16.124Z] ---> 2a347ba7e358 [2024-10-23T00:18:16.124Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-10-23T00:18:16.389Z] ---> 38abdc5013e1 [2024-10-23T00:18:16.389Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-10-23T00:18:16.970Z] ---> 8bb97b0138b2 [2024-10-23T00:18:16.970Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-10-23T00:18:17.552Z] ---> ded430876fe3 [2024-10-23T00:18:17.552Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-10-23T00:18:17.552Z] ---> Running in d2b690bd770d [2024-10-23T00:18:18.535Z] + CPPCHECK=false [2024-10-23T00:18:18.535Z] + DOCGEN=false [2024-10-23T00:18:18.535Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-10-23T00:18:18.536Z] + '[' 0 -gt 0 ] [2024-10-23T00:18:18.536Z] + readlink -f ./scripts/build.sh [2024-10-23T00:18:18.536Z] + dirname /tmp/sdk/scripts/build.sh [2024-10-23T00:18:18.536Z] + dirname /tmp/sdk/scripts [2024-10-23T00:18:18.536Z] + ROOT=/tmp/sdk [2024-10-23T00:18:18.536Z] + cd /tmp/sdk [2024-10-23T00:18:18.536Z] + mkdir -p /tmp/sdk/build/release [2024-10-23T00:18:18.536Z] + cd /tmp/sdk/build/release [2024-10-23T00:18:18.536Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-10-23T00:18:18.805Z] -- The C compiler identification is GNU 12.2.1 [2024-10-23T00:18:18.805Z] -- Detecting C compiler ABI info [2024-10-23T00:18:19.392Z] -- Detecting C compiler ABI info - done [2024-10-23T00:18:19.392Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-23T00:18:19.392Z] -- Detecting C compile features [2024-10-23T00:18:19.392Z] -- Detecting C compile features - done [2024-10-23T00:18:19.392Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-23T00:18:19.662Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-23T00:18:19.662Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-23T00:18:19.662Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-23T00:18:19.662Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-23T00:18:19.662Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-23T00:18:19.662Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-23T00:18:19.662Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-23T00:18:19.662Z] -- /opt/iotech/iot/1.5/include [2024-10-23T00:18:19.662Z] -- C SDK 0.0.0 for Linux [2024-10-23T00:18:19.662Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-23T00:18:20.252Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-23T00:18:20.252Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-23T00:18:20.252Z] -- Configuring done (1.8s) [2024-10-23T00:18:20.523Z] -- Generating done (0.3s) [2024-10-23T00:18:20.792Z] -- Build files have been written to: /tmp/sdk/build/release [2024-10-23T00:18:20.792Z] + make all package [2024-10-23T00:18:20.792Z] + tee release.log [2024-10-23T00:18:20.792Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-23T00:18:21.758Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-23T00:18:22.718Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-23T00:18:23.299Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-23T00:18:24.261Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-23T00:18:24.846Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-23T00:18:27.422Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-23T00:18:28.378Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-10-23T00:18:28.378Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-23T00:18:28.378Z] 294 | while (privateConfig) [2024-10-23T00:18:28.378Z] | ^~~~~~~~~~~~~ [2024-10-23T00:18:28.378Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-10-23T00:18:28.378Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-23T00:18:28.378Z] | ^~~~~~~~~~~~~ [2024-10-23T00:18:28.378Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-23T00:18:28.378Z] 271 | while (result) [2024-10-23T00:18:28.378Z] | ^~~~~~ [2024-10-23T00:18:28.378Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-10-23T00:18:28.378Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-10-23T00:18:28.378Z] | ^~~~~~ [2024-10-23T00:18:28.644Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-23T00:18:28.909Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-23T00:18:29.866Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-23T00:18:32.439Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-23T00:18:32.706Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-23T00:18:33.672Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-23T00:18:34.651Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-23T00:18:35.240Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-23T00:18:36.217Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-23T00:18:36.488Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-23T00:18:39.080Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-23T00:18:39.350Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-23T00:18:39.939Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-23T00:18:41.363Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-23T00:18:49.587Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-23T00:18:49.587Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-23T00:18:49.872Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-23T00:18:50.460Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-23T00:18:50.742Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-23T00:18:52.701Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-23T00:18:55.321Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-23T00:18:55.590Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-23T00:18:57.026Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-23T00:18:57.637Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-23T00:18:57.909Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-23T00:18:57.909Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-23T00:18:57.909Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-23T00:18:57.909Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-23T00:18:57.909Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-23T00:18:57.909Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-23T00:18:57.909Z] | ^ [2024-10-23T00:18:59.863Z] /tmp/sdk/src/c/service.c:1071:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-10-23T00:18:59.863Z] 1071 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-10-23T00:18:59.863Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-23T00:18:59.863Z] /tmp/sdk/src/c/service.c:883:68: note: 'deviceservices_config' was declared here [2024-10-23T00:18:59.863Z] 883 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-10-23T00:18:59.863Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-10-23T00:19:01.280Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-23T00:19:02.245Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-23T00:19:02.512Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-23T00:19:03.095Z] [ 68%] Linking C shared library libcsdk.so [2024-10-23T00:19:03.361Z] [ 68%] Built target csdk [2024-10-23T00:19:03.361Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-23T00:19:04.322Z] [ 72%] Linking C executable template [2024-10-23T00:19:04.589Z] [ 72%] Built target template [2024-10-23T00:19:04.855Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-23T00:19:05.440Z] [ 76%] Linking C executable device-counter [2024-10-23T00:19:05.707Z] [ 76%] Built target device-counter [2024-10-23T00:19:05.708Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-23T00:19:06.313Z] [ 80%] Linking C executable device-random [2024-10-23T00:19:06.580Z] [ 80%] Built target device-random [2024-10-23T00:19:06.847Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-23T00:19:07.433Z] [ 84%] Linking C executable device-gyro [2024-10-23T00:19:07.779Z] [ 84%] Built target device-gyro [2024-10-23T00:19:07.779Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-23T00:19:08.380Z] [ 88%] Linking C executable device-bitfields [2024-10-23T00:19:08.651Z] [ 88%] Built target device-bitfields [2024-10-23T00:19:08.921Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-23T00:19:09.899Z] [ 92%] Linking C executable template-discovery [2024-10-23T00:19:10.179Z] [ 92%] Built target template-discovery [2024-10-23T00:19:10.471Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-23T00:19:11.440Z] [ 96%] Linking C executable device-file [2024-10-23T00:19:11.708Z] [ 96%] Built target device-file [2024-10-23T00:19:11.708Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-23T00:19:12.675Z] [100%] Linking C executable device-terminal [2024-10-23T00:19:12.941Z] [100%] Built target device-terminal [2024-10-23T00:19:12.941Z] Run CPack packaging tool... [2024-10-23T00:19:12.941Z] CPack: Create package using TGZ [2024-10-23T00:19:12.941Z] CPack: Install projects [2024-10-23T00:19:12.941Z] CPack: - Run preinstall target for: Csdk [2024-10-23T00:19:13.900Z] CPack: - Install project: Csdk [] [2024-10-23T00:19:13.901Z] CPack: Create package [2024-10-23T00:19:13.901Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-10-23T00:19:13.901Z] + '[' false '=' true ] [2024-10-23T00:19:13.901Z] + '[' false '=' true ] [2024-10-23T00:19:13.901Z] + mkdir -p /tmp/sdk/build/debug [2024-10-23T00:19:13.901Z] + cd /tmp/sdk/build/debug [2024-10-23T00:19:13.901Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-10-23T00:19:14.166Z] -- The C compiler identification is GNU 12.2.1 [2024-10-23T00:19:14.166Z] -- Detecting C compiler ABI info [2024-10-23T00:19:14.750Z] -- Detecting C compiler ABI info - done [2024-10-23T00:19:14.750Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-10-23T00:19:14.750Z] -- Detecting C compile features [2024-10-23T00:19:14.750Z] -- Detecting C compile features - done [2024-10-23T00:19:14.750Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-10-23T00:19:15.017Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-10-23T00:19:15.017Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-10-23T00:19:15.017Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-10-23T00:19:15.017Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-10-23T00:19:15.017Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-10-23T00:19:15.017Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-10-23T00:19:15.017Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-10-23T00:19:15.017Z] -- /opt/iotech/iot/1.5/include [2024-10-23T00:19:15.017Z] -- C SDK 0.0.0 for Linux [2024-10-23T00:19:15.017Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-10-23T00:19:15.282Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-10-23T00:19:15.548Z] -- Found Curses: /usr/lib/libcurses.so [2024-10-23T00:19:15.548Z] -- Configuring done (1.7s) [2024-10-23T00:19:15.814Z] -- Generating done (0.2s) [2024-10-23T00:19:15.814Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-10-23T00:19:15.814Z] + tee debug.log [2024-10-23T00:19:15.814Z] + make [2024-10-23T00:19:16.079Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-10-23T00:19:16.345Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-10-23T00:19:16.931Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-10-23T00:19:17.198Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-10-23T00:19:17.783Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-10-23T00:19:18.050Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-10-23T00:19:18.636Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-10-23T00:19:19.223Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-10-23T00:19:19.490Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-10-23T00:19:20.075Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-10-23T00:19:20.659Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-10-23T00:19:20.927Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-10-23T00:19:21.512Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-10-23T00:19:21.780Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-10-23T00:19:22.048Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-10-23T00:19:22.632Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-10-23T00:19:22.901Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-10-23T00:19:23.488Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-10-23T00:19:23.755Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-10-23T00:19:24.023Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-10-23T00:19:24.986Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-10-23T00:19:25.953Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-10-23T00:19:26.220Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-10-23T00:19:26.489Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-10-23T00:19:27.076Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-10-23T00:19:27.346Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-10-23T00:19:27.931Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-10-23T00:19:29.343Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-10-23T00:19:29.611Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-10-23T00:19:29.883Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-10-23T00:19:30.152Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-10-23T00:19:30.421Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-10-23T00:19:30.421Z] /tmp/sdk/src/c/service.c:916:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-23T00:19:30.421Z] 916 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-10-23T00:19:30.421Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-10-23T00:19:30.421Z] /tmp/sdk/src/c/service.c:917:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-10-23T00:19:30.421Z] 917 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-10-23T00:19:30.421Z] | ^ [2024-10-23T00:19:31.006Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-10-23T00:19:31.588Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-10-23T00:19:31.857Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-10-23T00:19:32.125Z] [ 68%] Linking C shared library libcsdk.so [2024-10-23T00:19:32.393Z] [ 68%] Built target csdk [2024-10-23T00:19:32.393Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-10-23T00:19:32.660Z] [ 72%] Linking C executable template [2024-10-23T00:19:33.242Z] [ 72%] Built target template [2024-10-23T00:19:33.242Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-10-23T00:19:33.513Z] [ 76%] Linking C executable device-counter [2024-10-23T00:19:33.780Z] [ 76%] Built target device-counter [2024-10-23T00:19:33.780Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-10-23T00:19:34.049Z] [ 80%] Linking C executable device-random [2024-10-23T00:19:34.635Z] [ 80%] Built target device-random [2024-10-23T00:19:34.635Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-10-23T00:19:34.903Z] [ 84%] Linking C executable device-gyro [2024-10-23T00:19:35.171Z] [ 84%] Built target device-gyro [2024-10-23T00:19:35.171Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-10-23T00:19:35.440Z] [ 88%] Linking C executable device-bitfields [2024-10-23T00:19:36.025Z] [ 88%] Built target device-bitfields [2024-10-23T00:19:36.025Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-10-23T00:19:36.291Z] [ 92%] Linking C executable template-discovery [2024-10-23T00:19:36.562Z] [ 92%] Built target template-discovery [2024-10-23T00:19:36.562Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-10-23T00:19:37.148Z] [ 96%] Linking C executable device-file [2024-10-23T00:19:37.423Z] [ 96%] Built target device-file [2024-10-23T00:19:37.423Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-10-23T00:19:37.690Z] [100%] Linking C executable device-terminal [2024-10-23T00:19:38.271Z] [100%] Built target device-terminal [2024-10-23T00:19:38.271Z] make: Entering directory '/tmp/sdk/build/release' [2024-10-23T00:19:38.271Z] [ 68%] Built target csdk [2024-10-23T00:19:38.539Z] [ 72%] Built target template [2024-10-23T00:19:38.539Z] [ 76%] Built target device-counter [2024-10-23T00:19:38.539Z] [ 80%] Built target device-random [2024-10-23T00:19:38.539Z] [ 84%] Built target device-gyro [2024-10-23T00:19:38.806Z] [ 88%] Built target device-bitfields [2024-10-23T00:19:38.806Z] [ 92%] Built target template-discovery [2024-10-23T00:19:38.806Z] [ 96%] Built target device-file [2024-10-23T00:19:38.806Z] [100%] Built target device-terminal [2024-10-23T00:19:38.806Z] Install the project... [2024-10-23T00:19:39.073Z] -- Install configuration: "Release" [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/lib/libcsdk.so [2024-10-23T00:19:39.073Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include/devsdk [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include/edgex [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include/edgex/devices.h [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-10-23T00:19:39.073Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-10-23T00:19:39.073Z] make: Leaving directory '/tmp/sdk/build/release' [2024-10-23T00:19:40.483Z] Removing intermediate container d2b690bd770d [2024-10-23T00:19:40.483Z] ---> 3f6a447a3f4a [2024-10-23T00:19:40.483Z] Step 14/22 : FROM ${BASE} [2024-10-23T00:19:40.483Z] ---> 2b552cad5dd9 [2024-10-23T00:19:40.483Z] Step 15/22 : LABEL maintainer="IOTech " [2024-10-23T00:19:40.483Z] ---> Running in 61f2c7601b0d [2024-10-23T00:19:40.756Z] Removing intermediate container 61f2c7601b0d [2024-10-23T00:19:40.756Z] ---> 3fe178164044 [2024-10-23T00:19:40.756Z] 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-23T00:19:40.756Z] ---> Running in bce986ed0eed [2024-10-23T00:19:41.720Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-23T00:19:42.306Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-23T00:19:42.306Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-23T00:19:42.306Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-23T00:19:42.892Z] Removing intermediate container bce986ed0eed [2024-10-23T00:19:42.892Z] ---> 25da4eedd2a7 [2024-10-23T00:19:42.892Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-23T00:19:42.892Z] ---> Running in dc548a52b206 [2024-10-23T00:19:44.837Z] Removing intermediate container dc548a52b206 [2024-10-23T00:19:44.837Z] ---> 56f810b12527 [2024-10-23T00:19:44.837Z] 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-23T00:19:44.837Z] ---> Running in 95c541cd74d9 [2024-10-23T00:19:45.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:19:46.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-23T00:19:46.646Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:19:47.597Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:19:47.597Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-10-23T00:19:47.597Z] (2/10) Installing curl (8.9.1-r1) [2024-10-23T00:19:47.597Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-10-23T00:19:47.597Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-10-23T00:19:47.597Z] (5/10) Installing hiredis (1.1.0-r2) [2024-10-23T00:19:47.597Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-10-23T00:19:47.597Z] (7/10) Installing libcbor (0.10.2-r1) [2024-10-23T00:19:47.597Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-10-23T00:19:48.554Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-10-23T00:19:48.554Z] (10/10) Installing libuuid (2.38.1-r8) [2024-10-23T00:19:48.554Z] Executing busybox-1.36.1-r4.trigger [2024-10-23T00:19:48.554Z] OK: 328 MiB in 90 packages [2024-10-23T00:19:49.959Z] Removing intermediate container 95c541cd74d9 [2024-10-23T00:19:49.959Z] ---> 984d5f6b1726 [2024-10-23T00:19:49.959Z] Step 19/22 : RUN apk --no-cache upgrade [2024-10-23T00:19:49.959Z] ---> Running in 83f6d23ccd1e [2024-10-23T00:19:50.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:19:50.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-23T00:19:51.497Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:19:52.455Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:19:52.455Z] Upgrading critical system libraries and apk-tools: [2024-10-23T00:19:52.455Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-10-23T00:19:52.455Z] Executing busybox-1.36.1-r4.trigger [2024-10-23T00:19:52.722Z] Continuing the upgrade transaction with new apk-tools: [2024-10-23T00:19:52.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:19:52.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-23T00:19:53.565Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:19:54.155Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:19:54.155Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-10-23T00:19:54.155Z] Executing busybox-1.36.1-r7.post-upgrade [2024-10-23T00:19:54.155Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-10-23T00:19:54.155Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-10-23T00:19:54.420Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-23T00:19:54.420Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-10-23T00:19:54.420Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-10-23T00:19:54.420Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.3-r0) [2024-10-23T00:19:54.420Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.6-r0) [2024-10-23T00:19:54.420Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-10-23T00:19:54.420Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-10-23T00:19:54.685Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-10-23T00:19:54.951Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-10-23T00:19:54.951Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-10-23T00:19:54.951Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-10-23T00:19:54.951Z] Executing busybox-1.36.1-r7.trigger [2024-10-23T00:19:54.951Z] Executing ca-certificates-20240226-r0.trigger [2024-10-23T00:19:55.219Z] OK: 328 MiB in 90 packages [2024-10-23T00:19:56.639Z] Removing intermediate container 83f6d23ccd1e [2024-10-23T00:19:56.639Z] ---> b002ac9946df [2024-10-23T00:19:56.639Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-10-23T00:19:57.217Z] ---> 840640d5ac9d [2024-10-23T00:19:57.217Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-10-23T00:19:57.797Z] ---> 8c95bc07d6cc [2024-10-23T00:19:57.797Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-10-23T00:19:58.064Z] ---> da8e46e4d2e1 [2024-10-23T00:19:58.064Z] Successfully built da8e46e4d2e1 [2024-10-23T00:19:58.064Z] 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-23T00:19:58.768Z] + docker inspect -f . ci-base-image-arm64 [2024-10-23T00:19:58.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T00:19:58.965Z] prd-ubuntu20.04-docker-arm64-4c-16g-23551 does not seem to be running inside a container [2024-10-23T00:19:59.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-23T00:20:00.192Z] $ docker top ec513962857858d2f3e371125a5e1ba17f4492369619af42289f71802406cbb0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T00:20:01.015Z] + make test [2024-10-23T00:20:01.015Z] echo "make test" [2024-10-23T00:20:01.015Z] make test [Pipeline] } [2024-10-23T00:20:01.029Z] $ docker stop --time=1 ec513962857858d2f3e371125a5e1ba17f4492369619af42289f71802406cbb0 [2024-10-23T00:20:02.620Z] $ docker rm -f --volumes ec513962857858d2f3e371125a5e1ba17f4492369619af42289f71802406cbb0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-23T00:20:03.175Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-23T00:20:03.491Z] + ls -al . [2024-10-23T00:20:03.491Z] total 208 [2024-10-23T00:20:03.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 00:17 . [2024-10-23T00:20:03.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:17 .. [2024-10-23T00:20:03.491Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 23 00:17 .git [2024-10-23T00:20:03.491Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 23 00:17 .github [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 176 Oct 23 00:17 .gitignore [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 2908 Oct 23 00:17 Attribution.txt [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 11953 Oct 23 00:17 CHANGELOG.md [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 108574 Oct 23 00:17 Doxyfile [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 23 00:17 GOVERNANCE.md [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 784 Oct 23 00:17 Jenkinsfile [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 10174 Oct 23 00:17 LICENSE [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 444 Oct 23 00:17 Makefile [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 618 Oct 23 00:17 OWNERS.md [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 1651 Oct 23 00:17 README.IOT.md [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 4215 Oct 23 00:17 README.md [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 1245 Oct 23 00:17 README.v3.md [2024-10-23T00:20:03.491Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 23 00:14 VERSION [2024-10-23T00:20:03.491Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 00:17 docs [2024-10-23T00:20:03.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:17 include [2024-10-23T00:20:03.491Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 23 00:17 scripts [2024-10-23T00:20:03.491Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 23 00:17 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T00:20:03.842Z] + 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=d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 --label arch=arm64 --label version=0.0.0 . [2024-10-23T00:20:04.121Z] Sending build context to Docker daemon 3.061MB [2024-10-23T00:20:04.121Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-10-23T00:20:04.121Z] Step 2/18 : FROM ${BASE} [2024-10-23T00:20:04.121Z] ---> da8e46e4d2e1 [2024-10-23T00:20:04.121Z] Step 3/18 : LABEL maintainer="IOTech " [2024-10-23T00:20:04.386Z] ---> Running in 699fb0a9a1c0 [2024-10-23T00:20:04.651Z] Removing intermediate container 699fb0a9a1c0 [2024-10-23T00:20:04.651Z] ---> 41f45918fe9e [2024-10-23T00:20:04.651Z] 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-23T00:20:04.651Z] ---> Running in ef98755e0824 [2024-10-23T00:20:05.610Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-10-23T00:20:06.195Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-10-23T00:20:06.195Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-10-23T00:20:06.195Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-10-23T00:20:06.778Z] Removing intermediate container ef98755e0824 [2024-10-23T00:20:06.778Z] ---> 2231e22fe85e [2024-10-23T00:20:06.778Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-10-23T00:20:06.778Z] ---> Running in 4780325ea4f2 [2024-10-23T00:20:08.185Z] Removing intermediate container 4780325ea4f2 [2024-10-23T00:20:08.185Z] ---> 8c85ac2bc9eb [2024-10-23T00:20:08.185Z] 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-23T00:20:08.455Z] ---> Running in 4fba651f8b0f [2024-10-23T00:20:09.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:20:09.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-23T00:20:10.257Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:20:11.210Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:20:11.210Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-10-23T00:20:11.475Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-10-23T00:20:11.475Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-10-23T00:20:11.475Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-10-23T00:20:11.475Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-10-23T00:20:11.475Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-10-23T00:20:11.475Z] (7/11) Installing libblkid (2.38.1-r8) [2024-10-23T00:20:11.475Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-10-23T00:20:11.475Z] (9/11) Installing libmount (2.38.1-r8) [2024-10-23T00:20:11.475Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-10-23T00:20:11.475Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-10-23T00:20:11.742Z] Executing busybox-1.36.1-r7.trigger [2024-10-23T00:20:11.742Z] OK: 334 MiB in 101 packages [2024-10-23T00:20:13.147Z] Removing intermediate container 4fba651f8b0f [2024-10-23T00:20:13.147Z] ---> 6161f78a275f [2024-10-23T00:20:13.147Z] Step 7/18 : RUN apk --no-cache upgrade [2024-10-23T00:20:13.147Z] ---> Running in aa7cb4709c76 [2024-10-23T00:20:14.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:20:14.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-23T00:20:14.741Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-23T00:20:15.697Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-10-23T00:20:15.697Z] OK: 334 MiB in 101 packages [2024-10-23T00:20:16.656Z] Removing intermediate container aa7cb4709c76 [2024-10-23T00:20:16.656Z] ---> 3e66b12d482b [2024-10-23T00:20:16.656Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-10-23T00:20:16.920Z] ---> 0e657348ce36 [2024-10-23T00:20:16.920Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-10-23T00:20:17.873Z] ---> 3c33208e8ec0 [2024-10-23T00:20:17.873Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-10-23T00:20:18.452Z] ---> 11915fcce9ed [2024-10-23T00:20:18.452Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-10-23T00:20:18.718Z] ---> b8eab1cb77c3 [2024-10-23T00:20:18.718Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-10-23T00:20:19.299Z] ---> 62bcfe48e0bd [2024-10-23T00:20:19.299Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-10-23T00:20:19.884Z] ---> 2162877217ab [2024-10-23T00:20:19.884Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-10-23T00:20:19.884Z] ---> Running in 4d996ea16b4a [2024-10-23T00:20:20.151Z] Removing intermediate container 4d996ea16b4a [2024-10-23T00:20:20.151Z] ---> d98d1fa897f1 [2024-10-23T00:20:20.151Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-10-23T00:20:20.151Z] ---> Running in 30592d73d33b [2024-10-23T00:20:20.419Z] Removing intermediate container 30592d73d33b [2024-10-23T00:20:20.419Z] ---> ecafa0eda262 [2024-10-23T00:20:20.419Z] Step 16/18 : LABEL arch=arm64 [2024-10-23T00:20:20.419Z] ---> Running in 67dd5eb8318e [2024-10-23T00:20:20.690Z] Removing intermediate container 67dd5eb8318e [2024-10-23T00:20:20.690Z] ---> 4e5b670a92ff [2024-10-23T00:20:20.690Z] Step 17/18 : LABEL git_sha=d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [2024-10-23T00:20:20.956Z] ---> Running in 7c5a4b2f060e [2024-10-23T00:20:21.222Z] Removing intermediate container 7c5a4b2f060e [2024-10-23T00:20:21.222Z] ---> 00d32dfc1e83 [2024-10-23T00:20:21.222Z] Step 18/18 : LABEL version=0.0.0 [2024-10-23T00:20:21.222Z] ---> Running in 60187d212474 [2024-10-23T00:20:21.542Z] Removing intermediate container 60187d212474 [2024-10-23T00:20:21.542Z] ---> 2d21e6329d2a [2024-10-23T00:20:21.542Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-10-23T00:20:21.542Z] Successfully built 2d21e6329d2a [2024-10-23T00:20:21.542Z] 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-23T00:20:22.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-23T00:20:22.012Z] [2024-10-23T00:20:22.012Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T00:20:22.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-23T00:20:22.340Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-23T00:20:22.340Z] 8998bd30e6a1: Pulling fs layer [2024-10-23T00:20:22.340Z] 04944245beec: Pulling fs layer [2024-10-23T00:20:22.340Z] 699f458cf7ca: Pulling fs layer [2024-10-23T00:20:22.340Z] 765212b225bb: Pulling fs layer [2024-10-23T00:20:22.340Z] f23df028b6ca: Pulling fs layer [2024-10-23T00:20:22.340Z] d65c8cfc05b1: Pulling fs layer [2024-10-23T00:20:22.340Z] 2437ff75d9bd: Pulling fs layer [2024-10-23T00:20:22.340Z] f23df028b6ca: Waiting [2024-10-23T00:20:22.340Z] d65c8cfc05b1: Waiting [2024-10-23T00:20:22.340Z] 2437ff75d9bd: Waiting [2024-10-23T00:20:22.340Z] 765212b225bb: Waiting [2024-10-23T00:20:22.606Z] 04944245beec: Verifying Checksum [2024-10-23T00:20:22.606Z] 04944245beec: Download complete [2024-10-23T00:20:22.606Z] 765212b225bb: Verifying Checksum [2024-10-23T00:20:22.606Z] 765212b225bb: Download complete [2024-10-23T00:20:22.606Z] f23df028b6ca: Verifying Checksum [2024-10-23T00:20:22.606Z] f23df028b6ca: Download complete [2024-10-23T00:20:22.606Z] d65c8cfc05b1: Verifying Checksum [2024-10-23T00:20:22.606Z] d65c8cfc05b1: Download complete [2024-10-23T00:20:22.606Z] 699f458cf7ca: Verifying Checksum [2024-10-23T00:20:22.606Z] 699f458cf7ca: Download complete [2024-10-23T00:20:23.186Z] 8998bd30e6a1: Verifying Checksum [2024-10-23T00:20:23.186Z] 8998bd30e6a1: Download complete [2024-10-23T00:20:25.766Z] 2437ff75d9bd: Verifying Checksum [2024-10-23T00:20:25.766Z] 2437ff75d9bd: Download complete [2024-10-23T00:20:27.706Z] 8998bd30e6a1: Pull complete [2024-10-23T00:20:28.287Z] 04944245beec: Pull complete [2024-10-23T00:20:29.685Z] 699f458cf7ca: Pull complete [2024-10-23T00:20:29.951Z] 765212b225bb: Pull complete [2024-10-23T00:20:30.976Z] f23df028b6ca: Pull complete [2024-10-23T00:20:31.274Z] d65c8cfc05b1: Pull complete [2024-10-23T00:20:49.717Z] 2437ff75d9bd: Pull complete [2024-10-23T00:20:49.717Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-23T00:20:49.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-23T00:20:49.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T00:20:49.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-23551 does not seem to be running inside a container [2024-10-23T00:20:49.980Z] $ 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/3 -v /w/workspace/device-sdk-c/3:/w/workspace/device-sdk-c/3:rw,z -v /w/workspace/device-sdk-c/3@tmp:/w/workspace/device-sdk-c/3@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-23T00:20:52.389Z] $ docker top 85cb472abcf82a35ad9f403fb1fd1b0130bea7453048e084d0625fdb8178a9bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:20:53.215Z] ---> job-cost.sh [2024-10-23T00:20:53.215Z] lf-activate-venv: SKIPPING [2024-10-23T00:20:53.215Z] INFO: No Stack... [2024-10-23T00:20:53.794Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-23T00:20:54.374Z] INFO: Archiving Costs [Pipeline] sh [2024-10-23T00:20:55.007Z] + cat /w/workspace/device-sdk-c/3/archives/cost.csv [2024-10-23T00:20:55.007Z] + cut -d, -f6 [Pipeline] lock [2024-10-23T00:20:55.059Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-3-stack-cost] [2024-10-23T00:20:55.070Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-3-stack-cost] did not exist. Created. [2024-10-23T00:20:55.077Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-23T00:20:55.745Z] /w/workspace/device-sdk-c/3@tmp/durable-4f4dd8bd/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-23T00:20:56.379Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-23T00:20:56.405Z] Warning: overwriting stash ‘stack-cost’ [2024-10-23T00:20:56.874Z] Stashed 1 file(s) [Pipeline] } [2024-10-23T00:20:56.884Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-23T00:20:56.906Z] $ docker stop --time=1 85cb472abcf82a35ad9f403fb1fd1b0130bea7453048e084d0625fdb8178a9bd [2024-10-23T00:20:58.396Z] $ docker rm -f --volumes 85cb472abcf82a35ad9f403fb1fd1b0130bea7453048e084d0625fdb8178a9bd [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-23T00:20:59.264Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives ] [2024-10-23T00:20:59.264Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-10-23T00:20:59.264Z] total 16 [2024-10-23T00:20:59.264Z] drwxr-xr-x 3 root root 4096 Oct 23 00:15 . [2024-10-23T00:20:59.264Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 00:15 .. [2024-10-23T00:20:59.264Z] drwxr-xr-x 2 root root 4096 Oct 23 00:15 cost [2024-10-23T00:20:59.264Z] -rw-r--r-- 1 root root 84 Oct 23 00:15 cost.csv [2024-10-23T00:20:59.264Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-10-23T00:20:59.264Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-10-23T00:20:59.264Z] total 16 [2024-10-23T00:20:59.264Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 23 00:15 . [2024-10-23T00:20:59.264Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 23 00:15 .. [2024-10-23T00:20:59.264Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 23 00:15 cost [2024-10-23T00:20:59.264Z] -rw-r--r-- 1 jenkins jenkins 84 Oct 23 00:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:20:59.556Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:21:00.420Z] ---> package-listing.sh [2024-10-23T00:21:00.420Z] ++ facter osfamily [2024-10-23T00:21:00.420Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-23T00:21:00.686Z] + OS_FAMILY=debian [2024-10-23T00:21:00.686Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-517 [2024-10-23T00:21:00.686Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-23T00:21:00.686Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-23T00:21:00.686Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-23T00:21:00.686Z] + PACKAGES=/tmp/packages_start.txt [2024-10-23T00:21:00.686Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-10-23T00:21:00.686Z] + PACKAGES=/tmp/packages_end.txt [2024-10-23T00:21:00.686Z] + case "${OS_FAMILY}" in [2024-10-23T00:21:00.686Z] + dpkg -l [2024-10-23T00:21:00.686Z] + grep '^ii' [2024-10-23T00:21:00.686Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-23T00:21:00.686Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-23T00:21:00.686Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-23T00:21:00.686Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-10-23T00:21:00.686Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ [2024-10-23T00:21:00.686Z] + 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-23T00:21:00.697Z] 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-23T00:21:00.978Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-23T00:21:01.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-23T00:21:01.550Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-23T00:21:01.632Z] prd-ubuntu20.04-docker-8c-8g-23549 does not seem to be running inside a container [2024-10-23T00:21:01.659Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-23T00:21:01.844Z] $ docker top 1330a1220a81bc4e3f4903667b4e495a4765fa6d3b62e3a2b9e4d6dcb85c1d49 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-23T00:21:02.205Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-23T00:21:02.492Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-23T00:21:02.779Z] + ls /var/log/sa-host [2024-10-23T00:21:02.779Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-23T00:21:02.860Z] provisioning config files... [2024-10-23T00:21:02.868Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config5432260009320787436tmp [Pipeline] { [Pipeline] echo [2024-10-23T00:21:02.886Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:21:03.170Z] ---> create-netrc.sh [Pipeline] } [2024-10-23T00:21:03.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:21:03.518Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-23T00:21:03.529Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:21:03.817Z] ---> sudo-logs.sh [2024-10-23T00:21:03.817Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-23T00:21:03.858Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:21:04.144Z] ---> job-cost.sh [2024-10-23T00:21:04.144Z] lf-activate-venv: SKIPPING [2024-10-23T00:21:04.144Z] DEBUG: total: 0.2199999988079071 [2024-10-23T00:21:04.144Z] INFO: Retrieving Stack Cost... [2024-10-23T00:21:04.403Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-23T00:21:04.664Z] INFO: Archiving Costs [Pipeline] echo [2024-10-23T00:21:04.678Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-23T00:21:04.964Z] ---> logs-deploy.sh [2024-10-23T00:21:04.964Z] lf-activate-venv: SKIPPING [2024-10-23T00:21:04.964Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-517/3 [2024-10-23T00:21:04.964Z] INFO: archiving workspace using pattern(s): [2024-10-23T00:21:05.903Z] Archives upload complete. [2024-10-23T00:21:05.903Z] INFO: archiving logs to Nexus [2024-10-23T00:21:06.471Z] ---> uname -a: [2024-10-23T00:21:06.471Z] Linux prd-ubuntu20-04-docker-8c-8g-23549 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-10-23T00:21:06.471Z] [2024-10-23T00:21:06.471Z]