Pull request #520 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of eaton-coreymutter for edgexfoundry/device-sdk-c Obtained Jenkinsfile from bb9db18c7de031a167ad08dfb24dd517a7359762+eb7d9b4eba343d86dc807026297d2d397bf17ca8 (6df91ccdb4dbc07041ac441d74314a2509cfd64e) 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-ssh3899712492017662745.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh15380289154128831040.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-520/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-520/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7632865768716401167.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh17119421698159225658.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-520/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-520/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18394661540341950535.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 ‘prd-ubuntu20.04-docker-8c-8g-34595’ is offline Running on prd-ubuntu20.04-docker-8c-8g-34596 in /w/workspace/edgexfoundry_device-sdk-c_PR-520 [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-520 # 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/520/head:refs/remotes/origin/PR-520 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit eb7d9b4eba343d86dc807026297d2d397bf17ca8 into PR head commit bb9db18c7de031a167ad08dfb24dd517a7359762 Merge succeeded, producing f3fbec9ef21e4ef1481ba37695682f2a086beb54 Checking out Revision f3fbec9ef21e4ef1481ba37695682f2a086beb54 (PR-520) > git config core.sparsecheckout # timeout=10 > git checkout -f bb9db18c7de031a167ad08dfb24dd517a7359762 # 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 eb7d9b4eba343d86dc807026297d2d397bf17ca8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f3fbec9ef21e4ef1481ba37695682f2a086beb54 # timeout=10 Commit message: "Merge commit 'eb7d9b4eba343d86dc807026297d2d397bf17ca8' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 337feae79196497ad3928abb62bdf156745874f1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-06T05:14:56.834Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-06T05:14:56.922Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-06T05:14:56.945Z] ========================================================= [2024-12-06T05:14:56.945Z] EdgeX Global Pipelines Version Info [2024-12-06T05:14:56.945Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:14:57.682Z] ------------------- [2024-12-06T05:14:57.682Z] stable info: [2024-12-06T05:14:57.682Z] ------------------- [2024-12-06T05:14:57.682Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-06T05:14:57.682Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T05:14:57.682Z] Message: update stable to v1.0.269 [2024-12-06T05:14:58.254Z] ------------------- [2024-12-06T05:14:58.254Z] experimental info: [2024-12-06T05:14:58.254Z] ------------------- [2024-12-06T05:14:58.254Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-06T05:14:58.254Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T05:14:58.254Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-06T05:14:58.340Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-06T05:14:58.366Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-06T05:14:58.389Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-06T05:14:58.414Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-06T05:14:58.433Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-06T05:14:58.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-06T05:14:58.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-06T05:14:58.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-06T05:14:58.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-06T05:14:58.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-06T05:14:58.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-06T05:14:58.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-06T05:14:58.596Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-06T05:14:58.613Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-06T05:14:58.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-06T05:14:58.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-06T05:14:58.680Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-06T05:14:58.703Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-520 [Pipeline] echo [2024-12-06T05:14:58.725Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-520 [Pipeline] echo [2024-12-06T05:14:58.748Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-520 [Pipeline] echo [2024-12-06T05:14:58.767Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f3fbec9ef21e4ef1481ba37695682f2a086beb54 [Pipeline] echo [2024-12-06T05:14:58.791Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f3fbec9 [Pipeline] echo [2024-12-06T05:14:58.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T05:14:58.876Z] provisioning config files... [2024-12-06T05:14:58.892Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config1889102149944336747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:14:59.233Z] ---> ****-login.sh [2024-12-06T05:14:59.233Z] nexus3.edgexfoundry.org:10001 [2024-12-06T05:14:59.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T05:14:59.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T05:14:59.493Z] Configure a credential helper to remove this warning. See [2024-12-06T05:14:59.493Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T05:14:59.493Z] [2024-12-06T05:14:59.493Z] Login Succeeded [2024-12-06T05:14:59.493Z] nexus3.edgexfoundry.org:10002 [2024-12-06T05:14:59.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T05:14:59.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T05:14:59.754Z] Configure a credential helper to remove this warning. See [2024-12-06T05:14:59.754Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T05:14:59.754Z] [2024-12-06T05:14:59.754Z] Login Succeeded [2024-12-06T05:14:59.754Z] nexus3.edgexfoundry.org:10003 [2024-12-06T05:14:59.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T05:14:59.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T05:14:59.754Z] Configure a credential helper to remove this warning. See [2024-12-06T05:14:59.754Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T05:14:59.754Z] [2024-12-06T05:14:59.754Z] Login Succeeded [2024-12-06T05:14:59.754Z] nexus3.edgexfoundry.org:10004 [2024-12-06T05:14:59.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T05:15:00.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T05:15:00.016Z] Configure a credential helper to remove this warning. See [2024-12-06T05:15:00.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T05:15:00.016Z] [2024-12-06T05:15:00.016Z] Login Succeeded [2024-12-06T05:15:00.016Z] ****.io [2024-12-06T05:15:00.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T05:15:00.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T05:15:00.283Z] Configure a credential helper to remove this warning. See [2024-12-06T05:15:00.283Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T05:15:00.283Z] [2024-12-06T05:15:00.283Z] Login Succeeded [2024-12-06T05:15:00.283Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T05:15:00.293Z] 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-12-06T05:15:00.691Z] + git rev-list -1 --merges f3fbec9ef21e4ef1481ba37695682f2a086beb54~1..f3fbec9ef21e4ef1481ba37695682f2a086beb54 [Pipeline] echo [2024-12-06T05:15:00.720Z] -----------> git rev-list -1 --merges f3fbec9ef21e4ef1481ba37695682f2a086beb54~1..f3fbec9ef21e4ef1481ba37695682f2a086beb54 f3fbec9ef21e4ef1481ba37695682f2a086beb54 [2024-12-06T05:15:00.720Z] f3fbec9ef21e4ef1481ba37695682f2a086beb54 [false] [Pipeline] sh [2024-12-06T05:15:01.010Z] + git log --format=format:%s -1 f3fbec9ef21e4ef1481ba37695682f2a086beb54 [Pipeline] echo [2024-12-06T05:15:01.027Z] ========================================================= [2024-12-06T05:15:01.027Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T05:15:01.027Z] ========================================================= 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-12-06T05:15:01.464Z] + git rev-list -1 --merges f3fbec9ef21e4ef1481ba37695682f2a086beb54~1..f3fbec9ef21e4ef1481ba37695682f2a086beb54 [Pipeline] echo [2024-12-06T05:15:01.477Z] -----------> git rev-list -1 --merges f3fbec9ef21e4ef1481ba37695682f2a086beb54~1..f3fbec9ef21e4ef1481ba37695682f2a086beb54 f3fbec9ef21e4ef1481ba37695682f2a086beb54 [2024-12-06T05:15:01.477Z] f3fbec9ef21e4ef1481ba37695682f2a086beb54 [false] [Pipeline] sh [2024-12-06T05:15:01.778Z] + git log --format=format:%s -1 f3fbec9ef21e4ef1481ba37695682f2a086beb54 [Pipeline] echo [2024-12-06T05:15:01.807Z] ========================================================= [2024-12-06T05:15:01.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T05:15:01.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-06T05:15:02.225Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-06T05:15:02.225Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-06T05:15:02.225Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-06T05:15:02.225Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-06T05:15:02.225Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-06T05:15:02.225Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-06T05:15:02.225Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T05:15:02.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T05:15:02.921Z] [2024-12-06T05:15:02.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T05:15:03.223Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T05:15:03.223Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-06T05:15:03.223Z] b85a868b505f: Pulling fs layer [2024-12-06T05:15:03.223Z] e2be974225ed: Pulling fs layer [2024-12-06T05:15:03.223Z] 339a4e72a1f5: Pulling fs layer [2024-12-06T05:15:03.223Z] 988bab9f4d93: Pulling fs layer [2024-12-06T05:15:03.223Z] 1469e6f7b9e6: Pulling fs layer [2024-12-06T05:15:03.223Z] eaf3925da568: Pulling fs layer [2024-12-06T05:15:03.223Z] bab4dde63d76: Pulling fs layer [2024-12-06T05:15:03.223Z] bde34c3a00c8: Pulling fs layer [2024-12-06T05:15:03.223Z] b352a97aabf1: Pulling fs layer [2024-12-06T05:15:03.223Z] 4872d77fe225: Pulling fs layer [2024-12-06T05:15:03.223Z] 5851b861e8e6: Pulling fs layer [2024-12-06T05:15:03.223Z] 988bab9f4d93: Waiting [2024-12-06T05:15:03.223Z] 1469e6f7b9e6: Waiting [2024-12-06T05:15:03.223Z] eaf3925da568: Waiting [2024-12-06T05:15:03.223Z] bab4dde63d76: Waiting [2024-12-06T05:15:03.223Z] bde34c3a00c8: Waiting [2024-12-06T05:15:03.223Z] b352a97aabf1: Waiting [2024-12-06T05:15:03.223Z] 5851b861e8e6: Waiting [2024-12-06T05:15:03.223Z] 4872d77fe225: Waiting [2024-12-06T05:15:03.223Z] e2be974225ed: Verifying Checksum [2024-12-06T05:15:03.223Z] e2be974225ed: Download complete [2024-12-06T05:15:03.223Z] 988bab9f4d93: Download complete [2024-12-06T05:15:03.223Z] 1469e6f7b9e6: Verifying Checksum [2024-12-06T05:15:03.223Z] 1469e6f7b9e6: Download complete [2024-12-06T05:15:03.486Z] 339a4e72a1f5: Verifying Checksum [2024-12-06T05:15:03.486Z] 339a4e72a1f5: Download complete [2024-12-06T05:15:03.486Z] eaf3925da568: Download complete [2024-12-06T05:15:03.486Z] bde34c3a00c8: Download complete [2024-12-06T05:15:03.486Z] b352a97aabf1: Download complete [2024-12-06T05:15:03.486Z] 4872d77fe225: Download complete [2024-12-06T05:15:03.486Z] 5851b861e8e6: Verifying Checksum [2024-12-06T05:15:03.486Z] 5851b861e8e6: Download complete [2024-12-06T05:15:03.486Z] b85a868b505f: Verifying Checksum [2024-12-06T05:15:03.486Z] b85a868b505f: Download complete [2024-12-06T05:15:03.751Z] bab4dde63d76: Verifying Checksum [2024-12-06T05:15:03.751Z] bab4dde63d76: Download complete [2024-12-06T05:15:04.692Z] b85a868b505f: Pull complete [2024-12-06T05:15:04.951Z] e2be974225ed: Pull complete [2024-12-06T05:15:05.519Z] 339a4e72a1f5: Pull complete [2024-12-06T05:15:05.519Z] 988bab9f4d93: Pull complete [2024-12-06T05:15:05.785Z] 1469e6f7b9e6: Pull complete [2024-12-06T05:15:06.046Z] eaf3925da568: Pull complete [2024-12-06T05:15:07.964Z] bab4dde63d76: Pull complete [2024-12-06T05:15:07.964Z] bde34c3a00c8: Pull complete [2024-12-06T05:15:07.964Z] b352a97aabf1: Pull complete [2024-12-06T05:15:07.964Z] 4872d77fe225: Pull complete [2024-12-06T05:15:08.225Z] 5851b861e8e6: Pull complete [2024-12-06T05:15:08.225Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-06T05:15:08.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T05:15:08.225Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T05:15:08.337Z] prd-ubuntu20.04-docker-8c-8g-34596 does not seem to be running inside a container [2024-12-06T05:15:08.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-06T05:15:12.088Z] $ docker top ad2b177acec234678b6d92f3953dbd8bd411ca57b222fee23c262303f2d41ee4 -eo pid,comm [2024-12-06T05:15:12.148Z] 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-12-06T05:15:12.148Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-06T05:15:12.202Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T05:15:12.202Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T05:15:12.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T05:15:12.328Z] $ docker exec ad2b177acec234678b6d92f3953dbd8bd411ca57b222fee23c262303f2d41ee4 ssh-agent [2024-12-06T05:15:12.446Z] SSH_AUTH_SOCK=/tmp/ssh-R6eJY4pEewEN/agent.31 [2024-12-06T05:15:12.446Z] SSH_AGENT_PID=37 [2024-12-06T05:15:12.454Z] Running ssh-add (command line suppressed) [2024-12-06T05:15:12.559Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_15842897563952049351.key (/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_15842897563952049351.key) [2024-12-06T05:15:12.574Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T05:15:12.869Z] + git tag --points-at HEAD [Pipeline] } [2024-12-06T05:15:12.880Z] $ docker exec --env ******** --env ******** ad2b177acec234678b6d92f3953dbd8bd411ca57b222fee23c262303f2d41ee4 ssh-agent -k [2024-12-06T05:15:13.004Z] unset SSH_AUTH_SOCK; [2024-12-06T05:15:13.005Z] unset SSH_AGENT_PID; [2024-12-06T05:15:13.005Z] echo Agent pid 37 killed; [2024-12-06T05:15:13.016Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-06T05:15:13.066Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T05:15:13.066Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T05:15:13.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T05:15:13.177Z] $ docker exec ad2b177acec234678b6d92f3953dbd8bd411ca57b222fee23c262303f2d41ee4 ssh-agent [2024-12-06T05:15:13.288Z] SSH_AUTH_SOCK=/tmp/ssh-kGn28PlLaAzH/agent.70 [2024-12-06T05:15:13.288Z] SSH_AGENT_PID=76 [2024-12-06T05:15:13.292Z] Running ssh-add (command line suppressed) [2024-12-06T05:15:13.401Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_14020046709378391168.key (/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/private_key_14020046709378391168.key) [2024-12-06T05:15:13.414Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T05:15:13.705Z] + git semver init [2024-12-06T05:15:13.965Z] 2024-12-06 05:15:13,903 [run_init] DEBUG init version:0.0.0 force:False [2024-12-06T05:15:13.965Z] 2024-12-06 05:15:13,904 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver [2024-12-06T05:15:13.965Z] 2024-12-06 05:15:13,904 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver [2024-12-06T05:15:13.965Z] 2024-12-06 05:15:13,905 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520, universal_newlines=False, shell=None, istream=None) [2024-12-06T05:15:14.909Z] 2024-12-06 05:15:14,701 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.git/info/exclude [2024-12-06T05:15:14.909Z] 2024-12-06 05:15:14,701 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 with force:False [2024-12-06T05:15:14.909Z] 2024-12-06 05:15:14,702 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 [2024-12-06T05:15:14.909Z] 2024-12-06 05:15:14,706 [execute] INFO git cat-file --batch-check [2024-12-06T05:15:14.909Z] 2024-12-06 05:15:14,707 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver, universal_newlines=False, shell=None, istream=) [2024-12-06T05:15:14.909Z] 2024-12-06 05:15:14,714 [execute] INFO git cat-file --batch [2024-12-06T05:15:14.909Z] 2024-12-06 05:15:14,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver, universal_newlines=False, shell=None, istream=) [2024-12-06T05:15:14.909Z] 2024-12-06 05:15:14,720 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-520/.semver/PR-520 [2024-12-06T05:15:14.909Z] 0.0.0 [Pipeline] } [2024-12-06T05:15:14.922Z] $ docker exec --env ******** --env ******** ad2b177acec234678b6d92f3953dbd8bd411ca57b222fee23c262303f2d41ee4 ssh-agent -k [2024-12-06T05:15:15.019Z] unset SSH_AUTH_SOCK; [2024-12-06T05:15:15.020Z] unset SSH_AGENT_PID; [2024-12-06T05:15:15.020Z] echo Agent pid 76 killed; [2024-12-06T05:15:15.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-06T05:15:15.363Z] + git semver [Pipeline] } [2024-12-06T05:15:15.639Z] $ docker stop --time=1 ad2b177acec234678b6d92f3953dbd8bd411ca57b222fee23c262303f2d41ee4 [2024-12-06T05:15:16.941Z] $ docker rm -f --volumes ad2b177acec234678b6d92f3953dbd8bd411ca57b222fee23c262303f2d41ee4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-06T05:15:17.294Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-06T05:15:17.603Z] Stashed 1 file(s) [Pipeline] echo [2024-12-06T05:15:17.607Z] [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T05:15:17.844Z] provisioning config files... [2024-12-06T05:15:17.852Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config8041065417761053406tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:15:18.169Z] ---> ****-login.sh [2024-12-06T05:15:18.170Z] nexus3.edgexfoundry.org:10001 [2024-12-06T05:15:18.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T05:15:18.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T05:15:18.170Z] Configure a credential helper to remove this warning. See [2024-12-06T05:15:18.170Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T05:15:18.170Z] [2024-12-06T05:15:18.170Z] Login Succeeded [2024-12-06T05:15:18.170Z] nexus3.edgexfoundry.org:10002 [2024-12-06T05:15:18.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T05:15:18.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T05:15:18.170Z] Configure a credential helper to remove this warning. See [2024-12-06T05:15:18.170Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T05:15:18.170Z] [2024-12-06T05:15:18.170Z] Login Succeeded [2024-12-06T05:15:18.170Z] nexus3.edgexfoundry.org:10003 [2024-12-06T05:15:18.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T05:15:18.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T05:15:18.430Z] Configure a credential helper to remove this warning. See [2024-12-06T05:15:18.430Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T05:15:18.430Z] [2024-12-06T05:15:18.430Z] Login Succeeded [2024-12-06T05:15:18.430Z] nexus3.edgexfoundry.org:10004 [2024-12-06T05:15:18.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T05:15:18.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T05:15:18.430Z] Configure a credential helper to remove this warning. See [2024-12-06T05:15:18.430Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T05:15:18.430Z] [2024-12-06T05:15:18.430Z] Login Succeeded [2024-12-06T05:15:18.430Z] ****.io [2024-12-06T05:15:18.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T05:15:18.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T05:15:18.690Z] Configure a credential helper to remove this warning. See [2024-12-06T05:15:18.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T05:15:18.690Z] [2024-12-06T05:15:18.690Z] Login Succeeded [2024-12-06T05:15:18.690Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T05:15:18.697Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-06T05:15:18.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T05:15:18.813Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-06T05:15:18.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T05:15:18.850Z] ========================================================= [2024-12-06T05:15:18.850Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-06T05:15:18.850Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T05:15:20.422Z] + 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-12-06T05:15:20.422Z] Sending build context to Docker daemon 5.22MB [2024-12-06T05:15:20.422Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-06T05:15:20.422Z] Step 2/22 : FROM ${BASE} as builder [2024-12-06T05:15:20.422Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-06T05:15:20.422Z] 96526aa774ef: Pulling fs layer [2024-12-06T05:15:20.422Z] da60e534fd72: Pulling fs layer [2024-12-06T05:15:20.422Z] 96526aa774ef: Verifying Checksum [2024-12-06T05:15:20.422Z] 96526aa774ef: Download complete [2024-12-06T05:15:20.422Z] 96526aa774ef: Pull complete [2024-12-06T05:15:20.422Z] da60e534fd72: Verifying Checksum [2024-12-06T05:15:20.422Z] da60e534fd72: Download complete [2024-12-06T05:15:23.709Z] da60e534fd72: Pull complete [2024-12-06T05:15:23.709Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-06T05:15:23.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-06T05:15:23.709Z] ---> 6605166a5db4 [2024-12-06T05:15:23.709Z] 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-12-06T05:15:25.619Z] ---> Running in 890722b634eb [2024-12-06T05:15:25.619Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-06T05:15:26.189Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T05:15:26.189Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T05:15:26.189Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T05:15:26.449Z] Removing intermediate container 890722b634eb [2024-12-06T05:15:26.449Z] ---> 216faf538094 [2024-12-06T05:15:26.450Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T05:15:26.450Z] ---> Running in 28eab95cea15 [2024-12-06T05:15:27.020Z] Removing intermediate container 28eab95cea15 [2024-12-06T05:15:27.020Z] ---> c7662add7ffa [2024-12-06T05:15:27.020Z] 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 [2024-12-06T05:15:27.020Z] ---> Running in 0474f71a465b [2024-12-06T05:15:27.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:27.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:27.864Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:28.432Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T05:15:28.432Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-06T05:15:28.432Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-06T05:15:29.003Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-06T05:15:29.264Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-06T05:15:29.264Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-06T05:15:29.264Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-06T05:15:29.265Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-06T05:15:29.524Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-06T05:15:29.524Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-06T05:15:29.524Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-06T05:15:29.524Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-06T05:15:29.524Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-06T05:15:29.524Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-06T05:15:29.524Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-06T05:15:29.524Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-06T05:15:29.524Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T05:15:29.524Z] OK: 336 MiB in 97 packages [2024-12-06T05:15:30.094Z] Removing intermediate container 0474f71a465b [2024-12-06T05:15:30.094Z] ---> 66669dcaae88 [2024-12-06T05:15:30.094Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-06T05:15:30.354Z] ---> Running in 28f970d9e1ae [2024-12-06T05:15:30.930Z] Removing intermediate container 28f970d9e1ae [2024-12-06T05:15:30.930Z] ---> 4b7023a52b0b [2024-12-06T05:15:30.930Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-06T05:15:30.930Z] ---> b08a48de4bde [2024-12-06T05:15:30.930Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-06T05:15:31.190Z] ---> fc4350a18307 [2024-12-06T05:15:31.190Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-06T05:15:31.449Z] ---> b531aa4002f8 [2024-12-06T05:15:31.449Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-06T05:15:31.449Z] ---> dbc2ff8f29a9 [2024-12-06T05:15:31.449Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-06T05:15:31.709Z] ---> 993bb5494f8c [2024-12-06T05:15:31.709Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-06T05:15:31.709Z] ---> 66c1d91ce1b7 [2024-12-06T05:15:31.709Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-06T05:15:31.968Z] ---> Running in 58d0733c1c87 [2024-12-06T05:15:32.227Z] + CPPCHECK=false [2024-12-06T05:15:32.227Z] + DOCGEN=false [2024-12-06T05:15:32.227Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-06T05:15:32.227Z] + '[' 0 -gt 0 ] [2024-12-06T05:15:32.227Z] + readlink -f ./scripts/build.sh [2024-12-06T05:15:32.227Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-06T05:15:32.227Z] + dirname /tmp/sdk/scripts [2024-12-06T05:15:32.227Z] + ROOT=/tmp/sdk [2024-12-06T05:15:32.227Z] + cd /tmp/sdk [2024-12-06T05:15:32.227Z] + mkdir -p /tmp/sdk/build/release [2024-12-06T05:15:32.227Z] + cd /tmp/sdk/build/release [2024-12-06T05:15:32.227Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-06T05:15:32.227Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T05:15:32.227Z] -- Detecting C compiler ABI info [2024-12-06T05:15:32.227Z] -- Detecting C compiler ABI info - done [2024-12-06T05:15:32.227Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T05:15:32.227Z] -- Detecting C compile features [2024-12-06T05:15:32.227Z] -- Detecting C compile features - done [2024-12-06T05:15:32.227Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T05:15:32.486Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T05:15:32.486Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T05:15:32.486Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T05:15:32.486Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T05:15:32.486Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T05:15:32.486Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T05:15:32.486Z] -- /opt/iotech/iot/1.5/include [2024-12-06T05:15:32.486Z] -- C SDK 0.0.0 for Linux [2024-12-06T05:15:32.486Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T05:15:32.486Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T05:15:32.486Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T05:15:32.486Z] -- Configuring done (0.4s) [2024-12-06T05:15:32.486Z] -- Generating done (0.0s) [2024-12-06T05:15:32.486Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-06T05:15:32.486Z] + make all package [2024-12-06T05:15:32.486Z] + tee release.log [2024-12-06T05:15:32.745Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T05:15:32.745Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T05:15:32.745Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T05:15:32.745Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-06T05:15:32.745Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-06T05:15:32.745Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-06T05:15:32.745Z] /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T05:15:32.745Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T05:15:32.745Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:32.746Z] | | [2024-12-06T05:15:32.746Z] | size_t {aka long unsigned int} [2024-12-06T05:15:32.746Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T05:15:32.746Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T05:15:32.746Z] | ^~~~~~~~~~~ [2024-12-06T05:15:32.746Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-06T05:15:32.746Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T05:15:32.746Z] | ~^ [2024-12-06T05:15:32.746Z] | | [2024-12-06T05:15:32.746Z] | int [2024-12-06T05:15:32.746Z] | %ld [2024-12-06T05:15:32.746Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T05:15:33.005Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-06T05:15:33.005Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-06T05:15:33.264Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-06T05:15:33.523Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-12-06T05:15:33.523Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-12-06T05:15:33.523Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T05:15:33.523Z] 294 | while (privateConfig) [2024-12-06T05:15:33.523Z] | ^~~~~~~~~~~~~ [2024-12-06T05:15:33.523Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-12-06T05:15:33.523Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-12-06T05:15:33.523Z] | ^~~~~~~~~~~~~ [2024-12-06T05:15:33.523Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T05:15:33.523Z] 271 | while (result) [2024-12-06T05:15:33.523Z] | ^~~~~~ [2024-12-06T05:15:33.523Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-12-06T05:15:33.523Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-12-06T05:15:33.523Z] | ^~~~~~ [2024-12-06T05:15:33.523Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-06T05:15:33.783Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-06T05:15:33.783Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-06T05:15:34.043Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-06T05:15:34.303Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-06T05:15:34.303Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-06T05:15:34.564Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-06T05:15:34.564Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-06T05:15:34.564Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-06T05:15:34.824Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-06T05:15:35.083Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-06T05:15:35.083Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-06T05:15:35.083Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-06T05:15:35.083Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-06T05:15:35.083Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-06T05:15:35.083Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-06T05:15:35.083Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-06T05:15:35.083Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-06T05:15:35.083Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-06T05:15:35.083Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T05:15:35.083Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:35.083Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T05:15:35.083Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T05:15:35.083Z] | ^~~~~~~~~~~ [2024-12-06T05:15:35.083Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-06T05:15:35.083Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T05:15:35.083Z] | ~^ [2024-12-06T05:15:35.083Z] | | [2024-12-06T05:15:35.083Z] | char * [2024-12-06T05:15:35.342Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-06T05:15:35.342Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-06T05:15:35.708Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-06T05:15:36.646Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-06T05:15:36.646Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-06T05:15:36.905Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-06T05:15:36.905Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-06T05:15:36.905Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-06T05:15:37.164Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-06T05:15:37.426Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-06T05:15:37.686Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-06T05:15:37.686Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-06T05:15:37.945Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T05:15:37.945Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T05:15:37.945Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T05:15:37.945Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-06T05:15:37.945Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:37.945Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T05:15:37.945Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-06T05:15:37.945Z] | ^ [2024-12-06T05:15:37.945Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T05:15:37.945Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T05:15:37.945Z] from /tmp/sdk/src/c/service.c:9: [2024-12-06T05:15:37.945Z] /tmp/sdk/src/c/service.c:1095:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T05:15:37.945Z] 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T05:15:37.945Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:37.945Z] | | [2024-12-06T05:15:37.945Z] | uint64_t {aka long unsigned int} [2024-12-06T05:15:37.945Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-06T05:15:37.945Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-06T05:15:37.945Z] | ^~~~~~~~~~~ [2024-12-06T05:15:37.945Z] /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here [2024-12-06T05:15:37.945Z] 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T05:15:37.945Z] | ~^ [2024-12-06T05:15:37.945Z] | | [2024-12-06T05:15:37.945Z] | int [2024-12-06T05:15:37.945Z] | %ld [2024-12-06T05:15:37.945Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-06T05:15:37.945Z] /tmp/sdk/src/c/service.c:1158:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T05:15:37.945Z] 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T05:15:37.945Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:37.945Z] | | [2024-12-06T05:15:37.945Z] | size_t {aka long unsigned int} [2024-12-06T05:15:37.945Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T05:15:37.945Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T05:15:37.945Z] | ^~~~~~~~~~~ [2024-12-06T05:15:37.945Z] /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here [2024-12-06T05:15:37.945Z] 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T05:15:37.945Z] | ~^ [2024-12-06T05:15:37.945Z] | | [2024-12-06T05:15:37.945Z] | int [2024-12-06T05:15:37.945Z] | %ld [2024-12-06T05:15:38.206Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T05:15:38.206Z] /tmp/sdk/src/c/service.c:1078:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T05:15:38.206Z] 1078 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-06T05:15:38.206Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:38.206Z] /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here [2024-12-06T05:15:38.206Z] 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-12-06T05:15:38.206Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:38.206Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-06T05:15:38.466Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-06T05:15:38.466Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-06T05:15:38.466Z] [ 68%] Linking C shared library libcsdk.so [2024-12-06T05:15:38.466Z] [ 68%] Built target csdk [2024-12-06T05:15:38.466Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-06T05:15:38.725Z] [ 72%] Linking C executable template [2024-12-06T05:15:38.725Z] [ 72%] Built target template [2024-12-06T05:15:38.725Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-06T05:15:38.985Z] [ 76%] Linking C executable device-counter [2024-12-06T05:15:38.985Z] [ 76%] Built target device-counter [2024-12-06T05:15:38.985Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-06T05:15:38.985Z] [ 80%] Linking C executable device-random [2024-12-06T05:15:39.244Z] [ 80%] Built target device-random [2024-12-06T05:15:39.244Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-06T05:15:39.244Z] [ 84%] Linking C executable device-gyro [2024-12-06T05:15:39.244Z] [ 84%] Built target device-gyro [2024-12-06T05:15:39.244Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-06T05:15:39.504Z] [ 88%] Linking C executable device-bitfields [2024-12-06T05:15:39.504Z] [ 88%] Built target device-bitfields [2024-12-06T05:15:39.504Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-06T05:15:39.504Z] [ 92%] Linking C executable template-discovery [2024-12-06T05:15:39.763Z] [ 92%] Built target template-discovery [2024-12-06T05:15:39.763Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-06T05:15:39.763Z] [ 96%] Linking C executable device-file [2024-12-06T05:15:40.024Z] [ 96%] Built target device-file [2024-12-06T05:15:40.024Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-06T05:15:40.024Z] [100%] Linking C executable device-terminal [2024-12-06T05:15:40.024Z] [100%] Built target device-terminal [2024-12-06T05:15:40.024Z] Run CPack packaging tool... [2024-12-06T05:15:40.024Z] CPack: Create package using TGZ [2024-12-06T05:15:40.024Z] CPack: Install projects [2024-12-06T05:15:40.024Z] CPack: - Run preinstall target for: Csdk [2024-12-06T05:15:40.284Z] CPack: - Install project: Csdk [] [2024-12-06T05:15:40.284Z] CPack: Create package [2024-12-06T05:15:40.284Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-12-06T05:15:40.284Z] + '[' false '=' true ] [2024-12-06T05:15:40.284Z] + '[' false '=' true ] [2024-12-06T05:15:40.284Z] + mkdir -p /tmp/sdk/build/debug [2024-12-06T05:15:40.284Z] + cd /tmp/sdk/build/debug [2024-12-06T05:15:40.284Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-06T05:15:40.545Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T05:15:40.546Z] -- Detecting C compiler ABI info [2024-12-06T05:15:40.546Z] -- Detecting C compiler ABI info - done [2024-12-06T05:15:40.546Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T05:15:40.546Z] -- Detecting C compile features [2024-12-06T05:15:40.546Z] -- Detecting C compile features - done [2024-12-06T05:15:40.546Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T05:15:40.546Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T05:15:40.805Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T05:15:40.805Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T05:15:40.805Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T05:15:40.805Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T05:15:40.805Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T05:15:40.805Z] -- /opt/iotech/iot/1.5/include [2024-12-06T05:15:40.805Z] -- C SDK 0.0.0 for Linux [2024-12-06T05:15:40.805Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T05:15:40.805Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T05:15:40.805Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T05:15:40.805Z] -- Configuring done (0.4s) [2024-12-06T05:15:40.805Z] -- Generating done (0.0s) [2024-12-06T05:15:40.805Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-06T05:15:40.805Z] + make [2024-12-06T05:15:40.805Z] + tee debug.log [2024-12-06T05:15:41.067Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T05:15:41.067Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T05:15:41.067Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T05:15:41.067Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-06T05:15:41.067Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-06T05:15:41.067Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-06T05:15:41.067Z] /tmp/sdk/src/c/autoevent.c:81:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T05:15:41.067Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T05:15:41.067Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:41.067Z] | | [2024-12-06T05:15:41.067Z] | size_t {aka long unsigned int} [2024-12-06T05:15:41.067Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T05:15:41.067Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T05:15:41.067Z] | ^~~~~~~~~~~ [2024-12-06T05:15:41.067Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-06T05:15:41.067Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T05:15:41.067Z] | ~^ [2024-12-06T05:15:41.067Z] | | [2024-12-06T05:15:41.067Z] | int [2024-12-06T05:15:41.067Z] | %ld [2024-12-06T05:15:41.067Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T05:15:41.067Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-06T05:15:41.067Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-06T05:15:41.328Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-06T05:15:41.328Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-12-06T05:15:41.328Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-06T05:15:41.328Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-06T05:15:41.588Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-06T05:15:41.588Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-06T05:15:41.588Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-06T05:15:41.848Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-06T05:15:41.848Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-06T05:15:41.848Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-06T05:15:42.111Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-06T05:15:42.111Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-06T05:15:42.111Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-06T05:15:42.111Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-06T05:15:42.370Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-06T05:15:42.370Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-06T05:15:42.370Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-06T05:15:42.370Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-06T05:15:42.370Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-06T05:15:42.370Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-06T05:15:42.370Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-06T05:15:42.370Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T05:15:42.370Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:42.370Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T05:15:42.370Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T05:15:42.370Z] | ^~~~~~~~~~~ [2024-12-06T05:15:42.370Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-06T05:15:42.370Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T05:15:42.370Z] | ~^ [2024-12-06T05:15:42.370Z] | | [2024-12-06T05:15:42.370Z] | char * [2024-12-06T05:15:42.370Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-06T05:15:42.370Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-06T05:15:42.370Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-06T05:15:42.631Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-06T05:15:42.631Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-06T05:15:42.890Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-06T05:15:42.890Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-06T05:15:42.890Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-06T05:15:42.890Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-06T05:15:43.151Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-06T05:15:43.151Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-06T05:15:43.411Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-06T05:15:43.412Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T05:15:43.412Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T05:15:43.412Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T05:15:43.412Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-06T05:15:43.412Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:43.412Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T05:15:43.412Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-06T05:15:43.412Z] | ^ [2024-12-06T05:15:43.412Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T05:15:43.412Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T05:15:43.412Z] from /tmp/sdk/src/c/service.c:9: [2024-12-06T05:15:43.412Z] /tmp/sdk/src/c/service.c:1095:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T05:15:43.412Z] 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T05:15:43.412Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:43.412Z] | | [2024-12-06T05:15:43.412Z] | uint64_t {aka long unsigned int} [2024-12-06T05:15:43.412Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-06T05:15:43.412Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-06T05:15:43.412Z] | ^~~~~~~~~~~ [2024-12-06T05:15:43.412Z] /tmp/sdk/src/c/service.c:1095:54: note: format string is defined here [2024-12-06T05:15:43.412Z] 1095 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T05:15:43.412Z] | ~^ [2024-12-06T05:15:43.412Z] | | [2024-12-06T05:15:43.412Z] | int [2024-12-06T05:15:43.412Z] | %ld [2024-12-06T05:15:43.412Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-06T05:15:43.412Z] /tmp/sdk/src/c/service.c:1158:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T05:15:43.412Z] 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T05:15:43.412Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T05:15:43.412Z] | | [2024-12-06T05:15:43.412Z] | size_t {aka long unsigned int} [2024-12-06T05:15:43.412Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T05:15:43.412Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T05:15:43.412Z] | ^~~~~~~~~~~ [2024-12-06T05:15:43.412Z] /tmp/sdk/src/c/service.c:1158:66: note: format string is defined here [2024-12-06T05:15:43.412Z] 1158 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T05:15:43.412Z] | ~^ [2024-12-06T05:15:43.412Z] | | [2024-12-06T05:15:43.412Z] | int [2024-12-06T05:15:43.412Z] | %ld [2024-12-06T05:15:43.672Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-06T05:15:43.672Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-06T05:15:43.672Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-06T05:15:43.672Z] [ 68%] Linking C shared library libcsdk.so [2024-12-06T05:15:43.672Z] [ 68%] Built target csdk [2024-12-06T05:15:43.933Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-06T05:15:43.933Z] [ 72%] Linking C executable template [2024-12-06T05:15:43.933Z] [ 72%] Built target template [2024-12-06T05:15:43.933Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-06T05:15:43.933Z] [ 76%] Linking C executable device-counter [2024-12-06T05:15:44.193Z] [ 76%] Built target device-counter [2024-12-06T05:15:44.193Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-06T05:15:44.193Z] [ 80%] Linking C executable device-random [2024-12-06T05:15:44.193Z] [ 80%] Built target device-random [2024-12-06T05:15:44.193Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-06T05:15:44.193Z] [ 84%] Linking C executable device-gyro [2024-12-06T05:15:44.453Z] [ 84%] Built target device-gyro [2024-12-06T05:15:44.453Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-06T05:15:44.453Z] [ 88%] Linking C executable device-bitfields [2024-12-06T05:15:44.453Z] [ 88%] Built target device-bitfields [2024-12-06T05:15:44.453Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-06T05:15:44.712Z] [ 92%] Linking C executable template-discovery [2024-12-06T05:15:44.712Z] [ 92%] Built target template-discovery [2024-12-06T05:15:44.712Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-06T05:15:44.712Z] [ 96%] Linking C executable device-file [2024-12-06T05:15:44.712Z] [ 96%] Built target device-file [2024-12-06T05:15:44.712Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-06T05:15:44.972Z] [100%] Linking C executable device-terminal [2024-12-06T05:15:44.972Z] [100%] Built target device-terminal [2024-12-06T05:15:44.972Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-06T05:15:44.972Z] [ 68%] Built target csdk [2024-12-06T05:15:44.972Z] [ 72%] Built target template [2024-12-06T05:15:44.972Z] [ 76%] Built target device-counter [2024-12-06T05:15:44.972Z] [ 80%] Built target device-random [2024-12-06T05:15:44.972Z] [ 84%] Built target device-gyro [2024-12-06T05:15:45.231Z] [ 88%] Built target device-bitfields [2024-12-06T05:15:45.231Z] [ 92%] Built target template-discovery [2024-12-06T05:15:45.231Z] [ 96%] Built target device-file [2024-12-06T05:15:45.231Z] [100%] Built target device-terminal [2024-12-06T05:15:45.231Z] Install the project... [2024-12-06T05:15:45.231Z] -- Install configuration: "Release" [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/lib/libcsdk.so [2024-12-06T05:15:45.231Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include/devsdk [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include/edgex [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include/edgex/devices.h [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-12-06T05:15:45.231Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-12-06T05:15:45.231Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-06T05:15:45.799Z] Removing intermediate container 58d0733c1c87 [2024-12-06T05:15:45.799Z] ---> c7b034b64a33 [2024-12-06T05:15:45.799Z] Step 14/22 : FROM ${BASE} [2024-12-06T05:15:45.799Z] ---> 6605166a5db4 [2024-12-06T05:15:45.799Z] Step 15/22 : LABEL maintainer="IOTech " [2024-12-06T05:15:45.799Z] ---> Running in 2b085fa531ca [2024-12-06T05:15:46.058Z] Removing intermediate container 2b085fa531ca [2024-12-06T05:15:46.058Z] ---> 2de516bacaf9 [2024-12-06T05:15:46.058Z] 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-12-06T05:15:46.058Z] ---> Running in e323b55ed9fb [2024-12-06T05:15:46.318Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-06T05:15:46.578Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T05:15:46.578Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T05:15:46.578Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T05:15:46.838Z] Removing intermediate container e323b55ed9fb [2024-12-06T05:15:46.838Z] ---> 2a113ab66e7f [2024-12-06T05:15:46.838Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T05:15:47.098Z] ---> Running in 57262e242763 [2024-12-06T05:15:47.666Z] Removing intermediate container 57262e242763 [2024-12-06T05:15:47.666Z] ---> 8185e9c728ad [2024-12-06T05:15:47.666Z] 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 dumb-init [2024-12-06T05:15:47.666Z] ---> Running in d565ea2eb812 [2024-12-06T05:15:47.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:47.927Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:48.187Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:48.757Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T05:15:48.757Z] (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-12-06T05:15:48.757Z] (2/8) Installing curl (8.9.1-r1) [2024-12-06T05:15:48.757Z] (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-12-06T05:15:48.757Z] (4/8) Installing dumb-init (1.2.5-r2) [2024-12-06T05:15:48.757Z] (5/8) Installing libcbor (0.10.2-r1) [2024-12-06T05:15:48.757Z] (6/8) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-06T05:15:49.325Z] (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-06T05:15:49.585Z] (8/8) Installing libuuid (2.38.1-r8) [2024-12-06T05:15:49.585Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T05:15:49.585Z] OK: 331 MiB in 88 packages [2024-12-06T05:15:50.154Z] Removing intermediate container d565ea2eb812 [2024-12-06T05:15:50.154Z] ---> cb6a76ff505f [2024-12-06T05:15:50.154Z] Step 19/22 : RUN apk --no-cache upgrade [2024-12-06T05:15:50.154Z] ---> Running in 51057d07e511 [2024-12-06T05:15:50.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:50.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:50.414Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:50.982Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T05:15:50.982Z] Upgrading critical system libraries and apk-tools: [2024-12-06T05:15:50.982Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-12-06T05:15:50.982Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T05:15:51.242Z] Continuing the upgrade transaction with new apk-tools: [2024-12-06T05:15:51.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:51.242Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:51.242Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:51.811Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T05:15:51.811Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T05:15:51.811Z] Executing busybox-1.36.1-r7.post-upgrade [2024-12-06T05:15:51.811Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T05:15:51.811Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-12-06T05:15:51.811Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T05:15:52.071Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T05:15:52.071Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T05:15:52.071Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-12-06T05:15:52.071Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-12-06T05:15:52.071Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-12-06T05:15:52.071Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T05:15:52.071Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-12-06T05:15:52.071Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T05:15:52.071Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T05:15:52.071Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T05:15:52.071Z] Executing busybox-1.36.1-r7.trigger [2024-12-06T05:15:52.071Z] Executing ca-certificates-20240226-r0.trigger [2024-12-06T05:15:52.071Z] OK: 331 MiB in 88 packages [2024-12-06T05:15:53.006Z] Removing intermediate container 51057d07e511 [2024-12-06T05:15:53.006Z] ---> 59692a0f72ad [2024-12-06T05:15:53.006Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-12-06T05:15:53.264Z] ---> cfca1f9a04dc [2024-12-06T05:15:53.264Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-12-06T05:15:53.264Z] ---> 200e228055a3 [2024-12-06T05:15:53.264Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-12-06T05:15:53.530Z] ---> 78fe53cae0ce [2024-12-06T05:15:53.530Z] Successfully built 78fe53cae0ce [2024-12-06T05:15:53.530Z] 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-12-06T05:15:53.920Z] + docker inspect -f . ci-base-image-x86_64 [2024-12-06T05:15:53.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T05:15:54.009Z] prd-ubuntu20.04-docker-8c-8g-34596 does not seem to be running inside a container [2024-12-06T05:15:54.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-12-06T05:15:54.386Z] $ docker top 6a7c1aa2c1b174041e4a0927f975a9316669aef6aac4ca81849d0f478feb0240 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-06T05:15:54.745Z] + make test [2024-12-06T05:15:54.745Z] echo "make test" [2024-12-06T05:15:54.745Z] make test [Pipeline] } [2024-12-06T05:15:54.756Z] $ docker stop --time=1 6a7c1aa2c1b174041e4a0927f975a9316669aef6aac4ca81849d0f478feb0240 [2024-12-06T05:15:56.012Z] $ docker rm -f --volumes 6a7c1aa2c1b174041e4a0927f975a9316669aef6aac4ca81849d0f478feb0240 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-12-06T05:15:56.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-12-06T05:15:56.836Z] + ls -al . [2024-12-06T05:15:56.836Z] total 212 [2024-12-06T05:15:56.836Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 05:15 . [2024-12-06T05:15:56.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 05:14 .. [2024-12-06T05:15:56.836Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 05:15 .git [2024-12-06T05:15:56.836Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 05:14 .github [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 6 05:14 .gitignore [2024-12-06T05:15:56.836Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 05:15 .semver [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 6 05:14 Attribution.txt [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 6 05:14 CHANGELOG.md [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 6 05:14 Doxyfile [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 05:14 GOVERNANCE.md [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 6 05:14 Jenkinsfile [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 6 05:14 LICENSE [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 6 05:14 Makefile [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 6 05:14 OWNERS.md [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 6 05:14 README.IOT.md [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 4173 Dec 6 05:14 README.md [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 6 05:14 README.v3.md [2024-12-06T05:15:56.836Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 05:15 VERSION [2024-12-06T05:15:56.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 05:14 docs [2024-12-06T05:15:56.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 05:14 include [2024-12-06T05:15:56.836Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 05:14 scripts [2024-12-06T05:15:56.836Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 05:14 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T05:15:57.157Z] + 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=f3fbec9ef21e4ef1481ba37695682f2a086beb54 --label arch=amd64 --label version=0.0.0 . [2024-12-06T05:15:57.157Z] Sending build context to Docker daemon 5.22MB [2024-12-06T05:15:57.157Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-12-06T05:15:57.157Z] Step 2/18 : FROM ${BASE} [2024-12-06T05:15:57.157Z] ---> 78fe53cae0ce [2024-12-06T05:15:57.157Z] Step 3/18 : LABEL maintainer="IOTech " [2024-12-06T05:15:57.416Z] ---> Running in 2fe9ce86a0be [2024-12-06T05:15:57.416Z] Removing intermediate container 2fe9ce86a0be [2024-12-06T05:15:57.416Z] ---> 846effcb1635 [2024-12-06T05:15:57.416Z] 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-12-06T05:15:57.416Z] ---> Running in fccae3133510 [2024-12-06T05:15:57.676Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-12-06T05:15:57.936Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T05:15:57.936Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T05:15:57.936Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T05:15:58.196Z] Removing intermediate container fccae3133510 [2024-12-06T05:15:58.196Z] ---> 62c3addccc8a [2024-12-06T05:15:58.196Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T05:15:58.196Z] ---> Running in 5f59991016e4 [2024-12-06T05:15:58.766Z] Removing intermediate container 5f59991016e4 [2024-12-06T05:15:58.766Z] ---> 960de7e99a7c [2024-12-06T05:15:58.766Z] 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 iotech-iot-1.5-dev dumb-init && mkdir -p /edgex-c-sdk/build [2024-12-06T05:15:58.766Z] ---> Running in d3f75cc22432 [2024-12-06T05:15:59.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:59.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T05:15:59.546Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:16:00.123Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T05:16:00.123Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-06T05:16:00.123Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-12-06T05:16:00.123Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-12-06T05:16:00.123Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-12-06T05:16:00.123Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-12-06T05:16:00.123Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-06T05:16:00.383Z] (7/11) Installing libblkid (2.38.1-r8) [2024-12-06T05:16:00.383Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-12-06T05:16:00.383Z] (9/11) Installing libmount (2.38.1-r8) [2024-12-06T05:16:00.383Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-12-06T05:16:00.383Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-12-06T05:16:00.383Z] Executing busybox-1.36.1-r7.trigger [2024-12-06T05:16:00.383Z] OK: 336 MiB in 99 packages [2024-12-06T05:16:00.952Z] Removing intermediate container d3f75cc22432 [2024-12-06T05:16:00.952Z] ---> 6ae4f379959b [2024-12-06T05:16:00.952Z] Step 7/18 : RUN apk --no-cache upgrade [2024-12-06T05:16:00.952Z] ---> Running in 96ed8dbe5bc5 [2024-12-06T05:16:01.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:16:01.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T05:16:01.471Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T05:16:02.042Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T05:16:02.042Z] OK: 336 MiB in 99 packages [2024-12-06T05:16:02.303Z] Removing intermediate container 96ed8dbe5bc5 [2024-12-06T05:16:02.303Z] ---> fba0510064b6 [2024-12-06T05:16:02.303Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-12-06T05:16:02.562Z] ---> 7765dfbef087 [2024-12-06T05:16:02.562Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-12-06T05:16:02.562Z] ---> a13bf39b0a44 [2024-12-06T05:16:02.562Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-12-06T05:16:02.820Z] ---> 927c32d5ba48 [2024-12-06T05:16:02.820Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-12-06T05:16:02.820Z] ---> 699a6c67da46 [2024-12-06T05:16:02.820Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-12-06T05:16:03.080Z] ---> f688e2ccab7d [2024-12-06T05:16:03.080Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-12-06T05:16:03.080Z] ---> 969dab613999 [2024-12-06T05:16:03.080Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-12-06T05:16:03.080Z] ---> Running in 76b9cec53b6e [2024-12-06T05:16:03.340Z] Removing intermediate container 76b9cec53b6e [2024-12-06T05:16:03.340Z] ---> a61fcac85e07 [2024-12-06T05:16:03.340Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-12-06T05:16:03.340Z] ---> Running in b3ef373a885c [2024-12-06T05:16:03.340Z] Removing intermediate container b3ef373a885c [2024-12-06T05:16:03.340Z] ---> 94b81bc52784 [2024-12-06T05:16:03.340Z] Step 16/18 : LABEL arch=amd64 [2024-12-06T05:16:03.340Z] ---> Running in d583d756f944 [2024-12-06T05:16:03.340Z] Removing intermediate container d583d756f944 [2024-12-06T05:16:03.340Z] ---> 94d0806e8018 [2024-12-06T05:16:03.340Z] Step 17/18 : LABEL git_sha=f3fbec9ef21e4ef1481ba37695682f2a086beb54 [2024-12-06T05:16:03.601Z] ---> Running in 6a53452c63c3 [2024-12-06T05:16:03.601Z] Removing intermediate container 6a53452c63c3 [2024-12-06T05:16:03.601Z] ---> b5717fcfdf29 [2024-12-06T05:16:03.601Z] Step 18/18 : LABEL version=0.0.0 [2024-12-06T05:16:03.601Z] ---> Running in b28900310862 [2024-12-06T05:16:03.601Z] Removing intermediate container b28900310862 [2024-12-06T05:16:03.601Z] ---> 59f85897ef17 [2024-12-06T05:16:03.601Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-12-06T05:16:03.601Z] Successfully built 59f85897ef17 [2024-12-06T05:16:03.601Z] 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-12-06T05:16:04.099Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T05:16:04.099Z] [2024-12-06T05:16:04.099Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T05:16:04.414Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T05:16:04.414Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-06T05:16:04.414Z] 5eb5b503b376: Pulling fs layer [2024-12-06T05:16:04.414Z] 5c69ac0246d0: Pulling fs layer [2024-12-06T05:16:04.414Z] ec43610c2a17: Pulling fs layer [2024-12-06T05:16:04.414Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-06T05:16:04.414Z] 33b1e0a273af: Pulling fs layer [2024-12-06T05:16:04.414Z] 5d3b04190fa2: Pulling fs layer [2024-12-06T05:16:04.414Z] 2f39f015ded8: Pulling fs layer [2024-12-06T05:16:04.414Z] 3a2ae6a8a46f: Waiting [2024-12-06T05:16:04.414Z] 33b1e0a273af: Waiting [2024-12-06T05:16:04.414Z] 5d3b04190fa2: Waiting [2024-12-06T05:16:04.414Z] 2f39f015ded8: Waiting [2024-12-06T05:16:04.414Z] 5c69ac0246d0: Download complete [2024-12-06T05:16:04.414Z] 3a2ae6a8a46f: Verifying Checksum [2024-12-06T05:16:04.414Z] 3a2ae6a8a46f: Download complete [2024-12-06T05:16:04.414Z] 33b1e0a273af: Verifying Checksum [2024-12-06T05:16:04.414Z] 33b1e0a273af: Download complete [2024-12-06T05:16:04.414Z] ec43610c2a17: Download complete [2024-12-06T05:16:04.414Z] 5d3b04190fa2: Verifying Checksum [2024-12-06T05:16:04.414Z] 5d3b04190fa2: Download complete [2024-12-06T05:16:04.671Z] 5eb5b503b376: Verifying Checksum [2024-12-06T05:16:04.671Z] 5eb5b503b376: Download complete [2024-12-06T05:16:05.240Z] 2f39f015ded8: Download complete [2024-12-06T05:16:05.808Z] 5eb5b503b376: Pull complete [2024-12-06T05:16:06.066Z] 5c69ac0246d0: Pull complete [2024-12-06T05:16:06.324Z] ec43610c2a17: Pull complete [2024-12-06T05:16:06.324Z] 3a2ae6a8a46f: Pull complete [2024-12-06T05:16:06.583Z] 33b1e0a273af: Pull complete [2024-12-06T05:16:06.840Z] 5d3b04190fa2: Pull complete [2024-12-06T05:16:11.020Z] 2f39f015ded8: Pull complete [2024-12-06T05:16:11.020Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-06T05:16:11.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T05:16:11.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T05:16:11.126Z] prd-ubuntu20.04-docker-8c-8g-34596 does not seem to be running inside a container [2024-12-06T05:16:11.151Z] $ 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-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@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-12-06T05:16:15.392Z] $ docker top c95de3c828f5226e1d50f81aa4e1e370b9352a35e4fdc304f3b3cb2980f37278 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:16:15.775Z] ---> job-cost.sh [2024-12-06T05:16:15.776Z] lf-activate-venv: SKIPPING [2024-12-06T05:16:15.776Z] INFO: No Stack... [2024-12-06T05:16:16.035Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T05:16:16.603Z] INFO: Archiving Costs [Pipeline] sh [2024-12-06T05:16:16.895Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/cost.csv [2024-12-06T05:16:16.895Z] + cut -d, -f6 [Pipeline] lock [2024-12-06T05:16:16.909Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-5-stack-cost] [2024-12-06T05:16:16.920Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-520-5-stack-cost] did not exist. Created. [2024-12-06T05:16:16.927Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-06T05:16:17.234Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-06T05:16:17.288Z] Stashed 1 file(s) [Pipeline] } [2024-12-06T05:16:17.298Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-520-5-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-06T05:16:17.313Z] $ docker stop --time=1 c95de3c828f5226e1d50f81aa4e1e370b9352a35e4fdc304f3b3cb2980f37278 [2024-12-06T05:16:18.473Z] $ docker rm -f --volumes c95de3c828f5226e1d50f81aa4e1e370b9352a35e4fdc304f3b3cb2980f37278 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [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-12-06T05:16:19.168Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives ] [2024-12-06T05:16:19.168Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives [2024-12-06T05:16:19.168Z] total 16 [2024-12-06T05:16:19.168Z] drwxr-xr-x 3 root root 4096 Dec 6 05:16 . [2024-12-06T05:16:19.168Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 05:16 .. [2024-12-06T05:16:19.168Z] drwxr-xr-x 2 root root 4096 Dec 6 05:16 cost [2024-12-06T05:16:19.168Z] -rw-r--r-- 1 root root 84 Dec 6 05:16 cost.csv [2024-12-06T05:16:19.168Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives [2024-12-06T05:16:19.168Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives [2024-12-06T05:16:19.168Z] total 16 [2024-12-06T05:16:19.168Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 05:16 . [2024-12-06T05:16:19.168Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 05:16 .. [2024-12-06T05:16:19.168Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 05:16 cost [2024-12-06T05:16:19.168Z] -rw-r--r-- 1 jenkins jenkins 84 Dec 6 05:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:16:19.462Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:16:20.328Z] ---> package-listing.sh [2024-12-06T05:16:20.328Z] ++ facter osfamily [2024-12-06T05:16:20.328Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-06T05:16:20.588Z] + OS_FAMILY=debian [2024-12-06T05:16:20.588Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-520 [2024-12-06T05:16:20.588Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-06T05:16:20.588Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-06T05:16:20.588Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-06T05:16:20.588Z] + PACKAGES=/tmp/packages_start.txt [2024-12-06T05:16:20.588Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-520 ']' [2024-12-06T05:16:20.588Z] + PACKAGES=/tmp/packages_end.txt [2024-12-06T05:16:20.588Z] + case "${OS_FAMILY}" in [2024-12-06T05:16:20.588Z] + dpkg -l [2024-12-06T05:16:20.588Z] + grep '^ii' [2024-12-06T05:16:20.588Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-06T05:16:20.588Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-06T05:16:20.588Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-06T05:16:20.588Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-520 ']' [2024-12-06T05:16:20.588Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/ [2024-12-06T05:16:20.588Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-520/archives/ [Pipeline] echo [2024-12-06T05:16:20.599Z] 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-520/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-12-06T05:16:20.880Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T05:16:21.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T05:16:21.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T05:16:21.543Z] prd-ubuntu20.04-docker-8c-8g-34596 does not seem to be running inside a container [2024-12-06T05:16:21.572Z] $ 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-520/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-520 -v /w/workspace/edgexfoundry_device-sdk-c_PR-520:/w/workspace/edgexfoundry_device-sdk-c_PR-520:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-06T05:16:21.801Z] $ docker top a961b61d18307ab0f06413bb5232ce785a23cd70337433cc4ef4571b54a56fa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-06T05:16:22.158Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-06T05:16:22.448Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-06T05:16:22.737Z] + ls /var/log/sa-host [2024-12-06T05:16:22.737Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T05:16:22.813Z] provisioning config files... [2024-12-06T05:16:22.823Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-520@tmp/config1250476385200133095tmp [Pipeline] { [Pipeline] echo [2024-12-06T05:16:22.843Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:16:23.130Z] ---> create-netrc.sh [Pipeline] } [2024-12-06T05:16:23.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:16:23.467Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-06T05:16:23.477Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:16:23.768Z] ---> sudo-logs.sh [2024-12-06T05:16:23.768Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-06T05:16:23.806Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:16:24.109Z] ---> job-cost.sh [2024-12-06T05:16:24.109Z] lf-activate-venv: SKIPPING [2024-12-06T05:16:24.109Z] DEBUG: total: 0.2199999988079071 [2024-12-06T05:16:24.109Z] INFO: Retrieving Stack Cost... [2024-12-06T05:16:24.109Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T05:16:24.370Z] INFO: Archiving Costs [Pipeline] echo [2024-12-06T05:16:24.382Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T05:16:24.676Z] ---> logs-deploy.sh [2024-12-06T05:16:24.676Z] lf-activate-venv: SKIPPING [2024-12-06T05:16:24.676Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-520/5 [2024-12-06T05:16:24.676Z] INFO: archiving workspace using pattern(s): [2024-12-06T05:16:25.616Z] Archives upload complete. [2024-12-06T05:16:25.616Z] INFO: archiving logs to Nexus