Pull request #532 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 iain-anderson for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 493d4cdb9dda813960475a75833033e412ec51e2+62fc64c90db9bc421ef18031b23432b09bce4dbe (384a0151ba2a36f9fc8e3c47f04152b3d0c9aafd) 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-ssh1388446967062194121.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-ssh8804046308453438922.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-532/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-532/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16255183565742939010.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-532/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10106771802805788557.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-ssh10698176166484921680.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-532/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-532/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2142421988055480851.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34623 in /w/workspace/edgexfoundry_device-sdk-c_PR-532 [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-532 # 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/532/head:refs/remotes/origin/PR-532 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 62fc64c90db9bc421ef18031b23432b09bce4dbe into PR head commit 493d4cdb9dda813960475a75833033e412ec51e2 Merge succeeded, producing 493d4cdb9dda813960475a75833033e412ec51e2 Checking out Revision 493d4cdb9dda813960475a75833033e412ec51e2 (PR-532) > git config core.sparsecheckout # timeout=10 > git checkout -f 493d4cdb9dda813960475a75833033e412ec51e2 # 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 62fc64c90db9bc421ef18031b23432b09bce4dbe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 493d4cdb9dda813960475a75833033e412ec51e2 # timeout=10 Commit message: "feat: Add device up/down detection" 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-06T11:22:32.068Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-12-06T11:22:32.272Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-12-06T11:22:32.390Z] ========================================================= [2024-12-06T11:22:32.390Z] EdgeX Global Pipelines Version Info [2024-12-06T11:22:32.390Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:22:33.223Z] ------------------- [2024-12-06T11:22:33.223Z] stable info: [2024-12-06T11:22:33.223Z] ------------------- [2024-12-06T11:22:33.223Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-12-06T11:22:33.223Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T11:22:33.223Z] Message: update stable to v1.0.269 [2024-12-06T11:22:33.797Z] ------------------- [2024-12-06T11:22:33.797Z] experimental info: [2024-12-06T11:22:33.797Z] ------------------- [2024-12-06T11:22:33.798Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-12-06T11:22:33.798Z] Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 [2024-12-06T11:22:33.798Z] Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-12-06T11:22:34.028Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-12-06T11:22:34.093Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-12-06T11:22:34.152Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-12-06T11:22:34.213Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-12-06T11:22:34.273Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-12-06T11:22:34.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-12-06T11:22:34.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-12-06T11:22:34.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-12-06T11:22:34.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-12-06T11:22:34.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-12-06T11:22:34.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-12-06T11:22:34.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-12-06T11:22:34.774Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-12-06T11:22:34.832Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-12-06T11:22:34.890Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-12-06T11:22:34.943Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-12-06T11:22:35.003Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-12-06T11:22:35.061Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-532 [Pipeline] echo [2024-12-06T11:22:35.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-532 [Pipeline] echo [2024-12-06T11:22:35.185Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-532 [Pipeline] echo [2024-12-06T11:22:35.244Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 493d4cdb9dda813960475a75833033e412ec51e2 [Pipeline] echo [2024-12-06T11:22:35.308Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 493d4cd [Pipeline] echo [2024-12-06T11:22:35.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T11:22:35.518Z] provisioning config files... [2024-12-06T11:22:35.535Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/config2018458277128370264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:22:35.931Z] ---> ****-login.sh [2024-12-06T11:22:35.931Z] nexus3.edgexfoundry.org:10001 [2024-12-06T11:22:36.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T11:22:36.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T11:22:36.193Z] Configure a credential helper to remove this warning. See [2024-12-06T11:22:36.193Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T11:22:36.193Z] [2024-12-06T11:22:36.193Z] Login Succeeded [2024-12-06T11:22:36.454Z] nexus3.edgexfoundry.org:10002 [2024-12-06T11:22:36.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T11:22:36.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T11:22:36.454Z] Configure a credential helper to remove this warning. See [2024-12-06T11:22:36.454Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T11:22:36.454Z] [2024-12-06T11:22:36.454Z] Login Succeeded [2024-12-06T11:22:36.454Z] nexus3.edgexfoundry.org:10003 [2024-12-06T11:22:36.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T11:22:36.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T11:22:36.454Z] Configure a credential helper to remove this warning. See [2024-12-06T11:22:36.455Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T11:22:36.455Z] [2024-12-06T11:22:36.455Z] Login Succeeded [2024-12-06T11:22:36.455Z] nexus3.edgexfoundry.org:10004 [2024-12-06T11:22:36.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T11:22:36.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T11:22:36.715Z] Configure a credential helper to remove this warning. See [2024-12-06T11:22:36.715Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T11:22:36.715Z] [2024-12-06T11:22:36.715Z] Login Succeeded [2024-12-06T11:22:36.715Z] ****.io [2024-12-06T11:22:36.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T11:22:36.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T11:22:36.977Z] Configure a credential helper to remove this warning. See [2024-12-06T11:22:36.977Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T11:22:36.977Z] [2024-12-06T11:22:36.977Z] Login Succeeded [2024-12-06T11:22:36.977Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T11:22:37.010Z] 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-06T11:22:37.720Z] + git rev-list -1 --merges 493d4cdb9dda813960475a75833033e412ec51e2~1..493d4cdb9dda813960475a75833033e412ec51e2 [Pipeline] echo [2024-12-06T11:22:37.772Z] -----------> git rev-list -1 --merges 493d4cdb9dda813960475a75833033e412ec51e2~1..493d4cdb9dda813960475a75833033e412ec51e2 493d4cdb9dda813960475a75833033e412ec51e2 [false] [Pipeline] sh [2024-12-06T11:22:38.098Z] + git log --format=format:%s -1 493d4cdb9dda813960475a75833033e412ec51e2 [Pipeline] echo [2024-12-06T11:22:38.145Z] ========================================================= [2024-12-06T11:22:38.146Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T11:22:38.146Z] ========================================================= 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-06T11:22:39.140Z] + git rev-list -1 --merges 493d4cdb9dda813960475a75833033e412ec51e2~1..493d4cdb9dda813960475a75833033e412ec51e2 [Pipeline] echo [2024-12-06T11:22:39.177Z] -----------> git rev-list -1 --merges 493d4cdb9dda813960475a75833033e412ec51e2~1..493d4cdb9dda813960475a75833033e412ec51e2 493d4cdb9dda813960475a75833033e412ec51e2 [false] [Pipeline] sh [2024-12-06T11:22:39.492Z] + git log --format=format:%s -1 493d4cdb9dda813960475a75833033e412ec51e2 [Pipeline] echo [2024-12-06T11:22:39.534Z] ========================================================= [2024-12-06T11:22:39.534Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-12-06T11:22:39.534Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-12-06T11:22:39.979Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-12-06T11:22:39.979Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-12-06T11:22:39.979Z] + [ -e /tmp/ssh_known_hosts ] [2024-12-06T11:22:39.979Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-12-06T11:22:39.979Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-12-06T11:22:39.979Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-12-06T11:22:39.979Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T11:22:40.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T11:22:40.516Z] [2024-12-06T11:22:40.516Z] 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-06T11:22:40.942Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T11:22:40.942Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-12-06T11:22:40.942Z] b85a868b505f: Pulling fs layer [2024-12-06T11:22:40.942Z] e2be974225ed: Pulling fs layer [2024-12-06T11:22:40.942Z] 339a4e72a1f5: Pulling fs layer [2024-12-06T11:22:40.942Z] 988bab9f4d93: Pulling fs layer [2024-12-06T11:22:40.942Z] 1469e6f7b9e6: Pulling fs layer [2024-12-06T11:22:40.942Z] eaf3925da568: Pulling fs layer [2024-12-06T11:22:40.942Z] bab4dde63d76: Pulling fs layer [2024-12-06T11:22:40.942Z] bde34c3a00c8: Pulling fs layer [2024-12-06T11:22:40.942Z] b352a97aabf1: Pulling fs layer [2024-12-06T11:22:40.942Z] 4872d77fe225: Pulling fs layer [2024-12-06T11:22:40.942Z] 5851b861e8e6: Pulling fs layer [2024-12-06T11:22:40.942Z] 988bab9f4d93: Waiting [2024-12-06T11:22:40.942Z] 1469e6f7b9e6: Waiting [2024-12-06T11:22:40.942Z] eaf3925da568: Waiting [2024-12-06T11:22:40.942Z] bab4dde63d76: Waiting [2024-12-06T11:22:40.942Z] bde34c3a00c8: Waiting [2024-12-06T11:22:40.942Z] 4872d77fe225: Waiting [2024-12-06T11:22:40.942Z] 5851b861e8e6: Waiting [2024-12-06T11:22:40.942Z] e2be974225ed: Download complete [2024-12-06T11:22:40.942Z] 988bab9f4d93: Verifying Checksum [2024-12-06T11:22:40.942Z] 988bab9f4d93: Download complete [2024-12-06T11:22:40.942Z] 1469e6f7b9e6: Verifying Checksum [2024-12-06T11:22:40.942Z] 1469e6f7b9e6: Download complete [2024-12-06T11:22:41.206Z] eaf3925da568: Verifying Checksum [2024-12-06T11:22:41.206Z] eaf3925da568: Download complete [2024-12-06T11:22:41.206Z] 339a4e72a1f5: Verifying Checksum [2024-12-06T11:22:41.206Z] 339a4e72a1f5: Download complete [2024-12-06T11:22:41.206Z] bde34c3a00c8: Verifying Checksum [2024-12-06T11:22:41.206Z] bde34c3a00c8: Download complete [2024-12-06T11:22:41.206Z] b352a97aabf1: Download complete [2024-12-06T11:22:41.206Z] 4872d77fe225: Verifying Checksum [2024-12-06T11:22:41.206Z] 4872d77fe225: Download complete [2024-12-06T11:22:41.206Z] 5851b861e8e6: Verifying Checksum [2024-12-06T11:22:41.206Z] 5851b861e8e6: Download complete [2024-12-06T11:22:41.206Z] b85a868b505f: Verifying Checksum [2024-12-06T11:22:41.206Z] b85a868b505f: Download complete [2024-12-06T11:22:41.465Z] bab4dde63d76: Verifying Checksum [2024-12-06T11:22:41.465Z] bab4dde63d76: Download complete [2024-12-06T11:22:42.417Z] b85a868b505f: Pull complete [2024-12-06T11:22:42.678Z] e2be974225ed: Pull complete [2024-12-06T11:22:43.245Z] 339a4e72a1f5: Pull complete [2024-12-06T11:22:43.245Z] 988bab9f4d93: Pull complete [2024-12-06T11:22:43.505Z] 1469e6f7b9e6: Pull complete [2024-12-06T11:22:43.505Z] eaf3925da568: Pull complete [2024-12-06T11:22:45.421Z] bab4dde63d76: Pull complete [2024-12-06T11:22:45.421Z] bde34c3a00c8: Pull complete [2024-12-06T11:22:45.421Z] b352a97aabf1: Pull complete [2024-12-06T11:22:45.682Z] 4872d77fe225: Pull complete [2024-12-06T11:22:45.682Z] 5851b861e8e6: Pull complete [2024-12-06T11:22:45.682Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-12-06T11:22:45.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-12-06T11:22:45.682Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T11:22:45.960Z] prd-ubuntu20.04-docker-8c-8g-34623 does not seem to be running inside a container [2024-12-06T11:22:45.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-532 -v /w/workspace/edgexfoundry_device-sdk-c_PR-532:/w/workspace/edgexfoundry_device-sdk-c_PR-532:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-532@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-06T11:22:47.240Z] $ docker top 8626159edec91a2a67b1f17782342d14efff13459b224c2a1f824a40ea47e6af -eo pid,comm [2024-12-06T11:22:47.297Z] 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-06T11:22:47.297Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-12-06T11:22:47.476Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T11:22:47.476Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T11:22:47.590Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T11:22:47.589Z] $ docker exec 8626159edec91a2a67b1f17782342d14efff13459b224c2a1f824a40ea47e6af ssh-agent [2024-12-06T11:22:47.696Z] SSH_AUTH_SOCK=/tmp/ssh-ioqcQmx19CYs/agent.33 [2024-12-06T11:22:47.696Z] SSH_AGENT_PID=39 [2024-12-06T11:22:47.702Z] Running ssh-add (command line suppressed) [2024-12-06T11:22:47.807Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/private_key_8452752261360450450.key (/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/private_key_8452752261360450450.key) [2024-12-06T11:22:47.825Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T11:22:48.182Z] + git tag --points-at HEAD [Pipeline] } [2024-12-06T11:22:48.212Z] $ docker exec --env ******** --env ******** 8626159edec91a2a67b1f17782342d14efff13459b224c2a1f824a40ea47e6af ssh-agent -k [2024-12-06T11:22:48.341Z] unset SSH_AUTH_SOCK; [2024-12-06T11:22:48.341Z] unset SSH_AGENT_PID; [2024-12-06T11:22:48.341Z] echo Agent pid 39 killed; [2024-12-06T11:22:48.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-12-06T11:22:48.473Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-12-06T11:22:48.473Z] [ssh-agent] Looking for ssh-agent implementation... [2024-12-06T11:22:48.584Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-12-06T11:22:48.583Z] $ docker exec 8626159edec91a2a67b1f17782342d14efff13459b224c2a1f824a40ea47e6af ssh-agent [2024-12-06T11:22:48.705Z] SSH_AUTH_SOCK=/tmp/ssh-OVNlivIxtIMj/agent.72 [2024-12-06T11:22:48.705Z] SSH_AGENT_PID=78 [2024-12-06T11:22:48.710Z] Running ssh-add (command line suppressed) [2024-12-06T11:22:48.814Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/private_key_17502645048869155082.key (/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/private_key_17502645048869155082.key) [2024-12-06T11:22:48.830Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-12-06T11:22:49.171Z] + git semver init [2024-12-06T11:22:49.433Z] 2024-12-06 11:22:49,361 [run_init] DEBUG init version:0.0.0 force:False [2024-12-06T11:22:49.433Z] 2024-12-06 11:22:49,361 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver [2024-12-06T11:22:49.433Z] 2024-12-06 11:22:49,362 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver [2024-12-06T11:22:49.433Z] 2024-12-06 11:22:49,362 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-532, universal_newlines=False, shell=None, istream=None) [2024-12-06T11:22:50.382Z] 2024-12-06 11:22:50,153 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-532/.git/info/exclude [2024-12-06T11:22:50.382Z] 2024-12-06 11:22:50,153 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver/PR-532 with force:False [2024-12-06T11:22:50.382Z] 2024-12-06 11:22:50,153 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver/PR-532 [2024-12-06T11:22:50.382Z] 2024-12-06 11:22:50,158 [execute] INFO git cat-file --batch-check [2024-12-06T11:22:50.382Z] 2024-12-06 11:22:50,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver, universal_newlines=False, shell=None, istream=) [2024-12-06T11:22:50.382Z] 2024-12-06 11:22:50,164 [execute] INFO git cat-file --batch [2024-12-06T11:22:50.382Z] 2024-12-06 11:22:50,165 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver, universal_newlines=False, shell=None, istream=) [2024-12-06T11:22:50.382Z] 2024-12-06 11:22:50,168 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-532/.semver/PR-532 [2024-12-06T11:22:50.382Z] 0.0.0 [Pipeline] } [2024-12-06T11:22:50.408Z] $ docker exec --env ******** --env ******** 8626159edec91a2a67b1f17782342d14efff13459b224c2a1f824a40ea47e6af ssh-agent -k [2024-12-06T11:22:50.538Z] unset SSH_AUTH_SOCK; [2024-12-06T11:22:50.538Z] unset SSH_AGENT_PID; [2024-12-06T11:22:50.539Z] echo Agent pid 78 killed; [2024-12-06T11:22:50.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-12-06T11:22:51.011Z] + git semver [Pipeline] } [2024-12-06T11:22:51.299Z] $ docker stop --time=1 8626159edec91a2a67b1f17782342d14efff13459b224c2a1f824a40ea47e6af [2024-12-06T11:22:52.592Z] $ docker rm -f --volumes 8626159edec91a2a67b1f17782342d14efff13459b224c2a1f824a40ea47e6af [Pipeline] // withDockerContainer [Pipeline] sh [2024-12-06T11:22:53.021Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-12-06T11:22:53.336Z] Stashed 1 file(s) [Pipeline] echo [2024-12-06T11:22:53.362Z] [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-06T11:22:54.421Z] provisioning config files... [2024-12-06T11:22:54.431Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/config15720413979223528283tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:22:54.932Z] ---> ****-login.sh [2024-12-06T11:22:54.933Z] nexus3.edgexfoundry.org:10001 [2024-12-06T11:22:54.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T11:22:54.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T11:22:54.933Z] Configure a credential helper to remove this warning. See [2024-12-06T11:22:54.933Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T11:22:54.933Z] [2024-12-06T11:22:54.933Z] Login Succeeded [2024-12-06T11:22:54.933Z] nexus3.edgexfoundry.org:10002 [2024-12-06T11:22:54.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T11:22:54.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T11:22:54.933Z] Configure a credential helper to remove this warning. See [2024-12-06T11:22:54.933Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T11:22:54.933Z] [2024-12-06T11:22:54.933Z] Login Succeeded [2024-12-06T11:22:54.933Z] nexus3.edgexfoundry.org:10003 [2024-12-06T11:22:55.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T11:22:55.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T11:22:55.193Z] Configure a credential helper to remove this warning. See [2024-12-06T11:22:55.193Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T11:22:55.193Z] [2024-12-06T11:22:55.193Z] Login Succeeded [2024-12-06T11:22:55.193Z] nexus3.edgexfoundry.org:10004 [2024-12-06T11:22:55.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T11:22:55.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T11:22:55.193Z] Configure a credential helper to remove this warning. See [2024-12-06T11:22:55.193Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T11:22:55.193Z] [2024-12-06T11:22:55.193Z] Login Succeeded [2024-12-06T11:22:55.193Z] ****.io [2024-12-06T11:22:55.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-12-06T11:22:55.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-12-06T11:22:55.452Z] Configure a credential helper to remove this warning. See [2024-12-06T11:22:55.452Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-12-06T11:22:55.452Z] [2024-12-06T11:22:55.452Z] Login Succeeded [2024-12-06T11:22:55.452Z] ---> ****-login.sh ends [Pipeline] } [2024-12-06T11:22:55.488Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-12-06T11:22:55.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T11:22:55.764Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-12-06T11:22:55.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-12-06T11:22:55.861Z] ========================================================= [2024-12-06T11:22:55.861Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-12-06T11:22:55.861Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T11:22:56.353Z] + 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-06T11:22:56.353Z] Sending build context to Docker daemon 5.278MB [2024-12-06T11:22:56.353Z] Step 1/22 : ARG BASE=alpine:3.18 [2024-12-06T11:22:56.353Z] Step 2/22 : FROM ${BASE} as builder [2024-12-06T11:22:56.353Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-12-06T11:22:56.353Z] 96526aa774ef: Pulling fs layer [2024-12-06T11:22:56.353Z] da60e534fd72: Pulling fs layer [2024-12-06T11:22:56.612Z] 96526aa774ef: Verifying Checksum [2024-12-06T11:22:56.612Z] 96526aa774ef: Download complete [2024-12-06T11:22:56.612Z] 96526aa774ef: Pull complete [2024-12-06T11:22:57.182Z] da60e534fd72: Verifying Checksum [2024-12-06T11:22:57.182Z] da60e534fd72: Download complete [2024-12-06T11:23:00.475Z] da60e534fd72: Pull complete [2024-12-06T11:23:00.475Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-12-06T11:23:00.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-12-06T11:23:00.475Z] ---> 6605166a5db4 [2024-12-06T11:23:00.475Z] 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-06T11:23:01.048Z] ---> Running in 4addc2b30106 [2024-12-06T11:23:01.308Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-12-06T11:23:01.569Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T11:23:01.569Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T11:23:01.569Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T11:23:02.141Z] Removing intermediate container 4addc2b30106 [2024-12-06T11:23:02.141Z] ---> b86b7c6de5f6 [2024-12-06T11:23:02.141Z] Step 4/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T11:23:02.141Z] ---> Running in 9abd7dc3b661 [2024-12-06T11:23:02.712Z] Removing intermediate container 9abd7dc3b661 [2024-12-06T11:23:02.712Z] ---> 8ab502e1a558 [2024-12-06T11:23:02.712Z] 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-06T11:23:02.712Z] ---> Running in 34033428fb65 [2024-12-06T11:23:02.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:03.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:03.232Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:03.802Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T11:23:03.802Z] (1/15) Installing libcbor (0.10.2-r1) [2024-12-06T11:23:03.802Z] (2/15) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-06T11:23:04.743Z] (3/15) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-06T11:23:04.743Z] (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-06T11:23:04.743Z] (5/15) Installing libcbor-dev (0.10.2-r1) [2024-12-06T11:23:04.743Z] (6/15) Installing libmenuw (6.4_p20230506-r0) [2024-12-06T11:23:05.002Z] (7/15) Installing libpanelw (6.4_p20230506-r0) [2024-12-06T11:23:05.002Z] (8/15) Installing libncurses++ (6.4_p20230506-r0) [2024-12-06T11:23:05.002Z] (9/15) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-06T11:23:05.002Z] (10/15) Installing libblkid (2.38.1-r8) [2024-12-06T11:23:05.002Z] (11/15) Installing libuuid (2.38.1-r8) [2024-12-06T11:23:05.002Z] (12/15) Installing libfdisk (2.38.1-r8) [2024-12-06T11:23:05.002Z] (13/15) Installing libmount (2.38.1-r8) [2024-12-06T11:23:05.002Z] (14/15) Installing libsmartcols (2.38.1-r8) [2024-12-06T11:23:05.002Z] (15/15) Installing util-linux-dev (2.38.1-r8) [2024-12-06T11:23:05.002Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T11:23:05.002Z] OK: 336 MiB in 97 packages [2024-12-06T11:23:05.574Z] Removing intermediate container 34033428fb65 [2024-12-06T11:23:05.574Z] ---> 9193e8837b71 [2024-12-06T11:23:05.574Z] Step 6/22 : RUN mkdir /tmp/sdk [2024-12-06T11:23:05.574Z] ---> Running in 272617bae157 [2024-12-06T11:23:06.145Z] Removing intermediate container 272617bae157 [2024-12-06T11:23:06.145Z] ---> 3bf2bc3eaf63 [2024-12-06T11:23:06.145Z] Step 7/22 : COPY VERSION /tmp/sdk [2024-12-06T11:23:06.145Z] ---> 3a141789b3c1 [2024-12-06T11:23:06.145Z] Step 8/22 : COPY src /tmp/sdk/src [2024-12-06T11:23:06.406Z] ---> 9c225d33b8da [2024-12-06T11:23:06.406Z] Step 9/22 : COPY include /tmp/sdk/include [2024-12-06T11:23:06.666Z] ---> 326343ab750a [2024-12-06T11:23:06.666Z] Step 10/22 : COPY scripts /tmp/sdk/scripts [2024-12-06T11:23:06.666Z] ---> c212139bf00a [2024-12-06T11:23:06.666Z] Step 11/22 : COPY LICENSE /tmp/sdk [2024-12-06T11:23:06.926Z] ---> 6629c4e84577 [2024-12-06T11:23:06.926Z] Step 12/22 : COPY Attribution.txt /tmp/sdk [2024-12-06T11:23:06.926Z] ---> 869d107b0bc1 [2024-12-06T11:23:06.926Z] Step 13/22 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-12-06T11:23:06.926Z] ---> Running in 74792bfcbe1b [2024-12-06T11:23:07.499Z] + CPPCHECK=false [2024-12-06T11:23:07.499Z] + DOCGEN=false [2024-12-06T11:23:07.499Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-12-06T11:23:07.499Z] + '[' 0 -gt 0 ] [2024-12-06T11:23:07.499Z] + readlink -f ./scripts/build.sh [2024-12-06T11:23:07.499Z] + dirname /tmp/sdk/scripts/build.sh [2024-12-06T11:23:07.499Z] + dirname /tmp/sdk/scripts [2024-12-06T11:23:07.499Z] + ROOT=/tmp/sdk [2024-12-06T11:23:07.499Z] + cd /tmp/sdk [2024-12-06T11:23:07.499Z] + mkdir -p /tmp/sdk/build/release [2024-12-06T11:23:07.499Z] + cd /tmp/sdk/build/release [2024-12-06T11:23:07.499Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-12-06T11:23:07.499Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T11:23:07.499Z] -- Detecting C compiler ABI info [2024-12-06T11:23:07.499Z] -- Detecting C compiler ABI info - done [2024-12-06T11:23:07.499Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T11:23:07.499Z] -- Detecting C compile features [2024-12-06T11:23:07.499Z] -- Detecting C compile features - done [2024-12-06T11:23:07.499Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T11:23:07.499Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T11:23:07.499Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T11:23:07.499Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T11:23:07.499Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T11:23:07.499Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T11:23:07.499Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T11:23:07.499Z] -- /opt/iotech/iot/1.5/include [2024-12-06T11:23:07.499Z] -- C SDK 0.0.0 for Linux [2024-12-06T11:23:07.499Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T11:23:07.769Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T11:23:07.769Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T11:23:07.769Z] -- Configuring done (0.4s) [2024-12-06T11:23:07.769Z] -- Generating done (0.0s) [2024-12-06T11:23:07.769Z] -- Build files have been written to: /tmp/sdk/build/release [2024-12-06T11:23:07.769Z] + make all package [2024-12-06T11:23:07.769Z] + tee release.log [2024-12-06T11:23:07.769Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T11:23:08.028Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T11:23:08.028Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-06T11:23:08.288Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-06T11:23:08.288Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-06T11:23:08.547Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-12-06T11:23:08.825Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-12-06T11:23:08.825Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T11:23:08.825Z] 294 | while (privateConfig) [2024-12-06T11:23:08.825Z] | ^~~~~~~~~~~~~ [2024-12-06T11:23:08.825Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-12-06T11:23:08.825Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-12-06T11:23:08.825Z] | ^~~~~~~~~~~~~ [2024-12-06T11:23:08.825Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T11:23:08.825Z] 271 | while (result) [2024-12-06T11:23:08.825Z] | ^~~~~~ [2024-12-06T11:23:08.825Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-12-06T11:23:08.825Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-12-06T11:23:08.825Z] | ^~~~~~ [2024-12-06T11:23:08.825Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-06T11:23:08.825Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-06T11:23:09.086Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-06T11:23:09.343Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-06T11:23:09.343Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-06T11:23:09.607Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-06T11:23:09.607Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-06T11:23:09.866Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-06T11:23:09.866Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-06T11:23:09.866Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-06T11:23:10.438Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-06T11:23:10.438Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-06T11:23:10.438Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-06T11:23:10.438Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-06T11:23:10.438Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-06T11:23:10.438Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-06T11:23:10.438Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-06T11:23:10.438Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-06T11:23:10.438Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-06T11:23:10.438Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T11:23:10.438Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T11:23:10.438Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T11:23:10.438Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T11:23:10.438Z] | ^~~~~~~~~~~ [2024-12-06T11:23:10.438Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-06T11:23:10.438Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T11:23:10.438Z] | ~^ [2024-12-06T11:23:10.438Z] | | [2024-12-06T11:23:10.438Z] | char * [2024-12-06T11:23:10.700Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-06T11:23:10.700Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-06T11:23:10.960Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-06T11:23:10.960Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-06T11:23:11.903Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-06T11:23:12.167Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-06T11:23:12.167Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-06T11:23:12.167Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-06T11:23:12.427Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-06T11:23:12.427Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-06T11:23:12.998Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-06T11:23:12.998Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-06T11:23:12.998Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-06T11:23:13.259Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T11:23:13.519Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-12-06T11:23:13.519Z] /tmp/sdk/src/c/service.c:1079:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-12-06T11:23:13.519Z] 1079 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-12-06T11:23:13.519Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T11:23:13.519Z] /tmp/sdk/src/c/service.c:883:21: note: 'deviceservices_config' was declared here [2024-12-06T11:23:13.519Z] 883 | const iot_data_t *deviceservices_config; [2024-12-06T11:23:13.519Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-12-06T11:23:13.519Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-06T11:23:13.779Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-06T11:23:13.779Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-06T11:23:13.779Z] [ 69%] Linking C shared library libcsdk.so [2024-12-06T11:23:13.779Z] [ 69%] Built target csdk [2024-12-06T11:23:13.779Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-06T11:23:14.040Z] [ 73%] Linking C executable template [2024-12-06T11:23:14.040Z] [ 73%] Built target template [2024-12-06T11:23:14.040Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-06T11:23:14.300Z] [ 76%] Linking C executable device-counter [2024-12-06T11:23:14.300Z] [ 76%] Built target device-counter [2024-12-06T11:23:14.300Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-06T11:23:14.300Z] [ 80%] Linking C executable device-random [2024-12-06T11:23:14.559Z] [ 80%] Built target device-random [2024-12-06T11:23:14.559Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-06T11:23:14.559Z] [ 84%] Linking C executable device-gyro [2024-12-06T11:23:14.559Z] [ 84%] Built target device-gyro [2024-12-06T11:23:14.559Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-06T11:23:14.821Z] [ 88%] Linking C executable device-bitfields [2024-12-06T11:23:14.821Z] [ 88%] Built target device-bitfields [2024-12-06T11:23:14.821Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-06T11:23:15.079Z] [ 92%] Linking C executable template-discovery [2024-12-06T11:23:15.079Z] [ 92%] Built target template-discovery [2024-12-06T11:23:15.079Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-06T11:23:15.079Z] [ 96%] Linking C executable device-file [2024-12-06T11:23:15.338Z] [ 96%] Built target device-file [2024-12-06T11:23:15.338Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-06T11:23:15.338Z] [100%] Linking C executable device-terminal [2024-12-06T11:23:15.338Z] [100%] Built target device-terminal [2024-12-06T11:23:15.338Z] Run CPack packaging tool... [2024-12-06T11:23:15.338Z] CPack: Create package using TGZ [2024-12-06T11:23:15.338Z] CPack: Install projects [2024-12-06T11:23:15.338Z] CPack: - Run preinstall target for: Csdk [2024-12-06T11:23:15.599Z] CPack: - Install project: Csdk [] [2024-12-06T11:23:15.599Z] CPack: Create package [2024-12-06T11:23:15.599Z] CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated. [2024-12-06T11:23:15.599Z] + '[' false '=' true ] [2024-12-06T11:23:15.599Z] + '[' false '=' true ] [2024-12-06T11:23:15.599Z] + mkdir -p /tmp/sdk/build/debug [2024-12-06T11:23:15.599Z] + cd /tmp/sdk/build/debug [2024-12-06T11:23:15.599Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-12-06T11:23:15.858Z] -- The C compiler identification is GNU 12.2.1 [2024-12-06T11:23:15.858Z] -- Detecting C compiler ABI info [2024-12-06T11:23:15.858Z] -- Detecting C compiler ABI info - done [2024-12-06T11:23:15.858Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-12-06T11:23:15.858Z] -- Detecting C compile features [2024-12-06T11:23:15.858Z] -- Detecting C compile features - done [2024-12-06T11:23:15.858Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-12-06T11:23:15.858Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-12-06T11:23:15.858Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-12-06T11:23:15.858Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-12-06T11:23:16.118Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-12-06T11:23:16.118Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-12-06T11:23:16.118Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-12-06T11:23:16.118Z] -- /opt/iotech/iot/1.5/include [2024-12-06T11:23:16.118Z] -- C SDK 0.0.0 for Linux [2024-12-06T11:23:16.118Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-12-06T11:23:16.118Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-12-06T11:23:16.118Z] -- Found Curses: /usr/lib/libcurses.so [2024-12-06T11:23:16.118Z] -- Configuring done (0.4s) [2024-12-06T11:23:16.118Z] -- Generating done (0.0s) [2024-12-06T11:23:16.118Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-12-06T11:23:16.118Z] + make [2024-12-06T11:23:16.118Z] + tee debug.log [2024-12-06T11:23:16.118Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-12-06T11:23:16.377Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-12-06T11:23:16.377Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-12-06T11:23:16.377Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-12-06T11:23:16.637Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-12-06T11:23:16.637Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-12-06T11:23:16.637Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-12-06T11:23:16.897Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-12-06T11:23:16.897Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-12-06T11:23:16.897Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-12-06T11:23:17.156Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-12-06T11:23:17.156Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-12-06T11:23:17.156Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-12-06T11:23:17.156Z] [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-12-06T11:23:17.415Z] [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-12-06T11:23:17.415Z] [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-12-06T11:23:17.415Z] [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-12-06T11:23:17.415Z] [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o [2024-12-06T11:23:17.675Z] In file included from /opt/iotech/iot/1.5/include/iot/threadpool.h:15, [2024-12-06T11:23:17.675Z] from /tmp/sdk/src/c/registry.h:14, [2024-12-06T11:23:17.675Z] from /tmp/sdk/src/c/registry-impl.h:12, [2024-12-06T11:23:17.675Z] from /tmp/sdk/src/c/keeper.h:12, [2024-12-06T11:23:17.675Z] from /tmp/sdk/src/c/keeper.c:1: [2024-12-06T11:23:17.675Z] /tmp/sdk/src/c/keeper.c: In function 'edgex_keeper_client_init': [2024-12-06T11:23:17.675Z] /tmp/sdk/src/c/keeper.c:124:31: warning: format '%s' expects a matching 'char *' argument [-Wformat=] [2024-12-06T11:23:17.675Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T11:23:17.675Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-12-06T11:23:17.675Z] /opt/iotech/iot/1.5/include/iot/logger.h:185:104: note: in definition of macro 'iot_log_error' [2024-12-06T11:23:17.675Z] 185 | #define iot_log_error(l,...) if ((l) && (l)->level >= IOT_LOG_ERROR) iot_log__log ((l), IOT_LOG_ERROR, __VA_ARGS__) [2024-12-06T11:23:17.675Z] | ^~~~~~~~~~~ [2024-12-06T11:23:17.675Z] /tmp/sdk/src/c/keeper.c:124:55: note: format string is defined here [2024-12-06T11:23:17.675Z] 124 | iot_log_error(logger, "Could not parse URL \"%s\" as a core-keeper config/registry URL"); [2024-12-06T11:23:17.675Z] | ~^ [2024-12-06T11:23:17.675Z] | | [2024-12-06T11:23:17.675Z] | char * [2024-12-06T11:23:17.675Z] [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-12-06T11:23:17.675Z] [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-12-06T11:23:17.675Z] [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o [2024-12-06T11:23:17.934Z] [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-12-06T11:23:17.934Z] [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-12-06T11:23:18.194Z] [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-12-06T11:23:18.194Z] [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-12-06T11:23:18.194Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-12-06T11:23:18.194Z] [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-12-06T11:23:18.454Z] [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-12-06T11:23:18.716Z] [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-12-06T11:23:18.717Z] [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-12-06T11:23:18.717Z] [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-12-06T11:23:18.717Z] [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-12-06T11:23:18.977Z] [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-12-06T11:23:18.977Z] [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-12-06T11:23:18.977Z] [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-12-06T11:23:19.237Z] [ 69%] Linking C shared library libcsdk.so [2024-12-06T11:23:19.237Z] [ 69%] Built target csdk [2024-12-06T11:23:19.237Z] [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-12-06T11:23:19.237Z] [ 73%] Linking C executable template [2024-12-06T11:23:19.237Z] [ 73%] Built target template [2024-12-06T11:23:19.237Z] [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-12-06T11:23:19.497Z] [ 76%] Linking C executable device-counter [2024-12-06T11:23:19.497Z] [ 76%] Built target device-counter [2024-12-06T11:23:19.497Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-12-06T11:23:19.497Z] [ 80%] Linking C executable device-random [2024-12-06T11:23:19.497Z] [ 80%] Built target device-random [2024-12-06T11:23:19.758Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-12-06T11:23:19.758Z] [ 84%] Linking C executable device-gyro [2024-12-06T11:23:19.758Z] [ 84%] Built target device-gyro [2024-12-06T11:23:19.758Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-12-06T11:23:19.758Z] [ 88%] Linking C executable device-bitfields [2024-12-06T11:23:20.019Z] [ 88%] Built target device-bitfields [2024-12-06T11:23:20.019Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-12-06T11:23:20.019Z] [ 92%] Linking C executable template-discovery [2024-12-06T11:23:20.019Z] [ 92%] Built target template-discovery [2024-12-06T11:23:20.019Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-12-06T11:23:20.019Z] [ 96%] Linking C executable device-file [2024-12-06T11:23:20.279Z] [ 96%] Built target device-file [2024-12-06T11:23:20.279Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-12-06T11:23:20.279Z] [100%] Linking C executable device-terminal [2024-12-06T11:23:20.279Z] [100%] Built target device-terminal [2024-12-06T11:23:20.279Z] make: Entering directory '/tmp/sdk/build/release' [2024-12-06T11:23:20.539Z] [ 69%] Built target csdk [2024-12-06T11:23:20.539Z] [ 73%] Built target template [2024-12-06T11:23:20.539Z] [ 76%] Built target device-counter [2024-12-06T11:23:20.539Z] [ 80%] Built target device-random [2024-12-06T11:23:20.539Z] [ 84%] Built target device-gyro [2024-12-06T11:23:20.539Z] [ 88%] Built target device-bitfields [2024-12-06T11:23:20.539Z] [ 92%] Built target template-discovery [2024-12-06T11:23:20.539Z] [ 96%] Built target device-file [2024-12-06T11:23:20.539Z] [100%] Built target device-terminal [2024-12-06T11:23:20.539Z] Install the project... [2024-12-06T11:23:20.539Z] -- Install configuration: "Release" [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/lib/libcsdk.so [2024-12-06T11:23:20.539Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include/devsdk [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include/edgex [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include/edgex/devices.h [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-12-06T11:23:20.539Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-12-06T11:23:20.539Z] make: Leaving directory '/tmp/sdk/build/release' [2024-12-06T11:23:21.109Z] Removing intermediate container 74792bfcbe1b [2024-12-06T11:23:21.109Z] ---> 37473ebe0a2f [2024-12-06T11:23:21.109Z] Step 14/22 : FROM ${BASE} [2024-12-06T11:23:21.109Z] ---> 6605166a5db4 [2024-12-06T11:23:21.109Z] Step 15/22 : LABEL maintainer="IOTech " [2024-12-06T11:23:21.109Z] ---> Running in 755614b6d9f9 [2024-12-06T11:23:21.109Z] Removing intermediate container 755614b6d9f9 [2024-12-06T11:23:21.109Z] ---> 699256575bce [2024-12-06T11:23:21.109Z] 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-06T11:23:21.370Z] ---> Running in 0c435b62384d [2024-12-06T11:23:21.629Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-12-06T11:23:21.888Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T11:23:21.888Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T11:23:21.888Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T11:23:22.147Z] Removing intermediate container 0c435b62384d [2024-12-06T11:23:22.147Z] ---> fd0798bcfabb [2024-12-06T11:23:22.147Z] Step 17/22 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T11:23:22.147Z] ---> Running in 2c4f6f186e72 [2024-12-06T11:23:22.715Z] Removing intermediate container 2c4f6f186e72 [2024-12-06T11:23:22.715Z] ---> 490cb93d286c [2024-12-06T11:23:22.715Z] 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-06T11:23:22.715Z] ---> Running in 7b45faeeb87d [2024-12-06T11:23:22.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:23.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:23.492Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:24.063Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T11:23:24.063Z] (1/8) Upgrading libcurl (8.4.0-r0 -> 8.9.1-r1) [2024-12-06T11:23:24.063Z] (2/8) Installing curl (8.9.1-r1) [2024-12-06T11:23:24.063Z] (3/8) Upgrading curl-dev (8.4.0-r0 -> 8.9.1-r1) [2024-12-06T11:23:24.063Z] (4/8) Installing dumb-init (1.2.5-r2) [2024-12-06T11:23:24.063Z] (5/8) Installing libcbor (0.10.2-r1) [2024-12-06T11:23:24.063Z] (6/8) Installing iotech-iot-1.5 (1.5.5-r0) [2024-12-06T11:23:24.634Z] (7/8) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-12-06T11:23:24.894Z] (8/8) Installing libuuid (2.38.1-r8) [2024-12-06T11:23:24.894Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T11:23:24.894Z] OK: 331 MiB in 88 packages [2024-12-06T11:23:25.463Z] Removing intermediate container 7b45faeeb87d [2024-12-06T11:23:25.463Z] ---> 0162a26052a4 [2024-12-06T11:23:25.463Z] Step 19/22 : RUN apk --no-cache upgrade [2024-12-06T11:23:25.463Z] ---> Running in a6e0bc2e6e84 [2024-12-06T11:23:25.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:25.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:25.724Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:26.662Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T11:23:26.662Z] Upgrading critical system libraries and apk-tools: [2024-12-06T11:23:26.662Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-12-06T11:23:26.662Z] Executing busybox-1.36.1-r4.trigger [2024-12-06T11:23:26.662Z] Continuing the upgrade transaction with new apk-tools: [2024-12-06T11:23:26.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:26.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:26.662Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:27.232Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T11:23:27.232Z] (1/14) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T11:23:27.232Z] Executing busybox-1.36.1-r7.post-upgrade [2024-12-06T11:23:27.232Z] (2/14) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T11:23:27.232Z] (3/14) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-12-06T11:23:27.232Z] (4/14) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T11:23:27.232Z] (5/14) Upgrading libssl3 (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T11:23:27.232Z] (6/14) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7) [2024-12-06T11:23:27.232Z] (7/14) Upgrading libexpat (2.5.0-r1 -> 2.6.4-r0) [2024-12-06T11:23:27.232Z] (8/14) Upgrading libarchive (3.7.2-r0 -> 3.7.7-r0) [2024-12-06T11:23:27.232Z] (9/14) Upgrading ca-certificates (20230506-r0 -> 20240226-r0) [2024-12-06T11:23:27.232Z] (10/14) Upgrading openssl-dev (3.1.4-r0 -> 3.1.7-r1) [2024-12-06T11:23:27.492Z] (11/14) Upgrading git (2.40.1-r0 -> 2.40.3-r0) [2024-12-06T11:23:27.492Z] (12/14) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T11:23:27.492Z] (13/14) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T11:23:27.492Z] (14/14) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0) [2024-12-06T11:23:27.492Z] Executing busybox-1.36.1-r7.trigger [2024-12-06T11:23:27.492Z] Executing ca-certificates-20240226-r0.trigger [2024-12-06T11:23:27.492Z] OK: 331 MiB in 88 packages [2024-12-06T11:23:28.063Z] Removing intermediate container a6e0bc2e6e84 [2024-12-06T11:23:28.063Z] ---> 03a01378603c [2024-12-06T11:23:28.063Z] Step 20/22 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-12-06T11:23:28.324Z] ---> b29fd6b0dbff [2024-12-06T11:23:28.324Z] Step 21/22 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-12-06T11:23:28.324Z] ---> 803f7f7f4a23 [2024-12-06T11:23:28.324Z] Step 22/22 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-12-06T11:23:28.584Z] ---> 2184e2fe1beb [2024-12-06T11:23:28.584Z] Successfully built 2184e2fe1beb [2024-12-06T11:23:28.584Z] 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-06T11:23:29.407Z] + docker inspect -f . ci-base-image-x86_64 [2024-12-06T11:23:29.407Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T11:23:29.596Z] prd-ubuntu20.04-docker-8c-8g-34623 does not seem to be running inside a container [2024-12-06T11:23:29.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_PR-532 -v /w/workspace/edgexfoundry_device-sdk-c_PR-532:/w/workspace/edgexfoundry_device-sdk-c_PR-532:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-532@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 ******** ci-base-image-x86_64 cat [2024-12-06T11:23:29.986Z] $ docker top ce1d405d3775530fe7c0b925df91ae60e696d159b40f7c7fe9f79ea289536477 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-06T11:23:30.400Z] + make test [2024-12-06T11:23:30.402Z] echo "make test" [2024-12-06T11:23:30.402Z] make test [Pipeline] } [2024-12-06T11:23:30.440Z] $ docker stop --time=1 ce1d405d3775530fe7c0b925df91ae60e696d159b40f7c7fe9f79ea289536477 [2024-12-06T11:23:31.731Z] $ docker rm -f --volumes ce1d405d3775530fe7c0b925df91ae60e696d159b40f7c7fe9f79ea289536477 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-12-06T11:23:32.637Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-12-06T11:23:32.958Z] + ls -al . [2024-12-06T11:23:32.958Z] total 212 [2024-12-06T11:23:32.958Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 6 11:22 . [2024-12-06T11:23:32.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 11:22 .. [2024-12-06T11:23:32.958Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 11:22 .git [2024-12-06T11:23:32.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 11:22 .github [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 176 Dec 6 11:22 .gitignore [2024-12-06T11:23:32.958Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 11:22 .semver [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 2908 Dec 6 11:22 Attribution.txt [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 11953 Dec 6 11:22 CHANGELOG.md [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 108574 Dec 6 11:22 Doxyfile [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 11:22 GOVERNANCE.md [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 784 Dec 6 11:22 Jenkinsfile [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 10174 Dec 6 11:22 LICENSE [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 444 Dec 6 11:22 Makefile [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 618 Dec 6 11:22 OWNERS.md [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 1651 Dec 6 11:22 README.IOT.md [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 4173 Dec 6 11:22 README.md [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 1245 Dec 6 11:22 README.v3.md [2024-12-06T11:23:32.958Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 11:22 VERSION [2024-12-06T11:23:32.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 11:22 docs [2024-12-06T11:23:32.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 11:22 include [2024-12-06T11:23:32.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 11:22 scripts [2024-12-06T11:23:32.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 11:22 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T11:23:33.391Z] + 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=493d4cdb9dda813960475a75833033e412ec51e2 --label arch=amd64 --label version=0.0.0 . [2024-12-06T11:23:33.391Z] Sending build context to Docker daemon 5.278MB [2024-12-06T11:23:33.391Z] Step 1/18 : ARG BASE=alpine:3.18 [2024-12-06T11:23:33.391Z] Step 2/18 : FROM ${BASE} [2024-12-06T11:23:33.391Z] ---> 2184e2fe1beb [2024-12-06T11:23:33.391Z] Step 3/18 : LABEL maintainer="IOTech " [2024-12-06T11:23:33.391Z] ---> Running in 4a09a867fe08 [2024-12-06T11:23:33.391Z] Removing intermediate container 4a09a867fe08 [2024-12-06T11:23:33.391Z] ---> ebb1b0c3fb24 [2024-12-06T11:23:33.391Z] 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-06T11:23:33.651Z] ---> Running in 790fe41cd93d [2024-12-06T11:23:33.911Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-12-06T11:23:34.171Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-12-06T11:23:34.171Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-12-06T11:23:34.171Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-12-06T11:23:34.431Z] Removing intermediate container 790fe41cd93d [2024-12-06T11:23:34.431Z] ---> 1d7f0444a29f [2024-12-06T11:23:34.431Z] Step 5/18 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-12-06T11:23:34.431Z] ---> Running in e10cd5e052a4 [2024-12-06T11:23:35.002Z] Removing intermediate container e10cd5e052a4 [2024-12-06T11:23:35.002Z] ---> 2882e0966292 [2024-12-06T11:23:35.002Z] 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-06T11:23:35.002Z] ---> Running in 8448d9a721bf [2024-12-06T11:23:35.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:35.523Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:35.781Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:36.350Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T11:23:36.350Z] (1/11) Installing iotech-iot-1.5-dev (1.5.5-r0) [2024-12-06T11:23:36.616Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-12-06T11:23:36.616Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-12-06T11:23:36.616Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-12-06T11:23:36.616Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-12-06T11:23:36.617Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-12-06T11:23:36.617Z] (7/11) Installing libblkid (2.38.1-r8) [2024-12-06T11:23:36.617Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-12-06T11:23:36.617Z] (9/11) Installing libmount (2.38.1-r8) [2024-12-06T11:23:36.617Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-12-06T11:23:36.617Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-12-06T11:23:36.617Z] Executing busybox-1.36.1-r7.trigger [2024-12-06T11:23:36.617Z] OK: 336 MiB in 99 packages [2024-12-06T11:23:37.186Z] Removing intermediate container 8448d9a721bf [2024-12-06T11:23:37.186Z] ---> bb069ab0eebe [2024-12-06T11:23:37.186Z] Step 7/18 : RUN apk --no-cache upgrade [2024-12-06T11:23:37.186Z] ---> Running in bfc2c1ca93c8 [2024-12-06T11:23:37.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:37.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:37.445Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-12-06T11:23:38.014Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-12-06T11:23:38.014Z] OK: 336 MiB in 99 packages [2024-12-06T11:23:38.584Z] Removing intermediate container bfc2c1ca93c8 [2024-12-06T11:23:38.585Z] ---> 5f6c4e444b62 [2024-12-06T11:23:38.585Z] Step 8/18 : COPY VERSION /edgex-c-sdk/ [2024-12-06T11:23:38.585Z] ---> 1862b8761c3d [2024-12-06T11:23:38.585Z] Step 9/18 : COPY src /edgex-c-sdk/src/ [2024-12-06T11:23:38.845Z] ---> e6c5971f6488 [2024-12-06T11:23:38.845Z] Step 10/18 : COPY include /edgex-c-sdk/include/ [2024-12-06T11:23:38.845Z] ---> fcb7965b1134 [2024-12-06T11:23:38.845Z] Step 11/18 : COPY scripts /edgex-c-sdk/scripts [2024-12-06T11:23:39.111Z] ---> 65918632197b [2024-12-06T11:23:39.111Z] Step 12/18 : COPY LICENSE /edgex-c-sdk/ [2024-12-06T11:23:39.111Z] ---> 67bed79c7bf1 [2024-12-06T11:23:39.111Z] Step 13/18 : COPY Attribution.txt /edgex-c-sdk/ [2024-12-06T11:23:39.111Z] ---> 0572ea139f44 [2024-12-06T11:23:39.111Z] Step 14/18 : WORKDIR /edgex-c-sdk [2024-12-06T11:23:39.370Z] ---> Running in 31727209e00c [2024-12-06T11:23:39.370Z] Removing intermediate container 31727209e00c [2024-12-06T11:23:39.370Z] ---> d7b5067bcc91 [2024-12-06T11:23:39.370Z] Step 15/18 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-12-06T11:23:39.370Z] ---> Running in 27c6168302bf [2024-12-06T11:23:39.370Z] Removing intermediate container 27c6168302bf [2024-12-06T11:23:39.370Z] ---> 85458591cf9f [2024-12-06T11:23:39.370Z] Step 16/18 : LABEL arch=amd64 [2024-12-06T11:23:39.370Z] ---> Running in 45c24b39f4ab [2024-12-06T11:23:39.630Z] Removing intermediate container 45c24b39f4ab [2024-12-06T11:23:39.630Z] ---> 8e2c6d9e7e51 [2024-12-06T11:23:39.630Z] Step 17/18 : LABEL git_sha=493d4cdb9dda813960475a75833033e412ec51e2 [2024-12-06T11:23:39.630Z] ---> Running in 8644ff061002 [2024-12-06T11:23:39.630Z] Removing intermediate container 8644ff061002 [2024-12-06T11:23:39.630Z] ---> f91bbf5236e3 [2024-12-06T11:23:39.630Z] Step 18/18 : LABEL version=0.0.0 [2024-12-06T11:23:39.630Z] ---> Running in 90caf2147026 [2024-12-06T11:23:39.630Z] Removing intermediate container 90caf2147026 [2024-12-06T11:23:39.630Z] ---> 81b4146d079b [2024-12-06T11:23:39.630Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-12-06T11:23:39.630Z] Successfully built 81b4146d079b [2024-12-06T11:23:39.891Z] 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-06T11:23:41.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T11:23:41.014Z] [2024-12-06T11:23:41.014Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T11:23:41.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T11:23:41.434Z] latest: Pulling from edgex-lftools-log-publisher [2024-12-06T11:23:41.434Z] 5eb5b503b376: Pulling fs layer [2024-12-06T11:23:41.434Z] 5c69ac0246d0: Pulling fs layer [2024-12-06T11:23:41.434Z] ec43610c2a17: Pulling fs layer [2024-12-06T11:23:41.434Z] 3a2ae6a8a46f: Pulling fs layer [2024-12-06T11:23:41.434Z] 33b1e0a273af: Pulling fs layer [2024-12-06T11:23:41.434Z] 5d3b04190fa2: Pulling fs layer [2024-12-06T11:23:41.434Z] 2f39f015ded8: Pulling fs layer [2024-12-06T11:23:41.434Z] 33b1e0a273af: Waiting [2024-12-06T11:23:41.434Z] 5d3b04190fa2: Waiting [2024-12-06T11:23:41.434Z] 3a2ae6a8a46f: Waiting [2024-12-06T11:23:41.434Z] 2f39f015ded8: Waiting [2024-12-06T11:23:41.434Z] 5c69ac0246d0: Verifying Checksum [2024-12-06T11:23:41.434Z] 5c69ac0246d0: Download complete [2024-12-06T11:23:41.434Z] 3a2ae6a8a46f: Download complete [2024-12-06T11:23:41.434Z] ec43610c2a17: Verifying Checksum [2024-12-06T11:23:41.434Z] ec43610c2a17: Download complete [2024-12-06T11:23:41.434Z] 33b1e0a273af: Verifying Checksum [2024-12-06T11:23:41.434Z] 33b1e0a273af: Download complete [2024-12-06T11:23:41.695Z] 5eb5b503b376: Verifying Checksum [2024-12-06T11:23:41.695Z] 5eb5b503b376: Download complete [2024-12-06T11:23:42.260Z] 2f39f015ded8: Verifying Checksum [2024-12-06T11:23:42.260Z] 2f39f015ded8: Download complete [2024-12-06T11:23:42.828Z] 5eb5b503b376: Pull complete [2024-12-06T11:23:42.828Z] 5c69ac0246d0: Pull complete [2024-12-06T11:23:43.396Z] ec43610c2a17: Pull complete [2024-12-06T11:23:43.396Z] 3a2ae6a8a46f: Pull complete [2024-12-06T11:23:43.655Z] 33b1e0a273af: Pull complete [2024-12-06T11:23:43.655Z] 5d3b04190fa2: Pull complete [2024-12-06T11:23:47.844Z] 2f39f015ded8: Pull complete [2024-12-06T11:23:47.844Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-12-06T11:23:47.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T11:23:47.844Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T11:23:48.099Z] prd-ubuntu20.04-docker-8c-8g-34623 does not seem to be running inside a container [2024-12-06T11:23:48.129Z] $ 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-532 -v /w/workspace/edgexfoundry_device-sdk-c_PR-532:/w/workspace/edgexfoundry_device-sdk-c_PR-532:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-532@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-06T11:23:49.511Z] $ docker top 9da82b1f3545ba254a9b6a70c83485cc0c02a6ca060dc53221bf93e97db5d33f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:23:50.007Z] ---> job-cost.sh [2024-12-06T11:23:50.007Z] lf-activate-venv: SKIPPING [2024-12-06T11:23:50.007Z] INFO: No Stack... [2024-12-06T11:23:50.267Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T11:23:50.528Z] INFO: Archiving Costs [Pipeline] sh [2024-12-06T11:23:50.856Z] + cat /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives/cost.csv [2024-12-06T11:23:50.856Z] + cut -d, -f6 [Pipeline] lock [2024-12-06T11:23:50.909Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-532-1-stack-cost] [2024-12-06T11:23:50.918Z] Resource [jenkins-edgexfoundry-device-sdk-c-PR-532-1-stack-cost] did not exist. Created. [2024-12-06T11:23:50.926Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-PR-532-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-12-06T11:23:51.346Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-12-06T11:23:51.416Z] Stashed 1 file(s) [Pipeline] } [2024-12-06T11:23:51.447Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-PR-532-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-12-06T11:23:51.538Z] $ docker stop --time=1 9da82b1f3545ba254a9b6a70c83485cc0c02a6ca060dc53221bf93e97db5d33f [2024-12-06T11:23:52.701Z] $ docker rm -f --volumes 9da82b1f3545ba254a9b6a70c83485cc0c02a6ca060dc53221bf93e97db5d33f [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-06T11:23:54.368Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives ] [2024-12-06T11:23:54.368Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives [2024-12-06T11:23:54.368Z] total 16 [2024-12-06T11:23:54.368Z] drwxr-xr-x 3 root root 4096 Dec 6 11:23 . [2024-12-06T11:23:54.368Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 11:23 .. [2024-12-06T11:23:54.368Z] drwxr-xr-x 2 root root 4096 Dec 6 11:23 cost [2024-12-06T11:23:54.368Z] -rw-r--r-- 1 root root 84 Dec 6 11:23 cost.csv [2024-12-06T11:23:54.368Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives [2024-12-06T11:23:54.368Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives [2024-12-06T11:23:54.368Z] total 16 [2024-12-06T11:23:54.368Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 11:23 . [2024-12-06T11:23:54.368Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 11:23 .. [2024-12-06T11:23:54.368Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 11:23 cost [2024-12-06T11:23:54.368Z] -rw-r--r-- 1 jenkins jenkins 84 Dec 6 11:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:23:54.714Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:23:55.625Z] ---> package-listing.sh [2024-12-06T11:23:55.626Z] ++ facter osfamily [2024-12-06T11:23:55.626Z] ++ tr '[:upper:]' '[:lower:]' [2024-12-06T11:23:55.886Z] + OS_FAMILY=debian [2024-12-06T11:23:55.886Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-532 [2024-12-06T11:23:55.886Z] + START_PACKAGES=/tmp/packages_start.txt [2024-12-06T11:23:55.886Z] + END_PACKAGES=/tmp/packages_end.txt [2024-12-06T11:23:55.886Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-12-06T11:23:55.886Z] + PACKAGES=/tmp/packages_start.txt [2024-12-06T11:23:55.886Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-532 ']' [2024-12-06T11:23:55.886Z] + PACKAGES=/tmp/packages_end.txt [2024-12-06T11:23:55.886Z] + case "${OS_FAMILY}" in [2024-12-06T11:23:55.886Z] + dpkg -l [2024-12-06T11:23:55.886Z] + grep '^ii' [2024-12-06T11:23:55.886Z] + '[' -f /tmp/packages_start.txt ']' [2024-12-06T11:23:55.886Z] + '[' -f /tmp/packages_end.txt ']' [2024-12-06T11:23:55.886Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-12-06T11:23:55.886Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-532 ']' [2024-12-06T11:23:55.886Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives/ [2024-12-06T11:23:55.886Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-532/archives/ [Pipeline] echo [2024-12-06T11:23:55.929Z] 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-532/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-12-06T11:23:56.227Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-12-06T11:23:56.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-12-06T11:23:56.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-12-06T11:23:57.055Z] prd-ubuntu20.04-docker-8c-8g-34623 does not seem to be running inside a container [2024-12-06T11:23:57.097Z] $ 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-532/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-532 -v /w/workspace/edgexfoundry_device-sdk-c_PR-532:/w/workspace/edgexfoundry_device-sdk-c_PR-532:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-532@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-06T11:23:57.310Z] $ docker top 5df39419a67e71ed0c826a2d6dbb46c9a1e5cad96badf2c3d79e5a2d8bdc0b15 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-12-06T11:23:57.720Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-12-06T11:23:58.041Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-12-06T11:23:58.358Z] + ls /var/log/sa-host [2024-12-06T11:23:58.358Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-12-06T11:23:58.524Z] provisioning config files... [2024-12-06T11:23:58.534Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-532@tmp/config14944982117351868886tmp [Pipeline] { [Pipeline] echo [2024-12-06T11:23:58.607Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:23:59.007Z] ---> create-netrc.sh [Pipeline] } [2024-12-06T11:23:59.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:23:59.462Z] ---> python-tools-install.sh [Pipeline] echo [2024-12-06T11:23:59.503Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:23:59.833Z] ---> sudo-logs.sh [2024-12-06T11:23:59.834Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-12-06T11:23:59.940Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:24:00.263Z] ---> job-cost.sh [2024-12-06T11:24:00.263Z] lf-activate-venv: SKIPPING [2024-12-06T11:24:00.263Z] DEBUG: total: 0.2199999988079071 [2024-12-06T11:24:00.263Z] INFO: Retrieving Stack Cost... [2024-12-06T11:24:00.263Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-12-06T11:24:00.523Z] INFO: Archiving Costs [Pipeline] echo [2024-12-06T11:24:00.571Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-12-06T11:24:01.031Z] ---> logs-deploy.sh [2024-12-06T11:24:01.031Z] lf-activate-venv: SKIPPING [2024-12-06T11:24:01.031Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-532/1 [2024-12-06T11:24:01.031Z] INFO: archiving workspace using pattern(s): [2024-12-06T11:24:01.606Z] Archives upload complete. [2024-12-06T11:24:01.866Z] INFO: archiving logs to Nexus [2024-12-06T11:24:02.462Z] ---> uname -a: [2024-12-06T11:24:02.462Z] Linux prd-ubuntu20-04-docker-8c-8g-34623 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] ---> lscpu: [2024-12-06T11:24:02.462Z] Architecture: x86_64 [2024-12-06T11:24:02.462Z] CPU op-mode(s): 32-bit, 64-bit [2024-12-06T11:24:02.462Z] Byte Order: Little Endian [2024-12-06T11:24:02.462Z] Address sizes: 40 bits physical, 48 bits virtual [2024-12-06T11:24:02.462Z] CPU(s): 8 [2024-12-06T11:24:02.462Z] On-line CPU(s) list: 0-7 [2024-12-06T11:24:02.462Z] Thread(s) per core: 1 [2024-12-06T11:24:02.462Z] Core(s) per socket: 1 [2024-12-06T11:24:02.462Z] Socket(s): 8 [2024-12-06T11:24:02.462Z] NUMA node(s): 1 [2024-12-06T11:24:02.462Z] Vendor ID: AuthenticAMD [2024-12-06T11:24:02.462Z] CPU family: 23 [2024-12-06T11:24:02.462Z] Model: 49 [2024-12-06T11:24:02.462Z] Model name: AMD EPYC-Rome Processor [2024-12-06T11:24:02.462Z] Stepping: 0 [2024-12-06T11:24:02.462Z] CPU MHz: 2799.998 [2024-12-06T11:24:02.462Z] BogoMIPS: 5599.99 [2024-12-06T11:24:02.462Z] Virtualization: AMD-V [2024-12-06T11:24:02.462Z] Hypervisor vendor: KVM [2024-12-06T11:24:02.462Z] Virtualization type: full [2024-12-06T11:24:02.462Z] L1d cache: 256 KiB [2024-12-06T11:24:02.462Z] L1i cache: 256 KiB [2024-12-06T11:24:02.462Z] L2 cache: 4 MiB [2024-12-06T11:24:02.462Z] L3 cache: 128 MiB [2024-12-06T11:24:02.462Z] NUMA node0 CPU(s): 0-7 [2024-12-06T11:24:02.462Z] Vulnerability Itlb multihit: Not affected [2024-12-06T11:24:02.462Z] Vulnerability L1tf: Not affected [2024-12-06T11:24:02.462Z] Vulnerability Mds: Not affected [2024-12-06T11:24:02.462Z] Vulnerability Meltdown: Not affected [2024-12-06T11:24:02.462Z] Vulnerability Mmio stale data: Not affected [2024-12-06T11:24:02.462Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-12-06T11:24:02.462Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-12-06T11:24:02.462Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-12-06T11:24:02.462Z] Vulnerability Srbds: Not affected [2024-12-06T11:24:02.462Z] Vulnerability Tsx async abort: Not affected [2024-12-06T11:24:02.462Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] ---> nproc: [2024-12-06T11:24:02.462Z] 8 [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] ---> df -h: [2024-12-06T11:24:02.462Z] Filesystem Size Used Avail Use% Mounted on [2024-12-06T11:24:02.462Z] overlay 155G 11G 145G 7% / [2024-12-06T11:24:02.462Z] tmpfs 64M 0 64M 0% /dev [2024-12-06T11:24:02.462Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-12-06T11:24:02.462Z] shm 64M 0 64M 0% /dev/shm [2024-12-06T11:24:02.462Z] /dev/vda1 155G 11G 145G 7% /facter-os [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] ---> sar -b -r -n DEV: [2024-12-06T11:24:02.462Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34623) 12/06/24 _x86_64_ (8 CPU) [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] 11:21:53 LINUX RESTART (8 CPU) [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] 11:22:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2024-12-06T11:24:02.462Z] 11:23:01 319.29 48.23 271.06 0.00 5394.74 153217.99 0.00 [2024-12-06T11:24:02.462Z] 11:24:01 251.81 0.60 251.21 0.00 59.19 70870.05 0.00 [2024-12-06T11:24:02.462Z] Average: 285.55 24.42 261.13 0.00 2727.18 112047.45 0.00 [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] 11:22:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2024-12-06T11:24:02.462Z] 11:23:01 29546028 31566308 773844 2.35 64324 2244068 1939568 5.72 998840 1985408 164 [2024-12-06T11:24:02.462Z] 11:24:01 28913320 31496084 804072 2.45 91052 2739332 1845444 5.44 1134400 2402456 336 [2024-12-06T11:24:02.462Z] Average: 29229674 31531196 788958 2.40 77688 2491700 1892506 5.58 1066620 2193932 250 [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] 11:22:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2024-12-06T11:24:02.462Z] 11:23:01 lo 6.60 6.60 0.64 0.64 0.00 0.00 0.00 0.00 [2024-12-06T11:24:02.462Z] 11:23:01 ens3 505.80 318.51 4502.95 92.22 0.00 0.00 0.00 0.00 [2024-12-06T11:24:02.462Z] 11:23:01 veth10d2b33 0.05 0.07 0.00 0.01 0.00 0.00 0.00 0.00 [2024-12-06T11:24:02.462Z] 11:23:01 docker0 3.10 3.25 0.33 30.59 0.00 0.00 0.00 0.00 [2024-12-06T11:24:02.462Z] 11:24:01 lo 1.80 1.80 0.17 0.17 0.00 0.00 0.00 0.00 [2024-12-06T11:24:02.462Z] 11:24:01 ens3 202.32 119.48 2986.27 41.16 0.00 0.00 0.00 0.00 [2024-12-06T11:24:02.462Z] 11:24:01 docker0 22.68 34.28 1.51 392.10 0.00 0.00 0.00 0.00 [2024-12-06T11:24:02.462Z] Average: lo 4.20 4.20 0.41 0.41 0.00 0.00 0.00 0.00 [2024-12-06T11:24:02.462Z] Average: ens3 354.07 219.00 3744.67 66.69 0.00 0.00 0.00 0.00 [2024-12-06T11:24:02.462Z] Average: docker0 12.89 18.76 0.92 211.33 0.00 0.00 0.00 0.00 [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] ---> sar -P ALL: [2024-12-06T11:24:02.462Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34623) 12/06/24 _x86_64_ (8 CPU) [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] 11:21:53 LINUX RESTART (8 CPU) [2024-12-06T11:24:02.462Z] [2024-12-06T11:24:02.462Z] 11:22:01 CPU %user %nice %system %iowait %steal %idle [2024-12-06T11:24:02.462Z] 11:23:01 all 7.96 0.00 2.98 1.38 0.06 87.62 [2024-12-06T11:24:02.462Z] 11:23:01 0 7.80 0.00 2.63 0.62 0.05 88.89 [2024-12-06T11:24:02.462Z] 11:23:01 1 7.08 0.00 3.53 3.87 0.07 85.45 [2024-12-06T11:24:02.462Z] 11:23:01 2 5.95 0.00 2.94 1.64 0.05 89.42 [2024-12-06T11:24:02.462Z] 11:23:01 3 5.27 0.00 4.58 0.42 0.05 89.68 [2024-12-06T11:24:02.462Z] 11:23:01 4 9.47 0.00 2.53 0.99 0.07 86.94 [2024-12-06T11:24:02.462Z] 11:23:01 5 8.39 0.00 2.68 2.95 0.05 85.92 [2024-12-06T11:24:02.462Z] 11:23:01 6 11.67 0.00 2.38 0.42 0.05 85.48 [2024-12-06T11:24:02.462Z] 11:23:01 7 8.04 0.00 2.53 0.18 0.07 89.18 [2024-12-06T11:24:02.462Z] 11:24:01 all 8.10 0.00 3.64 0.66 0.08 87.53 [2024-12-06T11:24:02.462Z] 11:24:01 0 6.99 0.00 3.66 0.20 0.08 89.07 [2024-12-06T11:24:02.462Z] 11:24:01 1 6.80 0.00 3.19 0.12 0.07 89.82 [2024-12-06T11:24:02.462Z] 11:24:01 2 9.26 0.00 3.68 2.20 0.08 84.77 [2024-12-06T11:24:02.462Z] 11:24:01 3 10.36 0.00 4.07 0.25 0.08 85.24 [2024-12-06T11:24:02.462Z] 11:24:01 4 6.19 0.00 3.31 1.46 0.07 88.96 [2024-12-06T11:24:02.462Z] 11:24:01 5 7.12 0.00 3.48 0.05 0.08 89.27 [2024-12-06T11:24:02.462Z] 11:24:01 6 10.08 0.00 3.65 0.15 0.07 86.05 [2024-12-06T11:24:02.462Z] 11:24:01 7 7.97 0.00 4.03 0.84 0.10 87.05 [2024-12-06T11:24:02.462Z] Average: all 8.03 0.00 3.31 1.02 0.07 87.58 [2024-12-06T11:24:02.462Z] Average: 0 7.40 0.00 3.14 0.41 0.07 88.98 [2024-12-06T11:24:02.462Z] Average: 1 6.94 0.00 3.36 1.99 0.07 87.64 [2024-12-06T11:24:02.462Z] Average: 2 7.61 0.00 3.31 1.92 0.07 87.09 [2024-12-06T11:24:02.462Z] Average: 3 7.81 0.00 4.32 0.34 0.07 87.46 [2024-12-06T11:24:02.462Z] Average: 4 7.83 0.00 2.92 1.23 0.07 87.95 [2024-12-06T11:24:02.463Z] Average: 5 7.75 0.00 3.08 1.50 0.07 87.60 [2024-12-06T11:24:02.463Z] Average: 6 10.88 0.00 3.02 0.29 0.06 85.76 [2024-12-06T11:24:02.463Z] Average: 7 8.01 0.00 3.28 0.51 0.08 88.12 [2024-12-06T11:24:02.463Z] [2024-12-06T11:24:02.463Z] [2024-12-06T11:24:02.463Z]