Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9db6249cb5b64beed6f22149c866398dbcee266e 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-ssh15135712288604296618.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15878216106820999550.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13160761220543598458.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh336361975738161249.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-c/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8964019330980121901.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27884 in /w/workspace/edgexfoundry_device-sdk-c_main [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_main # 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 Avoid second fetch Checking out Revision 9db6249cb5b64beed6f22149c866398dbcee266e (main) Commit message: "fix: edgex_device_read does not read labels (#508)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 9db6249cb5b64beed6f22149c866398dbcee266e # timeout=10 > git rev-list --no-walk 6bdae90b977cdeecb957260a94da902cfcf10c29 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-25T10:02:31.982Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-25T10:02:32.064Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-25T10:02:32.095Z] ========================================================= [2024-01-25T10:02:32.095Z] EdgeX Global Pipelines Version Info [2024-01-25T10:02:32.096Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:02:32.839Z] ------------------- [2024-01-25T10:02:32.839Z] stable info: [2024-01-25T10:02:32.839Z] ------------------- [2024-01-25T10:02:32.839Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-25T10:02:32.839Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-25T10:02:32.839Z] Message: update stable to v1.0.258 [2024-01-25T10:02:33.414Z] ------------------- [2024-01-25T10:02:33.414Z] experimental info: [2024-01-25T10:02:33.414Z] ------------------- [2024-01-25T10:02:33.414Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-25T10:02:33.414Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-25T10:02:33.414Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-25T10:02:33.498Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo [2024-01-25T10:02:33.525Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo [2024-01-25T10:02:33.551Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-25T10:02:33.579Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-25T10:02:33.602Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-25T10:02:33.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo [2024-01-25T10:02:33.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo [2024-01-25T10:02:33.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-25T10:02:33.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-25T10:02:33.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo [2024-01-25T10:02:33.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-25T10:02:33.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-25T10:02:33.817Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-25T10:02:33.846Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-25T10:02:33.873Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-25T10:02:33.910Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-25T10:02:33.943Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-25T10:02:33.974Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-01-25T10:02:34.003Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-01-25T10:02:34.038Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-01-25T10:02:34.078Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9db6249cb5b64beed6f22149c866398dbcee266e [Pipeline] echo [2024-01-25T10:02:34.116Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9db6249 [Pipeline] echo [2024-01-25T10:02:34.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T10:02:34.215Z] provisioning config files... [2024-01-25T10:02:34.231Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config12310965071838790337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:02:34.569Z] ---> ****-login.sh [2024-01-25T10:02:34.569Z] nexus3.edgexfoundry.org:10001 [2024-01-25T10:02:34.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:02:34.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:02:34.830Z] Configure a credential helper to remove this warning. See [2024-01-25T10:02:34.830Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:02:34.830Z] [2024-01-25T10:02:34.830Z] Login Succeeded [2024-01-25T10:02:34.830Z] nexus3.edgexfoundry.org:10002 [2024-01-25T10:02:35.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:02:35.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:02:35.092Z] Configure a credential helper to remove this warning. See [2024-01-25T10:02:35.092Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:02:35.092Z] [2024-01-25T10:02:35.092Z] Login Succeeded [2024-01-25T10:02:35.092Z] nexus3.edgexfoundry.org:10003 [2024-01-25T10:02:35.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:02:35.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:02:35.092Z] Configure a credential helper to remove this warning. See [2024-01-25T10:02:35.092Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:02:35.092Z] [2024-01-25T10:02:35.092Z] Login Succeeded [2024-01-25T10:02:35.092Z] nexus3.edgexfoundry.org:10004 [2024-01-25T10:02:35.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:02:35.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:02:35.353Z] Configure a credential helper to remove this warning. See [2024-01-25T10:02:35.353Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:02:35.353Z] [2024-01-25T10:02:35.353Z] Login Succeeded [2024-01-25T10:02:35.353Z] ****.io [2024-01-25T10:02:35.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:02:35.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:02:35.614Z] Configure a credential helper to remove this warning. See [2024-01-25T10:02:35.614Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:02:35.614Z] [2024-01-25T10:02:35.614Z] Login Succeeded [2024-01-25T10:02:35.614Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T10:02:35.623Z] 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-01-25T10:02:36.097Z] + git rev-list -1 --merges 9db6249cb5b64beed6f22149c866398dbcee266e~1..9db6249cb5b64beed6f22149c866398dbcee266e [Pipeline] echo [2024-01-25T10:02:36.126Z] -----------> git rev-list -1 --merges 9db6249cb5b64beed6f22149c866398dbcee266e~1..9db6249cb5b64beed6f22149c866398dbcee266e 9db6249cb5b64beed6f22149c866398dbcee266e [false] [Pipeline] sh [2024-01-25T10:02:36.434Z] + git log --format=format:%s -1 9db6249cb5b64beed6f22149c866398dbcee266e [Pipeline] echo [2024-01-25T10:02:36.450Z] ========================================================= [2024-01-25T10:02:36.450Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-25T10:02:36.450Z] ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-01-25T10:02:36.966Z] + git rev-list -1 --merges 9db6249cb5b64beed6f22149c866398dbcee266e~1..9db6249cb5b64beed6f22149c866398dbcee266e [Pipeline] echo [2024-01-25T10:02:36.979Z] -----------> git rev-list -1 --merges 9db6249cb5b64beed6f22149c866398dbcee266e~1..9db6249cb5b64beed6f22149c866398dbcee266e 9db6249cb5b64beed6f22149c866398dbcee266e [false] [Pipeline] sh [2024-01-25T10:02:37.282Z] + git log --format=format:%s -1 9db6249cb5b64beed6f22149c866398dbcee266e [Pipeline] echo [2024-01-25T10:02:37.300Z] ========================================================= [2024-01-25T10:02:37.300Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-25T10:02:37.300Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh [2024-01-25T10:02:37.765Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-25T10:02:37.765Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-25T10:02:37.765Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-25T10:02:37.765Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-25T10:02:37.765Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-25T10:02:37.765Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-25T10:02:37.765Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:02:38.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T10:02:38.207Z] [2024-01-25T10:02:38.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:02:38.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T10:02:38.529Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-25T10:02:38.529Z] b85a868b505f: Pulling fs layer [2024-01-25T10:02:38.529Z] e2be974225ed: Pulling fs layer [2024-01-25T10:02:38.529Z] 339a4e72a1f5: Pulling fs layer [2024-01-25T10:02:38.529Z] 988bab9f4d93: Pulling fs layer [2024-01-25T10:02:38.529Z] 1469e6f7b9e6: Pulling fs layer [2024-01-25T10:02:38.529Z] 988bab9f4d93: Waiting [2024-01-25T10:02:38.529Z] 1469e6f7b9e6: Waiting [2024-01-25T10:02:38.529Z] eaf3925da568: Pulling fs layer [2024-01-25T10:02:38.529Z] bab4dde63d76: Pulling fs layer [2024-01-25T10:02:38.529Z] bde34c3a00c8: Pulling fs layer [2024-01-25T10:02:38.529Z] eaf3925da568: Waiting [2024-01-25T10:02:38.529Z] bab4dde63d76: Waiting [2024-01-25T10:02:38.529Z] b352a97aabf1: Pulling fs layer [2024-01-25T10:02:38.529Z] bde34c3a00c8: Waiting [2024-01-25T10:02:38.529Z] 4872d77fe225: Pulling fs layer [2024-01-25T10:02:38.529Z] 5851b861e8e6: Pulling fs layer [2024-01-25T10:02:38.529Z] 4872d77fe225: Waiting [2024-01-25T10:02:38.529Z] e2be974225ed: Verifying Checksum [2024-01-25T10:02:38.529Z] e2be974225ed: Download complete [2024-01-25T10:02:38.529Z] 988bab9f4d93: Verifying Checksum [2024-01-25T10:02:38.529Z] 988bab9f4d93: Download complete [2024-01-25T10:02:38.529Z] 1469e6f7b9e6: Verifying Checksum [2024-01-25T10:02:38.529Z] 1469e6f7b9e6: Download complete [2024-01-25T10:02:38.529Z] eaf3925da568: Download complete [2024-01-25T10:02:38.790Z] 339a4e72a1f5: Verifying Checksum [2024-01-25T10:02:38.790Z] 339a4e72a1f5: Download complete [2024-01-25T10:02:38.790Z] bde34c3a00c8: Download complete [2024-01-25T10:02:38.790Z] b352a97aabf1: Download complete [2024-01-25T10:02:38.790Z] 4872d77fe225: Download complete [2024-01-25T10:02:38.790Z] 5851b861e8e6: Download complete [2024-01-25T10:02:38.790Z] b85a868b505f: Download complete [2024-01-25T10:02:39.050Z] bab4dde63d76: Verifying Checksum [2024-01-25T10:02:39.050Z] bab4dde63d76: Download complete [2024-01-25T10:02:39.987Z] b85a868b505f: Pull complete [2024-01-25T10:02:39.987Z] e2be974225ed: Pull complete [2024-01-25T10:02:40.556Z] 339a4e72a1f5: Pull complete [2024-01-25T10:02:40.556Z] 988bab9f4d93: Pull complete [2024-01-25T10:02:40.816Z] 1469e6f7b9e6: Pull complete [2024-01-25T10:02:40.816Z] eaf3925da568: Pull complete [2024-01-25T10:02:42.727Z] bab4dde63d76: Pull complete [2024-01-25T10:02:42.727Z] bde34c3a00c8: Pull complete [2024-01-25T10:02:42.727Z] b352a97aabf1: Pull complete [2024-01-25T10:02:42.727Z] 4872d77fe225: Pull complete [2024-01-25T10:02:42.727Z] 5851b861e8e6: Pull complete [2024-01-25T10:02:42.727Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-25T10:02:42.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T10:02:42.727Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T10:02:42.899Z] prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container [2024-01-25T10:02:42.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-25T10:02:46.211Z] $ docker top 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe -eo pid,comm [2024-01-25T10:02:46.263Z] 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-01-25T10:02:46.263Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-25T10:02:46.349Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T10:02:46.349Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T10:02:46.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T10:02:46.460Z] $ docker exec 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe ssh-agent [2024-01-25T10:02:46.564Z] SSH_AUTH_SOCK=/tmp/ssh-UaGtu4jZUoEo/agent.33 [2024-01-25T10:02:46.564Z] SSH_AGENT_PID=39 [2024-01-25T10:02:46.571Z] Running ssh-add (command line suppressed) [2024-01-25T10:02:46.659Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1510709467215706302.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_1510709467215706302.key) [2024-01-25T10:02:46.674Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T10:02:46.976Z] + git tag --points-at HEAD [Pipeline] } [2024-01-25T10:02:46.985Z] $ docker exec --env ******** --env ******** 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe ssh-agent -k [2024-01-25T10:02:47.083Z] unset SSH_AUTH_SOCK; [2024-01-25T10:02:47.083Z] unset SSH_AGENT_PID; [2024-01-25T10:02:47.083Z] echo Agent pid 39 killed; [2024-01-25T10:02:47.098Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-25T10:02:47.151Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T10:02:47.151Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T10:02:47.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T10:02:47.254Z] $ docker exec 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe ssh-agent [2024-01-25T10:02:47.358Z] SSH_AUTH_SOCK=/tmp/ssh-4RzkD2klWNet/agent.73 [2024-01-25T10:02:47.358Z] SSH_AGENT_PID=79 [2024-01-25T10:02:47.362Z] Running ssh-add (command line suppressed) [2024-01-25T10:02:47.447Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_843360412834840846.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_843360412834840846.key) [2024-01-25T10:02:47.464Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T10:02:47.763Z] + git semver init [2024-01-25T10:02:48.024Z] 2024-01-25 10:02:47,959 [run_init] DEBUG init version:0.0.0 force:False [2024-01-25T10:02:48.024Z] 2024-01-25 10:02:47,959 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-01-25T10:02:48.024Z] 2024-01-25 10:02:47,960 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver [2024-01-25T10:02:48.024Z] 2024-01-25 10:02:47,960 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-01-25T10:02:48.966Z] 2024-01-25 10:02:48,819 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude [2024-01-25T10:02:48.966Z] 2024-01-25 10:02:48,819 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False [2024-01-25T10:02:48.966Z] 2024-01-25 10:02:48,820 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-25T10:02:48.966Z] 2024-01-25 10:02:48,820 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-25T10:02:48.966Z] 3.0.3-dev.11 [Pipeline] } [2024-01-25T10:02:48.974Z] $ docker exec --env ******** --env ******** 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe ssh-agent -k [2024-01-25T10:02:49.065Z] unset SSH_AUTH_SOCK; [2024-01-25T10:02:49.066Z] unset SSH_AGENT_PID; [2024-01-25T10:02:49.066Z] echo Agent pid 79 killed; [2024-01-25T10:02:49.077Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-25T10:02:49.443Z] + git semver [Pipeline] } [2024-01-25T10:02:49.714Z] $ docker stop --time=1 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe [2024-01-25T10:02:51.025Z] $ docker rm -f --volumes 2d30ca6af9e56ed9d066e026d85581acfb301112f710b68d2ef15460136e07fe [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-25T10:02:51.403Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-25T10:02:51.669Z] Stashed 1 file(s) [Pipeline] echo [2024-01-25T10:02:51.674Z] [edgeXSemver]: initialized semver on version 3.0.3-dev.11 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T10:02:51.966Z] provisioning config files... [2024-01-25T10:02:51.977Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config16632801255144287262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:02:52.288Z] ---> ****-login.sh [2024-01-25T10:02:52.288Z] nexus3.edgexfoundry.org:10001 [2024-01-25T10:02:52.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:02:52.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:02:52.289Z] Configure a credential helper to remove this warning. See [2024-01-25T10:02:52.289Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:02:52.289Z] [2024-01-25T10:02:52.289Z] Login Succeeded [2024-01-25T10:02:52.289Z] nexus3.edgexfoundry.org:10002 [2024-01-25T10:02:52.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:02:52.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:02:52.289Z] Configure a credential helper to remove this warning. See [2024-01-25T10:02:52.289Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:02:52.289Z] [2024-01-25T10:02:52.289Z] Login Succeeded [2024-01-25T10:02:52.289Z] nexus3.edgexfoundry.org:10003 [2024-01-25T10:02:52.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:02:52.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:02:52.546Z] Configure a credential helper to remove this warning. See [2024-01-25T10:02:52.547Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:02:52.547Z] [2024-01-25T10:02:52.547Z] Login Succeeded [2024-01-25T10:02:52.547Z] nexus3.edgexfoundry.org:10004 [2024-01-25T10:02:52.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:02:52.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:02:52.547Z] Configure a credential helper to remove this warning. See [2024-01-25T10:02:52.547Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:02:52.547Z] [2024-01-25T10:02:52.547Z] Login Succeeded [2024-01-25T10:02:52.547Z] ****.io [2024-01-25T10:02:52.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:02:52.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:02:52.806Z] Configure a credential helper to remove this warning. See [2024-01-25T10:02:52.806Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:02:52.806Z] [2024-01-25T10:02:52.806Z] Login Succeeded [2024-01-25T10:02:52.806Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T10:02:52.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-25T10:02:52.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T10:02:52.983Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo [2024-01-25T10:02:53.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T10:02:53.034Z] ========================================================= [2024-01-25T10:02:53.034Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] [2024-01-25T10:02:53.034Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:02:53.391Z] + 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-01-25T10:02:53.391Z] Sending build context to Docker daemon 4.978MB [2024-01-25T10:02:53.391Z] Step 1/21 : ARG BASE=alpine:3.18 [2024-01-25T10:02:53.391Z] Step 2/21 : FROM ${BASE} as builder [2024-01-25T10:02:53.391Z] latest: Pulling from edgex-devops/edgex-gcc-base [2024-01-25T10:02:53.391Z] 96526aa774ef: Pulling fs layer [2024-01-25T10:02:53.391Z] da60e534fd72: Pulling fs layer [2024-01-25T10:02:53.652Z] 96526aa774ef: Verifying Checksum [2024-01-25T10:02:53.652Z] 96526aa774ef: Download complete [2024-01-25T10:02:53.652Z] 96526aa774ef: Pull complete [2024-01-25T10:02:54.591Z] da60e534fd72: Verifying Checksum [2024-01-25T10:02:54.591Z] da60e534fd72: Download complete [2024-01-25T10:02:57.120Z] da60e534fd72: Pull complete [2024-01-25T10:02:57.120Z] Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff [2024-01-25T10:02:57.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest [2024-01-25T10:02:57.120Z] ---> 6605166a5db4 [2024-01-25T10:02:57.120Z] Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-25T10:02:59.657Z] ---> Running in 71ffacfc8224 [2024-01-25T10:02:59.916Z] Connecting to iotech.jfrog.io (34.247.22.236:443) [2024-01-25T10:03:00.483Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-25T10:03:00.483Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-25T10:03:00.483Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-25T10:03:00.742Z] Removing intermediate container 71ffacfc8224 [2024-01-25T10:03:00.742Z] ---> 5828ceb1b92c [2024-01-25T10:03:00.742Z] Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-25T10:03:00.742Z] ---> Running in b2f0f4dbc391 [2024-01-25T10:03:01.311Z] Removing intermediate container b2f0f4dbc391 [2024-01-25T10:03:01.311Z] ---> 39b4bd568a48 [2024-01-25T10:03:01.311Z] Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-25T10:03:01.311Z] ---> Running in 00a947569825 [2024-01-25T10:03:01.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T10:03:01.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T10:03:01.571Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T10:03:02.141Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T10:03:02.141Z] (1/17) Installing hiredis (1.1.0-r2) [2024-01-25T10:03:02.141Z] (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-25T10:03:02.141Z] (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-25T10:03:03.080Z] (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-25T10:03:03.080Z] (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-25T10:03:03.340Z] (6/17) Installing libcbor (0.10.2-r1) [2024-01-25T10:03:03.340Z] (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-25T10:03:03.340Z] (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-25T10:03:03.340Z] (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-25T10:03:03.340Z] (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-25T10:03:03.340Z] (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-25T10:03:03.340Z] (12/17) Installing libblkid (2.38.1-r8) [2024-01-25T10:03:03.340Z] (13/17) Installing libuuid (2.38.1-r8) [2024-01-25T10:03:03.340Z] (14/17) Installing libfdisk (2.38.1-r8) [2024-01-25T10:03:03.340Z] (15/17) Installing libmount (2.38.1-r8) [2024-01-25T10:03:03.340Z] (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-25T10:03:03.340Z] (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-25T10:03:03.340Z] Executing busybox-1.36.1-r4.trigger [2024-01-25T10:03:03.340Z] OK: 336 MiB in 99 packages [2024-01-25T10:03:04.277Z] Removing intermediate container 00a947569825 [2024-01-25T10:03:04.277Z] ---> 51fe6ab0b551 [2024-01-25T10:03:04.277Z] Step 6/21 : RUN mkdir /tmp/sdk [2024-01-25T10:03:04.277Z] ---> Running in 7cedb6af1240 [2024-01-25T10:03:04.537Z] Removing intermediate container 7cedb6af1240 [2024-01-25T10:03:04.537Z] ---> cd56ef4cd269 [2024-01-25T10:03:04.537Z] Step 7/21 : COPY VERSION /tmp/sdk [2024-01-25T10:03:04.796Z] ---> 9f68d787981e [2024-01-25T10:03:04.796Z] Step 8/21 : COPY src /tmp/sdk/src [2024-01-25T10:03:05.055Z] ---> 8136de72486b [2024-01-25T10:03:05.055Z] Step 9/21 : COPY include /tmp/sdk/include [2024-01-25T10:03:05.055Z] ---> 757b90feea23 [2024-01-25T10:03:05.055Z] Step 10/21 : COPY scripts /tmp/sdk/scripts [2024-01-25T10:03:05.314Z] ---> 08ffcfa859bf [2024-01-25T10:03:05.314Z] Step 11/21 : COPY LICENSE /tmp/sdk [2024-01-25T10:03:05.314Z] ---> 36ed212f4ceb [2024-01-25T10:03:05.314Z] Step 12/21 : COPY Attribution.txt /tmp/sdk [2024-01-25T10:03:05.573Z] ---> 4a7bb93689b1 [2024-01-25T10:03:05.573Z] Step 13/21 : RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-25T10:03:05.573Z] ---> Running in edb8da9ec83c [2024-01-25T10:03:05.834Z] + CPPCHECK=false [2024-01-25T10:03:05.834Z] + DOCGEN=false [2024-01-25T10:03:05.834Z] + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-25T10:03:05.834Z] + '[' 0 -gt 0 ] [2024-01-25T10:03:05.834Z] + readlink -f ./scripts/build.sh [2024-01-25T10:03:05.834Z] + dirname /tmp/sdk/scripts/build.sh [2024-01-25T10:03:05.834Z] + dirname /tmp/sdk/scripts [2024-01-25T10:03:05.834Z] + ROOT=/tmp/sdk [2024-01-25T10:03:05.834Z] + cd /tmp/sdk [2024-01-25T10:03:05.834Z] + mkdir -p /tmp/sdk/build/release [2024-01-25T10:03:05.834Z] + cd /tmp/sdk/build/release [2024-01-25T10:03:05.834Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-25T10:03:05.834Z] -- The C compiler identification is GNU 12.2.1 [2024-01-25T10:03:05.834Z] -- Detecting C compiler ABI info [2024-01-25T10:03:06.093Z] -- Detecting C compiler ABI info - done [2024-01-25T10:03:06.093Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-25T10:03:06.093Z] -- Detecting C compile features [2024-01-25T10:03:06.093Z] -- Detecting C compile features - done [2024-01-25T10:03:06.093Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-25T10:03:06.093Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-25T10:03:06.093Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-25T10:03:06.093Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-25T10:03:06.093Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-25T10:03:06.093Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-25T10:03:06.093Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-25T10:03:06.093Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-25T10:03:06.093Z] -- /opt/iotech/iot/1.5/include [2024-01-25T10:03:06.093Z] -- C SDK 3.0.3-dev.11 for Linux [2024-01-25T10:03:06.093Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-25T10:03:06.093Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-25T10:03:06.351Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-25T10:03:06.351Z] -- Configuring done (0.4s) [2024-01-25T10:03:06.351Z] -- Generating done (0.0s) [2024-01-25T10:03:06.351Z] -- Build files have been written to: /tmp/sdk/build/release [2024-01-25T10:03:06.351Z] + make all package [2024-01-25T10:03:06.351Z] + tee release.log [2024-01-25T10:03:06.351Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-25T10:03:06.351Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-25T10:03:06.609Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-25T10:03:06.609Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-25T10:03:06.867Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-25T10:03:06.867Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-25T10:03:06.875Z] Still waiting to schedule task [2024-01-25T10:03:06.875Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-25T10:03:07.125Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-25T10:03:07.383Z] /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-25T10:03:07.383Z] /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T10:03:07.383Z] 294 | while (privateConfig) [2024-01-25T10:03:07.383Z] | ^~~~~~~~~~~~~ [2024-01-25T10:03:07.383Z] /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-25T10:03:07.383Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-25T10:03:07.383Z] | ^~~~~~~~~~~~~ [2024-01-25T10:03:07.383Z] /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T10:03:07.383Z] 271 | while (result) [2024-01-25T10:03:07.383Z] | ^~~~~~ [2024-01-25T10:03:07.383Z] /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-25T10:03:07.383Z] 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-25T10:03:07.383Z] | ^~~~~~ [2024-01-25T10:03:07.383Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-25T10:03:07.383Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-25T10:03:07.643Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-25T10:03:07.901Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-25T10:03:07.902Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-25T10:03:08.161Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-25T10:03:08.161Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-25T10:03:08.419Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-25T10:03:08.419Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-25T10:03:08.678Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-25T10:03:08.937Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-25T10:03:08.937Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-25T10:03:08.937Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-25T10:03:09.196Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-25T10:03:10.136Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-25T10:03:10.395Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-25T10:03:10.395Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-25T10:03:10.395Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-25T10:03:10.654Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-25T10:03:10.913Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-25T10:03:11.172Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-25T10:03:11.172Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-25T10:03:11.432Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-25T10:03:11.432Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-25T10:03:11.432Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-25T10:03:11.432Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T10:03:11.432Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-25T10:03:11.432Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T10:03:11.432Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T10:03:11.432Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-25T10:03:11.432Z] | ^ [2024-01-25T10:03:11.691Z] /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T10:03:11.691Z] 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-25T10:03:11.691Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T10:03:11.691Z] /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-25T10:03:11.691Z] 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-25T10:03:11.691Z] | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-25T10:03:11.691Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-25T10:03:11.950Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-25T10:03:11.950Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-25T10:03:11.950Z] [ 68%] Linking C shared library libcsdk.so [2024-01-25T10:03:12.211Z] [ 68%] Built target csdk [2024-01-25T10:03:12.211Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-25T10:03:12.211Z] [ 72%] Linking C executable template [2024-01-25T10:03:12.211Z] [ 72%] Built target template [2024-01-25T10:03:12.211Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-25T10:03:12.470Z] [ 76%] Linking C executable device-counter [2024-01-25T10:03:12.470Z] [ 76%] Built target device-counter [2024-01-25T10:03:12.470Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-25T10:03:12.730Z] [ 80%] Linking C executable device-random [2024-01-25T10:03:12.730Z] [ 80%] Built target device-random [2024-01-25T10:03:12.730Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-25T10:03:12.730Z] [ 84%] Linking C executable device-gyro [2024-01-25T10:03:12.730Z] [ 84%] Built target device-gyro [2024-01-25T10:03:12.990Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-25T10:03:12.990Z] [ 88%] Linking C executable device-bitfields [2024-01-25T10:03:12.990Z] [ 88%] Built target device-bitfields [2024-01-25T10:03:12.990Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-25T10:03:13.250Z] [ 92%] Linking C executable template-discovery [2024-01-25T10:03:13.250Z] [ 92%] Built target template-discovery [2024-01-25T10:03:13.250Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-25T10:03:13.250Z] [ 96%] Linking C executable device-file [2024-01-25T10:03:13.509Z] [ 96%] Built target device-file [2024-01-25T10:03:13.509Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-25T10:03:13.509Z] [100%] Linking C executable device-terminal [2024-01-25T10:03:13.509Z] [100%] Built target device-terminal [2024-01-25T10:03:13.769Z] Run CPack packaging tool... [2024-01-25T10:03:13.769Z] CPack: Create package using TGZ [2024-01-25T10:03:13.769Z] CPack: Install projects [2024-01-25T10:03:13.769Z] CPack: - Run preinstall target for: Csdk [2024-01-25T10:03:14.028Z] CPack: - Install project: Csdk [] [2024-01-25T10:03:14.028Z] CPack: Create package [2024-01-25T10:03:14.028Z] CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.11.tar.gz generated. [2024-01-25T10:03:14.028Z] + '[' false '=' true ] [2024-01-25T10:03:14.028Z] + '[' false '=' true ] [2024-01-25T10:03:14.028Z] + mkdir -p /tmp/sdk/build/debug [2024-01-25T10:03:14.028Z] + cd /tmp/sdk/build/debug [2024-01-25T10:03:14.028Z] + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-25T10:03:14.028Z] -- The C compiler identification is GNU 12.2.1 [2024-01-25T10:03:14.028Z] -- Detecting C compiler ABI info [2024-01-25T10:03:14.028Z] -- Detecting C compiler ABI info - done [2024-01-25T10:03:14.028Z] -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-25T10:03:14.028Z] -- Detecting C compile features [2024-01-25T10:03:14.028Z] -- Detecting C compile features - done [2024-01-25T10:03:14.028Z] -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-25T10:03:14.287Z] -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-25T10:03:14.287Z] -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-25T10:03:14.287Z] -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-25T10:03:14.287Z] -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-25T10:03:14.287Z] -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-25T10:03:14.287Z] -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-25T10:03:14.287Z] -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-25T10:03:14.287Z] -- /opt/iotech/iot/1.5/include [2024-01-25T10:03:14.287Z] -- C SDK 3.0.3-dev.11 for Linux [2024-01-25T10:03:14.287Z] -- Performing Test CSDK_HAVE_ATOMIC [2024-01-25T10:03:14.287Z] -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-25T10:03:14.287Z] -- Found Curses: /usr/lib/libcurses.so [2024-01-25T10:03:14.287Z] -- Configuring done (0.4s) [2024-01-25T10:03:14.287Z] -- Generating done (0.0s) [2024-01-25T10:03:14.287Z] -- Build files have been written to: /tmp/sdk/build/debug [2024-01-25T10:03:14.287Z] + make [2024-01-25T10:03:14.287Z] + tee debug.log [2024-01-25T10:03:14.547Z] [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-25T10:03:14.547Z] [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-25T10:03:14.547Z] [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-25T10:03:14.547Z] [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-25T10:03:14.806Z] [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-25T10:03:14.806Z] [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-25T10:03:14.806Z] [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-25T10:03:15.066Z] [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-25T10:03:15.066Z] [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-25T10:03:15.066Z] [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-25T10:03:15.325Z] [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-25T10:03:15.325Z] [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-25T10:03:15.325Z] [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-25T10:03:15.584Z] [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-25T10:03:15.584Z] [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-25T10:03:15.584Z] [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-25T10:03:15.584Z] [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-25T10:03:15.843Z] [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-25T10:03:15.843Z] [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-25T10:03:15.843Z] [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-25T10:03:16.103Z] [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-25T10:03:16.103Z] [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-25T10:03:16.362Z] [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-25T10:03:16.362Z] [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-25T10:03:16.362Z] [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-25T10:03:16.362Z] [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-25T10:03:16.652Z] [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-25T10:03:16.652Z] [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-25T10:03:16.929Z] [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-25T10:03:16.929Z] [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-25T10:03:16.929Z] [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-25T10:03:16.929Z] /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-25T10:03:16.929Z] /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T10:03:16.929Z] 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-25T10:03:16.929Z] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T10:03:16.929Z] /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T10:03:16.929Z] 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-25T10:03:16.929Z] | ^ [2024-01-25T10:03:17.210Z] [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-25T10:03:17.210Z] [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-25T10:03:17.210Z] [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-25T10:03:17.210Z] [ 68%] Linking C shared library libcsdk.so [2024-01-25T10:03:17.489Z] [ 68%] Built target csdk [2024-01-25T10:03:17.489Z] [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-25T10:03:17.489Z] [ 72%] Linking C executable template [2024-01-25T10:03:17.489Z] [ 72%] Built target template [2024-01-25T10:03:17.489Z] [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-25T10:03:17.489Z] [ 76%] Linking C executable device-counter [2024-01-25T10:03:17.768Z] [ 76%] Built target device-counter [2024-01-25T10:03:17.768Z] [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-25T10:03:17.768Z] [ 80%] Linking C executable device-random [2024-01-25T10:03:17.768Z] [ 80%] Built target device-random [2024-01-25T10:03:17.768Z] [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-25T10:03:17.768Z] [ 84%] Linking C executable device-gyro [2024-01-25T10:03:18.028Z] [ 84%] Built target device-gyro [2024-01-25T10:03:18.028Z] [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-25T10:03:18.028Z] [ 88%] Linking C executable device-bitfields [2024-01-25T10:03:18.028Z] [ 88%] Built target device-bitfields [2024-01-25T10:03:18.028Z] [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-25T10:03:18.288Z] [ 92%] Linking C executable template-discovery [2024-01-25T10:03:18.288Z] [ 92%] Built target template-discovery [2024-01-25T10:03:18.288Z] [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-25T10:03:18.288Z] [ 96%] Linking C executable device-file [2024-01-25T10:03:18.288Z] [ 96%] Built target device-file [2024-01-25T10:03:18.548Z] [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-25T10:03:18.548Z] [100%] Linking C executable device-terminal [2024-01-25T10:03:18.548Z] [100%] Built target device-terminal [2024-01-25T10:03:18.548Z] make: Entering directory '/tmp/sdk/build/release' [2024-01-25T10:03:18.548Z] [ 68%] Built target csdk [2024-01-25T10:03:18.548Z] [ 72%] Built target template [2024-01-25T10:03:18.548Z] [ 76%] Built target device-counter [2024-01-25T10:03:18.807Z] [ 80%] Built target device-random [2024-01-25T10:03:18.807Z] [ 84%] Built target device-gyro [2024-01-25T10:03:18.807Z] [ 88%] Built target device-bitfields [2024-01-25T10:03:18.807Z] [ 92%] Built target template-discovery [2024-01-25T10:03:18.807Z] [ 96%] Built target device-file [2024-01-25T10:03:18.807Z] [100%] Built target device-terminal [2024-01-25T10:03:18.807Z] Install the project... [2024-01-25T10:03:18.807Z] -- Install configuration: "Release" [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/lib/libcsdk.so [2024-01-25T10:03:18.807Z] -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include/devsdk [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include/edgex [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include/edgex/edgex.h [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include/edgex/devices.h [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include/edgex/profiles.h [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-25T10:03:18.807Z] -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-25T10:03:18.807Z] make: Leaving directory '/tmp/sdk/build/release' [2024-01-25T10:03:19.377Z] Removing intermediate container edb8da9ec83c [2024-01-25T10:03:19.377Z] ---> 37b5fa12bf35 [2024-01-25T10:03:19.377Z] Step 14/21 : FROM ${BASE} [2024-01-25T10:03:19.377Z] ---> 6605166a5db4 [2024-01-25T10:03:19.377Z] Step 15/21 : LABEL maintainer="IOTech " [2024-01-25T10:03:19.636Z] ---> Running in 817d03f8f149 [2024-01-25T10:03:19.636Z] Removing intermediate container 817d03f8f149 [2024-01-25T10:03:19.636Z] ---> f046df673cf1 [2024-01-25T10:03:19.636Z] Step 16/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-25T10:03:19.636Z] ---> Running in 4a2fa36417e4 [2024-01-25T10:03:19.896Z] Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-25T10:03:20.465Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-25T10:03:20.465Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-25T10:03:20.465Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-25T10:03:20.726Z] Removing intermediate container 4a2fa36417e4 [2024-01-25T10:03:20.726Z] ---> 757ca14427a1 [2024-01-25T10:03:20.726Z] Step 17/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-25T10:03:20.726Z] ---> Running in 922f6c2a8360 [2024-01-25T10:03:21.294Z] Removing intermediate container 922f6c2a8360 [2024-01-25T10:03:21.294Z] ---> fce5618276af [2024-01-25T10:03:21.294Z] Step 18/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-25T10:03:21.294Z] ---> Running in 26ba17f6a5db [2024-01-25T10:03:21.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T10:03:21.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T10:03:21.815Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T10:03:22.382Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T10:03:22.382Z] (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-25T10:03:22.382Z] (2/9) Installing curl (8.5.0-r0) [2024-01-25T10:03:22.382Z] (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-25T10:03:22.382Z] (4/9) Installing hiredis (1.1.0-r2) [2024-01-25T10:03:22.382Z] (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-25T10:03:22.382Z] (6/9) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-25T10:03:23.319Z] (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-25T10:03:23.578Z] (8/9) Installing libcbor (0.10.2-r1) [2024-01-25T10:03:23.578Z] (9/9) Installing libuuid (2.38.1-r8) [2024-01-25T10:03:23.578Z] Executing busybox-1.36.1-r4.trigger [2024-01-25T10:03:23.578Z] OK: 331 MiB in 89 packages [2024-01-25T10:03:24.149Z] Removing intermediate container 26ba17f6a5db [2024-01-25T10:03:24.149Z] ---> 755cd41fe566 [2024-01-25T10:03:24.149Z] Step 19/21 : COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-25T10:03:24.149Z] ---> 277eb2c19a67 [2024-01-25T10:03:24.149Z] Step 20/21 : COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-25T10:03:24.409Z] ---> ca70d1f258dd [2024-01-25T10:03:24.409Z] Step 21/21 : COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-25T10:03:24.670Z] ---> 221bb144f46d [2024-01-25T10:03:24.670Z] Successfully built 221bb144f46d [2024-01-25T10:03:24.670Z] 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-01-25T10:03:25.204Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-25T10:03:25.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T10:03:25.317Z] prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container [2024-01-25T10:03:25.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** ci-base-image-x86_64 cat [2024-01-25T10:03:25.687Z] $ docker top 25c9bd46e22fc0e485a2ccd3058bb8d8e5119abf21698b64b705cbfeaaee2a08 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T10:03:26.063Z] + make test [2024-01-25T10:03:26.064Z] echo "make test" [2024-01-25T10:03:26.064Z] make test [Pipeline] } [2024-01-25T10:03:26.071Z] $ docker stop --time=1 25c9bd46e22fc0e485a2ccd3058bb8d8e5119abf21698b64b705cbfeaaee2a08 [2024-01-25T10:03:27.360Z] $ docker rm -f --volumes 25c9bd46e22fc0e485a2ccd3058bb8d8e5119abf21698b64b705cbfeaaee2a08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T10:03:28.136Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-25T10:03:28.419Z] + ls -al . [2024-01-25T10:03:28.419Z] total 212 [2024-01-25T10:03:28.419Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 25 10:02 . [2024-01-25T10:03:28.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:02 .. [2024-01-25T10:03:28.419Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 10:02 .git [2024-01-25T10:03:28.419Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 10:02 .github [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 25 10:02 .gitignore [2024-01-25T10:03:28.419Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 10:02 .semver [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 25 10:02 Attribution.txt [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 25 10:02 CHANGELOG.md [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 25 10:02 Doxyfile [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 10:02 GOVERNANCE.md [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 25 10:02 Jenkinsfile [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 25 10:02 LICENSE [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 25 10:02 Makefile [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 25 10:02 OWNERS.md [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 25 10:02 README.IOT.md [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 25 10:02 README.md [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 25 10:02 README.v3.md [2024-01-25T10:03:28.419Z] -rw-rw-r-- 1 jenkins jenkins 12 Jan 25 10:02 VERSION [2024-01-25T10:03:28.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 10:02 docs [2024-01-25T10:03:28.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:02 include [2024-01-25T10:03:28.419Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 10:02 scripts [2024-01-25T10:03:28.419Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:02 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:03:28.763Z] + 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=9db6249cb5b64beed6f22149c866398dbcee266e --label arch=amd64 --label version=3.0.3-dev.11 . [2024-01-25T10:03:28.763Z] Sending build context to Docker daemon 4.978MB [2024-01-25T10:03:28.763Z] Step 1/17 : ARG BASE=alpine:3.18 [2024-01-25T10:03:28.763Z] Step 2/17 : FROM ${BASE} [2024-01-25T10:03:28.763Z] ---> 221bb144f46d [2024-01-25T10:03:28.763Z] Step 3/17 : LABEL maintainer="IOTech " [2024-01-25T10:03:28.763Z] ---> Running in be95a521db16 [2024-01-25T10:03:28.763Z] Removing intermediate container be95a521db16 [2024-01-25T10:03:28.763Z] ---> ec0a210b6337 [2024-01-25T10:03:28.763Z] Step 4/17 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-25T10:03:28.763Z] ---> Running in a16a557361d5 [2024-01-25T10:03:29.023Z] Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-25T10:03:29.592Z] saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-25T10:03:29.592Z] alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-25T10:03:29.592Z] '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-25T10:03:29.852Z] Removing intermediate container a16a557361d5 [2024-01-25T10:03:29.852Z] ---> b8dcc47ffc98 [2024-01-25T10:03:29.852Z] Step 5/17 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-25T10:03:29.852Z] ---> Running in 522e39129f85 [2024-01-25T10:03:30.420Z] Removing intermediate container 522e39129f85 [2024-01-25T10:03:30.420Z] ---> a4f78a006c2d [2024-01-25T10:03:30.420Z] Step 6/17 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-25T10:03:30.420Z] ---> Running in ddcdceb1528e [2024-01-25T10:03:30.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T10:03:30.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T10:03:30.940Z] fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T10:03:31.509Z] WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T10:03:31.509Z] (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-25T10:03:31.767Z] (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-25T10:03:31.767Z] (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-25T10:03:31.767Z] (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-25T10:03:31.767Z] (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-25T10:03:31.767Z] (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-25T10:03:31.767Z] (7/11) Installing libblkid (2.38.1-r8) [2024-01-25T10:03:31.767Z] (8/11) Installing libfdisk (2.38.1-r8) [2024-01-25T10:03:31.767Z] (9/11) Installing libmount (2.38.1-r8) [2024-01-25T10:03:31.767Z] (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-25T10:03:31.767Z] (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-25T10:03:31.767Z] Executing busybox-1.36.1-r4.trigger [2024-01-25T10:03:31.767Z] OK: 336 MiB in 100 packages [2024-01-25T10:03:32.702Z] Removing intermediate container ddcdceb1528e [2024-01-25T10:03:32.702Z] ---> 4270dfd679be [2024-01-25T10:03:32.702Z] Step 7/17 : COPY VERSION /edgex-c-sdk/ [2024-01-25T10:03:32.702Z] ---> f2f126e019b2 [2024-01-25T10:03:32.702Z] Step 8/17 : COPY src /edgex-c-sdk/src/ [2024-01-25T10:03:32.702Z] ---> ee6945e9e267 [2024-01-25T10:03:32.702Z] Step 9/17 : COPY include /edgex-c-sdk/include/ [2024-01-25T10:03:32.961Z] ---> 5695ec732860 [2024-01-25T10:03:32.962Z] Step 10/17 : COPY scripts /edgex-c-sdk/scripts [2024-01-25T10:03:32.962Z] ---> ec43981a7ae8 [2024-01-25T10:03:32.962Z] Step 11/17 : COPY LICENSE /edgex-c-sdk/ [2024-01-25T10:03:33.221Z] ---> e7d463284fca [2024-01-25T10:03:33.221Z] Step 12/17 : COPY Attribution.txt /edgex-c-sdk/ [2024-01-25T10:03:33.221Z] ---> 607e845761d3 [2024-01-25T10:03:33.221Z] Step 13/17 : WORKDIR /edgex-c-sdk [2024-01-25T10:03:33.221Z] ---> Running in 33bc95255840 [2024-01-25T10:03:33.221Z] Removing intermediate container 33bc95255840 [2024-01-25T10:03:33.221Z] ---> 0e3abb34dde6 [2024-01-25T10:03:33.221Z] Step 14/17 : ENTRYPOINT ["/edgex-c-sdk/scripts/entrypoint.sh"] [2024-01-25T10:03:33.480Z] ---> Running in 36e000dc8235 [2024-01-25T10:03:33.480Z] Removing intermediate container 36e000dc8235 [2024-01-25T10:03:33.480Z] ---> a1f657521e0e [2024-01-25T10:03:33.480Z] Step 15/17 : LABEL arch=amd64 [2024-01-25T10:03:33.480Z] ---> Running in dae3f7ddef2e [2024-01-25T10:03:33.480Z] Removing intermediate container dae3f7ddef2e [2024-01-25T10:03:33.480Z] ---> 21c6b68adeab [2024-01-25T10:03:33.480Z] Step 16/17 : LABEL git_sha=9db6249cb5b64beed6f22149c866398dbcee266e [2024-01-25T10:03:33.480Z] ---> Running in c755faed7865 [2024-01-25T10:03:33.741Z] Removing intermediate container c755faed7865 [2024-01-25T10:03:33.741Z] ---> 6a4bf8239ded [2024-01-25T10:03:33.741Z] Step 17/17 : LABEL version=3.0.3-dev.11 [2024-01-25T10:03:33.741Z] ---> Running in 01e320a05002 [2024-01-25T10:03:33.741Z] Removing intermediate container 01e320a05002 [2024-01-25T10:03:33.741Z] ---> 06ea90551db5 [2024-01-25T10:03:33.741Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2024-01-25T10:03:33.741Z] Successfully built 06ea90551db5 [2024-01-25T10:03:33.741Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:03:34.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T10:03:34.552Z] [2024-01-25T10:03:34.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:03:34.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T10:03:34.869Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-25T10:03:34.869Z] 5eb5b503b376: Pulling fs layer [2024-01-25T10:03:34.869Z] 5c69ac0246d0: Pulling fs layer [2024-01-25T10:03:34.869Z] ec43610c2a17: Pulling fs layer [2024-01-25T10:03:34.869Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-25T10:03:34.869Z] 33b1e0a273af: Pulling fs layer [2024-01-25T10:03:34.869Z] 5d3b04190fa2: Pulling fs layer [2024-01-25T10:03:34.869Z] 3a2ae6a8a46f: Waiting [2024-01-25T10:03:34.869Z] 33b1e0a273af: Waiting [2024-01-25T10:03:34.869Z] 2f39f015ded8: Pulling fs layer [2024-01-25T10:03:34.869Z] 5d3b04190fa2: Waiting [2024-01-25T10:03:34.869Z] 5c69ac0246d0: Verifying Checksum [2024-01-25T10:03:34.869Z] 5c69ac0246d0: Download complete [2024-01-25T10:03:34.869Z] 3a2ae6a8a46f: Verifying Checksum [2024-01-25T10:03:34.869Z] 3a2ae6a8a46f: Download complete [2024-01-25T10:03:34.869Z] 33b1e0a273af: Verifying Checksum [2024-01-25T10:03:34.869Z] 33b1e0a273af: Download complete [2024-01-25T10:03:34.869Z] 5d3b04190fa2: Verifying Checksum [2024-01-25T10:03:34.869Z] 5d3b04190fa2: Download complete [2024-01-25T10:03:34.869Z] ec43610c2a17: Verifying Checksum [2024-01-25T10:03:34.869Z] ec43610c2a17: Download complete [2024-01-25T10:03:35.137Z] 5eb5b503b376: Verifying Checksum [2024-01-25T10:03:35.137Z] 5eb5b503b376: Download complete [2024-01-25T10:03:35.705Z] 2f39f015ded8: Verifying Checksum [2024-01-25T10:03:35.705Z] 2f39f015ded8: Download complete [2024-01-25T10:03:36.638Z] 5eb5b503b376: Pull complete [2024-01-25T10:03:36.638Z] 5c69ac0246d0: Pull complete [2024-01-25T10:03:37.205Z] ec43610c2a17: Pull complete [2024-01-25T10:03:37.205Z] 3a2ae6a8a46f: Pull complete [2024-01-25T10:03:37.205Z] 33b1e0a273af: Pull complete [2024-01-25T10:03:37.465Z] 5d3b04190fa2: Pull complete [2024-01-25T10:03:41.661Z] 2f39f015ded8: Pull complete [2024-01-25T10:03:41.661Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-25T10:03:41.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T10:03:41.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T10:03:41.825Z] prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container [2024-01-25T10:03:41.853Z] $ 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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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-lftools-log-publisher:latest cat [2024-01-25T10:03:48.416Z] $ docker top 5d98972851543286a24891621ba814cb7218e6dff88b27b85cc24639b23a610d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:03:48.961Z] ---> job-cost.sh [2024-01-25T10:03:48.961Z] lf-activate-venv: SKIPPING [2024-01-25T10:03:48.961Z] INFO: No Stack... [2024-01-25T10:03:49.220Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T10:03:49.478Z] INFO: Archiving Costs [Pipeline] sh [2024-01-25T10:03:49.768Z] + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv [2024-01-25T10:03:49.768Z] + cut -d, -f6 [Pipeline] lock [2024-01-25T10:03:49.784Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] [2024-01-25T10:03:49.791Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] did not exist. Created. [2024-01-25T10:03:49.791Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-25T10:03:50.130Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-25T10:03:50.173Z] Stashed 1 file(s) [Pipeline] } [2024-01-25T10:03:50.180Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-25T10:03:50.235Z] $ docker stop --time=1 5d98972851543286a24891621ba814cb7218e6dff88b27b85cc24639b23a610d [2024-01-25T10:03:51.384Z] $ docker rm -f --volumes 5d98972851543286a24891621ba814cb7218e6dff88b27b85cc24639b23a610d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-01-25T10:04:49.627Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27885 in /w/workspace/edgexfoundry_device-sdk-c_main [Pipeline] { [Pipeline] ws [2024-01-25T10:04:49.659Z] Running in /w/workspace/device-sdk-c/71 [Pipeline] { [Pipeline] checkout [2024-01-25T10:04:49.716Z] Selected Git installation does not exist. Using Default [2024-01-25T10:04:49.716Z] The recommended git tool is: NONE [2024-01-25T10:04:54.843Z] using credential edgex-jenkins-ssh [2024-01-25T10:04:54.897Z] Cloning the remote Git repository [2024-01-25T10:04:54.950Z] Cloning repository git@github.com:edgexfoundry/device-sdk-c.git [2024-01-25T10:04:55.036Z] > git init /w/workspace/device-sdk-c/71 # timeout=10 [2024-01-25T10:04:55.174Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git [2024-01-25T10:04:55.175Z] > git --version # timeout=10 [2024-01-25T10:04:55.193Z] > git --version # 'git version 2.25.1' [2024-01-25T10:04:55.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-25T10:04:55.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-25T10:04:57.146Z] Avoid second fetch [2024-01-25T10:04:57.147Z] Checking out Revision 9db6249cb5b64beed6f22149c866398dbcee266e (main) [2024-01-25T10:04:56.348Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 [2024-01-25T10:04:56.371Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-25T10:04:57.162Z] > git config core.sparsecheckout # timeout=10 [2024-01-25T10:04:57.713Z] Commit message: "fix: edgex_device_read does not read labels (#508)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T10:04:57.216Z] > git checkout -f 9db6249cb5b64beed6f22149c866398dbcee266e # timeout=10 [2024-01-25T10:04:58.879Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-25T10:04:58.879Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-25T10:04:58.879Z] Dload Upload Total Spent Left Speed [2024-01-25T10:04:58.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2024-01-25T10:04:59.230Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-25T10:04:59.562Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-01-25T10:04:59.562Z] + sudo tee /etc/docker/daemon.new [2024-01-25T10:04:59.562Z] { [2024-01-25T10:04:59.562Z] "registry-mirrors": [ [2024-01-25T10:04:59.562Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-25T10:04:59.562Z] ], [2024-01-25T10:04:59.562Z] "bip": "10.250.0.254/24", [2024-01-25T10:04:59.562Z] "hosts": [ [2024-01-25T10:04:59.562Z] "tcp://0.0.0.0:5555", [2024-01-25T10:04:59.562Z] "unix:///var/run/docker.sock" [2024-01-25T10:04:59.562Z] ], [2024-01-25T10:04:59.562Z] "mtu": 1458, [2024-01-25T10:04:59.562Z] "selinux-enabled": true, [2024-01-25T10:04:59.562Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-25T10:04:59.562Z] } [Pipeline] sh [2024-01-25T10:04:59.893Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-25T10:05:00.239Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T10:05:18.529Z] provisioning config files... [2024-01-25T10:05:18.556Z] copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/71@tmp/config11399445779934211906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:05:19.000Z] ---> ****-login.sh [2024-01-25T10:05:19.000Z] nexus3.edgexfoundry.org:10001 [2024-01-25T10:05:19.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:05:19.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:05:19.538Z] Configure a credential helper to remove this warning. See [2024-01-25T10:05:19.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:05:19.538Z] [2024-01-25T10:05:19.538Z] Login Succeeded [2024-01-25T10:05:19.538Z] nexus3.edgexfoundry.org:10002 [2024-01-25T10:05:19.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:05:19.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:05:19.806Z] Configure a credential helper to remove this warning. See [2024-01-25T10:05:19.806Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:05:19.806Z] [2024-01-25T10:05:19.806Z] Login Succeeded [2024-01-25T10:05:19.806Z] nexus3.edgexfoundry.org:10003 [2024-01-25T10:05:20.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:05:20.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:05:20.077Z] Configure a credential helper to remove this warning. See [2024-01-25T10:05:20.077Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:05:20.077Z] [2024-01-25T10:05:20.077Z] Login Succeeded [2024-01-25T10:05:20.077Z] nexus3.edgexfoundry.org:10004 [2024-01-25T10:05:20.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:05:20.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:05:20.347Z] Configure a credential helper to remove this warning. See [2024-01-25T10:05:20.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:05:20.347Z] [2024-01-25T10:05:20.347Z] Login Succeeded [2024-01-25T10:05:20.347Z] ****.io [2024-01-25T10:05:20.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T10:05:20.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T10:05:20.883Z] Configure a credential helper to remove this warning. See [2024-01-25T10:05:20.883Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T10:05:20.883Z] [2024-01-25T10:05:20.883Z] Login Succeeded [2024-01-25T10:05:20.883Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T10:05:20.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-25T10:05:21.211Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T10:05:21.245Z] [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo [2024-01-25T10:05:21.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T10:05:21.315Z] ========================================================= [2024-01-25T10:05:21.315Z] [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] [2024-01-25T10:05:21.315Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:05:21.715Z] + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . [2024-01-25T10:05:23.124Z] #0 building with "default" instance using docker driver [2024-01-25T10:05:23.124Z] [2024-01-25T10:05:23.124Z] #1 [internal] load .dockerignore [2024-01-25T10:05:23.124Z] #1 transferring context: 2B done [2024-01-25T10:05:23.124Z] #1 DONE 0.1s [2024-01-25T10:05:23.124Z] [2024-01-25T10:05:23.124Z] #2 [internal] load build definition from Dockerfile.alpine-base [2024-01-25T10:05:23.124Z] #2 transferring dockerfile: 2.04kB done [2024-01-25T10:05:23.124Z] #2 DONE 0.1s [2024-01-25T10:05:23.124Z] [2024-01-25T10:05:23.124Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest [2024-01-25T10:05:23.124Z] #3 DONE 0.1s [2024-01-25T10:05:23.124Z] [2024-01-25T10:05:23.124Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-25T10:05:23.124Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 0.0s done [2024-01-25T10:05:23.124Z] #4 ... [2024-01-25T10:05:23.124Z] [2024-01-25T10:05:23.124Z] #5 [internal] load build context [2024-01-25T10:05:23.124Z] #5 transferring context: 628.37kB 0.1s done [2024-01-25T10:05:23.124Z] #5 DONE 0.2s [2024-01-25T10:05:23.124Z] [2024-01-25T10:05:23.124Z] #4 [stage-1 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest@sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d [2024-01-25T10:05:23.124Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 2.64MB / 3.33MB 0.2s [2024-01-25T10:05:23.124Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 4.19MB / 109.51MB 0.2s [2024-01-25T10:05:23.124Z] #4 sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 741B / 741B done [2024-01-25T10:05:23.124Z] #4 sha256:2b552cad5dd98495624f16c0a312487c0a9b53c9e43189d1cca70f16696b9826 2.57kB / 2.57kB done [2024-01-25T10:05:23.391Z] #4 sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 3.33MB / 3.33MB 0.2s done [2024-01-25T10:05:23.391Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 9.70MB / 109.51MB 0.3s [2024-01-25T10:05:23.391Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 [2024-01-25T10:05:23.391Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 15.73MB / 109.51MB 0.4s [2024-01-25T10:05:23.661Z] #4 extracting sha256:579b34f0a95bb83b3acd6b3249ddc52c3d80f5c84b13c944e9e324feb86dd329 0.4s done [2024-01-25T10:05:23.661Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 32.51MB / 109.51MB 0.7s [2024-01-25T10:05:23.928Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 50.33MB / 109.51MB 1.0s [2024-01-25T10:05:24.204Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 56.62MB / 109.51MB 1.1s [2024-01-25T10:05:24.484Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 74.45MB / 109.51MB 1.4s [2024-01-25T10:05:24.484Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 80.74MB / 109.51MB 1.5s [2024-01-25T10:05:24.752Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 98.57MB / 109.51MB 1.8s [2024-01-25T10:05:25.023Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 104.86MB / 109.51MB 1.9s [2024-01-25T10:05:25.294Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 [2024-01-25T10:05:25.294Z] #4 sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 109.51MB / 109.51MB 2.1s done [2024-01-25T10:05:30.660Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 5.1s [2024-01-25T10:05:37.316Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 11.6s [2024-01-25T10:05:38.284Z] #4 extracting sha256:e71477ac5e1b6846f0ec9ba6c2209451720d30e558e7b4be2dc052a61567f304 12.8s done [2024-01-25T10:05:38.553Z] #4 DONE 15.4s [2024-01-25T10:05:38.553Z] [2024-01-25T10:05:38.553Z] #6 [stage-1 2/7] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-25T10:05:39.138Z] #6 0.727 Connecting to iotech.jfrog.io (34.246.139.145:443) [2024-01-25T10:05:39.724Z] #6 1.256 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-25T10:05:39.724Z] #6 1.256 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-25T10:05:39.724Z] #6 1.257 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-25T10:05:40.687Z] #6 DONE 2.0s [2024-01-25T10:05:40.687Z] [2024-01-25T10:05:40.687Z] #7 [stage-1 3/7] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-25T10:05:41.273Z] #7 DONE 0.9s [2024-01-25T10:05:41.543Z] [2024-01-25T10:05:41.543Z] #8 [stage-1 4/7] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml curl libmicrohttpd libuuid libcbor iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5 hiredis-dev [2024-01-25T10:05:42.507Z] #8 0.954 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T10:05:42.775Z] #8 1.270 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T10:05:43.042Z] #8 1.854 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T10:05:44.450Z] #8 2.757 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T10:05:44.450Z] #8 2.801 (1/9) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) [2024-01-25T10:05:44.450Z] #8 2.827 (2/9) Installing curl (8.5.0-r0) [2024-01-25T10:05:44.450Z] #8 2.839 (3/9) Upgrading curl-dev (8.4.0-r0 -> 8.5.0-r0) [2024-01-25T10:05:44.450Z] #8 2.859 (4/9) Installing hiredis (1.1.0-r2) [2024-01-25T10:05:44.450Z] #8 2.865 (5/9) Installing hiredis-dev (1.1.0-r2) [2024-01-25T10:05:44.450Z] #8 2.887 (6/9) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-25T10:05:45.031Z] #8 3.649 (7/9) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-25T10:05:45.300Z] #8 3.877 (8/9) Installing libcbor (0.10.2-r1) [2024-01-25T10:05:45.300Z] #8 3.884 (9/9) Installing libuuid (2.38.1-r8) [2024-01-25T10:05:45.300Z] #8 3.892 Executing busybox-1.36.1-r4.trigger [2024-01-25T10:05:45.300Z] #8 3.942 OK: 327 MiB in 89 packages [2024-01-25T10:05:45.573Z] #8 DONE 4.3s [2024-01-25T10:05:45.573Z] [2024-01-25T10:05:45.573Z] #9 [builder 4/12] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev [2024-01-25T10:05:45.573Z] #9 0.862 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T10:05:45.573Z] #9 1.270 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T10:05:45.573Z] #9 1.855 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T10:05:45.573Z] #9 2.747 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T10:05:45.573Z] #9 2.787 (1/17) Installing hiredis (1.1.0-r2) [2024-01-25T10:05:45.573Z] #9 2.796 (2/17) Installing hiredis-dev (1.1.0-r2) [2024-01-25T10:05:45.573Z] #9 2.822 (3/17) Installing iotech-iot-1.5 (1.5.1-r0) [2024-01-25T10:05:45.573Z] #9 3.583 (4/17) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-25T10:05:45.573Z] #9 3.705 (5/17) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.13-r0) [2024-01-25T10:05:45.573Z] #9 3.924 (6/17) Installing libcbor (0.10.2-r1) [2024-01-25T10:05:45.573Z] #9 3.931 (7/17) Installing libcbor-dev (0.10.2-r1) [2024-01-25T10:05:45.573Z] #9 3.954 (8/17) Installing libmenuw (6.4_p20230506-r0) [2024-01-25T10:05:45.573Z] #9 3.963 (9/17) Installing libpanelw (6.4_p20230506-r0) [2024-01-25T10:05:45.573Z] #9 3.971 (10/17) Installing libncurses++ (6.4_p20230506-r0) [2024-01-25T10:05:45.573Z] #9 3.979 (11/17) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-25T10:05:45.573Z] #9 4.008 (12/17) Installing libblkid (2.38.1-r8) [2024-01-25T10:05:45.573Z] #9 4.024 (13/17) Installing libuuid (2.38.1-r8) [2024-01-25T10:05:45.573Z] #9 4.033 (14/17) Installing libfdisk (2.38.1-r8) [2024-01-25T10:05:45.573Z] #9 4.051 (15/17) Installing libmount (2.38.1-r8) [2024-01-25T10:05:45.573Z] #9 4.066 (16/17) Installing libsmartcols (2.38.1-r8) [2024-01-25T10:05:45.573Z] #9 4.077 (17/17) Installing util-linux-dev (2.38.1-r8) [2024-01-25T10:05:45.573Z] #9 4.162 Executing busybox-1.36.1-r4.trigger [2024-01-25T10:05:45.573Z] #9 4.213 OK: 333 MiB in 99 packages [2024-01-25T10:05:45.841Z] #9 DONE 4.5s [2024-01-25T10:05:45.841Z] [2024-01-25T10:05:45.841Z] #10 [builder 5/12] RUN mkdir /tmp/sdk [2024-01-25T10:05:46.804Z] #10 DONE 0.7s [2024-01-25T10:05:46.804Z] [2024-01-25T10:05:46.804Z] #11 [builder 6/12] COPY VERSION /tmp/sdk [2024-01-25T10:05:46.804Z] #11 DONE 0.1s [2024-01-25T10:05:46.804Z] [2024-01-25T10:05:46.804Z] #12 [builder 7/12] COPY src /tmp/sdk/src [2024-01-25T10:05:47.071Z] #12 DONE 0.2s [2024-01-25T10:05:47.071Z] [2024-01-25T10:05:47.071Z] #13 [builder 8/12] COPY include /tmp/sdk/include [2024-01-25T10:05:47.071Z] #13 DONE 0.1s [2024-01-25T10:05:47.071Z] [2024-01-25T10:05:47.071Z] #14 [builder 9/12] COPY scripts /tmp/sdk/scripts [2024-01-25T10:05:47.071Z] #14 DONE 0.1s [2024-01-25T10:05:47.071Z] [2024-01-25T10:05:47.071Z] #15 [builder 10/12] COPY LICENSE /tmp/sdk [2024-01-25T10:05:47.071Z] #15 DONE 0.1s [2024-01-25T10:05:47.071Z] [2024-01-25T10:05:47.071Z] #16 [builder 11/12] COPY Attribution.txt /tmp/sdk [2024-01-25T10:05:47.336Z] #16 DONE 0.1s [2024-01-25T10:05:47.336Z] [2024-01-25T10:05:47.336Z] #17 [builder 12/12] RUN cd /tmp/sdk && ./scripts/build.sh && make -C build/release install [2024-01-25T10:05:47.918Z] #17 0.599 + CPPCHECK=false [2024-01-25T10:05:47.918Z] #17 0.599 + DOCGEN=false [2024-01-25T10:05:47.918Z] #17 0.599 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' [2024-01-25T10:05:47.918Z] #17 0.600 + '[' 0 -gt 0 ] [2024-01-25T10:05:47.918Z] #17 0.602 + readlink -f ./scripts/build.sh [2024-01-25T10:05:47.918Z] #17 0.603 + dirname /tmp/sdk/scripts/build.sh [2024-01-25T10:05:47.918Z] #17 0.605 + dirname /tmp/sdk/scripts [2024-01-25T10:05:47.918Z] #17 0.607 + ROOT=/tmp/sdk [2024-01-25T10:05:47.918Z] #17 0.607 + cd /tmp/sdk [2024-01-25T10:05:47.918Z] #17 0.607 + mkdir -p /tmp/sdk/build/release [2024-01-25T10:05:47.918Z] #17 0.610 + cd /tmp/sdk/build/release [2024-01-25T10:05:47.918Z] #17 0.610 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src [2024-01-25T10:05:48.184Z] #17 0.926 -- The C compiler identification is GNU 12.2.1 [2024-01-25T10:05:48.449Z] #17 0.986 -- Detecting C compiler ABI info [2024-01-25T10:05:48.716Z] #17 1.318 -- Detecting C compiler ABI info - done [2024-01-25T10:05:48.716Z] #17 1.403 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-25T10:05:48.716Z] #17 1.405 -- Detecting C compile features [2024-01-25T10:05:48.716Z] #17 1.408 -- Detecting C compile features - done [2024-01-25T10:05:48.716Z] #17 1.432 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-25T10:05:48.982Z] #17 1.615 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-25T10:05:48.982Z] #17 1.632 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-25T10:05:48.982Z] #17 1.648 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-25T10:05:48.982Z] #17 1.663 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-25T10:05:48.982Z] #17 1.678 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-25T10:05:48.982Z] #17 1.694 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-25T10:05:48.982Z] #17 1.713 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-25T10:05:48.982Z] #17 1.713 -- /opt/iotech/iot/1.5/include [2024-01-25T10:05:48.982Z] #17 1.713 -- C SDK 3.0.3-dev.11 for Linux [2024-01-25T10:05:48.982Z] #17 1.725 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-25T10:05:49.249Z] #17 2.058 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-25T10:05:49.514Z] #17 2.224 -- Found Curses: /usr/lib/libcurses.so [2024-01-25T10:05:49.514Z] #17 2.333 -- Configuring done (1.7s) [2024-01-25T10:05:49.779Z] #17 2.598 -- Generating done (0.2s) [2024-01-25T10:05:50.044Z] #17 2.617 -- Build files have been written to: /tmp/sdk/build/release [2024-01-25T10:05:50.044Z] #17 2.643 + make all+ tee release.log [2024-01-25T10:05:50.044Z] #17 2.644 package [2024-01-25T10:05:50.309Z] #17 2.767 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-25T10:05:50.887Z] #17 3.418 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-25T10:05:51.846Z] #17 4.257 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-25T10:05:52.430Z] #17 4.935 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-25T10:05:53.014Z] #17 5.710 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-25T10:05:53.599Z] #17 6.281 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-25T10:05:55.542Z] #17 8.205 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-25T10:05:56.501Z] #17 9.052 /tmp/sdk/src/c/consul.c: In function 'edgex_consul_client_get_common_config': [2024-01-25T10:05:56.501Z] #17 9.054 /tmp/sdk/src/c/consul.c:294:10: warning: 'privateConfig' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T10:05:56.501Z] #17 9.054 294 | while (privateConfig) [2024-01-25T10:05:56.501Z] #17 9.054 | ^~~~~~~~~~~~~ [2024-01-25T10:05:56.501Z] #17 9.054 /tmp/sdk/src/c/consul.c:214:28: note: 'privateConfig' was declared here [2024-01-25T10:05:56.501Z] #17 9.054 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-25T10:05:56.501Z] #17 9.054 | ^~~~~~~~~~~~~ [2024-01-25T10:05:56.501Z] #17 9.054 /tmp/sdk/src/c/consul.c:271:10: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T10:05:56.501Z] #17 9.054 271 | while (result) [2024-01-25T10:05:56.501Z] #17 9.054 | ^~~~~~ [2024-01-25T10:05:56.501Z] #17 9.054 /tmp/sdk/src/c/consul.c:214:19: note: 'result' was declared here [2024-01-25T10:05:56.501Z] #17 9.054 214 | devsdk_nvpairs *result, *privateConfig, *ccReady = NULL; [2024-01-25T10:05:56.501Z] #17 9.054 | ^~~~~~ [2024-01-25T10:05:56.768Z] #17 9.386 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-25T10:05:57.034Z] #17 9.622 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-25T10:05:57.993Z] #17 10.50 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-25T10:06:04.455Z] #17 12.37 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-25T10:06:04.455Z] #17 12.99 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-25T10:06:04.455Z] #17 13.85 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-25T10:06:04.455Z] #17 14.65 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-25T10:06:04.455Z] #17 15.12 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-25T10:06:04.455Z] #17 16.18 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-25T10:06:04.455Z] #17 16.51 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-25T10:06:06.400Z] #17 18.62 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-25T10:06:06.400Z] #17 18.95 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-25T10:06:06.983Z] #17 19.50 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-25T10:06:08.389Z] #17 20.72 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-25T10:06:15.028Z] #17 26.95 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-25T10:06:15.028Z] #17 27.55 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-25T10:06:15.294Z] #17 27.93 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-25T10:06:15.877Z] #17 28.46 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-25T10:06:16.144Z] #17 28.77 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-25T10:06:17.549Z] #17 30.18 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-25T10:06:20.121Z] #17 32.30 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-25T10:06:20.121Z] #17 32.74 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-25T10:06:21.075Z] #17 33.58 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-25T10:06:21.657Z] #17 34.15 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-25T10:06:21.921Z] #17 34.43 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-25T10:06:21.921Z] #17 34.43 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T10:06:21.921Z] #17 34.43 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-25T10:06:21.921Z] #17 34.43 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T10:06:21.921Z] #17 34.43 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T10:06:21.921Z] #17 34.43 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-25T10:06:21.921Z] #17 34.43 | ^ [2024-01-25T10:06:23.329Z] #17 35.85 /tmp/sdk/src/c/service.c:1026:5: warning: 'deviceservices_config' may be used uninitialized [-Wmaybe-uninitialized] [2024-01-25T10:06:23.329Z] #17 35.85 1026 | edgex_device_parseClients (svc->logger, iot_data_string_map_get (deviceservices_config, "Clients"), &svc->config.endpoints); [2024-01-25T10:06:23.329Z] #17 35.85 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T10:06:23.329Z] #17 35.85 /tmp/sdk/src/c/service.c:838:68: note: 'deviceservices_config' was declared here [2024-01-25T10:06:23.329Z] #17 35.85 838 | iot_data_t *common_config_map, *private_config_map, *configmap, *deviceservices_config; [2024-01-25T10:06:23.329Z] #17 35.85 | ^~~~~~~~~~~~~~~~~~~~~ [2024-01-25T10:06:24.286Z] #17 36.85 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-25T10:06:24.869Z] #17 37.59 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-25T10:06:25.452Z] #17 37.93 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-25T10:06:25.720Z] #17 38.43 [ 68%] Linking C shared library libcsdk.so [2024-01-25T10:06:25.997Z] #17 38.63 [ 68%] Built target csdk [2024-01-25T10:06:25.997Z] #17 38.68 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-25T10:06:26.964Z] #17 39.46 [ 72%] Linking C executable template [2024-01-25T10:06:26.964Z] #17 39.76 [ 72%] Built target template [2024-01-25T10:06:27.231Z] #17 39.82 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-25T10:06:27.498Z] #17 40.32 [ 76%] Linking C executable device-counter [2024-01-25T10:06:28.085Z] #17 40.63 [ 76%] Built target device-counter [2024-01-25T10:06:28.085Z] #17 40.68 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-25T10:06:28.668Z] #17 41.17 [ 80%] Linking C executable device-random [2024-01-25T10:06:28.932Z] #17 41.46 [ 80%] Built target device-random [2024-01-25T10:06:28.932Z] #17 41.52 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-25T10:06:29.200Z] #17 41.96 [ 84%] Linking C executable device-gyro [2024-01-25T10:06:29.468Z] #17 42.26 [ 84%] Built target device-gyro [2024-01-25T10:06:29.735Z] #17 42.31 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-25T10:06:30.319Z] #17 42.79 [ 88%] Linking C executable device-bitfields [2024-01-25T10:06:30.319Z] #17 43.10 [ 88%] Built target device-bitfields [2024-01-25T10:06:30.319Z] #17 43.15 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-25T10:06:31.279Z] #17 43.94 [ 92%] Linking C executable template-discovery [2024-01-25T10:06:31.547Z] #17 44.24 [ 92%] Built target template-discovery [2024-01-25T10:06:31.547Z] #17 44.30 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-25T10:06:32.510Z] #17 44.98 [ 96%] Linking C executable device-file [2024-01-25T10:06:32.784Z] #17 45.28 [ 96%] Built target device-file [2024-01-25T10:06:32.784Z] #17 45.34 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-25T10:06:33.364Z] #17 45.97 [100%] Linking C executable device-terminal [2024-01-25T10:06:33.629Z] #17 46.32 [100%] Built target device-terminal [2024-01-25T10:06:35.041Z] #17 47.56 Run CPack packaging tool... [2024-01-25T10:06:35.041Z] #17 47.60 CPack: Create package using TGZ [2024-01-25T10:06:35.041Z] #17 47.61 CPack: Install projects [2024-01-25T10:06:35.041Z] #17 47.61 CPack: - Run preinstall target for: Csdk [2024-01-25T10:06:35.626Z] #17 48.35 CPack: - Install project: Csdk [] [2024-01-25T10:06:35.892Z] #17 48.39 CPack: Create package [2024-01-25T10:06:35.892Z] #17 48.47 CPack: - package: /tmp/sdk/build/release/csdk-3.0.3-dev.11.tar.gz generated. [2024-01-25T10:06:35.892Z] #17 48.48 + '[' false '=' true ] [2024-01-25T10:06:35.892Z] #17 48.48 + '[' false '=' true ] [2024-01-25T10:06:35.892Z] #17 48.48 + mkdir -p /tmp/sdk/build/debug [2024-01-25T10:06:35.892Z] #17 48.48 + cd /tmp/sdk/build/debug [2024-01-25T10:06:35.892Z] #17 48.48 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src [2024-01-25T10:06:36.157Z] #17 48.77 -- The C compiler identification is GNU 12.2.1 [2024-01-25T10:06:36.157Z] #17 48.82 -- Detecting C compiler ABI info [2024-01-25T10:06:36.423Z] #17 49.14 -- Detecting C compiler ABI info - done [2024-01-25T10:06:36.423Z] #17 49.22 -- Check for working C compiler: /usr/bin/cc - skipped [2024-01-25T10:06:36.688Z] #17 49.22 -- Detecting C compile features [2024-01-25T10:06:36.688Z] #17 49.22 -- Detecting C compile features - done [2024-01-25T10:06:36.688Z] #17 49.24 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so [2024-01-25T10:06:36.688Z] #17 49.42 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0") [2024-01-25T10:06:36.688Z] #17 49.44 -- Found LIBYAML: /usr/lib/libyaml.so [2024-01-25T10:06:36.688Z] #17 49.45 -- Found LIBUUID: /usr/lib/libuuid.so [2024-01-25T10:06:36.688Z] #17 49.47 -- Found LIBCBOR: /usr/lib/libcbor.so [2024-01-25T10:06:36.688Z] #17 49.48 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so [2024-01-25T10:06:36.954Z] #17 49.50 -- Found LIBHIREDIS: /usr/lib/libhiredis.so [2024-01-25T10:06:36.954Z] #17 49.51 -- Found IOT: /opt/iotech/iot/1.5/lib/libiot.so [2024-01-25T10:06:36.954Z] #17 49.51 -- /opt/iotech/iot/1.5/include [2024-01-25T10:06:36.954Z] #17 49.51 -- C SDK 3.0.3-dev.11 for Linux [2024-01-25T10:06:36.954Z] #17 49.52 -- Performing Test CSDK_HAVE_ATOMIC [2024-01-25T10:06:37.219Z] #17 49.83 -- Performing Test CSDK_HAVE_ATOMIC - Success [2024-01-25T10:06:37.484Z] #17 49.98 -- Found Curses: /usr/lib/libcurses.so [2024-01-25T10:06:37.484Z] #17 50.09 -- Configuring done (1.6s) [2024-01-25T10:06:37.750Z] #17 50.33 -- Generating done (0.2s) [2024-01-25T10:06:37.750Z] #17 50.35 -- Build files have been written to: /tmp/sdk/build/debug [2024-01-25T10:06:37.750Z] #17 50.37 + make [2024-01-25T10:06:37.750Z] #17 50.37 + tee debug.log [2024-01-25T10:06:37.750Z] #17 50.48 [ 1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o [2024-01-25T10:06:38.332Z] #17 50.86 [ 3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o [2024-01-25T10:06:38.598Z] #17 51.22 [ 5%] Building C object c/CMakeFiles/csdk.dir/bus-redstr.c.o [2024-01-25T10:06:38.864Z] #17 51.55 [ 7%] Building C object c/CMakeFiles/csdk.dir/bus.c.o [2024-01-25T10:06:39.207Z] #17 51.90 [ 9%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o [2024-01-25T10:06:39.825Z] #17 52.28 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o [2024-01-25T10:06:40.409Z] #17 52.95 [ 13%] Building C object c/CMakeFiles/csdk.dir/consul.c.o [2024-01-25T10:06:40.693Z] #17 53.39 [ 15%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o [2024-01-25T10:06:40.963Z] #17 53.55 [ 17%] Building C object c/CMakeFiles/csdk.dir/data.c.o [2024-01-25T10:06:41.550Z] #17 53.97 [ 19%] Building C object c/CMakeFiles/csdk.dir/device.c.o [2024-01-25T10:06:42.139Z] #17 54.61 [ 21%] Building C object c/CMakeFiles/csdk.dir/devman.c.o [2024-01-25T10:06:42.139Z] #17 54.94 [ 23%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o [2024-01-25T10:06:42.720Z] #17 55.33 [ 25%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o [2024-01-25T10:06:42.986Z] #17 55.67 [ 27%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o [2024-01-25T10:06:43.568Z] #17 55.99 [ 29%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o [2024-01-25T10:06:43.835Z] #17 56.34 [ 31%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o [2024-01-25T10:06:43.835Z] #17 56.56 [ 33%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o [2024-01-25T10:06:44.801Z] #17 57.27 [ 35%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o [2024-01-25T10:06:44.801Z] #17 57.50 [ 37%] Building C object c/CMakeFiles/csdk.dir/map.c.o [2024-01-25T10:06:45.067Z] #17 57.71 [ 39%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o [2024-01-25T10:06:45.647Z] #17 58.31 [ 41%] Building C object c/CMakeFiles/csdk.dir/parson.c.o [2024-01-25T10:06:47.053Z] #17 59.40 [ 43%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o [2024-01-25T10:06:47.053Z] #17 59.74 [ 45%] Building C object c/CMakeFiles/csdk.dir/registry.c.o [2024-01-25T10:06:47.319Z] #17 59.99 [ 47%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o [2024-01-25T10:06:47.585Z] #17 60.30 [ 49%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o [2024-01-25T10:06:47.852Z] #17 60.56 [ 50%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o [2024-01-25T10:06:48.432Z] #17 61.04 [ 52%] Building C object c/CMakeFiles/csdk.dir/rest.c.o [2024-01-25T10:06:49.835Z] #17 62.32 [ 54%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o [2024-01-25T10:06:49.835Z] #17 62.57 [ 56%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o [2024-01-25T10:06:50.416Z] #17 62.93 [ 58%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o [2024-01-25T10:06:50.686Z] #17 63.28 [ 60%] Building C object c/CMakeFiles/csdk.dir/service.c.o [2024-01-25T10:06:50.951Z] #17 63.53 /tmp/sdk/src/c/service.c: In function 'devsdk_service_start': [2024-01-25T10:06:50.951Z] #17 63.53 /tmp/sdk/src/c/service.c:871:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T10:06:50.951Z] #17 63.53 871 | iot_data_t *allservices_config = iot_data_string_map_get_map(common_config_file, ALL_SVCS_NODE); [2024-01-25T10:06:50.951Z] #17 63.53 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [2024-01-25T10:06:50.951Z] #17 63.53 /tmp/sdk/src/c/service.c:872:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] [2024-01-25T10:06:50.951Z] #17 63.53 872 | deviceservices_config = iot_data_string_map_get_map(common_config_file, DEV_SVCS_NODE); [2024-01-25T10:06:50.951Z] #17 63.53 | ^ [2024-01-25T10:06:51.532Z] #17 64.04 [ 62%] Building C object c/CMakeFiles/csdk.dir/transform.c.o [2024-01-25T10:06:51.798Z] #17 64.39 [ 64%] Building C object c/CMakeFiles/csdk.dir/validate.c.o [2024-01-25T10:06:52.064Z] #17 64.66 [ 66%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o [2024-01-25T10:06:52.330Z] #17 64.93 [ 68%] Linking C shared library libcsdk.so [2024-01-25T10:06:52.596Z] #17 65.19 [ 68%] Built target csdk [2024-01-25T10:06:52.596Z] #17 65.25 [ 70%] Building C object c/examples/CMakeFiles/template.dir/template.c.o [2024-01-25T10:06:52.862Z] #17 65.58 [ 72%] Linking C executable template [2024-01-25T10:06:53.126Z] #17 65.88 [ 72%] Built target template [2024-01-25T10:06:53.126Z] #17 65.93 [ 74%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o [2024-01-25T10:06:53.707Z] #17 66.23 [ 76%] Linking C executable device-counter [2024-01-25T10:06:53.707Z] #17 66.53 [ 76%] Built target device-counter [2024-01-25T10:06:53.972Z] #17 66.58 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o [2024-01-25T10:06:54.237Z] #17 66.86 [ 80%] Linking C executable device-random [2024-01-25T10:06:54.502Z] #17 67.16 [ 80%] Built target device-random [2024-01-25T10:06:54.502Z] #17 67.21 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o [2024-01-25T10:06:54.769Z] #17 67.48 [ 84%] Linking C executable device-gyro [2024-01-25T10:06:55.034Z] #17 67.85 [ 84%] Built target device-gyro [2024-01-25T10:06:55.304Z] #17 67.90 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o [2024-01-25T10:06:55.570Z] #17 68.18 [ 88%] Linking C executable device-bitfields [2024-01-25T10:06:55.835Z] #17 68.54 [ 88%] Built target device-bitfields [2024-01-25T10:06:55.835Z] #17 68.59 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o [2024-01-25T10:06:56.419Z] #17 68.93 [ 92%] Linking C executable template-discovery [2024-01-25T10:06:56.684Z] #17 69.29 [ 92%] Built target template-discovery [2024-01-25T10:06:56.684Z] #17 69.36 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o [2024-01-25T10:06:57.267Z] #17 69.69 [ 96%] Linking C executable device-file [2024-01-25T10:06:57.267Z] #17 70.04 [ 96%] Built target device-file [2024-01-25T10:06:57.267Z] #17 70.10 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o [2024-01-25T10:06:57.848Z] #17 70.51 [100%] Linking C executable device-terminal [2024-01-25T10:06:58.114Z] #17 70.93 [100%] Built target device-terminal [2024-01-25T10:06:58.381Z] #17 70.97 make: Entering directory '/tmp/sdk/build/release' [2024-01-25T10:06:58.381Z] #17 71.13 [ 68%] Built target csdk [2024-01-25T10:06:58.381Z] #17 71.19 [ 72%] Built target template [2024-01-25T10:06:58.646Z] #17 71.25 [ 76%] Built target device-counter [2024-01-25T10:06:58.646Z] #17 71.31 [ 80%] Built target device-random [2024-01-25T10:06:58.646Z] #17 71.37 [ 84%] Built target device-gyro [2024-01-25T10:06:58.646Z] #17 71.43 [ 88%] Built target device-bitfields [2024-01-25T10:06:58.912Z] #17 71.50 [ 92%] Built target template-discovery [2024-01-25T10:06:58.912Z] #17 71.55 [ 96%] Built target device-file [2024-01-25T10:06:58.912Z] #17 71.62 [100%] Built target device-terminal [2024-01-25T10:06:58.912Z] #17 71.68 Install the project... [2024-01-25T10:06:59.178Z] #17 71.70 -- Install configuration: "Release" [2024-01-25T10:06:59.178Z] #17 71.70 -- Installing: /usr/local/lib/libcsdk.so [2024-01-25T10:06:59.178Z] #17 71.71 -- Set runtime path of "/usr/local/lib/libcsdk.so" to "" [2024-01-25T10:06:59.178Z] #17 71.71 -- Installing: /usr/local/include [2024-01-25T10:06:59.178Z] #17 71.71 -- Installing: /usr/local/include/devsdk [2024-01-25T10:06:59.178Z] #17 71.71 -- Installing: /usr/local/include/devsdk/devsdk.h [2024-01-25T10:06:59.178Z] #17 71.71 -- Installing: /usr/local/include/devsdk/devsdk-base.h [2024-01-25T10:06:59.178Z] #17 71.72 -- Installing: /usr/local/include/edgex [2024-01-25T10:06:59.178Z] #17 71.72 -- Installing: /usr/local/include/edgex/rest-server.h [2024-01-25T10:06:59.178Z] #17 71.72 -- Installing: /usr/local/include/edgex/edgex.h [2024-01-25T10:06:59.178Z] #17 71.72 -- Installing: /usr/local/include/edgex/edgex-base.h [2024-01-25T10:06:59.178Z] #17 71.72 -- Installing: /usr/local/include/edgex/devices.h [2024-01-25T10:06:59.178Z] #17 71.72 -- Installing: /usr/local/include/edgex/profiles.h [2024-01-25T10:06:59.178Z] #17 71.72 -- Installing: /usr/local/include/edgex/csdk-defs.h [2024-01-25T10:06:59.178Z] #17 71.72 -- Installing: /usr/local/share/device-sdk-c/LICENSE [2024-01-25T10:06:59.178Z] #17 71.73 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt [2024-01-25T10:06:59.178Z] #17 71.74 make: Leaving directory '/tmp/sdk/build/release' [2024-01-25T10:06:59.178Z] #17 DONE 71.9s [2024-01-25T10:06:59.178Z] [2024-01-25T10:06:59.178Z] #18 [stage-1 5/7] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex [2024-01-25T10:06:59.444Z] #18 DONE 0.2s [2024-01-25T10:06:59.444Z] [2024-01-25T10:06:59.444Z] #19 [stage-1 6/7] COPY --from=builder /usr/local/lib /usr/local/lib [2024-01-25T10:06:59.444Z] #19 DONE 0.1s [2024-01-25T10:06:59.709Z] [2024-01-25T10:06:59.710Z] #20 [stage-1 7/7] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c [2024-01-25T10:06:59.710Z] #20 DONE 0.1s [2024-01-25T10:06:59.710Z] [2024-01-25T10:06:59.710Z] #21 exporting to image [2024-01-25T10:06:59.710Z] #21 exporting layers [2024-01-25T10:06:59.976Z] #21 exporting layers 0.3s done [2024-01-25T10:06:59.976Z] #21 writing image sha256:0c1bb88447fe54819ce3cdc8a141bc14cf5065510b78f7bef2b38853ce515d0b done [2024-01-25T10:06:59.976Z] #21 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-25T10:06:59.976Z] #21 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:07:00.620Z] + docker inspect -f . ci-base-image-arm64 [2024-01-25T10:07:00.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T10:07:00.876Z] prd-ubuntu20.04-docker-arm64-4c-16g-27885 does not seem to be running inside a container [2024-01-25T10:07:00.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-c/71 -v /w/workspace/device-sdk-c/71:/w/workspace/device-sdk-c/71:rw,z -v /w/workspace/device-sdk-c/71@tmp:/w/workspace/device-sdk-c/71@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 ******** ci-base-image-arm64 cat [2024-01-25T10:07:03.938Z] $ docker top 482e6257470797b079727d38bc7e5832cb946004ee1a8423558dba0ba7255d4f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T10:07:04.447Z] + make test [2024-01-25T10:07:04.447Z] echo "make test" [2024-01-25T10:07:04.447Z] make test [Pipeline] } [2024-01-25T10:07:04.467Z] $ docker stop --time=1 482e6257470797b079727d38bc7e5832cb946004ee1a8423558dba0ba7255d4f [2024-01-25T10:07:06.012Z] $ docker rm -f --volumes 482e6257470797b079727d38bc7e5832cb946004ee1a8423558dba0ba7255d4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T10:07:06.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-25T10:07:07.042Z] + ls -al . [2024-01-25T10:07:07.042Z] total 208 [2024-01-25T10:07:07.042Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 10:04 . [2024-01-25T10:07:07.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:04 .. [2024-01-25T10:07:07.042Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 10:04 .git [2024-01-25T10:07:07.042Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 10:04 .github [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 176 Jan 25 10:04 .gitignore [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 2908 Jan 25 10:04 Attribution.txt [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 11953 Jan 25 10:04 CHANGELOG.md [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 108574 Jan 25 10:04 Doxyfile [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 10:04 GOVERNANCE.md [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 784 Jan 25 10:04 Jenkinsfile [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 10174 Jan 25 10:04 LICENSE [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 444 Jan 25 10:04 Makefile [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 618 Jan 25 10:04 OWNERS.md [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 1651 Jan 25 10:04 README.IOT.md [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 4215 Jan 25 10:04 README.md [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 1245 Jan 25 10:04 README.v3.md [2024-01-25T10:07:07.042Z] -rw-rw-r-- 1 jenkins jenkins 12 Jan 25 10:02 VERSION [2024-01-25T10:07:07.042Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 10:04 docs [2024-01-25T10:07:07.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:04 include [2024-01-25T10:07:07.042Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 10:04 scripts [2024-01-25T10:07:07.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 10:04 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:07:07.430Z] + docker build -t device-sdk-arm64 -f scripts/Dockerfile.alpine --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9db6249cb5b64beed6f22149c866398dbcee266e --label arch=arm64 --label version=3.0.3-dev.11 . [2024-01-25T10:07:08.013Z] #0 building with "default" instance using docker driver [2024-01-25T10:07:08.013Z] [2024-01-25T10:07:08.013Z] #1 [internal] load .dockerignore [2024-01-25T10:07:08.013Z] #1 transferring context: 2B done [2024-01-25T10:07:08.013Z] #1 DONE 0.0s [2024-01-25T10:07:08.013Z] [2024-01-25T10:07:08.013Z] #2 [internal] load build definition from Dockerfile.alpine [2024-01-25T10:07:08.013Z] #2 transferring dockerfile: 1.44kB done [2024-01-25T10:07:08.013Z] #2 DONE 0.0s [2024-01-25T10:07:08.013Z] [2024-01-25T10:07:08.013Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-25T10:07:08.013Z] #3 DONE 0.0s [2024-01-25T10:07:08.013Z] [2024-01-25T10:07:08.013Z] #4 [internal] load build context [2024-01-25T10:07:08.013Z] #4 transferring context: 8.55kB 0.1s done [2024-01-25T10:07:08.279Z] #4 DONE 0.1s [2024-01-25T10:07:08.279Z] [2024-01-25T10:07:08.279Z] #5 [ 1/11] FROM docker.io/library/ci-base-image-arm64 [2024-01-25T10:07:08.279Z] #5 DONE 0.2s [2024-01-25T10:07:08.279Z] [2024-01-25T10:07:08.279Z] #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub [2024-01-25T10:07:08.859Z] #6 0.582 Connecting to iotech.jfrog.io (54.73.4.50:443) [2024-01-25T10:07:09.440Z] #6 1.080 saving to '/etc/apk/keys/alpine.dev.rsa.pub' [2024-01-25T10:07:09.440Z] #6 1.081 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA [2024-01-25T10:07:09.440Z] #6 1.081 '/etc/apk/keys/alpine.dev.rsa.pub' saved [2024-01-25T10:07:09.440Z] #6 DONE 1.2s [2024-01-25T10:07:09.440Z] [2024-01-25T10:07:09.441Z] #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories [2024-01-25T10:07:10.403Z] #7 DONE 0.8s [2024-01-25T10:07:10.403Z] [2024-01-25T10:07:10.403Z] #8 [ 4/11] RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev iotech-iot-1.5-dev && mkdir -p /edgex-c-sdk/build [2024-01-25T10:07:10.988Z] #8 0.656 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T10:07:11.256Z] #8 1.034 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T10:07:11.836Z] #8 1.585 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T10:07:12.791Z] #8 2.464 WARNING: This apk-tools is OLD! Some packages might not function properly. [2024-01-25T10:07:12.791Z] #8 2.496 (1/11) Installing iotech-iot-1.5-dev (1.5.1-r0) [2024-01-25T10:07:13.058Z] #8 2.811 (2/11) Installing libcbor-dev (0.10.2-r1) [2024-01-25T10:07:13.058Z] #8 2.828 (3/11) Installing libmenuw (6.4_p20230506-r0) [2024-01-25T10:07:13.058Z] #8 2.835 (4/11) Installing libpanelw (6.4_p20230506-r0) [2024-01-25T10:07:13.058Z] #8 2.840 (5/11) Installing libncurses++ (6.4_p20230506-r0) [2024-01-25T10:07:13.058Z] #8 2.847 (6/11) Installing ncurses-dev (6.4_p20230506-r0) [2024-01-25T10:07:13.058Z] #8 2.875 (7/11) Installing libblkid (2.38.1-r8) [2024-01-25T10:07:13.058Z] #8 2.891 (8/11) Installing libfdisk (2.38.1-r8) [2024-01-25T10:07:13.058Z] #8 2.907 (9/11) Installing libmount (2.38.1-r8) [2024-01-25T10:07:13.325Z] #8 2.920 (10/11) Installing libsmartcols (2.38.1-r8) [2024-01-25T10:07:13.325Z] #8 2.931 (11/11) Installing util-linux-dev (2.38.1-r8) [2024-01-25T10:07:13.325Z] #8 3.002 Executing busybox-1.36.1-r4.trigger [2024-01-25T10:07:13.325Z] #8 3.044 OK: 333 MiB in 100 packages [2024-01-25T10:07:13.592Z] #8 DONE 3.4s [2024-01-25T10:07:13.592Z] [2024-01-25T10:07:13.592Z] #9 [ 5/11] COPY VERSION /edgex-c-sdk/ [2024-01-25T10:07:13.592Z] #9 DONE 0.1s [2024-01-25T10:07:13.859Z] [2024-01-25T10:07:13.859Z] #10 [ 6/11] COPY src /edgex-c-sdk/src/ [2024-01-25T10:07:14.126Z] #10 DONE 0.2s [2024-01-25T10:07:14.126Z] [2024-01-25T10:07:14.126Z] #11 [ 7/11] COPY include /edgex-c-sdk/include/ [2024-01-25T10:07:14.126Z] #11 DONE 0.1s [2024-01-25T10:07:14.126Z] [2024-01-25T10:07:14.126Z] #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts [2024-01-25T10:07:14.126Z] #12 DONE 0.1s [2024-01-25T10:07:14.393Z] [2024-01-25T10:07:14.393Z] #13 [ 9/11] COPY LICENSE /edgex-c-sdk/ [2024-01-25T10:07:14.393Z] #13 DONE 0.1s [2024-01-25T10:07:14.393Z] [2024-01-25T10:07:14.393Z] #14 [10/11] COPY Attribution.txt /edgex-c-sdk/ [2024-01-25T10:07:14.393Z] #14 DONE 0.1s [2024-01-25T10:07:14.393Z] [2024-01-25T10:07:14.393Z] #15 [11/11] WORKDIR /edgex-c-sdk [2024-01-25T10:07:14.393Z] #15 DONE 0.1s [2024-01-25T10:07:14.393Z] [2024-01-25T10:07:14.393Z] #16 exporting to image [2024-01-25T10:07:14.393Z] #16 exporting layers [2024-01-25T10:07:14.971Z] #16 exporting layers 0.4s done [2024-01-25T10:07:14.971Z] #16 writing image sha256:9a0f1d7fdfa1caf2bf2e525c17fcaff8d3ff87bcc9aa25eb0621d192d1ab56bb done [2024-01-25T10:07:14.971Z] #16 naming to docker.io/library/device-sdk-arm64 0.0s done [2024-01-25T10:07:14.971Z] #16 DONE 0.5s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:07:15.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T10:07:15.679Z] [2024-01-25T10:07:15.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:07:16.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T10:07:17.431Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-25T10:07:17.431Z] 8998bd30e6a1: Pulling fs layer [2024-01-25T10:07:17.431Z] 04944245beec: Pulling fs layer [2024-01-25T10:07:17.431Z] 699f458cf7ca: Pulling fs layer [2024-01-25T10:07:17.431Z] 765212b225bb: Pulling fs layer [2024-01-25T10:07:17.431Z] f23df028b6ca: Pulling fs layer [2024-01-25T10:07:17.431Z] d65c8cfc05b1: Pulling fs layer [2024-01-25T10:07:17.431Z] 2437ff75d9bd: Pulling fs layer [2024-01-25T10:07:17.431Z] f23df028b6ca: Waiting [2024-01-25T10:07:17.431Z] d65c8cfc05b1: Waiting [2024-01-25T10:07:17.431Z] 2437ff75d9bd: Waiting [2024-01-25T10:07:17.431Z] 765212b225bb: Waiting [2024-01-25T10:07:17.431Z] 04944245beec: Download complete [2024-01-25T10:07:17.431Z] 765212b225bb: Download complete [2024-01-25T10:07:17.431Z] f23df028b6ca: Verifying Checksum [2024-01-25T10:07:17.431Z] f23df028b6ca: Download complete [2024-01-25T10:07:17.431Z] d65c8cfc05b1: Verifying Checksum [2024-01-25T10:07:17.431Z] d65c8cfc05b1: Download complete [2024-01-25T10:07:17.699Z] 699f458cf7ca: Verifying Checksum [2024-01-25T10:07:17.699Z] 699f458cf7ca: Download complete [2024-01-25T10:07:17.965Z] 8998bd30e6a1: Verifying Checksum [2024-01-25T10:07:17.965Z] 8998bd30e6a1: Download complete [2024-01-25T10:07:19.905Z] 2437ff75d9bd: Verifying Checksum [2024-01-25T10:07:19.905Z] 2437ff75d9bd: Download complete [2024-01-25T10:07:24.155Z] 8998bd30e6a1: Pull complete [2024-01-25T10:07:24.736Z] 04944245beec: Pull complete [2024-01-25T10:07:26.675Z] 699f458cf7ca: Pull complete [2024-01-25T10:07:26.675Z] 765212b225bb: Pull complete [2024-01-25T10:07:27.257Z] f23df028b6ca: Pull complete [2024-01-25T10:07:27.524Z] d65c8cfc05b1: Pull complete [2024-01-25T10:07:49.638Z] 2437ff75d9bd: Pull complete [2024-01-25T10:07:49.638Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-25T10:07:49.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T10:07:49.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T10:07:49.921Z] prd-ubuntu20.04-docker-arm64-4c-16g-27885 does not seem to be running inside a container [2024-01-25T10:07:49.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-c/71 -v /w/workspace/device-sdk-c/71:/w/workspace/device-sdk-c/71:rw,z -v /w/workspace/device-sdk-c/71@tmp:/w/workspace/device-sdk-c/71@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-25T10:07:51.007Z] $ docker top 323d380ad630089fbf7e6dadecdb95bceb684bd7756a0aa1d06b4eca97178dcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:07:51.508Z] ---> job-cost.sh [2024-01-25T10:07:51.772Z] lf-activate-venv: SKIPPING [2024-01-25T10:07:51.772Z] INFO: No Stack... [2024-01-25T10:07:52.036Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T10:07:52.987Z] INFO: Archiving Costs [Pipeline] sh [2024-01-25T10:07:53.302Z] + cut -d, -f6 [2024-01-25T10:07:53.302Z] + cat /w/workspace/device-sdk-c/71/archives/cost.csv [Pipeline] lock [2024-01-25T10:07:53.362Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] [2024-01-25T10:07:53.371Z] Resource [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] did not exist. Created. [2024-01-25T10:07:53.372Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-25T10:07:53.883Z] /w/workspace/device-sdk-c/71@tmp/durable-7f88beb6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-25T10:07:54.200Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-25T10:07:54.251Z] Warning: overwriting stash ‘stack-cost’ [2024-01-25T10:07:54.659Z] Stashed 1 file(s) [Pipeline] } [2024-01-25T10:07:54.667Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-c-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-25T10:07:54.749Z] $ docker stop --time=1 323d380ad630089fbf7e6dadecdb95bceb684bd7756a0aa1d06b4eca97178dcd [2024-01-25T10:07:56.111Z] $ docker rm -f --volumes 323d380ad630089fbf7e6dadecdb95bceb684bd7756a0aa1d06b4eca97178dcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] unstash [Pipeline] sh [2024-01-25T10:07:57.342Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-25T10:07:57.342Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:07:57.670Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T10:07:57.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T10:07:57.803Z] prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container [2024-01-25T10:07:57.834Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-25T10:07:58.139Z] $ docker top 356659fad7dd50bb292aedd1ec7a00a2c4c627eb62b58b75fb0343b7523805f4 -eo pid,comm [2024-01-25T10:07:58.186Z] 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-01-25T10:07:58.186Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-25T10:07:58.315Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T10:07:58.315Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T10:07:58.430Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T10:07:58.429Z] $ docker exec 356659fad7dd50bb292aedd1ec7a00a2c4c627eb62b58b75fb0343b7523805f4 ssh-agent [2024-01-25T10:07:58.539Z] SSH_AUTH_SOCK=/tmp/ssh-MEHTlkBcsbyh/agent.32 [2024-01-25T10:07:58.539Z] SSH_AGENT_PID=38 [2024-01-25T10:07:58.543Z] Running ssh-add (command line suppressed) [2024-01-25T10:07:58.637Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8091884846287501342.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_8091884846287501342.key) [2024-01-25T10:07:58.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T10:07:58.973Z] + git semver tag [2024-01-25T10:07:59.234Z] 2024-01-25 10:07:59,139 [run_tag] DEBUG tag force:False [2024-01-25T10:07:59.234Z] 2024-01-25 10:07:59,139 [check_head_tag] DEBUG check head tag [2024-01-25T10:07:59.234Z] 2024-01-25 10:07:59,140 [execute] INFO git cat-file --batch-check [2024-01-25T10:07:59.234Z] 2024-01-25 10:07:59,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-01-25T10:07:59.234Z] 2024-01-25 10:07:59,143 [execute] INFO git cat-file --batch [2024-01-25T10:07:59.234Z] 2024-01-25 10:07:59,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=) [2024-01-25T10:07:59.234Z] 2024-01-25 10:07:59,157 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-25T10:07:59.234Z] 2024-01-25 10:07:59,157 [execute] INFO git tag -a v3.0.3-dev.11 -m v3.0.3-dev.11 [2024-01-25T10:07:59.234Z] 2024-01-25 10:07:59,157 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.3-dev.11', '-m', 'v3.0.3-dev.11'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-01-25T10:07:59.234Z] 2024-01-25 10:07:59,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-25T10:07:59.234Z] 3.0.3-dev.11 [Pipeline] } [2024-01-25T10:07:59.241Z] $ docker exec --env ******** --env ******** 356659fad7dd50bb292aedd1ec7a00a2c4c627eb62b58b75fb0343b7523805f4 ssh-agent -k [2024-01-25T10:07:59.340Z] unset SSH_AUTH_SOCK; [2024-01-25T10:07:59.341Z] unset SSH_AGENT_PID; [2024-01-25T10:07:59.341Z] echo Agent pid 38 killed; [2024-01-25T10:07:59.353Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-25T10:07:59.772Z] + git semver [Pipeline] } [2024-01-25T10:08:00.042Z] $ docker stop --time=1 356659fad7dd50bb292aedd1ec7a00a2c4c627eb62b58b75fb0343b7523805f4 [2024-01-25T10:08:01.323Z] $ docker rm -f --volumes 356659fad7dd50bb292aedd1ec7a00a2c4c627eb62b58b75fb0343b7523805f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:08:01.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-01-25T10:08:01.863Z] [2024-01-25T10:08:01.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:08:02.193Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-01-25T10:08:02.193Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-01-25T10:08:02.193Z] ab5ef0e58194: Pulling fs layer [2024-01-25T10:08:02.193Z] 9712f1f96733: Pulling fs layer [2024-01-25T10:08:02.193Z] 63f879dbbcfc: Pulling fs layer [2024-01-25T10:08:02.193Z] 0d9ebad4ef96: Pulling fs layer [2024-01-25T10:08:02.193Z] e9a5061849ea: Pulling fs layer [2024-01-25T10:08:02.193Z] d747dcd14b5f: Pulling fs layer [2024-01-25T10:08:02.193Z] 2de7ff778b66: Pulling fs layer [2024-01-25T10:08:02.193Z] 0d9ebad4ef96: Waiting [2024-01-25T10:08:02.193Z] d747dcd14b5f: Waiting [2024-01-25T10:08:02.193Z] e9a5061849ea: Waiting [2024-01-25T10:08:02.193Z] 2de7ff778b66: Waiting [2024-01-25T10:08:02.193Z] 9712f1f96733: Verifying Checksum [2024-01-25T10:08:02.193Z] 9712f1f96733: Download complete [2024-01-25T10:08:02.571Z] 63f879dbbcfc: Verifying Checksum [2024-01-25T10:08:02.571Z] 63f879dbbcfc: Download complete [2024-01-25T10:08:02.571Z] e9a5061849ea: Verifying Checksum [2024-01-25T10:08:02.571Z] e9a5061849ea: Download complete [2024-01-25T10:08:02.830Z] d747dcd14b5f: Verifying Checksum [2024-01-25T10:08:02.830Z] d747dcd14b5f: Download complete [2024-01-25T10:08:02.830Z] 0d9ebad4ef96: Verifying Checksum [2024-01-25T10:08:02.830Z] 2de7ff778b66: Verifying Checksum [2024-01-25T10:08:02.830Z] 2de7ff778b66: Download complete [2024-01-25T10:08:02.830Z] ab5ef0e58194: Verifying Checksum [2024-01-25T10:08:02.830Z] ab5ef0e58194: Download complete [2024-01-25T10:08:05.363Z] ab5ef0e58194: Pull complete [2024-01-25T10:08:05.363Z] 9712f1f96733: Pull complete [2024-01-25T10:08:06.344Z] 63f879dbbcfc: Pull complete [2024-01-25T10:08:09.627Z] 0d9ebad4ef96: Pull complete [2024-01-25T10:08:09.885Z] e9a5061849ea: Pull complete [2024-01-25T10:08:09.885Z] d747dcd14b5f: Pull complete [2024-01-25T10:08:10.821Z] 2de7ff778b66: Pull complete [2024-01-25T10:08:10.821Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-01-25T10:08:11.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-01-25T10:08:11.081Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T10:08:11.296Z] prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container [2024-01-25T10:08:11.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-01-25T10:08:18.837Z] $ docker top 748e336468c7e31f60913d976528059048d7785f06a795fbb4ac9d6b6fb212ac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-01-25T10:08:18.968Z] provisioning config files... [2024-01-25T10:08:18.976Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config11313869220119069871tmp [2024-01-25T10:08:18.986Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15050901672465528195tmp [2024-01-25T10:08:18.995Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config10211032275296377484tmp [Pipeline] { [Pipeline] echo [2024-01-25T10:08:19.049Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:08:19.347Z] ---> sigul-configuration.sh [2024-01-25T10:08:19.348Z] gpg: directory `/root/.gnupg' created [2024-01-25T10:08:19.348Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-01-25T10:08:19.348Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-01-25T10:08:19.348Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-01-25T10:08:19.348Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-01-25T10:08:19.348Z] gpg: CAST5 encrypted data [2024-01-25T10:08:19.348Z] gpg: encrypted with 1 passphrase [2024-01-25T10:08:19.348Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-01-25T10:08:19.642Z] + mkdir /home/jenkins [2024-01-25T10:08:19.642Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-01-25T10:08:19.938Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-01-25T10:08:19.951Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:08:20.245Z] ---> sigul-install.sh [2024-01-25T10:08:20.245Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-01-25T10:08:20.548Z] + git tag --list [2024-01-25T10:08:20.548Z] 0.7.0 [2024-01-25T10:08:20.548Z] 0.7.1 [2024-01-25T10:08:20.548Z] 1.0.0 [2024-01-25T10:08:20.548Z] v1.0.1 [2024-01-25T10:08:20.548Z] v1.0.2 [2024-01-25T10:08:20.548Z] v1.0.3 [2024-01-25T10:08:20.548Z] v1.1.0 [2024-01-25T10:08:20.548Z] v1.1.1 [2024-01-25T10:08:20.548Z] v1.2.0 [2024-01-25T10:08:20.548Z] v1.2.1 [2024-01-25T10:08:20.548Z] v1.2.2 [2024-01-25T10:08:20.548Z] v1.3.0 [2024-01-25T10:08:20.548Z] v1.3.1 [2024-01-25T10:08:20.548Z] v2.0.0 [2024-01-25T10:08:20.548Z] v2.1.0 [2024-01-25T10:08:20.548Z] v2.2.0 [2024-01-25T10:08:20.548Z] v2.3.0 [2024-01-25T10:08:20.548Z] v3.0 [2024-01-25T10:08:20.548Z] v3.0.0 [2024-01-25T10:08:20.548Z] v3.0.1 [2024-01-25T10:08:20.548Z] v3.0.2 [2024-01-25T10:08:20.548Z] v3.0.3-dev.1 [2024-01-25T10:08:20.548Z] v3.0.3-dev.10 [2024-01-25T10:08:20.548Z] v3.0.3-dev.11 [2024-01-25T10:08:20.548Z] v3.0.3-dev.2 [2024-01-25T10:08:20.548Z] v3.0.3-dev.3 [2024-01-25T10:08:20.548Z] v3.0.3-dev.4 [2024-01-25T10:08:20.548Z] v3.0.3-dev.5 [2024-01-25T10:08:20.548Z] v3.0.3-dev.6 [2024-01-25T10:08:20.548Z] v3.0.3-dev.7 [2024-01-25T10:08:20.548Z] v3.0.3-dev.8 [2024-01-25T10:08:20.548Z] v3.0.3-dev.9 [2024-01-25T10:08:20.548Z] v3.1 [2024-01-25T10:08:20.548Z] v3.1.0 [2024-01-25T10:08:20.548Z] v3.1.0-dev.1 [2024-01-25T10:08:20.548Z] v3.1.0-dev.2 [2024-01-25T10:08:20.548Z] v3.1.0-dev.3 [2024-01-25T10:08:20.548Z] v3.1.0-dev.4 [2024-01-25T10:08:20.548Z] v3.1.0-dev.5 [2024-01-25T10:08:20.548Z] v3.1.0-dev.6 [2024-01-25T10:08:20.548Z] v3.1.0-dev.7 [2024-01-25T10:08:20.548Z] v3.1.0-dev.8 [2024-01-25T10:08:20.548Z] v3.1.0-dev.9 [Pipeline] sh [2024-01-25T10:08:20.844Z] + lftools sign git-tag v3.0.3-dev.11 [2024-01-25T10:08:21.413Z] Signing Git tag with Sigul... [2024-01-25T10:08:21.413Z] Signing v3.0.3-dev.11 [Pipeline] echo [2024-01-25T10:08:21.686Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:08:21.979Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-01-25T10:08:21.987Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-01-25T10:08:22.075Z] $ docker stop --time=1 748e336468c7e31f60913d976528059048d7785f06a795fbb4ac9d6b6fb212ac [2024-01-25T10:08:23.331Z] $ docker rm -f --volumes 748e336468c7e31f60913d976528059048d7785f06a795fbb4ac9d6b6fb212ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-01-25T10:08:24.062Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-25T10:08:24.062Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:08:24.401Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T10:08:24.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T10:08:24.540Z] prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container [2024-01-25T10:08:24.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-25T10:08:24.890Z] $ docker top e3adee787d2bd1837fa7bae9b089a17988d24c9b214a497d78362f434832ea37 -eo pid,comm [2024-01-25T10:08:24.934Z] 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-01-25T10:08:24.934Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-25T10:08:25.089Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T10:08:25.089Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T10:08:25.176Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T10:08:25.176Z] $ docker exec e3adee787d2bd1837fa7bae9b089a17988d24c9b214a497d78362f434832ea37 ssh-agent [2024-01-25T10:08:25.285Z] SSH_AUTH_SOCK=/tmp/ssh-852QleUQUfpW/agent.32 [2024-01-25T10:08:25.285Z] SSH_AGENT_PID=38 [2024-01-25T10:08:25.289Z] Running ssh-add (command line suppressed) [2024-01-25T10:08:25.388Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14725989600987029402.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_14725989600987029402.key) [2024-01-25T10:08:25.404Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T10:08:25.725Z] + git semver bump pre [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,898 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,898 [bump_version] DEBUG bumping version:3.0.3-dev.11 on axis:pre with prefix:dev [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,898 [bump_version] DEBUG bumped version:3.0.3-dev.12 [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,898 [write_version] DEBUG write version:3.0.3-dev.12 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,899 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,901 [execute] INFO git cat-file --batch-check [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,907 [execute] INFO git cat-file --batch [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-01-25T10:08:25.983Z] 2024-01-25 10:08:25,912 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-25T10:08:25.983Z] 3.0.3-dev.12 [Pipeline] } [2024-01-25T10:08:25.990Z] $ docker exec --env ******** --env ******** e3adee787d2bd1837fa7bae9b089a17988d24c9b214a497d78362f434832ea37 ssh-agent -k [2024-01-25T10:08:26.083Z] unset SSH_AUTH_SOCK; [2024-01-25T10:08:26.083Z] unset SSH_AGENT_PID; [2024-01-25T10:08:26.083Z] echo Agent pid 38 killed; [2024-01-25T10:08:26.094Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-25T10:08:26.769Z] + git semver [Pipeline] } [2024-01-25T10:08:27.038Z] $ docker stop --time=1 e3adee787d2bd1837fa7bae9b089a17988d24c9b214a497d78362f434832ea37 [2024-01-25T10:08:28.295Z] $ docker rm -f --volumes e3adee787d2bd1837fa7bae9b089a17988d24c9b214a497d78362f434832ea37 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-25T10:08:28.771Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-25T10:08:28.771Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:08:29.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T10:08:29.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T10:08:29.239Z] prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container [2024-01-25T10:08:29.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-25T10:08:29.580Z] $ docker top 840a0e83041ecff1fe44aec6ecd09a9d3d7707f2178bd6ebf2f82469f7e6610b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-25T10:08:29.779Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T10:08:29.779Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T10:08:29.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T10:08:29.889Z] $ docker exec 840a0e83041ecff1fe44aec6ecd09a9d3d7707f2178bd6ebf2f82469f7e6610b ssh-agent [2024-01-25T10:08:29.997Z] SSH_AUTH_SOCK=/tmp/ssh-QlaaaFJZ2WRp/agent.32 [2024-01-25T10:08:29.997Z] SSH_AGENT_PID=38 [2024-01-25T10:08:30.001Z] Running ssh-add (command line suppressed) [2024-01-25T10:08:30.098Z] Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12949858183580018366.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12949858183580018366.key) [2024-01-25T10:08:30.116Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T10:08:30.442Z] + git semver push [2024-01-25T10:08:30.701Z] 2024-01-25 10:08:30,597 [run_push] DEBUG push [2024-01-25T10:08:30.701Z] 2024-01-25 10:08:30,598 [execute] INFO git cat-file --batch-check [2024-01-25T10:08:30.701Z] 2024-01-25 10:08:30,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=) [2024-01-25T10:08:30.701Z] 2024-01-25 10:08:30,602 [execute] INFO git rev-list a88f20c52a9123da868afe8163d8a54f8137a46e -- [2024-01-25T10:08:30.701Z] 2024-01-25 10:08:30,602 [execute] DEBUG Popen(['git', 'rev-list', 'a88f20c52a9123da868afe8163d8a54f8137a46e', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-01-25T10:08:30.701Z] 2024-01-25 10:08:30,610 [execute] INFO git fetch -v origin [2024-01-25T10:08:30.701Z] 2024-01-25 10:08:30,611 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-01-25T10:08:31.269Z] 2024-01-25 10:08:31,142 [run_push] DEBUG no remote changes detected [2024-01-25T10:08:31.269Z] 2024-01-25 10:08:31,142 [execute] INFO git push origin semver [2024-01-25T10:08:31.270Z] 2024-01-25 10:08:31,143 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-01-25T10:08:32.206Z] 2024-01-25 10:08:31,893 [run_push] DEBUG push all version tags [2024-01-25T10:08:32.206Z] 2024-01-25 10:08:31,893 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-01-25T10:08:32.206Z] 2024-01-25 10:08:31,894 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, universal_newlines=False, shell=None, istream=None) [2024-01-25T10:08:32.773Z] 2024-01-25 10:08:32,617 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main [2024-01-25T10:08:32.773Z] 3.0.3-dev.12 [Pipeline] } [2024-01-25T10:08:32.778Z] $ docker exec --env ******** --env ******** 840a0e83041ecff1fe44aec6ecd09a9d3d7707f2178bd6ebf2f82469f7e6610b ssh-agent -k [2024-01-25T10:08:32.873Z] unset SSH_AUTH_SOCK; [2024-01-25T10:08:32.873Z] unset SSH_AGENT_PID; [2024-01-25T10:08:32.873Z] echo Agent pid 38 killed; [2024-01-25T10:08:32.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-25T10:08:33.322Z] + git semver [Pipeline] } [2024-01-25T10:08:33.590Z] $ docker stop --time=1 840a0e83041ecff1fe44aec6ecd09a9d3d7707f2178bd6ebf2f82469f7e6610b [2024-01-25T10:08:34.844Z] $ docker rm -f --volumes 840a0e83041ecff1fe44aec6ecd09a9d3d7707f2178bd6ebf2f82469f7e6610b [Pipeline] // withDockerContainer [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-01-25T10:08:35.705Z] + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ] [2024-01-25T10:08:35.705Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-01-25T10:08:35.705Z] total 16 [2024-01-25T10:08:35.705Z] drwxr-xr-x 3 root root 4096 Jan 25 10:03 . [2024-01-25T10:08:35.705Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 10:08 .. [2024-01-25T10:08:35.705Z] drwxr-xr-x 2 root root 4096 Jan 25 10:03 cost [2024-01-25T10:08:35.705Z] -rw-r--r-- 1 root root 83 Jan 25 10:03 cost.csv [2024-01-25T10:08:35.705Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-01-25T10:08:35.705Z] + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives [2024-01-25T10:08:35.705Z] total 16 [2024-01-25T10:08:35.705Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 10:03 . [2024-01-25T10:08:35.705Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 10:08 .. [2024-01-25T10:08:35.705Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 10:03 cost [2024-01-25T10:08:35.705Z] -rw-r--r-- 1 jenkins jenkins 83 Jan 25 10:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:08:35.993Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:08:36.858Z] ---> package-listing.sh [2024-01-25T10:08:36.858Z] ++ facter osfamily [2024-01-25T10:08:36.858Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-25T10:08:37.119Z] + OS_FAMILY=debian [2024-01-25T10:08:37.119Z] + workspace=/w/workspace/edgexfoundry_device-sdk-c_main [2024-01-25T10:08:37.119Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-25T10:08:37.119Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-25T10:08:37.119Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-25T10:08:37.119Z] + PACKAGES=/tmp/packages_start.txt [2024-01-25T10:08:37.119Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-01-25T10:08:37.119Z] + PACKAGES=/tmp/packages_end.txt [2024-01-25T10:08:37.119Z] + case "${OS_FAMILY}" in [2024-01-25T10:08:37.119Z] + dpkg -l [2024-01-25T10:08:37.119Z] + grep '^ii' [2024-01-25T10:08:37.119Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-25T10:08:37.119Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-25T10:08:37.119Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-25T10:08:37.119Z] + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']' [2024-01-25T10:08:37.119Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [2024-01-25T10:08:37.119Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/ [Pipeline] echo [2024-01-25T10:08:37.132Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-25T10:08:37.412Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T10:08:38.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T10:08:38.011Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T10:08:38.157Z] prd-ubuntu20.04-docker-8c-8g-27884 does not seem to be running inside a container [2024-01-25T10:08:38.186Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-sdk-c_main:/w/workspace/edgexfoundry_device-sdk-c_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_main@tmp:/w/workspace/edgexfoundry_device-sdk-c_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-25T10:08:38.399Z] $ docker top 12078bc8a9b63877f762d4fab5c88bcdc67a91023cda0e4c5f6a1f8639d4d007 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T10:08:38.870Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-25T10:08:39.156Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-25T10:08:39.441Z] + ls /var/log/sa-host [2024-01-25T10:08:39.441Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T10:08:39.625Z] provisioning config files... [2024-01-25T10:08:39.639Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config140270937656955068tmp [Pipeline] { [Pipeline] echo [2024-01-25T10:08:39.715Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:08:39.999Z] ---> create-netrc.sh [Pipeline] } [2024-01-25T10:08:40.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:08:40.414Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-25T10:08:40.425Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:08:40.709Z] ---> sudo-logs.sh [2024-01-25T10:08:40.709Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-25T10:08:40.780Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:08:41.063Z] ---> job-cost.sh [2024-01-25T10:08:41.063Z] lf-activate-venv: SKIPPING [2024-01-25T10:08:41.063Z] DEBUG: total: 0.2199999988079071 [2024-01-25T10:08:41.063Z] INFO: Retrieving Stack Cost... [2024-01-25T10:08:41.321Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T10:08:41.580Z] INFO: Archiving Costs [Pipeline] echo [2024-01-25T10:08:41.594Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T10:08:41.879Z] ---> logs-deploy.sh [2024-01-25T10:08:41.879Z] lf-activate-venv: SKIPPING [2024-01-25T10:08:41.879Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/71 [2024-01-25T10:08:41.879Z] INFO: archiving workspace using pattern(s): [2024-01-25T10:08:42.821Z] Archives upload complete. [2024-01-25T10:08:42.821Z] INFO: archiving logs to Nexus