Pull request #530 opened 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 FelixTing for edgexfoundry/device-sdk-c Obtained Jenkinsfile from dfd39df30ee9f0da2f4ea129c396f825cd1cd197+eb7d9b4eba343d86dc807026297d2d397bf17ca8 (338a6f487e2f7ddbefb1ddbe8901ec18c0fcb589) 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-ssh10576514957379765960.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-ssh3082650544775198978.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16153212371074000050.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8051236828107049659.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh5110619030602721011.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/PR-530/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-530/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3780048582193401712.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-34598 in /w/workspace/edgexfoundry_device-sdk-c_PR-530 [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-530 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit eb7d9b4eba343d86dc807026297d2d397bf17ca8 into PR head commit dfd39df30ee9f0da2f4ea129c396f825cd1cd197 > 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/530/head:refs/remotes/origin/PR-530 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing b746705b380a1fcf6a52ffc70816742ab7f871ec Checking out Revision b746705b380a1fcf6a52ffc70816742ab7f871ec (PR-530) > git checkout -f dfd39df30ee9f0da2f4ea129c396f825cd1cd197 # 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 b746705b380a1fcf6a52ffc70816742ab7f871ec # timeout=10 Commit message: "Merge commit 'eb7d9b4eba343d86dc807026297d2d397bf17ca8' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-12-06T06:12:17.477Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-06T06:12:17.680Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-06T06:12:17.794Z] ========================================================= [2024-12-06T06:12:17.794Z] EdgeX Global Pipelines Version Info [2024-12-06T06:12:17.794Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:12:18.559Z] ------------------- [2024-12-06T06:12:18.559Z] stable info: [2024-12-06T06:12:18.559Z] ------------------- [2024-12-06T06:12:18.559Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-06T06:12:18.559Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T06:12:18.559Z] Message: update stable to v1.0.269 [2024-12-06T06:12:19.134Z] ------------------- [2024-12-06T06:12:19.134Z] experimental info: [2024-12-06T06:12:19.134Z] ------------------- [2024-12-06T06:12:19.134Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-06T06:12:19.134Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T06:12:19.134Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-06T06:12:19.364Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-06T06:12:19.427Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-06T06:12:19.483Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-06T06:12:19.537Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-06T06:12:19.587Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-06T06:12:19.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-06T06:12:19.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-06T06:12:19.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-06T06:12:19.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-06T06:12:19.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-06T06:12:19.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-06T06:12:19.970Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-06T06:12:20.679Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-06T06:12:20.744Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-06T06:12:20.803Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-06T06:12:20.859Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-06T06:12:20.921Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-06T06:12:20.977Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-530 [Pipeline] echo [2024-12-06T06:12:21.028Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-530 [Pipeline] echo [2024-12-06T06:12:21.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-530 [Pipeline] echo [2024-12-06T06:12:21.141Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b746705b380a1fcf6a52ffc70816742ab7f871ec [Pipeline] echo [2024-12-06T06:12:21.198Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b746705 [Pipeline] echo [2024-12-06T06:12:21.247Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T06:12:21.401Z] provisioning config files... [2024-12-06T06:12:21.418Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config2378830830741656293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:12:21.812Z] ---> ****-login.sh [2024-12-06T06:12:21.812Z] nexus3.edgexfoundry.org:10001 [2024-12-06T06:12:22.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:12:22.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:12:22.333Z] Configure a credential helper to remove this warning. See [2024-12-06T06:12:22.333Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:12:22.333Z] [2024-12-06T06:12:22.333Z] Login Succeeded [2024-12-06T06:12:22.333Z] nexus3.edgexfoundry.org:10002 [2024-12-06T06:12:22.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:12:22.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:12:22.334Z] Configure a credential helper to remove this warning. See [2024-12-06T06:12:22.334Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:12:22.334Z] [2024-12-06T06:12:22.334Z] Login Succeeded [2024-12-06T06:12:22.334Z] nexus3.edgexfoundry.org:10003 [2024-12-06T06:12:22.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:12:22.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:12:22.334Z] Configure a credential helper to remove this warning. See [2024-12-06T06:12:22.334Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:12:22.334Z] [2024-12-06T06:12:22.334Z] Login Succeeded [2024-12-06T06:12:22.595Z] nexus3.edgexfoundry.org:10004 [2024-12-06T06:12:22.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:12:22.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:12:22.596Z] Configure a credential helper to remove this warning. See [2024-12-06T06:12:22.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:12:22.596Z] [2024-12-06T06:12:22.596Z] Login Succeeded [2024-12-06T06:12:22.596Z] ****.io [2024-12-06T06:12:22.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:12:22.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:12:22.856Z] Configure a credential helper to remove this warning. See [2024-12-06T06:12:22.856Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:12:22.856Z] [2024-12-06T06:12:22.856Z] Login Succeeded [2024-12-06T06:12:22.856Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T06:12:22.890Z] 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-06T06:12:23.581Z] + git rev-list -1 --merges b746705b380a1fcf6a52ffc70816742ab7f871ec~1..b746705b380a1fcf6a52ffc70816742ab7f871ec [Pipeline] echo [2024-12-06T06:12:23.628Z] -----------> git rev-list -1 --merges b746705b380a1fcf6a52ffc70816742ab7f871ec~1..b746705b380a1fcf6a52ffc70816742ab7f871ec b746705b380a1fcf6a52ffc70816742ab7f871ec [2024-12-06T06:12:23.628Z] b746705b380a1fcf6a52ffc70816742ab7f871ec [false] [Pipeline] sh [2024-12-06T06:12:23.954Z] + git log --format=format:%s -1 b746705b380a1fcf6a52ffc70816742ab7f871ec [Pipeline] echo [2024-12-06T06:12:23.997Z] ========================================================= [2024-12-06T06:12:23.997Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T06:12:23.997Z] ========================================================= 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-06T06:12:24.997Z] + git rev-list -1 --merges b746705b380a1fcf6a52ffc70816742ab7f871ec~1..b746705b380a1fcf6a52ffc70816742ab7f871ec [Pipeline] echo [2024-12-06T06:12:25.043Z] -----------> git rev-list -1 --merges b746705b380a1fcf6a52ffc70816742ab7f871ec~1..b746705b380a1fcf6a52ffc70816742ab7f871ec b746705b380a1fcf6a52ffc70816742ab7f871ec [2024-12-06T06:12:25.043Z] b746705b380a1fcf6a52ffc70816742ab7f871ec [false] [Pipeline] sh [2024-12-06T06:12:25.371Z] + git log --format=format:%s -1 b746705b380a1fcf6a52ffc70816742ab7f871ec [Pipeline] echo [2024-12-06T06:12:25.416Z] ========================================================= [2024-12-06T06:12:25.416Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T06:12:25.416Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-06T06:12:25.944Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-06T06:12:25.944Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-06T06:12:25.944Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-06T06:12:25.944Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-06T06:12:25.944Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-12-06T06:12:25.944Z] -a /etc/ssh/ssh_known_hosts [2024-12-06T06:12:25.944Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:12:26.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T06:12:26.494Z] [2024-12-06T06:12:26.494Z] 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-06T06:12:26.891Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T06:12:26.892Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-06T06:12:26.892Z] b85a868b505f: Pulling fs layer [2024-12-06T06:12:26.892Z] e2be974225ed: Pulling fs layer [2024-12-06T06:12:26.892Z] 339a4e72a1f5: Pulling fs layer [2024-12-06T06:12:26.892Z] 988bab9f4d93: Pulling fs layer [2024-12-06T06:12:26.892Z] 1469e6f7b9e6: Pulling fs layer [2024-12-06T06:12:26.892Z] eaf3925da568: Pulling fs layer [2024-12-06T06:12:26.892Z] bab4dde63d76: Pulling fs layer [2024-12-06T06:12:26.892Z] bde34c3a00c8: Pulling fs layer [2024-12-06T06:12:26.892Z] b352a97aabf1: Pulling fs layer [2024-12-06T06:12:26.892Z] 4872d77fe225: Pulling fs layer [2024-12-06T06:12:26.892Z] 5851b861e8e6: Pulling fs layer [2024-12-06T06:12:26.892Z] bab4dde63d76: Waiting [2024-12-06T06:12:26.892Z] 1469e6f7b9e6: Waiting [2024-12-06T06:12:26.892Z] 4872d77fe225: Waiting [2024-12-06T06:12:26.892Z] eaf3925da568: Waiting [2024-12-06T06:12:26.892Z] 988bab9f4d93: Waiting [2024-12-06T06:12:26.892Z] b352a97aabf1: Waiting [2024-12-06T06:12:26.892Z] 5851b861e8e6: Waiting [2024-12-06T06:12:26.892Z] e2be974225ed: Verifying Checksum [2024-12-06T06:12:26.892Z] e2be974225ed: Download complete [2024-12-06T06:12:26.892Z] 988bab9f4d93: Verifying Checksum [2024-12-06T06:12:26.892Z] 988bab9f4d93: Download complete [2024-12-06T06:12:27.151Z] 1469e6f7b9e6: Verifying Checksum [2024-12-06T06:12:27.151Z] eaf3925da568: Download complete [2024-12-06T06:12:27.151Z] 339a4e72a1f5: Verifying Checksum [2024-12-06T06:12:27.151Z] 339a4e72a1f5: Download complete [2024-12-06T06:12:27.151Z] bde34c3a00c8: Verifying Checksum [2024-12-06T06:12:27.151Z] bde34c3a00c8: Download complete [2024-12-06T06:12:27.151Z] b352a97aabf1: Download complete [2024-12-06T06:12:27.151Z] 4872d77fe225: Verifying Checksum [2024-12-06T06:12:27.151Z] 4872d77fe225: Download complete [2024-12-06T06:12:27.151Z] 5851b861e8e6: Download complete [2024-12-06T06:12:27.151Z] b85a868b505f: Verifying Checksum [2024-12-06T06:12:27.151Z] b85a868b505f: Download complete [2024-12-06T06:12:27.412Z] bab4dde63d76: Verifying Checksum [2024-12-06T06:12:27.412Z] bab4dde63d76: Download complete [2024-12-06T06:12:28.797Z] b85a868b505f: Pull complete [2024-12-06T06:12:28.797Z] e2be974225ed: Pull complete [2024-12-06T06:12:29.367Z] 339a4e72a1f5: Pull complete [2024-12-06T06:12:29.367Z] 988bab9f4d93: Pull complete [2024-12-06T06:12:29.626Z] 1469e6f7b9e6: Pull complete [2024-12-06T06:12:29.886Z] eaf3925da568: Pull complete [2024-12-06T06:12:31.793Z] bab4dde63d76: Pull complete [2024-12-06T06:12:31.793Z] bde34c3a00c8: Pull complete [2024-12-06T06:12:31.793Z] b352a97aabf1: Pull complete [2024-12-06T06:12:31.793Z] 4872d77fe225: Pull complete [2024-12-06T06:12:32.052Z] 5851b861e8e6: Pull complete [2024-12-06T06:12:32.052Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-06T06:12:32.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T06:12:32.052Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T06:12:32.361Z] prd-ubuntu20.04-docker-8c-8g-34598 does not seem to be running inside a container [2024-12-06T06:12:32.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-12-06T06:12:36.684Z] $ docker top caf1c62d9a0f7aa2db2e0ac56fc6d1b4c31f3734b5a1cd793fc241057687cb0b -eo pid,comm [2024-12-06T06:12:36.741Z] 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-06T06:12:36.741Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-06T06:12:36.917Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T06:12:36.917Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T06:12:37.038Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T06:12:37.039Z] $ docker exec caf1c62d9a0f7aa2db2e0ac56fc6d1b4c31f3734b5a1cd793fc241057687cb0b ssh-agent [2024-12-06T06:12:37.160Z] SSH_AUTH_SOCK=/tmp/ssh-C6nyuJIyxOAp/agent.32 [2024-12-06T06:12:37.160Z] SSH_AGENT_PID=38 [2024-12-06T06:12:37.166Z] Running ssh-add (command line suppressed) [2024-12-06T06:12:37.266Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_11059222285674828728.key (/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_11059222285674828728.key) [2024-12-06T06:12:37.287Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T06:12:37.630Z] + git tag --points-at HEAD [Pipeline] } [2024-12-06T06:12:37.658Z] $ docker exec --env ******** --env ******** caf1c62d9a0f7aa2db2e0ac56fc6d1b4c31f3734b5a1cd793fc241057687cb0b ssh-agent -k [2024-12-06T06:12:37.758Z] unset SSH_AUTH_SOCK; [2024-12-06T06:12:37.758Z] unset SSH_AGENT_PID; [2024-12-06T06:12:37.758Z] echo Agent pid 38 killed; [2024-12-06T06:12:37.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-06T06:12:37.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T06:12:37.879Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T06:12:38.010Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T06:12:38.011Z] $ docker exec caf1c62d9a0f7aa2db2e0ac56fc6d1b4c31f3734b5a1cd793fc241057687cb0b ssh-agent [2024-12-06T06:12:38.120Z] SSH_AUTH_SOCK=/tmp/ssh-dfmi3X7ndmQv/agent.71 [2024-12-06T06:12:38.120Z] SSH_AGENT_PID=77 [2024-12-06T06:12:38.125Z] Running ssh-add (command line suppressed) [2024-12-06T06:12:38.232Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_11301407214231851649.key (/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/private_key_11301407214231851649.key) [2024-12-06T06:12:38.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T06:12:38.596Z] + git semver init [2024-12-06T06:12:38.856Z] 2024-12-06 06:12:38,817 [run_init] DEBUG init version:0.0.0 force:False [2024-12-06T06:12:38.856Z] 2024-12-06 06:12:38,817 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver [2024-12-06T06:12:38.856Z] 2024-12-06 06:12:38,818 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver [2024-12-06T06:12:38.856Z] 2024-12-06 06:12:38,818 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530, universal_newlines=False, shell=None, istream=None) [2024-12-06T06:12:39.807Z] 2024-12-06 06:12:39,631 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.git/info/exclude [2024-12-06T06:12:39.807Z] 2024-12-06 06:12:39,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 with force:False [2024-12-06T06:12:39.807Z] 2024-12-06 06:12:39,632 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 [2024-12-06T06:12:39.807Z] 2024-12-06 06:12:39,636 [execute] INFO git cat-file --batch-check [2024-12-06T06:12:39.807Z] 2024-12-06 06:12:39,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver, universal_newlines=False, shell=None, istream=) [2024-12-06T06:12:39.807Z] 2024-12-06 06:12:39,643 [execute] INFO git cat-file --batch [2024-12-06T06:12:39.807Z] 2024-12-06 06:12:39,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver, universal_newlines=False, shell=None, istream=) [2024-12-06T06:12:39.807Z] 2024-12-06 06:12:39,649 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-530/.semver/PR-530 [2024-12-06T06:12:39.807Z] 0.0.0 [Pipeline] } [2024-12-06T06:12:39.829Z] $ docker exec --env ******** --env ******** caf1c62d9a0f7aa2db2e0ac56fc6d1b4c31f3734b5a1cd793fc241057687cb0b ssh-agent -k [2024-12-06T06:12:39.932Z] unset SSH_AUTH_SOCK; [2024-12-06T06:12:39.932Z] unset SSH_AGENT_PID; [2024-12-06T06:12:39.932Z] echo Agent pid 77 killed; [2024-12-06T06:12:39.941Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-06T06:12:40.382Z] + git semver [Pipeline] } [2024-12-06T06:12:40.670Z] $ docker stop --time=1 caf1c62d9a0f7aa2db2e0ac56fc6d1b4c31f3734b5a1cd793fc241057687cb0b [2024-12-06T06:12:41.962Z] $ docker rm -f --volumes caf1c62d9a0f7aa2db2e0ac56fc6d1b4c31f3734b5a1cd793fc241057687cb0b [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-06T06:12:42.390Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-06T06:12:44.094Z] Stashed 1 file(s) [Pipeline] echo [2024-12-06T06:12:44.121Z] [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-06T06:12:45.149Z] provisioning config files... [2024-12-06T06:12:45.162Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config16290809068536986773tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:12:45.637Z] ---> ****-login.sh [2024-12-06T06:12:45.637Z] nexus3.edgexfoundry.org:10001 [2024-12-06T06:12:45.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:12:45.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:12:45.637Z] Configure a credential helper to remove this warning. See [2024-12-06T06:12:45.637Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:12:45.637Z] [2024-12-06T06:12:45.637Z] Login Succeeded [2024-12-06T06:12:45.638Z] nexus3.edgexfoundry.org:10002 [2024-12-06T06:12:45.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:12:45.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:12:45.638Z] Configure a credential helper to remove this warning. See [2024-12-06T06:12:45.638Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:12:45.638Z] [2024-12-06T06:12:45.638Z] Login Succeeded [2024-12-06T06:12:45.638Z] nexus3.edgexfoundry.org:10003 [2024-12-06T06:12:45.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:12:45.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:12:45.898Z] Configure a credential helper to remove this warning. See [2024-12-06T06:12:45.898Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:12:45.898Z] [2024-12-06T06:12:45.898Z] Login Succeeded [2024-12-06T06:12:45.898Z] nexus3.edgexfoundry.org:10004 [2024-12-06T06:12:45.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:12:45.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:12:45.898Z] Configure a credential helper to remove this warning. See [2024-12-06T06:12:45.898Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:12:45.898Z] [2024-12-06T06:12:45.898Z] Login Succeeded [2024-12-06T06:12:45.898Z] ****.io [2024-12-06T06:12:46.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T06:12:46.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T06:12:46.157Z] Configure a credential helper to remove this warning. See [2024-12-06T06:12:46.157Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T06:12:46.157Z] [2024-12-06T06:12:46.157Z] Login Succeeded [2024-12-06T06:12:46.157Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T06:12:46.194Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-06T06:12:46.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T06:12:46.460Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-06T06:12:46.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T06:12:46.548Z] ========================================================= [2024-12-06T06:12:46.548Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-06T06:12:46.548Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:12:47.004Z] + 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-06T06:12:47.004Z] Sending build context to Docker daemon 5.188MB [2024-12-06T06:12:47.004Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-06T06:12:47.004Z] Step 2/22 : FROM ${BASE} as builder [2024-12-06T06:12:47.004Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-06T06:12:47.004Z] 96526aa774ef: Pulling fs layer [2024-12-06T06:12:47.004Z] da60e534fd72: Pulling fs layer [2024-12-06T06:12:47.264Z] 96526aa774ef: Verifying Checksum [2024-12-06T06:12:47.264Z] 96526aa774ef: Download complete [2024-12-06T06:12:47.264Z] 96526aa774ef: Pull complete [2024-12-06T06:12:48.200Z] da60e534fd72: Verifying Checksum [2024-12-06T06:12:48.201Z] da60e534fd72: Download complete [2024-12-06T06:12:51.492Z] da60e534fd72: Pull complete [2024-12-06T06:12:51.492Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-06T06:12:51.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-06T06:12:51.492Z] ---> 6605166a5db4 [2024-12-06T06:12:51.492Z] 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-06T06:12:54.049Z] ---> Running in 698447d3f62a [2024-12-06T06:12:54.049Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-12-06T06:12:54.308Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T06:12:54.308Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T06:12:54.308Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T06:12:54.572Z] Removing intermediate container 698447d3f62a [2024-12-06T06:12:54.572Z] ---> f24d685f5779 [2024-12-06T06:12:54.572Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T06:12:54.572Z] ---> Running in bf36f6c6bab0 [2024-12-06T06:12:55.509Z] Removing intermediate container bf36f6c6bab0 [2024-12-06T06:12:55.509Z] ---> b1c453d9b567 [2024-12-06T06:12:55.509Z] 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-06T06:12:55.509Z] ---> Running in d0b4ed4786d2 [2024-12-06T06:12:55.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:12:55.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T06:12:56.026Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T06:12:56.594Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T06:12:56.595Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-06T06:12:56.595Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-06T06:12:57.532Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-06T06:12:57.532Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-06T06:12:57.532Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-06T06:12:57.532Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-06T06:12:57.532Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-06T06:12:57.532Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-06T06:12:57.532Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-06T06:12:57.532Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-06T06:12:57.532Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-06T06:12:57.532Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-06T06:12:57.532Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-06T06:12:57.532Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-06T06:12:57.792Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-06T06:12:57.792Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T06:12:57.792Z] OK: 336 MiB in 97 packages [2024-12-06T06:12:58.360Z] Removing intermediate container d0b4ed4786d2 [2024-12-06T06:12:58.360Z] ---> 2d75a9d93810 [2024-12-06T06:12:58.360Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-06T06:12:58.360Z] ---> Running in 7063cd9c1dcd [2024-12-06T06:12:59.306Z] Removing intermediate container 7063cd9c1dcd [2024-12-06T06:12:59.306Z] ---> 6c58621cbce7 [2024-12-06T06:12:59.306Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-06T06:12:59.306Z] ---> c9b040f93493 [2024-12-06T06:12:59.306Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-06T06:12:59.306Z] ---> 24d75c4374b5 [2024-12-06T06:12:59.306Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-06T06:12:59.567Z] ---> c109a6311f26 [2024-12-06T06:12:59.567Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-06T06:12:59.828Z] ---> b73fe66f9bbc [2024-12-06T06:12:59.828Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-06T06:12:59.828Z] ---> 9aad7887a17d [2024-12-06T06:12:59.828Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-06T06:13:00.088Z] ---> d3d26ab562c0 [2024-12-06T06:13:00.088Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-06T06:13:00.088Z] ---> Running in 5b36ddfa9e03 [2024-12-06T06:13:00.348Z] + CPPCHECK=false [2024-12-06T06:13:00.348Z] + DOCGEN=false [2024-12-06T06:13:00.348Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-06T06:13:00.348Z] + '[' 0 -gt 0 ] [2024-12-06T06:13:00.348Z] + readlink -f ./scripts/build.sh [2024-12-06T06:13:00.348Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-06T06:13:00.348Z] + dirname /tmp/sdk/scripts [2024-12-06T06:13:00.348Z] + ROOT=/tmp/sdk [2024-12-06T06:13:00.348Z] + cd /tmp/sdk [2024-12-06T06:13:00.348Z] + mkdir -p /tmp/sdk/build/release [2024-12-06T06:13:00.348Z] + cd /tmp/sdk/build/release [2024-12-06T06:13:00.348Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-06T06:13:00.348Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T06:13:00.348Z] -- Detecting C compiler ABI info [2024-12-06T06:13:00.348Z] -- Detecting C compiler ABI info - done [2024-12-06T06:13:00.348Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T06:13:00.348Z] -- Detecting C compile features [2024-12-06T06:13:00.348Z] -- Detecting C compile features - done [2024-12-06T06:13:00.348Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T06:13:00.608Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T06:13:00.608Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T06:13:00.608Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T06:13:00.608Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T06:13:00.608Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T06:13:00.608Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T06:13:00.608Z] -- /opt/iotech/iot/1.5/include [2024-12-06T06:13:00.608Z] -- C SDK 0.0.0 for Linux [2024-12-06T06:13:00.608Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T06:13:00.608Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T06:13:00.608Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T06:13:00.608Z] -- Configuring done (0.4s) [2024-12-06T06:13:00.608Z] -- Generating done (0.0s) [2024-12-06T06:13:00.608Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-06T06:13:00.608Z] + make all package [2024-12-06T06:13:00.608Z] + tee release.log [2024-12-06T06:13:00.867Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T06:13:00.867Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T06:13:00.867Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T06:13:00.867Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-06T06:13:00.867Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-06T06:13:00.867Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-06T06:13:00.867Z] /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-06T06:13:00.867Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:13:00.867Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:00.867Z] | | [2024-12-06T06:13:00.867Z] | size_t {aka long unsigned int} [2024-12-06T06:13:00.867Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:13:00.867Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:13:00.867Z] | ^~~~~~~~~~~ [2024-12-06T06:13:00.867Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-06T06:13:00.867Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:13:00.867Z] | ~^ [2024-12-06T06:13:00.867Z] | | [2024-12-06T06:13:00.867Z] | int [2024-12-06T06:13:00.867Z] | %ld [2024-12-06T06:13:00.867Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T06:13:01.126Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-06T06:13:01.126Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-06T06:13:01.126Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-06T06:13:01.693Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-06T06:13:01.693Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-06T06:13:01.693Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-06T06:13:01.952Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-06T06:13:02.211Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-06T06:13:02.211Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-06T06:13:02.472Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-06T06:13:02.472Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-06T06:13:02.472Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-06T06:13:02.731Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-06T06:13:02.991Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-06T06:13:02.991Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-06T06:13:03.251Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-06T06:13:03.251Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-06T06:13:04.635Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-06T06:13:04.635Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-06T06:13:04.635Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-06T06:13:04.635Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-06T06:13:04.635Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-06T06:13:04.895Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-06T06:13:05.155Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-06T06:13:05.155Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-06T06:13:05.415Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-06T06:13:05.415Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T06:13:05.415Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T06:13:05.415Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T06:13:05.415Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-06T06:13:05.415Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:05.415Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T06:13:05.415Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-06T06:13:05.415Z] | ^ [2024-12-06T06:13:05.415Z] /tmp/sdk/src/c/service.c:969:27: error: implicit declaration of function 'devsdk_registry_get_keeper'; did you mean 'devsdk_registry_get_config'? [-Werror=implicit-function-declaration] [2024-12-06T06:13:05.415Z] 969 | svc->registry = devsdk_registry_get_keeper (); [2024-12-06T06:13:05.415Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:05.415Z] | devsdk_registry_get_config [2024-12-06T06:13:05.415Z] /tmp/sdk/src/c/service.c:969:25: warning: assignment to 'devsdk_registry_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion] [2024-12-06T06:13:05.415Z] 969 | svc->registry = devsdk_registry_get_keeper (); [2024-12-06T06:13:05.415Z] | ^ [2024-12-06T06:13:05.415Z] /tmp/sdk/src/c/service.c:973:25: warning: assignment to 'devsdk_registry_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion] [2024-12-06T06:13:05.415Z] 973 | svc->registry = devsdk_registry_get_keeper (); [2024-12-06T06:13:05.415Z] | ^ [2024-12-06T06:13:05.676Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T06:13:05.676Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T06:13:05.676Z] from /tmp/sdk/src/c/service.c:9: [2024-12-06T06:13:05.676Z] /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:13:05.676Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T06:13:05.676Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:05.676Z] | | [2024-12-06T06:13:05.676Z] | uint64_t {aka long unsigned int} [2024-12-06T06:13:05.676Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-06T06:13:05.676Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-06T06:13:05.676Z] | ^~~~~~~~~~~ [2024-12-06T06:13:05.676Z] /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here [2024-12-06T06:13:05.676Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T06:13:05.676Z] | ~^ [2024-12-06T06:13:05.676Z] | | [2024-12-06T06:13:05.676Z] | int [2024-12-06T06:13:05.676Z] | %ld [2024-12-06T06:13:05.676Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-06T06:13:05.676Z] /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:13:05.677Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:13:05.677Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:05.677Z] | | [2024-12-06T06:13:05.677Z] | size_t {aka long unsigned int} [2024-12-06T06:13:05.677Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:13:05.677Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:13:05.677Z] | ^~~~~~~~~~~ [2024-12-06T06:13:05.677Z] /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here [2024-12-06T06:13:05.677Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:13:05.677Z] | ~^ [2024-12-06T06:13:05.677Z] | | [2024-12-06T06:13:05.677Z] | int [2024-12-06T06:13:05.677Z] | %ld [2024-12-06T06:13:05.677Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T06:13:05.677Z] /tmp/sdk/src/c/service.c:1070:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T06:13:05.677Z] 1070 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-06T06:13:05.677Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:05.677Z] /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here [2024-12-06T06:13:05.677Z] 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-12-06T06:13:05.677Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:05.936Z] cc1: some warnings being treated as errors [2024-12-06T06:13:05.936Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:468: c/CMakeFiles/csdk.dir/service.c.o] Error 1 [2024-12-06T06:13:05.936Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2024-12-06T06:13:05.936Z] make: *** [Makefile:156: all] Error 2 [2024-12-06T06:13:05.936Z] + '[' false '=' true ] [2024-12-06T06:13:05.936Z] + '[' false '=' true ] [2024-12-06T06:13:05.936Z] + mkdir -p /tmp/sdk/build/debug [2024-12-06T06:13:05.936Z] + cd /tmp/sdk/build/debug [2024-12-06T06:13:05.936Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-06T06:13:05.936Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T06:13:05.936Z] -- Detecting C compiler ABI info [2024-12-06T06:13:06.196Z] -- Detecting C compiler ABI info - done [2024-12-06T06:13:06.196Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T06:13:06.196Z] -- Detecting C compile features [2024-12-06T06:13:06.196Z] -- Detecting C compile features - done [2024-12-06T06:13:06.196Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T06:13:06.196Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T06:13:06.196Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T06:13:06.196Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T06:13:06.196Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T06:13:06.196Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T06:13:06.196Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T06:13:06.196Z] -- /opt/iotech/iot/1.5/include [2024-12-06T06:13:06.196Z] -- C SDK 0.0.0 for Linux [2024-12-06T06:13:06.196Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T06:13:06.196Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T06:13:06.196Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T06:13:06.456Z] -- Configuring done (0.4s) [2024-12-06T06:13:06.456Z] -- Generating done (0.0s) [2024-12-06T06:13:06.456Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-06T06:13:06.456Z] + make [2024-12-06T06:13:06.456Z] + tee debug.log [2024-12-06T06:13:06.456Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T06:13:06.456Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T06:13:06.456Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T06:13:06.456Z] from /tmp/sdk/src/c/autoevent.h:12, [2024-12-06T06:13:06.456Z] from /tmp/sdk/src/c/autoevent.c:9: [2024-12-06T06:13:06.456Z] /tmp/sdk/src/c/autoevent.c: In function 'ae_runner': [2024-12-06T06:13:06.456Z] /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-06T06:13:06.456Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:13:06.456Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:06.456Z] | | [2024-12-06T06:13:06.456Z] | size_t {aka long unsigned int} [2024-12-06T06:13:06.456Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:13:06.456Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:13:06.456Z] | ^~~~~~~~~~~ [2024-12-06T06:13:06.456Z] /tmp/sdk/src/c/autoevent.c:81:66: note: format string is defined here [2024-12-06T06:13:06.456Z] 81 | iot_log_error (ai->svc->logger, "Auto Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:13:06.456Z] | ~^ [2024-12-06T06:13:06.456Z] | | [2024-12-06T06:13:06.456Z] | int [2024-12-06T06:13:06.456Z] | %ld [2024-12-06T06:13:06.456Z] [ 4%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T06:13:06.456Z] [ 6%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-06T06:13:06.716Z] [ 8%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-06T06:13:06.716Z] [ 10%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-06T06:13:06.716Z] [ 12%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-06T06:13:06.975Z] [ 14%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-06T06:13:06.975Z] [ 16%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-06T06:13:06.975Z] [ 18%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-06T06:13:06.975Z] [ 20%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-06T06:13:07.239Z] [ 22%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-06T06:13:07.239Z] [ 24%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-06T06:13:07.239Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-06T06:13:07.497Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-06T06:13:07.497Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-06T06:13:07.497Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-06T06:13:07.497Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-06T06:13:07.756Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-06T06:13:07.756Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-06T06:13:08.015Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-06T06:13:08.015Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-06T06:13:08.015Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-06T06:13:08.015Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-06T06:13:08.274Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-06T06:13:08.274Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-06T06:13:08.533Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-06T06:13:08.533Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-06T06:13:08.533Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-06T06:13:08.793Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T06:13:08.793Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-06T06:13:08.793Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T06:13:08.793Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-06T06:13:08.793Z] | ^ [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c:969:27: error: implicit declaration of function 'devsdk_registry_get_keeper'; did you mean 'devsdk_registry_get_config'? [-Werror=implicit-function-declaration] [2024-12-06T06:13:08.793Z] 969 | svc->registry = devsdk_registry_get_keeper (); [2024-12-06T06:13:08.793Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:08.793Z] | devsdk_registry_get_config [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c:969:25: warning: assignment to 'devsdk_registry_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion] [2024-12-06T06:13:08.793Z] 969 | svc->registry = devsdk_registry_get_keeper (); [2024-12-06T06:13:08.793Z] | ^ [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c:973:25: warning: assignment to 'devsdk_registry_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion] [2024-12-06T06:13:08.793Z] 973 | svc->registry = devsdk_registry_get_keeper (); [2024-12-06T06:13:08.793Z] | ^ [2024-12-06T06:13:08.793Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T06:13:08.793Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T06:13:08.793Z] from /tmp/sdk/src/c/service.c:9: [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:13:08.793Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T06:13:08.793Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:08.793Z] | | [2024-12-06T06:13:08.793Z] | uint64_t {aka long unsigned int} [2024-12-06T06:13:08.793Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-06T06:13:08.793Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-06T06:13:08.793Z] | ^~~~~~~~~~~ [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here [2024-12-06T06:13:08.793Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T06:13:08.793Z] | ~^ [2024-12-06T06:13:08.793Z] | | [2024-12-06T06:13:08.793Z] | int [2024-12-06T06:13:08.793Z] | %ld [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:13:08.793Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:13:08.793Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:08.793Z] | | [2024-12-06T06:13:08.793Z] | size_t {aka long unsigned int} [2024-12-06T06:13:08.793Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:13:08.793Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:13:08.793Z] | ^~~~~~~~~~~ [2024-12-06T06:13:08.793Z] /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here [2024-12-06T06:13:08.793Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:13:08.793Z] | ~^ [2024-12-06T06:13:08.793Z] | | [2024-12-06T06:13:08.793Z] | int [2024-12-06T06:13:08.793Z] | %ld [2024-12-06T06:13:08.793Z] cc1: some warnings being treated as errors [2024-12-06T06:13:08.793Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:468: c/CMakeFiles/csdk.dir/service.c.o] Error 1 [2024-12-06T06:13:08.793Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2024-12-06T06:13:08.793Z] make: *** [Makefile:156: all] Error 2 [2024-12-06T06:13:08.793Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-06T06:13:09.059Z] [ 2%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c:915:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T06:13:09.059Z] 915 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-12-06T06:13:09.059Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c:916:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-12-06T06:13:09.059Z] 916 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-12-06T06:13:09.059Z] | ^ [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c:969:27: error: implicit declaration of function 'devsdk_registry_get_keeper'; did you mean 'devsdk_registry_get_config'? [-Werror=implicit-function-declaration] [2024-12-06T06:13:09.059Z] 969 | svc->registry = devsdk_registry_get_keeper (); [2024-12-06T06:13:09.059Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:09.059Z] | devsdk_registry_get_config [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c:969:25: warning: assignment to 'devsdk_registry_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion] [2024-12-06T06:13:09.059Z] 969 | svc->registry = devsdk_registry_get_keeper (); [2024-12-06T06:13:09.059Z] | ^ [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c:973:25: warning: assignment to 'devsdk_registry_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion] [2024-12-06T06:13:09.059Z] 973 | svc->registry = devsdk_registry_get_keeper (); [2024-12-06T06:13:09.059Z] | ^ [2024-12-06T06:13:09.059Z] In file included from /tmp/sdk/src/c/../../include/devsdk/devsdk.h:18, [2024-12-06T06:13:09.059Z] from /tmp/sdk/src/c/service.h:12, [2024-12-06T06:13:09.059Z] from /tmp/sdk/src/c/service.c:9: [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c:1087:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:13:09.059Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T06:13:09.059Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:09.059Z] | | [2024-12-06T06:13:09.059Z] | uint64_t {aka long unsigned int} [2024-12-06T06:13:09.059Z] /opt/iotech/iot/1.5/include/iot/logger.h:179:101: note: in definition of macro 'iot_log_info' [2024-12-06T06:13:09.059Z] 179 | #define iot_log_info(l,...) if ((l) && (l)->level >= IOT_LOG_INFO) iot_log__log ((l), IOT_LOG_INFO, __VA_ARGS__) [2024-12-06T06:13:09.059Z] | ^~~~~~~~~~~ [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c:1087:54: note: format string is defined here [2024-12-06T06:13:09.059Z] 1087 | iot_log_info (svc->logger, "Service started in: %dms", iot_time_msecs() - svc->starttime); [2024-12-06T06:13:09.059Z] | ~^ [2024-12-06T06:13:09.059Z] | | [2024-12-06T06:13:09.059Z] | int [2024-12-06T06:13:09.059Z] | %ld [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c: In function 'devsdk_post_readings': [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c:1150:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] [2024-12-06T06:13:09.059Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:13:09.059Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:09.059Z] | | [2024-12-06T06:13:09.059Z] | size_t {aka long unsigned int} [2024-12-06T06:13:09.059Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T06:13:09.059Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T06:13:09.059Z] | ^~~~~~~~~~~ [2024-12-06T06:13:09.059Z] /tmp/sdk/src/c/service.c:1150:66: note: format string is defined here [2024-12-06T06:13:09.059Z] 1150 | iot_log_error (svc->logger, "Post readings: Event size (%d KiB) exceeds configured MaxEventSize", edgex_event_cooked_size (event) / 1024); [2024-12-06T06:13:09.059Z] | ~^ [2024-12-06T06:13:09.059Z] | | [2024-12-06T06:13:09.059Z] | int [2024-12-06T06:13:09.059Z] | %ld [2024-12-06T06:13:09.336Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T06:13:09.336Z] /tmp/sdk/src/c/service.c:1070:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T06:13:09.336Z] 1070 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-06T06:13:09.336Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:09.336Z] /tmp/sdk/src/c/service.c:882:68: note: 'deviceservices_config' was declared here [2024-12-06T06:13:09.336Z] 882 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-12-06T06:13:09.336Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-06T06:13:09.336Z] cc1: some warnings being treated as errors [2024-12-06T06:13:09.336Z] make[2]: *** [c/CMakeFiles/csdk.dir/build.make:468: c/CMakeFiles/csdk.dir/service.c.o] Error 1 [2024-12-06T06:13:09.336Z] make[1]: *** [CMakeFiles/Makefile2:240: c/CMakeFiles/csdk.dir/all] Error 2 [2024-12-06T06:13:09.336Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-06T06:13:09.336Z] make: *** [Makefile:156: all] Error 2 [2024-12-06T06:13:09.595Z] The command '/bin/sh -c cd /tmp/sdk && ./scripts/build.sh && make -C build/release install' returned a non-zero code: 2 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:13:11.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T06:13:11.060Z] [2024-12-06T06:13:11.060Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:13:11.461Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T06:13:11.461Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-06T06:13:11.461Z] 5eb5b503b376: Pulling fs layer [2024-12-06T06:13:11.461Z] 5c69ac0246d0: Pulling fs layer [2024-12-06T06:13:11.461Z] ec43610c2a17: Pulling fs layer [2024-12-06T06:13:11.461Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-06T06:13:11.461Z] 33b1e0a273af: Pulling fs layer [2024-12-06T06:13:11.461Z] 5d3b04190fa2: Pulling fs layer [2024-12-06T06:13:11.461Z] 2f39f015ded8: Pulling fs layer [2024-12-06T06:13:11.461Z] 33b1e0a273af: Waiting [2024-12-06T06:13:11.461Z] 5d3b04190fa2: Waiting [2024-12-06T06:13:11.461Z] 2f39f015ded8: Waiting [2024-12-06T06:13:11.461Z] 3a2ae6a8a46f: Waiting [2024-12-06T06:13:11.461Z] 5c69ac0246d0: Download complete [2024-12-06T06:13:11.461Z] 3a2ae6a8a46f: Verifying Checksum [2024-12-06T06:13:11.461Z] 3a2ae6a8a46f: Download complete [2024-12-06T06:13:11.461Z] 33b1e0a273af: Verifying Checksum [2024-12-06T06:13:11.461Z] 33b1e0a273af: Download complete [2024-12-06T06:13:11.461Z] 5d3b04190fa2: Verifying Checksum [2024-12-06T06:13:11.461Z] 5d3b04190fa2: Download complete [2024-12-06T06:13:11.720Z] ec43610c2a17: Download complete [2024-12-06T06:13:11.720Z] 5eb5b503b376: Download complete [2024-12-06T06:13:12.287Z] 2f39f015ded8: Download complete [2024-12-06T06:13:13.222Z] 5eb5b503b376: Pull complete [2024-12-06T06:13:13.223Z] 5c69ac0246d0: Pull complete [2024-12-06T06:13:13.792Z] ec43610c2a17: Pull complete [2024-12-06T06:13:13.792Z] 3a2ae6a8a46f: Pull complete [2024-12-06T06:13:14.053Z] 33b1e0a273af: Pull complete [2024-12-06T06:13:14.053Z] 5d3b04190fa2: Pull complete [2024-12-06T06:13:19.380Z] 2f39f015ded8: Pull complete [2024-12-06T06:13:19.380Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-06T06:13:19.380Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T06:13:19.380Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T06:13:19.636Z] prd-ubuntu20.04-docker-8c-8g-34598 does not seem to be running inside a container [2024-12-06T06:13:19.663Z] $ 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-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@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-lftools-log-publisher:latest cat [2024-12-06T06:13:24.209Z] $ docker top 347daa4db75b91d701e3498cb404a8df0c5f523241e1b8c67f35dac89b08f977 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:13:24.682Z] ---> job-cost.sh [2024-12-06T06:13:24.682Z] lf-activate-venv: SKIPPING [2024-12-06T06:13:24.682Z] INFO: No Stack... [2024-12-06T06:13:24.941Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T06:13:25.200Z] INFO: Archiving Costs [Pipeline] sh [2024-12-06T06:13:25.525Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/cost.csv [2024-12-06T06:13:25.525Z] + cut -d, -f6 [Pipeline] lock [2024-12-06T06:13:25.571Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-1-stack-cost] [2024-12-06T06:13:25.578Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-530-1-stack-cost] did not exist. Created. [2024-12-06T06:13:25.584Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-06T06:13:25.995Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-06T06:13:26.070Z] Stashed 1 file(s) [Pipeline] } [2024-12-06T06:13:26.096Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-530-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-06T06:13:26.188Z] $ docker stop --time=1 347daa4db75b91d701e3498cb404a8df0c5f523241e1b8c67f35dac89b08f977 [2024-12-06T06:13:27.358Z] $ docker rm -f --volumes 347daa4db75b91d701e3498cb404a8df0c5f523241e1b8c67f35dac89b08f977 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-12-06T06:13:27.774Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [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-06T06:13:29.206Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives ] [2024-12-06T06:13:29.206Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives [2024-12-06T06:13:29.206Z] total 16 [2024-12-06T06:13:29.206Z] drwxr-xr-x 3 root root 4096 Dec 6 06:13 . [2024-12-06T06:13:29.206Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 06:13 .. [2024-12-06T06:13:29.206Z] drwxr-xr-x 2 root root 4096 Dec 6 06:13 cost [2024-12-06T06:13:29.206Z] -rw-r--r-- 1 root root 84 Dec 6 06:13 cost.csv [2024-12-06T06:13:29.206Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives [2024-12-06T06:13:29.206Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives [2024-12-06T06:13:29.206Z] total 16 [2024-12-06T06:13:29.206Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 06:13 . [2024-12-06T06:13:29.206Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 06:13 .. [2024-12-06T06:13:29.206Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 06:13 cost [2024-12-06T06:13:29.206Z] -rw-r--r-- 1 jenkins jenkins 84 Dec 6 06:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:13:29.554Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:13:30.466Z] ---> package-listing.sh [2024-12-06T06:13:30.466Z] ++ facter osfamily [2024-12-06T06:13:30.466Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-06T06:13:30.727Z] + OS_FAMILY=debian [2024-12-06T06:13:30.727Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-530 [2024-12-06T06:13:30.727Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-06T06:13:30.728Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-06T06:13:30.728Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-06T06:13:30.728Z] + PACKAGES=/tmp/packages_start.txt [2024-12-06T06:13:30.728Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-530 ']' [2024-12-06T06:13:30.728Z] + PACKAGES=/tmp/packages_end.txt [2024-12-06T06:13:30.728Z] + case "${OS_FAMILY}" in [2024-12-06T06:13:30.728Z] + dpkg -l [2024-12-06T06:13:30.728Z] + grep '^ii' [2024-12-06T06:13:30.728Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-06T06:13:30.728Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-06T06:13:30.728Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-06T06:13:30.728Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-530 ']' [2024-12-06T06:13:30.728Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/ [2024-12-06T06:13:30.728Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-530/archives/ [Pipeline] echo [2024-12-06T06:13:30.766Z] 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-530/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-12-06T06:13:31.064Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T06:13:31.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T06:13:31.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T06:13:31.886Z] prd-ubuntu20.04-docker-8c-8g-34598 does not seem to be running inside a container [2024-12-06T06:13:31.919Z] $ 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-530/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-530 -v /w/workspace/edgexfoundry_device-sdk-c_PR-530:/w/workspace/edgexfoundry_device-sdk-c_PR-530:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-12-06T06:13:32.153Z] $ docker top 3c4dcb4f3cd758ab1e92c74941b9427076f633040c3528798ca1e985919097cf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-06T06:13:32.575Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-06T06:13:32.896Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-06T06:13:33.221Z] + ls /var/log/sa-host [2024-12-06T06:13:33.221Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T06:13:33.458Z] provisioning config files... [2024-12-06T06:13:33.470Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-530@tmp/config11316903006572110852tmp [Pipeline] { [Pipeline] echo [2024-12-06T06:13:33.539Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:13:33.866Z] ---> create-netrc.sh [Pipeline] } [2024-12-06T06:13:33.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:13:34.336Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-06T06:13:34.371Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:13:34.689Z] ---> sudo-logs.sh [2024-12-06T06:13:34.689Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-06T06:13:34.803Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:13:35.122Z] ---> job-cost.sh [2024-12-06T06:13:35.122Z] lf-activate-venv: SKIPPING [2024-12-06T06:13:35.122Z] DEBUG: total: 0.2199999988079071 [2024-12-06T06:13:35.122Z] INFO: Retrieving Stack Cost... [2024-12-06T06:13:35.122Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T06:13:35.696Z] INFO: Archiving Costs [Pipeline] echo [2024-12-06T06:13:35.743Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T06:13:36.071Z] ---> logs-deploy.sh [2024-12-06T06:13:36.071Z] lf-activate-venv: SKIPPING [2024-12-06T06:13:36.071Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-530/1 [2024-12-06T06:13:36.071Z] INFO: archiving workspace using pattern(s): [2024-12-06T06:13:37.007Z] Archives upload complete. [2024-12-06T06:13:37.269Z] INFO: archiving logs to Nexus