Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271+b4a60c126f741d84c14ee104c3263f3235d33930 (c326e1bfc227f26dbed4e4cda4e1c9e989f84d25) 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-ssh4259050008422374761.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-ssh18008087759101219165.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-ssh12364538457472645425.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-ssh4830698104118251032.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-ssh17993403463396404455.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-27054 in /w/workspace/edgexfoundry_device-sdk-c_PR-517 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-517 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/517/head:refs/remotes/origin/PR-517 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b4a60c126f741d84c14ee104c3263f3235d33930 into PR head commit d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 Merge succeeded, producing e87cc51fee30eadc7e069d4483af2ae040c670cc Checking out Revision e87cc51fee30eadc7e069d4483af2ae040c670cc (PR-517) > git config core.sparsecheckout # timeout=10 > git checkout -f d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e87cc51fee30eadc7e069d4483af2ae040c670cc # timeout=10 Commit message: "Merge commit 'b4a60c126f741d84c14ee104c3263f3235d33930' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk c657e349c2ab6e9eba269d958c8844669a195ef4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-19T18:56:48.694Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-19T18:56:48.765Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-19T18:56:48.788Z] ========================================================= [2024-11-19T18:56:48.788Z] EdgeX Global Pipelines Version Info [2024-11-19T18:56:48.788Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-19T18:56:49.510Z] ------------------- [2024-11-19T18:56:49.511Z] stable info: [2024-11-19T18:56:49.511Z] ------------------- [2024-11-19T18:56:49.511Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-19T18:56:49.511Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-19T18:56:49.511Z] Message: update stable to v1.0.265 [2024-11-19T18:56:50.080Z] ------------------- [2024-11-19T18:56:50.080Z] experimental info: [2024-11-19T18:56:50.080Z] ------------------- [2024-11-19T18:56:50.080Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-19T18:56:50.080Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-19T18:56:50.080Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-19T18:56:50.174Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-11-19T18:56:50.200Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-11-19T18:56:50.228Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-19T18:56:50.255Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-19T18:56:50.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-19T18:56:50.307Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-11-19T18:56:50.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-11-19T18:56:50.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-19T18:56:50.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-19T18:56:50.404Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-11-19T18:56:50.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-19T18:56:50.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-19T18:56:50.470Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-19T18:56:50.493Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-19T18:56:50.516Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-19T18:56:50.537Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-19T18:56:50.556Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-19T18:56:50.579Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-517 [Pipeline] echo [2024-11-19T18:56:50.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-517 [Pipeline] echo [2024-11-19T18:56:50.620Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-517 [Pipeline] echo [2024-11-19T18:56:50.643Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e87cc51fee30eadc7e069d4483af2ae040c670cc [Pipeline] echo [2024-11-19T18:56:50.664Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e87cc51 [Pipeline] echo [2024-11-19T18:56:50.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-19T18:56:50.746Z] provisioning config files... [2024-11-19T18:56:50.760Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config9495882857054933969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T18:56:51.080Z] ---> ****-login.sh [2024-11-19T18:56:51.080Z] nexus3.edgexfoundry.org:10001 [2024-11-19T18:56:51.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:56:51.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:56:51.340Z] Configure a credential helper to remove this warning. See [2024-11-19T18:56:51.340Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:56:51.340Z] [2024-11-19T18:56:51.340Z] Login Succeeded [2024-11-19T18:56:51.340Z] nexus3.edgexfoundry.org:10002 [2024-11-19T18:56:51.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:56:51.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:56:51.600Z] Configure a credential helper to remove this warning. See [2024-11-19T18:56:51.600Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:56:51.600Z] [2024-11-19T18:56:51.600Z] Login Succeeded [2024-11-19T18:56:51.600Z] nexus3.edgexfoundry.org:10003 [2024-11-19T18:56:51.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:56:51.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:56:51.600Z] Configure a credential helper to remove this warning. See [2024-11-19T18:56:51.600Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:56:51.600Z] [2024-11-19T18:56:51.600Z] Login Succeeded [2024-11-19T18:56:51.600Z] nexus3.edgexfoundry.org:10004 [2024-11-19T18:56:51.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:56:51.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:56:51.601Z] Configure a credential helper to remove this warning. See [2024-11-19T18:56:51.601Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:56:51.601Z] [2024-11-19T18:56:51.601Z] Login Succeeded [2024-11-19T18:56:51.601Z] ****.io [2024-11-19T18:56:51.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:56:51.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:56:51.860Z] Configure a credential helper to remove this warning. See [2024-11-19T18:56:51.860Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:56:51.860Z] [2024-11-19T18:56:51.860Z] Login Succeeded [2024-11-19T18:56:51.861Z] ---> ****-login.sh ends [Pipeline] } [2024-11-19T18:56:51.869Z] 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-11-19T18:56:52.278Z] + git rev-list -1 --merges e87cc51fee30eadc7e069d4483af2ae040c670cc~1..e87cc51fee30eadc7e069d4483af2ae040c670cc [Pipeline] echo [2024-11-19T18:56:52.307Z] -----------> git rev-list -1 --merges e87cc51fee30eadc7e069d4483af2ae040c670cc~1..e87cc51fee30eadc7e069d4483af2ae040c670cc e87cc51fee30eadc7e069d4483af2ae040c670cc [2024-11-19T18:56:52.307Z] e87cc51fee30eadc7e069d4483af2ae040c670cc [false] [Pipeline] sh [2024-11-19T18:56:52.602Z] + git log --format=format:%s -1 e87cc51fee30eadc7e069d4483af2ae040c670cc [Pipeline] echo [2024-11-19T18:56:52.623Z] ========================================================= [2024-11-19T18:56:52.623Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-19T18:56:52.623Z] ========================================================= 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-11-19T18:56:53.087Z] + git rev-list -1 --merges e87cc51fee30eadc7e069d4483af2ae040c670cc~1..e87cc51fee30eadc7e069d4483af2ae040c670cc [Pipeline] echo [2024-11-19T18:56:53.099Z] -----------> git rev-list -1 --merges e87cc51fee30eadc7e069d4483af2ae040c670cc~1..e87cc51fee30eadc7e069d4483af2ae040c670cc e87cc51fee30eadc7e069d4483af2ae040c670cc [2024-11-19T18:56:53.099Z] e87cc51fee30eadc7e069d4483af2ae040c670cc [false] [Pipeline] sh [2024-11-19T18:56:53.396Z] + git log --format=format:%s -1 e87cc51fee30eadc7e069d4483af2ae040c670cc [Pipeline] echo [2024-11-19T18:56:53.413Z] ========================================================= [2024-11-19T18:56:53.413Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-19T18:56:53.413Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-11-19T18:56:53.800Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-19T18:56:53.800Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-19T18:56:53.800Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-19T18:56:53.800Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-19T18:56:53.800Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-19T18:56:53.800Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-19T18:56:53.800Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T18:56:54.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T18:56:54.159Z] [2024-11-19T18:56:54.159Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T18:56:54.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T18:56:54.466Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-19T18:56:54.466Z] b85a868b505f: Pulling fs layer [2024-11-19T18:56:54.466Z] e2be974225ed: Pulling fs layer [2024-11-19T18:56:54.466Z] 339a4e72a1f5: Pulling fs layer [2024-11-19T18:56:54.466Z] 988bab9f4d93: Pulling fs layer [2024-11-19T18:56:54.466Z] 1469e6f7b9e6: Pulling fs layer [2024-11-19T18:56:54.466Z] eaf3925da568: Pulling fs layer [2024-11-19T18:56:54.466Z] bab4dde63d76: Pulling fs layer [2024-11-19T18:56:54.466Z] bde34c3a00c8: Pulling fs layer [2024-11-19T18:56:54.467Z] b352a97aabf1: Pulling fs layer [2024-11-19T18:56:54.467Z] 4872d77fe225: Pulling fs layer [2024-11-19T18:56:54.467Z] 5851b861e8e6: Pulling fs layer [2024-11-19T18:56:54.467Z] 988bab9f4d93: Waiting [2024-11-19T18:56:54.467Z] 1469e6f7b9e6: Waiting [2024-11-19T18:56:54.467Z] eaf3925da568: Waiting [2024-11-19T18:56:54.467Z] bab4dde63d76: Waiting [2024-11-19T18:56:54.467Z] bde34c3a00c8: Waiting [2024-11-19T18:56:54.467Z] b352a97aabf1: Waiting [2024-11-19T18:56:54.467Z] 4872d77fe225: Waiting [2024-11-19T18:56:54.467Z] 5851b861e8e6: Waiting [2024-11-19T18:56:54.467Z] e2be974225ed: Verifying Checksum [2024-11-19T18:56:54.467Z] e2be974225ed: Download complete [2024-11-19T18:56:54.467Z] 988bab9f4d93: Verifying Checksum [2024-11-19T18:56:54.467Z] 988bab9f4d93: Download complete [2024-11-19T18:56:54.467Z] 1469e6f7b9e6: Verifying Checksum [2024-11-19T18:56:54.467Z] 1469e6f7b9e6: Download complete [2024-11-19T18:56:54.467Z] eaf3925da568: Verifying Checksum [2024-11-19T18:56:54.467Z] eaf3925da568: Download complete [2024-11-19T18:56:54.467Z] 339a4e72a1f5: Verifying Checksum [2024-11-19T18:56:54.467Z] 339a4e72a1f5: Download complete [2024-11-19T18:56:54.725Z] bde34c3a00c8: Verifying Checksum [2024-11-19T18:56:54.725Z] bde34c3a00c8: Download complete [2024-11-19T18:56:54.725Z] b352a97aabf1: Verifying Checksum [2024-11-19T18:56:54.725Z] b352a97aabf1: Download complete [2024-11-19T18:56:54.725Z] 4872d77fe225: Verifying Checksum [2024-11-19T18:56:54.725Z] 4872d77fe225: Download complete [2024-11-19T18:56:54.725Z] 5851b861e8e6: Verifying Checksum [2024-11-19T18:56:54.725Z] 5851b861e8e6: Download complete [2024-11-19T18:56:54.725Z] b85a868b505f: Download complete [2024-11-19T18:56:54.983Z] bab4dde63d76: Download complete [2024-11-19T18:56:55.919Z] b85a868b505f: Pull complete [2024-11-19T18:56:55.919Z] e2be974225ed: Pull complete [2024-11-19T18:56:56.496Z] 339a4e72a1f5: Pull complete [2024-11-19T18:56:56.496Z] 988bab9f4d93: Pull complete [2024-11-19T18:56:56.755Z] 1469e6f7b9e6: Pull complete [2024-11-19T18:56:57.015Z] eaf3925da568: Pull complete [2024-11-19T18:56:58.918Z] bab4dde63d76: Pull complete [2024-11-19T18:56:58.918Z] bde34c3a00c8: Pull complete [2024-11-19T18:56:58.918Z] b352a97aabf1: Pull complete [2024-11-19T18:56:58.918Z] 4872d77fe225: Pull complete [2024-11-19T18:56:58.918Z] 5851b861e8e6: Pull complete [2024-11-19T18:56:58.918Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-19T18:56:58.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-19T18:56:58.918Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T18:56:59.055Z] prd-ubuntu20.04-docker-8c-8g-27054 does not seem to be running inside a container [2024-11-19T18:56:59.085Z] $ 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-11-19T18:57:02.041Z] $ docker top e55c34fa45cfec480f647f0166d9afd7bb9410262c575c5f1113a1b59ffd23ff -eo pid,comm [2024-11-19T18:57:02.101Z] 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-11-19T18:57:02.101Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-19T18:57:02.154Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-19T18:57:02.154Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-19T18:57:02.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-19T18:57:02.272Z] $ docker exec e55c34fa45cfec480f647f0166d9afd7bb9410262c575c5f1113a1b59ffd23ff ssh-agent [2024-11-19T18:57:02.383Z] SSH_AUTH_SOCK=/tmp/ssh-kH2aafLn6rFg/agent.31 [2024-11-19T18:57:02.383Z] SSH_AGENT_PID=37 [2024-11-19T18:57:02.391Z] Running ssh-add (command line suppressed) [2024-11-19T18:57:02.486Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_6903136422002358128.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_6903136422002358128.key) [2024-11-19T18:57:02.501Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-19T18:57:02.798Z] + git tag --points-at HEAD [Pipeline] } [2024-11-19T18:57:02.809Z] $ docker exec --env ******** --env ******** e55c34fa45cfec480f647f0166d9afd7bb9410262c575c5f1113a1b59ffd23ff ssh-agent -k [2024-11-19T18:57:02.912Z] unset SSH_AUTH_SOCK; [2024-11-19T18:57:02.912Z] unset SSH_AGENT_PID; [2024-11-19T18:57:02.912Z] echo Agent pid 37 killed; [2024-11-19T18:57:02.922Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-19T18:57:02.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-19T18:57:02.960Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-19T18:57:03.076Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-19T18:57:03.078Z] $ docker exec e55c34fa45cfec480f647f0166d9afd7bb9410262c575c5f1113a1b59ffd23ff ssh-agent [2024-11-19T18:57:03.192Z] SSH_AUTH_SOCK=/tmp/ssh-tDbtdTYxtpZi/agent.70 [2024-11-19T18:57:03.192Z] SSH_AGENT_PID=76 [2024-11-19T18:57:03.198Z] Running ssh-add (command line suppressed) [2024-11-19T18:57:03.291Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_11652613006808637337.key (/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/private_key_11652613006808637337.key) [2024-11-19T18:57:03.306Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-19T18:57:03.603Z] + git semver init [2024-11-19T18:57:03.864Z] 2024-11-19 18:57:03,790 [run_init] DEBUG init version:0.0.0 force:False [2024-11-19T18:57:03.864Z] 2024-11-19 18:57:03,790 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver [2024-11-19T18:57:03.864Z] 2024-11-19 18:57:03,791 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver [2024-11-19T18:57:03.864Z] 2024-11-19 18:57:03,791 [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-11-19T18:57:04.803Z] 2024-11-19 18:57:04,592 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.git/info/exclude [2024-11-19T18:57:04.803Z] 2024-11-19 18:57:04,592 [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-11-19T18:57:04.803Z] 2024-11-19 18:57:04,593 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-11-19T18:57:04.803Z] 2024-11-19 18:57:04,595 [execute] INFO git cat-file --batch-check [2024-11-19T18:57:04.803Z] 2024-11-19 18:57:04,596 [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-11-19T18:57:04.803Z] 2024-11-19 18:57:04,602 [execute] INFO git cat-file --batch [2024-11-19T18:57:04.803Z] 2024-11-19 18:57:04,602 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver, universal_newlines=False, shell=None, istream=) [2024-11-19T18:57:04.803Z] 2024-11-19 18:57:04,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-517/.semver/PR-517 [2024-11-19T18:57:04.803Z] 0.0.0 [Pipeline] } [2024-11-19T18:57:04.813Z] $ docker exec --env ******** --env ******** e55c34fa45cfec480f647f0166d9afd7bb9410262c575c5f1113a1b59ffd23ff ssh-agent -k [2024-11-19T18:57:04.911Z] unset SSH_AUTH_SOCK; [2024-11-19T18:57:04.911Z] unset SSH_AGENT_PID; [2024-11-19T18:57:04.911Z] echo Agent pid 76 killed; [2024-11-19T18:57:04.922Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-19T18:57:05.233Z] + git semver [Pipeline] } [2024-11-19T18:57:05.502Z] $ docker stop --time=1 e55c34fa45cfec480f647f0166d9afd7bb9410262c575c5f1113a1b59ffd23ff [2024-11-19T18:57:06.803Z] $ docker rm -f --volumes e55c34fa45cfec480f647f0166d9afd7bb9410262c575c5f1113a1b59ffd23ff [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-19T18:57:07.140Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-19T18:57:07.368Z] Stashed 1 file(s) [Pipeline] echo [2024-11-19T18:57:07.371Z] [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-11-19T18:57:07.519Z] provisioning config files... [2024-11-19T18:57:07.528Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config4455950248142834027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T18:57:07.827Z] ---> ****-login.sh [2024-11-19T18:57:07.827Z] nexus3.edgexfoundry.org:10001 [2024-11-19T18:57:07.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:57:07.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:57:07.827Z] Configure a credential helper to remove this warning. See [2024-11-19T18:57:07.827Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:57:07.827Z] [2024-11-19T18:57:07.827Z] Login Succeeded [2024-11-19T18:57:07.827Z] nexus3.edgexfoundry.org:10002 [2024-11-19T18:57:07.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:57:07.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:57:07.827Z] Configure a credential helper to remove this warning. See [2024-11-19T18:57:07.827Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:57:07.827Z] [2024-11-19T18:57:07.827Z] Login Succeeded [2024-11-19T18:57:07.827Z] nexus3.edgexfoundry.org:10003 [2024-11-19T18:57:08.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:57:08.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:57:08.089Z] Configure a credential helper to remove this warning. See [2024-11-19T18:57:08.090Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:57:08.090Z] [2024-11-19T18:57:08.090Z] Login Succeeded [2024-11-19T18:57:08.090Z] nexus3.edgexfoundry.org:10004 [2024-11-19T18:57:08.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:57:08.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:57:08.090Z] Configure a credential helper to remove this warning. See [2024-11-19T18:57:08.090Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:57:08.090Z] [2024-11-19T18:57:08.090Z] Login Succeeded [2024-11-19T18:57:08.090Z] ****.io [2024-11-19T18:57:08.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T18:57:08.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T18:57:08.350Z] Configure a credential helper to remove this warning. See [2024-11-19T18:57:08.350Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T18:57:08.350Z] [2024-11-19T18:57:08.350Z] Login Succeeded [2024-11-19T18:57:08.350Z] ---> ****-login.sh ends [Pipeline] } [2024-11-19T18:57:08.357Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-19T18:57:08.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T18:57:08.570Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-11-19T18:57:08.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T18:57:08.599Z] ========================================================= [2024-11-19T18:57:08.599Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-11-19T18:57:08.599Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T18:57:08.921Z] + 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-11-19T18:57:08.922Z] Sending build context to Docker daemon 5.148MB [2024-11-19T18:57:08.922Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-19T18:57:08.922Z] Step 2/22 : FROM ${BASE} as builder [2024-11-19T18:57:08.922Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-11-19T18:57:08.922Z] 96526aa774ef: Pulling fs layer [2024-11-19T18:57:08.922Z] da60e534fd72: Pulling fs layer [2024-11-19T18:57:09.181Z] 96526aa774ef: Verifying Checksum [2024-11-19T18:57:09.181Z] 96526aa774ef: Download complete [2024-11-19T18:57:09.181Z] 96526aa774ef: Pull complete [2024-11-19T18:57:09.747Z] da60e534fd72: Verifying Checksum [2024-11-19T18:57:09.747Z] da60e534fd72: Download complete [2024-11-19T18:57:13.032Z] da60e534fd72: Pull complete [2024-11-19T18:57:13.032Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-11-19T18:57:13.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-11-19T18:57:13.032Z] ---> 6605166a5db4 [2024-11-19T18:57:13.032Z] 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-11-19T18:57:14.940Z] ---> Running in e5f8a73cccfe [2024-11-19T18:57:15.200Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T18:57:15.771Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T18:57:15.771Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T18:57:15.771Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T18:57:16.034Z] Removing intermediate container e5f8a73cccfe [2024-11-19T18:57:16.034Z] ---> dbf0599ffeaf [2024-11-19T18:57:16.034Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T18:57:16.034Z] ---> Running in 99cc7291ba19 [2024-11-19T18:57:16.600Z] Removing intermediate container 99cc7291ba19 [2024-11-19T18:57:16.600Z] ---> 324684733a69 [2024-11-19T18:57:16.600Z] 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-11-19T18:57:16.600Z] ---> Running in 61290ec0ebdb [2024-11-19T18:57:16.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:17.118Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:17.118Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:17.687Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:57:17.687Z] (1/17) Installing hiredis (1.1.0-r2) [2024-11-19T18:57:17.687Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-19T18:57:17.687Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-19T18:57:17.687Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T18:57:18.626Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T18:57:18.626Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T18:57:18.626Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-19T18:57:18.626Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T18:57:18.626Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T18:57:18.626Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T18:57:18.626Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T18:57:18.626Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-19T18:57:18.626Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-19T18:57:18.626Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-19T18:57:18.626Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-19T18:57:18.626Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-19T18:57:18.626Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-19T18:57:18.884Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T18:57:18.884Z] OK: 336 MiB in 99 packages [2024-11-19T18:57:19.450Z] Removing intermediate container 61290ec0ebdb [2024-11-19T18:57:19.450Z] ---> 123765b63c51 [2024-11-19T18:57:19.450Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-19T18:57:19.450Z] ---> Running in 1b932dbe23c5 [2024-11-19T18:57:20.016Z] Removing intermediate container 1b932dbe23c5 [2024-11-19T18:57:20.016Z] ---> ef80bbac536a [2024-11-19T18:57:20.016Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-19T18:57:20.275Z] ---> 61db14418840 [2024-11-19T18:57:20.275Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-19T18:57:20.534Z] ---> 56d664c63201 [2024-11-19T18:57:20.534Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-19T18:57:20.534Z] ---> ea0e74337541 [2024-11-19T18:57:20.534Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-19T18:57:20.792Z] ---> 2e5425bd5540 [2024-11-19T18:57:20.792Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-19T18:57:20.792Z] ---> 3bccbf09cc25 [2024-11-19T18:57:20.792Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-19T18:57:21.049Z] ---> 8fc5d4227d0b [2024-11-19T18:57:21.049Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-19T18:57:21.049Z] ---> Running in f435afab725b [2024-11-19T18:57:21.305Z] + CPPCHECK=false [2024-11-19T18:57:21.305Z] + DOCGEN=false [2024-11-19T18:57:21.305Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-19T18:57:21.305Z] + '[' 0 -gt 0 ] [2024-11-19T18:57:21.305Z] + readlink -f ./scripts/build.sh [2024-11-19T18:57:21.305Z] + dirname /tmp/sdk/scripts/build.sh [2024-11-19T18:57:21.305Z] + dirname /tmp/sdk/scripts [2024-11-19T18:57:21.305Z] + ROOT=/tmp/sdk [2024-11-19T18:57:21.305Z] + cd /tmp/sdk [2024-11-19T18:57:21.305Z] + mkdir -p /tmp/sdk/build/release [2024-11-19T18:57:21.305Z] + cd /tmp/sdk/build/release [2024-11-19T18:57:21.305Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-19T18:57:21.305Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T18:57:21.305Z] -- Detecting C compiler ABI info [2024-11-19T18:57:21.305Z] -- Detecting C compiler ABI info - done [2024-11-19T18:57:21.305Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T18:57:21.305Z] -- Detecting C compile features [2024-11-19T18:57:21.305Z] -- Detecting C compile features - done [2024-11-19T18:57:21.305Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T18:57:21.563Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T18:57:21.563Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T18:57:21.563Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T18:57:21.563Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T18:57:21.563Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T18:57:21.563Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T18:57:21.563Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T18:57:21.563Z] -- /opt/iotech/iot/1.5/include [2024-11-19T18:57:21.563Z] -- C SDK 0.0.0 for Linux [2024-11-19T18:57:21.563Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T18:57:21.563Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T18:57:21.563Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T18:57:21.563Z] -- Configuring done (0.4s) [2024-11-19T18:57:21.563Z] -- Generating done (0.0s) [2024-11-19T18:57:21.563Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-19T18:57:21.563Z] + make all package [2024-11-19T18:57:21.563Z] + tee release.log [2024-11-19T18:57:21.823Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T18:57:21.823Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T18:57:22.082Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T18:57:22.082Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T18:57:22.082Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T18:57:22.341Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T18:57:22.474Z] Still waiting to schedule task [2024-11-19T18:57:22.475Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-27055’ is offline [2024-11-19T18:57:22.600Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T18:57:22.600Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-19T18:57:22.600Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T18:57:22.600Z] 294 | while (privateConfig) [2024-11-19T18:57:22.600Z] | ^~~~~~~~~~~~~ [2024-11-19T18:57:22.600Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-19T18:57:22.600Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T18:57:22.600Z] | ^~~~~~~~~~~~~ [2024-11-19T18:57:22.600Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T18:57:22.600Z] 271 | while (result) [2024-11-19T18:57:22.600Z] | ^~~~~~ [2024-11-19T18:57:22.600Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-19T18:57:22.600Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T18:57:22.600Z] | ^~~~~~ [2024-11-19T18:57:22.858Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T18:57:22.858Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T18:57:22.858Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T18:57:23.117Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T18:57:23.377Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T18:57:23.377Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T18:57:23.643Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T18:57:23.643Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T18:57:23.903Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T18:57:23.903Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T18:57:24.163Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T18:57:24.163Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T18:57:24.422Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T18:57:24.681Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T18:57:25.617Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T18:57:25.617Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T18:57:25.617Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T18:57:25.875Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T18:57:25.875Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T18:57:26.134Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T18:57:26.393Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T18:57:26.393Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T18:57:26.652Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T18:57:26.652Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T18:57:26.652Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T18:57:26.652Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T18:57:26.652Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T18:57:26.652Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:57:26.652Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T18:57:26.652Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T18:57:26.652Z] | ^ [2024-11-19T18:57:26.930Z] /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T18:57:26.930Z] 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-19T18:57:26.930Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:57:26.930Z] /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here [2024-11-19T18:57:26.930Z] 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-19T18:57:26.930Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:57:27.189Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T18:57:27.189Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T18:57:27.189Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T18:57:27.456Z] [ 68%] Linking C shared library libcsdk.so [2024-11-19T18:57:27.456Z] [ 68%] Built target csdk [2024-11-19T18:57:27.456Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T18:57:27.456Z] [ 72%] Linking C executable template [2024-11-19T18:57:27.722Z] [ 72%] Built target template [2024-11-19T18:57:27.722Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T18:57:27.722Z] [ 76%] Linking C executable device-counter [2024-11-19T18:57:27.722Z] [ 76%] Built target device-counter [2024-11-19T18:57:27.722Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T18:57:27.980Z] [ 80%] Linking C executable device-random [2024-11-19T18:57:27.980Z] [ 80%] Built target device-random [2024-11-19T18:57:27.980Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T18:57:27.980Z] [ 84%] Linking C executable device-gyro [2024-11-19T18:57:27.980Z] [ 84%] Built target device-gyro [2024-11-19T18:57:28.238Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T18:57:28.238Z] [ 88%] Linking C executable device-bitfields [2024-11-19T18:57:28.238Z] [ 88%] Built target device-bitfields [2024-11-19T18:57:28.238Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T18:57:28.496Z] [ 92%] Linking C executable template-discovery [2024-11-19T18:57:28.496Z] [ 92%] Built target template-discovery [2024-11-19T18:57:28.496Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T18:57:28.496Z] [ 96%] Linking C executable device-file [2024-11-19T18:57:28.754Z] [ 96%] Built target device-file [2024-11-19T18:57:28.754Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T18:57:28.754Z] [100%] Linking C executable device-terminal [2024-11-19T18:57:28.754Z] [100%] Built target device-terminal [2024-11-19T18:57:28.754Z] Run CPack packaging tool... [2024-11-19T18:57:28.754Z] CPack: Create package using TGZ [2024-11-19T18:57:28.754Z] CPack: Install projects [2024-11-19T18:57:28.754Z] CPack: - Run preinstall target for: Csdk [2024-11-19T18:57:29.012Z] CPack: - Install project: Csdk [] [2024-11-19T18:57:29.012Z] CPack: Create package [2024-11-19T18:57:29.012Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-11-19T18:57:29.012Z] + '[' false '=' true ] [2024-11-19T18:57:29.012Z] + '[' false '=' true ] [2024-11-19T18:57:29.012Z] + mkdir -p /tmp/sdk/build/debug [2024-11-19T18:57:29.012Z] + cd /tmp/sdk/build/debug [2024-11-19T18:57:29.012Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-19T18:57:29.269Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T18:57:29.269Z] -- Detecting C compiler ABI info [2024-11-19T18:57:29.269Z] -- Detecting C compiler ABI info - done [2024-11-19T18:57:29.269Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T18:57:29.269Z] -- Detecting C compile features [2024-11-19T18:57:29.269Z] -- Detecting C compile features - done [2024-11-19T18:57:29.269Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T18:57:29.269Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T18:57:29.269Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T18:57:29.269Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T18:57:29.269Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T18:57:29.269Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T18:57:29.269Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T18:57:29.269Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T18:57:29.269Z] -- /opt/iotech/iot/1.5/include [2024-11-19T18:57:29.269Z] -- C SDK 0.0.0 for Linux [2024-11-19T18:57:29.269Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T18:57:29.528Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T18:57:29.528Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T18:57:29.528Z] -- Configuring done (0.4s) [2024-11-19T18:57:29.528Z] -- Generating done (0.0s) [2024-11-19T18:57:29.528Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-19T18:57:29.528Z] + + teemake debug.log [2024-11-19T18:57:29.528Z] [2024-11-19T18:57:29.528Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T18:57:29.786Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T18:57:29.786Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T18:57:29.786Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T18:57:29.786Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T18:57:30.046Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T18:57:30.046Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T18:57:30.046Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T18:57:30.306Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T18:57:30.306Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T18:57:30.306Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T18:57:30.567Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T18:57:30.567Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T18:57:30.567Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T18:57:30.826Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T18:57:30.826Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T18:57:30.826Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T18:57:30.826Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T18:57:31.092Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T18:57:31.092Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T18:57:31.092Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T18:57:31.351Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T18:57:31.611Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T18:57:31.611Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T18:57:31.611Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T18:57:31.611Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T18:57:31.871Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T18:57:32.131Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T18:57:32.131Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T18:57:32.131Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T18:57:32.131Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T18:57:32.389Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T18:57:32.389Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T18:57:32.389Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T18:57:32.389Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T18:57:32.389Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T18:57:32.389Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T18:57:32.389Z] | ^ [2024-11-19T18:57:32.389Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T18:57:32.389Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T18:57:32.389Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T18:57:32.648Z] [ 68%] Linking C shared library libcsdk.so [2024-11-19T18:57:32.648Z] [ 68%] Built target csdk [2024-11-19T18:57:32.648Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T18:57:32.648Z] [ 72%] Linking C executable template [2024-11-19T18:57:32.907Z] [ 72%] Built target template [2024-11-19T18:57:32.907Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T18:57:32.907Z] [ 76%] Linking C executable device-counter [2024-11-19T18:57:32.907Z] [ 76%] Built target device-counter [2024-11-19T18:57:32.907Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T18:57:32.907Z] [ 80%] Linking C executable device-random [2024-11-19T18:57:33.168Z] [ 80%] Built target device-random [2024-11-19T18:57:33.168Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T18:57:33.168Z] [ 84%] Linking C executable device-gyro [2024-11-19T18:57:33.168Z] [ 84%] Built target device-gyro [2024-11-19T18:57:33.168Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T18:57:33.168Z] [ 88%] Linking C executable device-bitfields [2024-11-19T18:57:33.430Z] [ 88%] Built target device-bitfields [2024-11-19T18:57:33.430Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T18:57:33.430Z] [ 92%] Linking C executable template-discovery [2024-11-19T18:57:33.430Z] [ 92%] Built target template-discovery [2024-11-19T18:57:33.430Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T18:57:33.691Z] [ 96%] Linking C executable device-file [2024-11-19T18:57:33.691Z] [ 96%] Built target device-file [2024-11-19T18:57:33.691Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T18:57:33.691Z] [100%] Linking C executable device-terminal [2024-11-19T18:57:33.951Z] [100%] Built target device-terminal [2024-11-19T18:57:33.951Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-19T18:57:33.951Z] [ 68%] Built target csdk [2024-11-19T18:57:33.951Z] [ 72%] Built target template [2024-11-19T18:57:33.951Z] [ 76%] Built target device-counter [2024-11-19T18:57:33.951Z] [ 80%] Built target device-random [2024-11-19T18:57:33.951Z] [ 84%] Built target device-gyro [2024-11-19T18:57:33.951Z] [ 88%] Built target device-bitfields [2024-11-19T18:57:33.951Z] [ 92%] Built target template-discovery [2024-11-19T18:57:33.951Z] [ 96%] Built target device-file [2024-11-19T18:57:33.951Z] [100%] Built target device-terminal [2024-11-19T18:57:33.951Z] Install the project... [2024-11-19T18:57:33.951Z] -- Install configuration: "Release" [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-19T18:57:33.951Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include/devsdk [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include/edgex [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-19T18:57:33.951Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-19T18:57:33.951Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-19T18:57:35.339Z] Removing intermediate container f435afab725b [2024-11-19T18:57:35.339Z] ---> 656a0bf1adb5 [2024-11-19T18:57:35.339Z] Step 14/22 : FROM ${BASE} [2024-11-19T18:57:35.339Z] ---> 6605166a5db4 [2024-11-19T18:57:35.339Z] Step 15/22 : LABEL maintainer="IOTech " [2024-11-19T18:57:35.339Z] ---> Running in a79c30ee663d [2024-11-19T18:57:35.339Z] Removing intermediate container a79c30ee663d [2024-11-19T18:57:35.339Z] ---> 2663a964108b [2024-11-19T18:57:35.339Z] 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-11-19T18:57:35.339Z] ---> Running in e230dd3e76ea [2024-11-19T18:57:35.597Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-11-19T18:57:35.857Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T18:57:35.857Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T18:57:35.857Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T18:57:36.117Z] Removing intermediate container e230dd3e76ea [2024-11-19T18:57:36.117Z] ---> ff8a618a4eb9 [2024-11-19T18:57:36.117Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T18:57:36.117Z] ---> Running in e1a045716e51 [2024-11-19T18:57:37.054Z] Removing intermediate container e1a045716e51 [2024-11-19T18:57:37.054Z] ---> 0a4eafb0f148 [2024-11-19T18:57:37.054Z] 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-11-19T18:57:37.314Z] ---> Running in 05fa5100ec31 [2024-11-19T18:57:37.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:37.573Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:37.832Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:38.400Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:57:38.400Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T18:57:38.400Z] (2/10) Installing curl (8.9.1-r1) [2024-11-19T18:57:38.400Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T18:57:38.400Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-19T18:57:38.400Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-19T18:57:38.400Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-19T18:57:38.400Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-19T18:57:38.400Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T18:57:38.967Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T18:57:39.226Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-19T18:57:39.226Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T18:57:39.226Z] OK: 331 MiB in 90 packages [2024-11-19T18:57:40.602Z] Removing intermediate container 05fa5100ec31 [2024-11-19T18:57:40.602Z] ---> 1701a1fc4a18 [2024-11-19T18:57:40.602Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-19T18:57:40.602Z] ---> Running in bc38a332c2da [2024-11-19T18:57:40.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:40.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:40.863Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:41.430Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:57:41.430Z] Upgrading critical system libraries and apk-tools: [2024-11-19T18:57:41.430Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-19T18:57:41.430Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T18:57:41.430Z] Continuing the upgrade transaction with new apk-tools: [2024-11-19T18:57:41.430Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:41.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:41.947Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:42.515Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:57:42.515Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T18:57:42.515Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-19T18:57:42.515Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T18:57:42.515Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-19T18:57:42.515Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T18:57:42.515Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T18:57:42.515Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T18:57:42.515Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-19T18:57:42.515Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-19T18:57:42.515Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-19T18:57:42.515Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T18:57:42.515Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-19T18:57:42.515Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T18:57:42.515Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T18:57:42.515Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T18:57:42.515Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T18:57:42.515Z] Executing ca-certificates-20240226-r0.trigger [2024-11-19T18:57:42.515Z] OK: 332 MiB in 90 packages [2024-11-19T18:57:44.416Z] Removing intermediate container bc38a332c2da [2024-11-19T18:57:44.416Z] ---> 29eeaf2af3be [2024-11-19T18:57:44.416Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-19T18:57:44.416Z] ---> fa240888b11b [2024-11-19T18:57:44.416Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-19T18:57:44.674Z] ---> b2e6fdeba748 [2024-11-19T18:57:44.674Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-19T18:57:44.934Z] ---> 9bbbe0c5db7f [2024-11-19T18:57:44.934Z] Successfully built 9bbbe0c5db7f [2024-11-19T18:57:44.934Z] 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-11-19T18:57:45.341Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-19T18:57:45.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T18:57:45.426Z] prd-ubuntu20.04-docker-8c-8g-27054 does not seem to be running inside a container [2024-11-19T18:57:45.468Z] $ 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-11-19T18:57:46.118Z] $ docker top 5cfd399465d695b7a243b3689617b16492a596a39d74538ebf961054b01df737 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-19T18:57:46.474Z] + make test [2024-11-19T18:57:46.474Z] echo "make test" [2024-11-19T18:57:46.474Z] make test [Pipeline] } [2024-11-19T18:57:46.484Z] $ docker stop --time=1 5cfd399465d695b7a243b3689617b16492a596a39d74538ebf961054b01df737 [2024-11-19T18:57:47.949Z] $ docker rm -f --volumes 5cfd399465d695b7a243b3689617b16492a596a39d74538ebf961054b01df737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-19T18:57:48.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-19T18:57:48.861Z] + ls -al . [2024-11-19T18:57:48.861Z] total 212 [2024-11-19T18:57:48.861Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 19 18:57 . [2024-11-19T18:57:48.861Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:56 .. [2024-11-19T18:57:48.861Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 18:57 .git [2024-11-19T18:57:48.861Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:56 .github [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 19 18:56 .gitignore [2024-11-19T18:57:48.861Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 18:57 .semver [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 19 18:56 Attribution.txt [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 19 18:56 CHANGELOG.md [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 19 18:56 Doxyfile [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 18:56 GOVERNANCE.md [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 19 18:56 Jenkinsfile [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 19 18:56 LICENSE [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 19 18:56 Makefile [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 19 18:56 OWNERS.md [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 19 18:56 README.IOT.md [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 19 18:56 README.md [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 19 18:56 README.v3.md [2024-11-19T18:57:48.861Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 18:57 VERSION [2024-11-19T18:57:48.861Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:56 docs [2024-11-19T18:57:48.861Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:56 include [2024-11-19T18:57:48.861Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:56 scripts [2024-11-19T18:57:48.861Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:56 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T18:57:49.184Z] + 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=e87cc51fee30eadc7e069d4483af2ae040c670cc --label arch=amd64 --label version=0.0.0 . [2024-11-19T18:57:49.185Z] Sending build context to Docker daemon 5.148MB [2024-11-19T18:57:49.185Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-19T18:57:49.185Z] Step 2/18 : FROM ${BASE} [2024-11-19T18:57:49.185Z] ---> 9bbbe0c5db7f [2024-11-19T18:57:49.185Z] Step 3/18 : LABEL maintainer="IOTech " [2024-11-19T18:57:49.185Z] ---> Running in eb16223ed82b [2024-11-19T18:57:49.185Z] Removing intermediate container eb16223ed82b [2024-11-19T18:57:49.185Z] ---> cfa8cd2d5a77 [2024-11-19T18:57:49.185Z] 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-11-19T18:57:49.185Z] ---> Running in 648bfff7fbd8 [2024-11-19T18:57:49.444Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T18:57:50.013Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T18:57:50.013Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T18:57:50.013Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T18:57:50.272Z] Removing intermediate container 648bfff7fbd8 [2024-11-19T18:57:50.272Z] ---> 7f1f97f5e490 [2024-11-19T18:57:50.272Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T18:57:50.272Z] ---> Running in 643ffd9edcb2 [2024-11-19T18:57:50.839Z] Removing intermediate container 643ffd9edcb2 [2024-11-19T18:57:50.839Z] ---> 02d951430ab4 [2024-11-19T18:57:50.839Z] 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-11-19T18:57:50.839Z] ---> Running in 7092f7890fb9 [2024-11-19T18:57:51.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:51.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:51.355Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:51.614Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:57:51.874Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T18:57:51.874Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-19T18:57:51.874Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T18:57:51.874Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T18:57:51.874Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T18:57:51.874Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T18:57:51.874Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-19T18:57:51.874Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-19T18:57:51.874Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-19T18:57:51.874Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-19T18:57:51.874Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-19T18:57:52.160Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T18:57:52.160Z] OK: 337 MiB in 101 packages [2024-11-19T18:57:52.728Z] Removing intermediate container 7092f7890fb9 [2024-11-19T18:57:52.728Z] ---> afbd414bfb8a [2024-11-19T18:57:52.728Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-19T18:57:52.728Z] ---> Running in e630c8fe33ae [2024-11-19T18:57:52.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:52.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:53.247Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-11-19T18:57:53.816Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T18:57:53.817Z] OK: 337 MiB in 101 packages [2024-11-19T18:57:54.075Z] Removing intermediate container e630c8fe33ae [2024-11-19T18:57:54.075Z] ---> 7f1294b7d648 [2024-11-19T18:57:54.075Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-19T18:57:54.075Z] ---> 486bfc110e31 [2024-11-19T18:57:54.075Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-19T18:57:54.335Z] ---> c2776dc4b9c6 [2024-11-19T18:57:54.335Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-19T18:57:54.335Z] ---> 5157ec3fbd46 [2024-11-19T18:57:54.335Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-19T18:57:54.594Z] ---> 54852ed3f9ef [2024-11-19T18:57:54.594Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-19T18:57:54.594Z] ---> d9c748987f3a [2024-11-19T18:57:54.594Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-19T18:57:54.594Z] ---> f5cc952a4728 [2024-11-19T18:57:54.594Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-19T18:57:54.852Z] ---> Running in bd5c39cc4508 [2024-11-19T18:57:54.852Z] Removing intermediate container bd5c39cc4508 [2024-11-19T18:57:54.852Z] ---> 99af96b98070 [2024-11-19T18:57:54.852Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-19T18:57:54.852Z] ---> Running in 43d77acfb52a [2024-11-19T18:57:54.852Z] Removing intermediate container 43d77acfb52a [2024-11-19T18:57:54.852Z] ---> e3d3a9eeea4d [2024-11-19T18:57:54.852Z] Step 16/18 : LABEL arch=amd64 [2024-11-19T18:57:54.852Z] ---> Running in 49c2958e072b [2024-11-19T18:57:55.110Z] Removing intermediate container 49c2958e072b [2024-11-19T18:57:55.110Z] ---> 9b2402d7c1a4 [2024-11-19T18:57:55.110Z] Step 17/18 : LABEL git_sha=e87cc51fee30eadc7e069d4483af2ae040c670cc [2024-11-19T18:57:55.110Z] ---> Running in 5587cf469287 [2024-11-19T18:57:55.110Z] Removing intermediate container 5587cf469287 [2024-11-19T18:57:55.110Z] ---> dda972568698 [2024-11-19T18:57:55.110Z] Step 18/18 : LABEL version=0.0.0 [2024-11-19T18:57:55.110Z] ---> Running in 71f799d2787b [2024-11-19T18:57:55.110Z] Removing intermediate container 71f799d2787b [2024-11-19T18:57:55.110Z] ---> a7c9aae7d4b1 [2024-11-19T18:57:55.110Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-11-19T18:57:55.110Z] Successfully built a7c9aae7d4b1 [2024-11-19T18:57:55.368Z] 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-11-19T18:57:55.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T18:57:55.868Z] [2024-11-19T18:57:55.868Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T18:57:56.165Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T18:57:56.165Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-19T18:57:56.165Z] 5eb5b503b376: Pulling fs layer [2024-11-19T18:57:56.165Z] 5c69ac0246d0: Pulling fs layer [2024-11-19T18:57:56.165Z] ec43610c2a17: Pulling fs layer [2024-11-19T18:57:56.165Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-19T18:57:56.165Z] 33b1e0a273af: Pulling fs layer [2024-11-19T18:57:56.165Z] 5d3b04190fa2: Pulling fs layer [2024-11-19T18:57:56.165Z] 2f39f015ded8: Pulling fs layer [2024-11-19T18:57:56.165Z] 3a2ae6a8a46f: Waiting [2024-11-19T18:57:56.165Z] 33b1e0a273af: Waiting [2024-11-19T18:57:56.165Z] 5d3b04190fa2: Waiting [2024-11-19T18:57:56.165Z] 5c69ac0246d0: Verifying Checksum [2024-11-19T18:57:56.165Z] 5c69ac0246d0: Download complete [2024-11-19T18:57:56.165Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-19T18:57:56.165Z] 3a2ae6a8a46f: Download complete [2024-11-19T18:57:56.165Z] 33b1e0a273af: Verifying Checksum [2024-11-19T18:57:56.165Z] 33b1e0a273af: Download complete [2024-11-19T18:57:56.165Z] 5d3b04190fa2: Verifying Checksum [2024-11-19T18:57:56.165Z] 5d3b04190fa2: Download complete [2024-11-19T18:57:56.165Z] ec43610c2a17: Verifying Checksum [2024-11-19T18:57:56.165Z] ec43610c2a17: Download complete [2024-11-19T18:57:56.423Z] 5eb5b503b376: Verifying Checksum [2024-11-19T18:57:56.423Z] 5eb5b503b376: Download complete [2024-11-19T18:57:56.990Z] 2f39f015ded8: Download complete [2024-11-19T18:57:57.562Z] 5eb5b503b376: Pull complete [2024-11-19T18:57:57.562Z] 5c69ac0246d0: Pull complete [2024-11-19T18:57:58.131Z] ec43610c2a17: Pull complete [2024-11-19T18:57:58.131Z] 3a2ae6a8a46f: Pull complete [2024-11-19T18:57:58.131Z] 33b1e0a273af: Pull complete [2024-11-19T18:57:58.390Z] 5d3b04190fa2: Pull complete [2024-11-19T18:58:02.576Z] 2f39f015ded8: Pull complete [2024-11-19T18:58:02.577Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-19T18:58:02.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T18:58:02.577Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T18:58:02.678Z] prd-ubuntu20.04-docker-8c-8g-27054 does not seem to be running inside a container [2024-11-19T18:58:02.708Z] $ 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-11-19T18:58:10.054Z] $ docker top fd4a5e3cdbeb159c82d4917742421158e2b100d9c8d7ac57cc2b712c79da91a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T18:58:10.440Z] ---> job-cost.sh [2024-11-19T18:58:10.440Z] lf-activate-venv: SKIPPING [2024-11-19T18:58:10.440Z] INFO: No Stack... [2024-11-19T18:58:10.700Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-19T18:58:10.960Z] INFO: Archiving Costs [Pipeline] sh [2024-11-19T18:58:11.251Z] + cut -d, -f6 [2024-11-19T18:58:11.251Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/cost.csv [Pipeline] lock [2024-11-19T18:58:11.267Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-5-stack-cost] [2024-11-19T18:58:11.282Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-5-stack-cost] did not exist. Created. [2024-11-19T18:58:11.290Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-19T18:58:11.613Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-19T18:58:11.662Z] Stashed 1 file(s) [Pipeline] } [2024-11-19T18:58:11.674Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-19T18:58:11.700Z] $ docker stop --time=1 fd4a5e3cdbeb159c82d4917742421158e2b100d9c8d7ac57cc2b712c79da91a0 [2024-11-19T18:58:12.854Z] $ docker rm -f --volumes fd4a5e3cdbeb159c82d4917742421158e2b100d9c8d7ac57cc2b712c79da91a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-19T18:59:49.032Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27056 in /w/workspace/edgexfoundry_device-sdk-c_PR-517 [Pipeline] { [Pipeline] ws [2024-11-19T18:59:49.054Z] Running in /w/workspace/device-sdk-c/5 [Pipeline] { [Pipeline] checkout [2024-11-19T18:59:52.110Z] Selected Git installation does not exist. Using Default [2024-11-19T18:59:52.110Z] The recommended git tool is: NONE [2024-11-19T18:59:59.523Z] using credential edgex-jenkins-ssh [2024-11-19T18:59:59.544Z] Cloning the remote Git repository [2024-11-19T18:59:59.652Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-11-19T18:59:59.902Z] > git init /w/workspace/device-sdk-c/5 # timeout=10 [2024-11-19T19:00:00.141Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-11-19T19:00:00.142Z] > git --version # timeout=10 [2024-11-19T19:00:00.172Z] > git --version # 'git version 2.25.1' [2024-11-19T19:00:00.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-19T19:00:00.367Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-19T19:00:01.518Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-11-19T19:00:01.561Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-19T19:00:03.408Z] Merging remotes/origin/main commit b4a60c126f741d84c14ee104c3263f3235d33930 into PR head commit d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 [2024-11-19T19:00:02.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-11-19T19:00:02.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-11-19T19:00:02.804Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-19T19:00:02.827Z] > 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-11-19T19:00:03.424Z] > git config core.sparsecheckout # timeout=10 [2024-11-19T19:00:03.502Z] > git checkout -f d2bfa6c0d2e9cac3e9aea0b39f1499b8e61d7271 # timeout=10 [2024-11-19T19:00:03.699Z] > git remote # timeout=10 [2024-11-19T19:00:03.730Z] > git config --get remote.origin.url # timeout=10 [2024-11-19T19:00:03.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-19T19:00:03.778Z] > git merge b4a60c126f741d84c14ee104c3263f3235d33930 # timeout=10 [2024-11-19T19:00:04.794Z] Merge succeeded, producing d23445fdd57b3f62bd5ca84fa5190e4c02c1cc5c [2024-11-19T19:00:04.794Z] Checking out Revision d23445fdd57b3f62bd5ca84fa5190e4c02c1cc5c (PR-517) [2024-11-19T19:00:04.764Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-19T19:00:04.800Z] > git config core.sparsecheckout # timeout=10 [2024-11-19T19:00:04.813Z] > git checkout -f d23445fdd57b3f62bd5ca84fa5190e4c02c1cc5c # timeout=10 [2024-11-19T19:00:08.536Z] Commit message: "Merge commit 'b4a60c126f741d84c14ee104c3263f3235d33930' into HEAD" [2024-11-19T19:00:08.560Z] First time build. Skipping changelog. [2024-11-19T19:00:08.541Z] > git rev-list --no-walk c657e349c2ab6e9eba269d958c8844669a195ef4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-19T19:00:10.354Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-19T19:00:10.355Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-19T19:00:10.355Z] Dload Upload Total Spent Left Speed [2024-11-19T19:00:10.355Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2024-11-19T19:00:10.691Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-19T19:00:11.030Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-19T19:00:11.030Z] + sudo tee /etc/docker/daemon.new [2024-11-19T19:00:11.030Z] { [2024-11-19T19:00:11.030Z] "registry-mirrors": [ [2024-11-19T19:00:11.030Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-19T19:00:11.030Z] ], [2024-11-19T19:00:11.030Z] "bip": "10.250.0.254/24", [2024-11-19T19:00:11.030Z] "hosts": [ [2024-11-19T19:00:11.030Z] "tcp://0.0.0.0:5555", [2024-11-19T19:00:11.030Z] "unix:///var/run/docker.sock" [2024-11-19T19:00:11.030Z] ], [2024-11-19T19:00:11.030Z] "mtu": 1458, [2024-11-19T19:00:11.030Z] "selinux-enabled": true, [2024-11-19T19:00:11.030Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-19T19:00:11.030Z] } [Pipeline] sh [2024-11-19T19:00:11.365Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-19T19:00:11.702Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-19T19:00:30.592Z] provisioning config files... [2024-11-19T19:00:30.616Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/5@tmp/config11975273124265253869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:00:32.325Z] ---> ****-login.sh [2024-11-19T19:00:32.325Z] nexus3.edgexfoundry.org:10001 [2024-11-19T19:00:32.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T19:00:35.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T19:00:35.490Z] Configure a credential helper to remove this warning. See [2024-11-19T19:00:35.490Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T19:00:35.490Z] [2024-11-19T19:00:35.490Z] Login Succeeded [2024-11-19T19:00:35.490Z] nexus3.edgexfoundry.org:10002 [2024-11-19T19:00:35.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T19:00:35.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T19:00:35.759Z] Configure a credential helper to remove this warning. See [2024-11-19T19:00:35.759Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T19:00:35.759Z] [2024-11-19T19:00:35.759Z] Login Succeeded [2024-11-19T19:00:35.759Z] nexus3.edgexfoundry.org:10003 [2024-11-19T19:00:36.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T19:00:36.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T19:00:36.031Z] Configure a credential helper to remove this warning. See [2024-11-19T19:00:36.031Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T19:00:36.031Z] [2024-11-19T19:00:36.031Z] Login Succeeded [2024-11-19T19:00:36.031Z] nexus3.edgexfoundry.org:10004 [2024-11-19T19:00:36.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T19:00:36.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T19:00:36.303Z] Configure a credential helper to remove this warning. See [2024-11-19T19:00:36.303Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T19:00:36.303Z] [2024-11-19T19:00:36.303Z] Login Succeeded [2024-11-19T19:00:36.303Z] ****.io [2024-11-19T19:00:36.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-19T19:00:36.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-19T19:00:36.837Z] Configure a credential helper to remove this warning. See [2024-11-19T19:00:36.837Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-19T19:00:36.837Z] [2024-11-19T19:00:36.837Z] Login Succeeded [2024-11-19T19:00:36.837Z] ---> ****-login.sh ends [Pipeline] } [2024-11-19T19:00:36.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-19T19:00:37.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T19:00:37.169Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-11-19T19:00:37.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-19T19:00:37.201Z] ========================================================= [2024-11-19T19:00:37.201Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-11-19T19:00:37.201Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T19:00:37.550Z] + 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-11-19T19:00:37.815Z] Sending build context to Docker daemon 3.086MB [2024-11-19T19:00:38.083Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-11-19T19:00:38.083Z] Step 2/22 : FROM ${BASE} as builder [2024-11-19T19:00:44.107Z] latest: Pulling from edgex-devops/edgex-gcc-base-arm64 [2024-11-19T19:00:44.108Z] 579b34f0a95b: Pulling fs layer [2024-11-19T19:00:44.108Z] e71477ac5e1b: Pulling fs layer [2024-11-19T19:00:44.379Z] 579b34f0a95b: Download complete [2024-11-19T19:00:44.960Z] 579b34f0a95b: Pull complete [2024-11-19T19:00:46.903Z] e71477ac5e1b: Verifying Checksum [2024-11-19T19:00:46.903Z] e71477ac5e1b: Download complete [2024-11-19T19:00:59.220Z] e71477ac5e1b: Pull complete [2024-11-19T19:00:59.220Z] Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-11-19T19:00:59.220Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-11-19T19:00:59.220Z] ---> 2b552cad5dd9 [2024-11-19T19:00:59.220Z] 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-11-19T19:00:59.220Z] ---> Running in 538f6dd24d8c [2024-11-19T19:00:59.804Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T19:01:00.387Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T19:01:00.387Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T19:01:00.387Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T19:01:01.350Z] Removing intermediate container 538f6dd24d8c [2024-11-19T19:01:01.350Z] ---> c8999cc45293 [2024-11-19T19:01:01.350Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T19:01:01.350Z] ---> Running in 8023fcbcc011 [2024-11-19T19:01:03.307Z] Removing intermediate container 8023fcbcc011 [2024-11-19T19:01:03.307Z] ---> 9f45fbd12a56 [2024-11-19T19:01:03.307Z] 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-11-19T19:01:03.307Z] ---> Running in 67553b83992c [2024-11-19T19:01:04.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:01:04.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:01:05.119Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:01:06.076Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:01:06.076Z] (1/17) Installing hiredis (1.1.0-r2) [2024-11-19T19:01:06.076Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-11-19T19:01:06.076Z] (3/17) Installing libcbor (0.10.2-r1) [2024-11-19T19:01:06.076Z] (4/17) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T19:01:07.038Z] (5/17) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T19:01:07.038Z] (6/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T19:01:07.304Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-11-19T19:01:07.304Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T19:01:07.304Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T19:01:07.304Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T19:01:07.304Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T19:01:07.304Z] (12/17) Installing libblkid (2.38.1-r8) [2024-11-19T19:01:07.304Z] (13/17) Installing libuuid (2.38.1-r8) [2024-11-19T19:01:07.304Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-11-19T19:01:07.304Z] (15/17) Installing libmount (2.38.1-r8) [2024-11-19T19:01:07.304Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-11-19T19:01:07.304Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-11-19T19:01:07.572Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T19:01:07.572Z] OK: 333 MiB in 99 packages [2024-11-19T19:01:08.990Z] Removing intermediate container 67553b83992c [2024-11-19T19:01:08.990Z] ---> 704de23cb95b [2024-11-19T19:01:08.990Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-11-19T19:01:08.990Z] ---> Running in 4067696f9234 [2024-11-19T19:01:10.944Z] Removing intermediate container 4067696f9234 [2024-11-19T19:01:10.944Z] ---> 1c5e38f25771 [2024-11-19T19:01:10.944Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-11-19T19:01:11.213Z] ---> 23408e59f3d9 [2024-11-19T19:01:11.213Z] Step 8/22 : COPY src /tmp/sdk/src [2024-11-19T19:01:11.799Z] ---> 181808fcec5e [2024-11-19T19:01:11.799Z] Step 9/22 : COPY include /tmp/sdk/include [2024-11-19T19:01:12.393Z] ---> 0bb29e1adbf3 [2024-11-19T19:01:12.393Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-11-19T19:01:12.981Z] ---> 9ae4e322e05f [2024-11-19T19:01:12.981Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-11-19T19:01:13.943Z] ---> 7ca58eb9ef4b [2024-11-19T19:01:13.943Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-11-19T19:01:14.534Z] ---> 5c05f15f011a [2024-11-19T19:01:14.534Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-11-19T19:01:14.534Z] ---> Running in 7dff845d9294 [2024-11-19T19:01:15.497Z] + CPPCHECK=false [2024-11-19T19:01:15.497Z] + DOCGEN=false [2024-11-19T19:01:15.497Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-11-19T19:01:15.497Z] + '[' 0 -gt 0 ] [2024-11-19T19:01:15.497Z] + readlink -f ./scripts/build.sh [2024-11-19T19:01:15.497Z] + dirname /tmp/sdk/scripts/build.sh [2024-11-19T19:01:15.497Z] + dirname /tmp/sdk/scripts [2024-11-19T19:01:15.497Z] + ROOT=/tmp/sdk [2024-11-19T19:01:15.497Z] + cd /tmp/sdk [2024-11-19T19:01:15.497Z] + mkdir -p /tmp/sdk/build/release [2024-11-19T19:01:15.497Z] + cd /tmp/sdk/build/release [2024-11-19T19:01:15.497Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-11-19T19:01:15.763Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T19:01:16.029Z] -- Detecting C compiler ABI info [2024-11-19T19:01:16.295Z] -- Detecting C compiler ABI info - done [2024-11-19T19:01:16.295Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T19:01:16.295Z] -- Detecting C compile features [2024-11-19T19:01:16.295Z] -- Detecting C compile features - done [2024-11-19T19:01:16.561Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T19:01:16.561Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T19:01:16.561Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T19:01:16.562Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T19:01:16.562Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T19:01:16.828Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T19:01:16.828Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T19:01:16.828Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T19:01:16.828Z] -- /opt/iotech/iot/1.5/include [2024-11-19T19:01:16.828Z] -- C SDK 0.0.0 for Linux [2024-11-19T19:01:16.828Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T19:01:17.095Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T19:01:17.361Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T19:01:17.361Z] -- Configuring done (1.8s) [2024-11-19T19:01:17.627Z] -- Generating done (0.3s) [2024-11-19T19:01:17.627Z] -- Build files have been written to: /tmp/sdk/build/release [2024-11-19T19:01:17.628Z] + make all package [2024-11-19T19:01:17.628Z] + tee release.log [2024-11-19T19:01:17.895Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T19:01:18.863Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T19:01:19.821Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T19:01:20.415Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T19:01:21.378Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T19:01:21.959Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T19:01:24.533Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T19:01:25.494Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-11-19T19:01:25.494Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T19:01:25.494Z] 294 | while (privateConfig) [2024-11-19T19:01:25.494Z] | ^~~~~~~~~~~~~ [2024-11-19T19:01:25.494Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-11-19T19:01:25.494Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T19:01:25.494Z] | ^~~~~~~~~~~~~ [2024-11-19T19:01:25.494Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T19:01:25.494Z] 271 | while (result) [2024-11-19T19:01:25.494Z] | ^~~~~~ [2024-11-19T19:01:25.494Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-11-19T19:01:25.494Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-11-19T19:01:25.494Z] | ^~~~~~ [2024-11-19T19:01:25.761Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T19:01:26.029Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T19:01:26.989Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T19:01:29.569Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T19:01:30.168Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T19:01:30.751Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T19:01:31.712Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T19:01:32.296Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T19:01:33.260Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T19:01:33.529Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T19:01:36.118Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T19:01:36.118Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T19:01:36.705Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T19:01:38.126Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T19:01:44.804Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T19:01:45.072Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T19:01:45.657Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T19:01:46.245Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T19:01:46.512Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T19:01:47.935Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T19:01:49.883Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T19:01:50.151Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T19:01:51.113Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T19:01:51.698Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T19:01:51.967Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T19:01:51.967Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T19:01:51.967Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T19:01:51.967Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T19:01:51.967Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T19:01:51.967Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T19:01:51.967Z] | ^ [2024-11-19T19:01:53.377Z] /tmp/sdk/src/c/service.c:1074:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-11-19T19:01:53.377Z] 1074 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-11-19T19:01:53.377Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T19:01:53.377Z] /tmp/sdk/src/c/service.c:886:68: note: 'deviceservices_config' was declared here [2024-11-19T19:01:53.377Z] 886 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-11-19T19:01:53.377Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-11-19T19:01:54.343Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T19:01:55.306Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T19:01:55.574Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T19:01:56.172Z] [ 68%] Linking C shared library libcsdk.so [2024-11-19T19:01:56.443Z] [ 68%] Built target csdk [2024-11-19T19:01:56.443Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T19:01:57.405Z] [ 72%] Linking C executable template [2024-11-19T19:01:57.673Z] [ 72%] Built target template [2024-11-19T19:01:57.673Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T19:01:58.255Z] [ 76%] Linking C executable device-counter [2024-11-19T19:01:58.841Z] [ 76%] Built target device-counter [2024-11-19T19:01:58.841Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T19:01:59.438Z] [ 80%] Linking C executable device-random [2024-11-19T19:01:59.706Z] [ 80%] Built target device-random [2024-11-19T19:01:59.706Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T19:02:00.292Z] [ 84%] Linking C executable device-gyro [2024-11-19T19:02:00.570Z] [ 84%] Built target device-gyro [2024-11-19T19:02:00.570Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T19:02:01.318Z] [ 88%] Linking C executable device-bitfields [2024-11-19T19:02:01.595Z] [ 88%] Built target device-bitfields [2024-11-19T19:02:01.595Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T19:02:02.574Z] [ 92%] Linking C executable template-discovery [2024-11-19T19:02:02.846Z] [ 92%] Built target template-discovery [2024-11-19T19:02:02.846Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T19:02:03.824Z] [ 96%] Linking C executable device-file [2024-11-19T19:02:04.099Z] [ 96%] Built target device-file [2024-11-19T19:02:04.099Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T19:02:04.688Z] [100%] Linking C executable device-terminal [2024-11-19T19:02:04.955Z] [100%] Built target device-terminal [2024-11-19T19:02:05.223Z] Run CPack packaging tool... [2024-11-19T19:02:05.223Z] CPack: Create package using TGZ [2024-11-19T19:02:05.223Z] CPack: Install projects [2024-11-19T19:02:05.223Z] CPack: - Run preinstall target for: Csdk [2024-11-19T19:02:05.808Z] CPack: - Install project: Csdk [] [2024-11-19T19:02:05.808Z] CPack: Create package [2024-11-19T19:02:06.078Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-11-19T19:02:06.078Z] + '[' false '=' true ] [2024-11-19T19:02:06.078Z] + '[' false '=' true ] [2024-11-19T19:02:06.078Z] + mkdir -p /tmp/sdk/build/debug [2024-11-19T19:02:06.078Z] + cd /tmp/sdk/build/debug [2024-11-19T19:02:06.078Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-11-19T19:02:06.345Z] -- The C compiler identification is GNU 12.2.1 [2024-11-19T19:02:06.345Z] -- Detecting C compiler ABI info [2024-11-19T19:02:06.616Z] -- Detecting C compiler ABI info - done [2024-11-19T19:02:06.887Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-11-19T19:02:06.888Z] -- Detecting C compile features [2024-11-19T19:02:06.888Z] -- Detecting C compile features - done [2024-11-19T19:02:06.888Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-11-19T19:02:07.155Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-11-19T19:02:07.155Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-11-19T19:02:07.155Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-11-19T19:02:07.155Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-11-19T19:02:07.155Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-11-19T19:02:07.155Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-11-19T19:02:07.155Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-11-19T19:02:07.155Z] -- /opt/iotech/iot/1.5/include [2024-11-19T19:02:07.155Z] -- C SDK 0.0.0 for Linux [2024-11-19T19:02:07.155Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-11-19T19:02:07.423Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-11-19T19:02:07.691Z] -- Found Curses: /usr/lib/libcurses.so [2024-11-19T19:02:07.691Z] -- Configuring done (1.7s) [2024-11-19T19:02:07.958Z] -- Generating done (0.2s) [2024-11-19T19:02:07.958Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-11-19T19:02:07.958Z] + make [2024-11-19T19:02:07.958Z] + tee debug.log [2024-11-19T19:02:08.226Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-11-19T19:02:08.493Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-11-19T19:02:09.077Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-11-19T19:02:09.345Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-11-19T19:02:09.613Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-11-19T19:02:09.888Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-11-19T19:02:10.848Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-11-19T19:02:11.114Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-11-19T19:02:11.382Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-11-19T19:02:11.648Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-11-19T19:02:12.237Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-11-19T19:02:12.820Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-11-19T19:02:13.087Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-11-19T19:02:13.354Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-11-19T19:02:13.936Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-11-19T19:02:14.202Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-11-19T19:02:14.468Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-11-19T19:02:15.051Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-11-19T19:02:15.317Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-11-19T19:02:15.582Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-11-19T19:02:16.162Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-11-19T19:02:17.566Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-11-19T19:02:17.566Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-11-19T19:02:17.832Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-11-19T19:02:18.425Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-11-19T19:02:18.425Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-11-19T19:02:19.006Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-11-19T19:02:20.412Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-11-19T19:02:20.679Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-11-19T19:02:20.947Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-11-19T19:02:21.219Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-11-19T19:02:21.489Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-11-19T19:02:21.489Z] /tmp/sdk/src/c/service.c:919:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T19:02:21.489Z] 919 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-11-19T19:02:21.489Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-11-19T19:02:21.489Z] /tmp/sdk/src/c/service.c:920:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-11-19T19:02:21.489Z] 920 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-11-19T19:02:21.489Z] | ^ [2024-11-19T19:02:22.072Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-11-19T19:02:22.656Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-11-19T19:02:22.922Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-11-19T19:02:23.188Z] [ 68%] Linking C shared library libcsdk.so [2024-11-19T19:02:23.454Z] [ 68%] Built target csdk [2024-11-19T19:02:23.454Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-11-19T19:02:23.720Z] [ 72%] Linking C executable template [2024-11-19T19:02:23.987Z] [ 72%] Built target template [2024-11-19T19:02:24.255Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-11-19T19:02:24.522Z] [ 76%] Linking C executable device-counter [2024-11-19T19:02:25.686Z] [ 76%] Built target device-counter [2024-11-19T19:02:25.686Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-11-19T19:02:25.686Z] [ 80%] Linking C executable device-random [2024-11-19T19:02:25.686Z] [ 80%] Built target device-random [2024-11-19T19:02:25.686Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-11-19T19:02:25.686Z] [ 84%] Linking C executable device-gyro [2024-11-19T19:02:26.283Z] [ 84%] Built target device-gyro [2024-11-19T19:02:26.283Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-11-19T19:02:26.548Z] [ 88%] Linking C executable device-bitfields [2024-11-19T19:02:26.815Z] [ 88%] Built target device-bitfields [2024-11-19T19:02:26.815Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-11-19T19:02:27.080Z] [ 92%] Linking C executable template-discovery [2024-11-19T19:02:27.662Z] [ 92%] Built target template-discovery [2024-11-19T19:02:27.662Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-11-19T19:02:27.928Z] [ 96%] Linking C executable device-file [2024-11-19T19:02:28.196Z] [ 96%] Built target device-file [2024-11-19T19:02:28.196Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-11-19T19:02:28.778Z] [100%] Linking C executable device-terminal [2024-11-19T19:02:29.045Z] [100%] Built target device-terminal [2024-11-19T19:02:29.045Z] make: Entering directory '/tmp/sdk/build/release' [2024-11-19T19:02:29.310Z] [ 68%] Built target csdk [2024-11-19T19:02:29.310Z] [ 72%] Built target template [2024-11-19T19:02:29.310Z] [ 76%] Built target device-counter [2024-11-19T19:02:29.310Z] [ 80%] Built target device-random [2024-11-19T19:02:29.575Z] [ 84%] Built target device-gyro [2024-11-19T19:02:29.575Z] [ 88%] Built target device-bitfields [2024-11-19T19:02:29.575Z] [ 92%] Built target template-discovery [2024-11-19T19:02:29.575Z] [ 96%] Built target device-file [2024-11-19T19:02:29.575Z] [100%] Built target device-terminal [2024-11-19T19:02:29.845Z] Install the project... [2024-11-19T19:02:29.845Z] -- Install configuration: "Release" [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/lib/libcsdk.so [2024-11-19T19:02:29.845Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include/devsdk [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include/edgex [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include/edgex/devices.h [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-11-19T19:02:29.845Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-11-19T19:02:29.845Z] make: Leaving directory '/tmp/sdk/build/release' [2024-11-19T19:02:31.256Z] Removing intermediate container 7dff845d9294 [2024-11-19T19:02:31.256Z] ---> d1e84901e918 [2024-11-19T19:02:31.256Z] Step 14/22 : FROM ${BASE} [2024-11-19T19:02:31.256Z] ---> 2b552cad5dd9 [2024-11-19T19:02:31.256Z] Step 15/22 : LABEL maintainer="IOTech " [2024-11-19T19:02:31.256Z] ---> Running in 779e3fb280c7 [2024-11-19T19:02:31.523Z] Removing intermediate container 779e3fb280c7 [2024-11-19T19:02:31.523Z] ---> 8859cc50ab23 [2024-11-19T19:02:31.523Z] 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-11-19T19:02:31.523Z] ---> Running in 76c10ce2ac41 [2024-11-19T19:02:32.482Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-11-19T19:02:33.065Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T19:02:33.065Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T19:02:33.065Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T19:02:33.651Z] Removing intermediate container 76c10ce2ac41 [2024-11-19T19:02:33.651Z] ---> 1141f203c259 [2024-11-19T19:02:33.651Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T19:02:33.920Z] ---> Running in 1dfb2eb0a4b3 [2024-11-19T19:02:35.859Z] Removing intermediate container 1dfb2eb0a4b3 [2024-11-19T19:02:35.859Z] ---> e461add235bb [2024-11-19T19:02:35.859Z] 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-11-19T19:02:35.859Z] ---> Running in cb8f27ac4dc2 [2024-11-19T19:02:36.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:02:37.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:02:37.607Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:02:38.564Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:02:38.564Z] (1/10) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T19:02:38.564Z] (2/10) Installing curl (8.9.1-r1) [2024-11-19T19:02:38.564Z] (3/10) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-11-19T19:02:38.564Z] (4/10) Installing dumb-init (1.2.5-r2) [2024-11-19T19:02:38.564Z] (5/10) Installing hiredis (1.1.0-r2) [2024-11-19T19:02:38.564Z] (6/10) Installing hiredis-dev (1.1.0-r2) [2024-11-19T19:02:38.564Z] (7/10) Installing libcbor (0.10.2-r1) [2024-11-19T19:02:38.564Z] (8/10) Installing iotech-iot-1.5 (1.5.4-r2) [2024-11-19T19:02:39.143Z] (9/10) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-11-19T19:02:39.411Z] (10/10) Installing libuuid (2.38.1-r8) [2024-11-19T19:02:39.411Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T19:02:39.411Z] OK: 328 MiB in 90 packages [2024-11-19T19:02:40.817Z] Removing intermediate container cb8f27ac4dc2 [2024-11-19T19:02:40.817Z] ---> a9d355c5149a [2024-11-19T19:02:40.817Z] Step 19/22 : RUN apk --no-cache upgrade [2024-11-19T19:02:40.817Z] ---> Running in 77882962f1a9 [2024-11-19T19:02:41.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:02:41.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:02:42.365Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:02:43.325Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:02:43.325Z] Upgrading critical system libraries and apk-tools: [2024-11-19T19:02:43.325Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-11-19T19:02:43.325Z] Executing busybox-1.36.1-r4.trigger [2024-11-19T19:02:43.593Z] Continuing the upgrade transaction with new apk-tools: [2024-11-19T19:02:43.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:02:43.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:02:44.441Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:02:45.399Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:02:45.399Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T19:02:45.399Z] Executing busybox-1.36.1-r7.post-upgrade [2024-11-19T19:02:45.399Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T19:02:45.399Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-11-19T19:02:45.399Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T19:02:45.399Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T19:02:45.399Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-11-19T19:02:45.399Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-11-19T19:02:45.399Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-11-19T19:02:45.399Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-11-19T19:02:45.665Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-11-19T19:02:45.665Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-11-19T19:02:45.934Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T19:02:45.934Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T19:02:45.934Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-11-19T19:02:45.934Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T19:02:45.934Z] Executing ca-certificates-20240226-r0.trigger [2024-11-19T19:02:46.201Z] OK: 328 MiB in 90 packages [2024-11-19T19:02:48.145Z] Removing intermediate container 77882962f1a9 [2024-11-19T19:02:48.145Z] ---> 2a3bb2527add [2024-11-19T19:02:48.145Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-11-19T19:02:48.729Z] ---> a35ea2dc85f1 [2024-11-19T19:02:48.729Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-11-19T19:02:48.995Z] ---> ab0a5bc74930 [2024-11-19T19:02:48.995Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-11-19T19:02:49.577Z] ---> 7a0c4b4029bc [2024-11-19T19:02:49.577Z] Successfully built 7a0c4b4029bc [2024-11-19T19:02:49.577Z] 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-11-19T19:02:50.024Z] + docker inspect -f . ci-base-image-arm64 [2024-11-19T19:02:50.024Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T19:02:50.244Z] prd-ubuntu20.04-docker-arm64-4c-16g-27056 does not seem to be running inside a container [2024-11-19T19:02:50.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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-11-19T19:02:51.496Z] $ docker top f1311bd542dce3107e4ff3baafa2def365ae9f2483b4a410f7f4f61f21ad1522 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-19T19:02:52.317Z] + make test [2024-11-19T19:02:52.317Z] echo "make test" [2024-11-19T19:02:52.317Z] make test [Pipeline] } [2024-11-19T19:02:52.330Z] $ docker stop --time=1 f1311bd542dce3107e4ff3baafa2def365ae9f2483b4a410f7f4f61f21ad1522 [2024-11-19T19:02:53.922Z] $ docker rm -f --volumes f1311bd542dce3107e4ff3baafa2def365ae9f2483b4a410f7f4f61f21ad1522 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-19T19:02:54.501Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-19T19:02:54.814Z] + ls -al . [2024-11-19T19:02:54.814Z] total 208 [2024-11-19T19:02:54.814Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 19:00 . [2024-11-19T19:02:54.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 19:00 .. [2024-11-19T19:02:54.814Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 19:00 .git [2024-11-19T19:02:54.814Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 19:00 .github [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 176 Nov 19 19:00 .gitignore [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 2908 Nov 19 19:00 Attribution.txt [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 11953 Nov 19 19:00 CHANGELOG.md [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 108574 Nov 19 19:00 Doxyfile [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 19:00 GOVERNANCE.md [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 784 Nov 19 19:00 Jenkinsfile [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 10174 Nov 19 19:00 LICENSE [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 444 Nov 19 19:00 Makefile [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 618 Nov 19 19:00 OWNERS.md [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 1651 Nov 19 19:00 README.IOT.md [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 4215 Nov 19 19:00 README.md [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 1245 Nov 19 19:00 README.v3.md [2024-11-19T19:02:54.814Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 18:57 VERSION [2024-11-19T19:02:54.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 19:00 docs [2024-11-19T19:02:54.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 19:00 include [2024-11-19T19:02:54.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 19:00 scripts [2024-11-19T19:02:54.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 19:00 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T19:02:55.158Z] + 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=d23445fdd57b3f62bd5ca84fa5190e4c02c1cc5c --label arch=arm64 --label version=0.0.0 . [2024-11-19T19:02:55.424Z] Sending build context to Docker daemon 3.086MB [2024-11-19T19:02:55.425Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-11-19T19:02:55.425Z] Step 2/18 : FROM ${BASE} [2024-11-19T19:02:55.425Z] ---> 7a0c4b4029bc [2024-11-19T19:02:55.425Z] Step 3/18 : LABEL maintainer="IOTech " [2024-11-19T19:02:55.691Z] ---> Running in 98e0435328f4 [2024-11-19T19:02:55.958Z] Removing intermediate container 98e0435328f4 [2024-11-19T19:02:55.958Z] ---> 69dc5496f815 [2024-11-19T19:02:55.958Z] 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-11-19T19:02:55.958Z] ---> Running in 73a878e9261e [2024-11-19T19:02:57.390Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-11-19T19:02:57.973Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-11-19T19:02:57.973Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-11-19T19:02:57.973Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-11-19T19:02:58.553Z] Removing intermediate container 73a878e9261e [2024-11-19T19:02:58.553Z] ---> eeccfc53d3b0 [2024-11-19T19:02:58.553Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-11-19T19:02:58.819Z] ---> Running in 2fcfb4d95cf5 [2024-11-19T19:03:00.231Z] Removing intermediate container 2fcfb4d95cf5 [2024-11-19T19:03:00.231Z] ---> 3c4067d9195f [2024-11-19T19:03:00.231Z] 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-11-19T19:03:00.231Z] ---> Running in 43ee421c2079 [2024-11-19T19:03:01.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:03:01.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:03:02.351Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:03:02.928Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:03:02.928Z] (1/11) Installing iotech-iot-1.5-dev (1.5.4-r2) [2024-11-19T19:03:03.192Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-11-19T19:03:03.192Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-11-19T19:03:03.192Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-11-19T19:03:03.192Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-11-19T19:03:03.192Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-11-19T19:03:03.456Z] (7/11) Installing libblkid (2.38.1-r8) [2024-11-19T19:03:03.456Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-11-19T19:03:03.456Z] (9/11) Installing libmount (2.38.1-r8) [2024-11-19T19:03:03.456Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-11-19T19:03:03.456Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-11-19T19:03:03.456Z] Executing busybox-1.36.1-r7.trigger [2024-11-19T19:03:03.456Z] OK: 334 MiB in 101 packages [2024-11-19T19:03:04.860Z] Removing intermediate container 43ee421c2079 [2024-11-19T19:03:04.860Z] ---> 17af4d714cfa [2024-11-19T19:03:04.860Z] Step 7/18 : RUN apk --no-cache upgrade [2024-11-19T19:03:04.860Z] ---> Running in a47727528324 [2024-11-19T19:03:05.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:03:06.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-11-19T19:03:06.280Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-11-19T19:03:07.233Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-11-19T19:03:07.233Z] OK: 334 MiB in 101 packages [2024-11-19T19:03:07.814Z] Removing intermediate container a47727528324 [2024-11-19T19:03:07.814Z] ---> d746a7d328d2 [2024-11-19T19:03:07.814Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-11-19T19:03:08.394Z] ---> 57e0bfac440e [2024-11-19T19:03:08.394Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-11-19T19:03:08.966Z] ---> 8f584b89a2d7 [2024-11-19T19:03:08.966Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-11-19T19:03:09.545Z] ---> c8e508a97a16 [2024-11-19T19:03:09.545Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-11-19T19:03:09.810Z] ---> 2459ceefe89d [2024-11-19T19:03:09.810Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-11-19T19:03:10.391Z] ---> 3853f6e89c22 [2024-11-19T19:03:10.391Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-11-19T19:03:10.656Z] ---> 3a0721124e7f [2024-11-19T19:03:10.656Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-11-19T19:03:10.921Z] ---> Running in 517eeb94c363 [2024-11-19T19:03:11.195Z] Removing intermediate container 517eeb94c363 [2024-11-19T19:03:11.195Z] ---> e31173af566b [2024-11-19T19:03:11.195Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-11-19T19:03:11.195Z] ---> Running in 47bdde1a794e [2024-11-19T19:03:11.474Z] Removing intermediate container 47bdde1a794e [2024-11-19T19:03:11.474Z] ---> f08edbc50d6e [2024-11-19T19:03:11.474Z] Step 16/18 : LABEL arch=arm64 [2024-11-19T19:03:11.474Z] ---> Running in c814b2905616 [2024-11-19T19:03:11.738Z] Removing intermediate container c814b2905616 [2024-11-19T19:03:11.738Z] ---> 57b412f66a38 [2024-11-19T19:03:11.739Z] Step 17/18 : LABEL git_sha=d23445fdd57b3f62bd5ca84fa5190e4c02c1cc5c [2024-11-19T19:03:11.739Z] ---> Running in fc5c11d27e06 [2024-11-19T19:03:12.006Z] Removing intermediate container fc5c11d27e06 [2024-11-19T19:03:12.006Z] ---> 3c0aabd3d602 [2024-11-19T19:03:12.006Z] Step 18/18 : LABEL version=0.0.0 [2024-11-19T19:03:12.270Z] ---> Running in 426a8beb9d41 [2024-11-19T19:03:12.270Z] Removing intermediate container 426a8beb9d41 [2024-11-19T19:03:12.270Z] ---> 0520164fe88b [2024-11-19T19:03:12.535Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-11-19T19:03:12.535Z] Successfully built 0520164fe88b [2024-11-19T19:03:12.535Z] 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-11-19T19:03:13.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-19T19:03:13.013Z] [2024-11-19T19:03:13.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T19:03:13.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-19T19:03:13.337Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-19T19:03:13.337Z] 8998bd30e6a1: Pulling fs layer [2024-11-19T19:03:13.337Z] 04944245beec: Pulling fs layer [2024-11-19T19:03:13.337Z] 699f458cf7ca: Pulling fs layer [2024-11-19T19:03:13.337Z] 765212b225bb: Pulling fs layer [2024-11-19T19:03:13.337Z] f23df028b6ca: Pulling fs layer [2024-11-19T19:03:13.337Z] d65c8cfc05b1: Pulling fs layer [2024-11-19T19:03:13.337Z] 2437ff75d9bd: Pulling fs layer [2024-11-19T19:03:13.337Z] f23df028b6ca: Waiting [2024-11-19T19:03:13.337Z] d65c8cfc05b1: Waiting [2024-11-19T19:03:13.337Z] 2437ff75d9bd: Waiting [2024-11-19T19:03:13.337Z] 765212b225bb: Waiting [2024-11-19T19:03:13.606Z] 04944245beec: Verifying Checksum [2024-11-19T19:03:13.606Z] 04944245beec: Download complete [2024-11-19T19:03:13.606Z] 765212b225bb: Verifying Checksum [2024-11-19T19:03:13.606Z] 765212b225bb: Download complete [2024-11-19T19:03:13.606Z] f23df028b6ca: Verifying Checksum [2024-11-19T19:03:13.606Z] f23df028b6ca: Download complete [2024-11-19T19:03:13.606Z] d65c8cfc05b1: Verifying Checksum [2024-11-19T19:03:13.606Z] d65c8cfc05b1: Download complete [2024-11-19T19:03:13.606Z] 699f458cf7ca: Verifying Checksum [2024-11-19T19:03:13.606Z] 699f458cf7ca: Download complete [2024-11-19T19:03:14.189Z] 8998bd30e6a1: Verifying Checksum [2024-11-19T19:03:14.189Z] 8998bd30e6a1: Download complete [2024-11-19T19:03:16.126Z] 2437ff75d9bd: Verifying Checksum [2024-11-19T19:03:16.126Z] 2437ff75d9bd: Download complete [2024-11-19T19:03:18.699Z] 8998bd30e6a1: Pull complete [2024-11-19T19:03:18.971Z] 04944245beec: Pull complete [2024-11-19T19:03:20.907Z] 699f458cf7ca: Pull complete [2024-11-19T19:03:20.907Z] 765212b225bb: Pull complete [2024-11-19T19:03:21.860Z] f23df028b6ca: Pull complete [2024-11-19T19:03:21.861Z] d65c8cfc05b1: Pull complete [2024-11-19T19:03:40.044Z] 2437ff75d9bd: Pull complete [2024-11-19T19:03:40.044Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-19T19:03:40.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-19T19:03:40.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T19:03:40.274Z] prd-ubuntu20.04-docker-arm64-4c-16g-27056 does not seem to be running inside a container [2024-11-19T19:03:40.352Z] $ 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/5 -v /w/workspace/device-sdk-c/5:/w/workspace/device-sdk-c/5:rw,z -v /w/workspace/device-sdk-c/5@tmp:/w/workspace/device-sdk-c/5@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-11-19T19:03:42.962Z] $ docker top b60489318901dc0b5d3248f2cff9f4de00bc0aa70f7fcbcdb94e47e0d971fec3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:03:43.864Z] ---> job-cost.sh [2024-11-19T19:03:43.864Z] lf-activate-venv: SKIPPING [2024-11-19T19:03:43.864Z] INFO: No Stack... [2024-11-19T19:03:44.131Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-19T19:03:45.093Z] INFO: Archiving Costs [Pipeline] sh [2024-11-19T19:03:45.739Z] + cat /w/workspace/device-sdk-c/5/archives/cost.csv [2024-11-19T19:03:45.739Z] + cut -d, -f6 [Pipeline] lock [2024-11-19T19:03:45.786Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-5-stack-cost] [2024-11-19T19:03:45.796Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-517-5-stack-cost] did not exist. Created. [2024-11-19T19:03:45.804Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-19T19:03:46.452Z] /w/workspace/device-sdk-c/5@tmp/durable-ec247c1e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-19T19:03:47.092Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-19T19:03:47.109Z] Warning: overwriting stash ‘stack-cost’ [2024-11-19T19:03:47.541Z] Stashed 1 file(s) [Pipeline] } [2024-11-19T19:03:47.550Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-517-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-19T19:03:47.575Z] $ docker stop --time=1 b60489318901dc0b5d3248f2cff9f4de00bc0aa70f7fcbcdb94e47e0d971fec3 [2024-11-19T19:03:49.096Z] $ docker rm -f --volumes b60489318901dc0b5d3248f2cff9f4de00bc0aa70f7fcbcdb94e47e0d971fec3 [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-11-19T19:03:49.996Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives ] [2024-11-19T19:03:49.997Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-11-19T19:03:49.997Z] total 16 [2024-11-19T19:03:49.997Z] drwxr-xr-x 3 root root 4096 Nov 19 18:58 . [2024-11-19T19:03:49.997Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 18:58 .. [2024-11-19T19:03:49.997Z] drwxr-xr-x 2 root root 4096 Nov 19 18:58 cost [2024-11-19T19:03:49.997Z] -rw-r--r-- 1 root root 84 Nov 19 18:58 cost.csv [2024-11-19T19:03:49.997Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-11-19T19:03:49.997Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives [2024-11-19T19:03:49.997Z] total 16 [2024-11-19T19:03:49.997Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 18:58 . [2024-11-19T19:03:49.997Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 18:58 .. [2024-11-19T19:03:49.997Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 18:58 cost [2024-11-19T19:03:49.997Z] -rw-r--r-- 1 jenkins jenkins 84 Nov 19 18:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:03:50.295Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:03:51.157Z] ---> package-listing.sh [2024-11-19T19:03:51.158Z] ++ facter osfamily [2024-11-19T19:03:51.158Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-19T19:03:51.417Z] + OS_FAMILY=debian [2024-11-19T19:03:51.417Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-517 [2024-11-19T19:03:51.417Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-19T19:03:51.417Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-19T19:03:51.417Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-19T19:03:51.417Z] + PACKAGES=/tmp/packages_start.txt [2024-11-19T19:03:51.417Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-11-19T19:03:51.417Z] + PACKAGES=/tmp/packages_end.txt [2024-11-19T19:03:51.417Z] + case "${OS_FAMILY}" in [2024-11-19T19:03:51.417Z] + dpkg -l [2024-11-19T19:03:51.417Z] + grep '^ii' [2024-11-19T19:03:51.417Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-19T19:03:51.417Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-19T19:03:51.417Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-19T19:03:51.417Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-517 ']' [2024-11-19T19:03:51.417Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-517/archives/ [2024-11-19T19:03:51.417Z] + 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-11-19T19:03:51.430Z] 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-11-19T19:03:51.715Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-19T19:03:52.292Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-19T19:03:52.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-19T19:03:52.374Z] prd-ubuntu20.04-docker-8c-8g-27054 does not seem to be running inside a container [2024-11-19T19:03:52.405Z] $ 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-11-19T19:03:52.646Z] $ docker top 8b347cbda6dc442129acd72dc710888a8b0d43e9a541ea82e5310deae05aff02 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-19T19:03:53.011Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-19T19:03:53.303Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-19T19:03:53.599Z] + ls /var/log/sa-host [2024-11-19T19:03:53.599Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-19T19:03:53.678Z] provisioning config files... [2024-11-19T19:03:53.697Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-517@tmp/config8463267773829214122tmp [Pipeline] { [Pipeline] echo [2024-11-19T19:03:53.729Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:03:54.020Z] ---> create-netrc.sh [Pipeline] } [2024-11-19T19:03:54.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:03:54.374Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-19T19:03:54.382Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:03:54.667Z] ---> sudo-logs.sh [2024-11-19T19:03:54.667Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-19T19:03:54.697Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:03:54.981Z] ---> job-cost.sh [2024-11-19T19:03:54.982Z] lf-activate-venv: SKIPPING [2024-11-19T19:03:54.982Z] DEBUG: total: 0.2199999988079071 [2024-11-19T19:03:54.982Z] INFO: Retrieving Stack Cost... [2024-11-19T19:03:55.241Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-19T19:03:55.501Z] INFO: Archiving Costs [Pipeline] echo [2024-11-19T19:03:55.518Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-19T19:03:55.807Z] ---> logs-deploy.sh [2024-11-19T19:03:55.807Z] lf-activate-venv: SKIPPING [2024-11-19T19:03:55.807Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-517/5 [2024-11-19T19:03:55.807Z] INFO: archiving workspace using pattern(s): [2024-11-19T19:03:56.777Z] Archives upload complete. [2024-11-19T19:03:56.778Z] INFO: archiving logs to Nexus [2024-11-19T19:03:57.348Z] ---> uname -a: [2024-11-19T19:03:57.348Z] Linux prd-ubuntu20-04-docker-8c-8g-27054 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-11-19T19:03:57.348Z] [2024-11-19T19:03:57.348Z] [2024-11-19T19:03:57.348Z] ---> lscpu: [2024-11-19T19:03:57.348Z] Architecture: x86_64 [2024-11-19T19:03:57.348Z] CPU op-mode(s): 32-bit, 64-bit [2024-11-19T19:03:57.348Z] Byte Order: Little Endian [2024-11-19T19:03:57.348Z] Address sizes: 40 bits physical, 48 bits virtual [2024-11-19T19:03:57.348Z] CPU(s): 8 [2024-11-19T19:03:57.348Z] On-line CPU(s) list: 0-7 [2024-11-19T19:03:57.349Z] Thread(s) per core: 1 [2024-11-19T19:03:57.349Z] Core(s) per socket: 1 [2024-11-19T19:03:57.349Z] Socket(s): 8 [2024-11-19T19:03:57.349Z] NUMA node(s): 1 [2024-11-19T19:03:57.349Z] Vendor ID: AuthenticAMD [2024-11-19T19:03:57.349Z] CPU family: 23 [2024-11-19T19:03:57.349Z] Model: 49 [2024-11-19T19:03:57.349Z] Model name: AMD EPYC-Rome Processor [2024-11-19T19:03:57.349Z] Stepping: 0 [2024-11-19T19:03:57.349Z] CPU MHz: 2800.000 [2024-11-19T19:03:57.349Z] BogoMIPS: 5600.00 [2024-11-19T19:03:57.349Z] Virtualization: AMD-V [2024-11-19T19:03:57.349Z] Hypervisor vendor: KVM [2024-11-19T19:03:57.349Z] Virtualization type: full [2024-11-19T19:03:57.349Z] L1d cache: 256 KiB [2024-11-19T19:03:57.349Z] L1i cache: 256 KiB [2024-11-19T19:03:57.349Z] L2 cache: 4 MiB [2024-11-19T19:03:57.349Z] L3 cache: 128 MiB [2024-11-19T19:03:57.349Z] NUMA node0 CPU(s): 0-7 [2024-11-19T19:03:57.349Z] Vulnerability Itlb multihit: Not affected [2024-11-19T19:03:57.349Z] Vulnerability L1tf: Not affected [2024-11-19T19:03:57.349Z] Vulnerability Mds: Not affected [2024-11-19T19:03:57.349Z] Vulnerability Meltdown: Not affected [2024-11-19T19:03:57.349Z] Vulnerability Mmio stale data: Not affected [2024-11-19T19:03:57.349Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-11-19T19:03:57.349Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-11-19T19:03:57.349Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-11-19T19:03:57.349Z] Vulnerability Srbds: Not affected [2024-11-19T19:03:57.349Z] Vulnerability Tsx async abort: Not affected [2024-11-19T19:03:57.349Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-11-19T19:03:57.349Z] [2024-11-19T19:03:57.349Z]