  Push event to branch main
  Connecting to https://api.github.com using edgex-jenkins github personal access token
  Obtained Jenkinsfile from 3f0e136bfc0d53b2025a26d40b683f28e771cf3e
  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-ssh17825592863753300809.key
   > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10
  Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7
  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-ssh17758626489881214719.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 67d2f908f88f8156fbe481f59f373e57362cafe7
  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-ssh17033103410582660650.key
   > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
  Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable)
   > git config core.sparsecheckout # timeout=10
   > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10
  Commit message: "Merge pull request #476 from cherrycl/issue-475"
   > 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-ssh10793313495259050495.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-ssh2850995648729456805.key
   > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
  Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master)
   > git config core.sparsecheckout # timeout=10
   > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10
  Commit message: "Fix: Add S3 URL in href to ship logs"
   > git remote # timeout=10
   > git submodule init # timeout=10
   > git submodule sync # timeout=10
   > git config --get remote.origin.url # timeout=10
   > git submodule init # timeout=10
   > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
   > git config --get submodule.global-jjb.url # timeout=10
   > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10
   > git submodule update --init --recursive global-jjb # timeout=10
  Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines.
  To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins.
  [Pipeline] Start of Pipeline
  [Pipeline] echo
  =========================================================
   [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false]
  =========================================================
  [Pipeline] echo
  Setting up nodes based on requested architectures [[amd64, arm64]]
  [Pipeline] echo
  Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]]
  [Pipeline] echo
  =========================================================
   [edgeXBuildCApp] Pipeline Parameters:
  =========================================================
  [Pipeline] echo
             MAVEN_SETTINGS: device-sdk-c-settings
                    PROJECT: device-sdk-c
                 USE_SEMVER: true
                TEST_SCRIPT: make test
               BUILD_SCRIPT: make build
           DOCKER_FILE_PATH: scripts/Dockerfile.alpine
     DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base
       DOCKER_BUILD_CONTEXT: .
  DOCKER_BUILD_IMAGE_TARGET: builder
          DOCKER_IMAGE_NAME: device-sdk
  DOCKER_REGISTRY_NAMESPACE: 
          DOCKER_NEXUS_REPO: staging
         BUILD_DOCKER_IMAGE: true
          PUSH_DOCKER_IMAGE: false
          SEMVER_BUMP_LEVEL: pre
                 BUILD_SNAP: false
  BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org
  [Pipeline] node
  Still waiting to schedule task
  ‘prd-centos7-blackbox-4c-2g-5418’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’
  ‘prd-ubuntu20.04-docker-8c-8g-5742’ is offline
  ‘prd-ubuntu20.04-docker-8c-8g-5746’ is offline
  ‘prd-ubuntu20.04-docker-arm64-4c-16g-5736’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’
  Running on prd-ubuntu20.04-docker-8c-8g-5747 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 3f0e136bfc0d53b2025a26d40b683f28e771cf3e (main)
  Commit message: "feat(sdk-c): add support for core command client access from the device services (#604)"
   > 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 3f0e136bfc0d53b2025a26d40b683f28e771cf3e # timeout=10
   > git rev-list --no-walk ec1c5ebf205add5361e4a23d8a9261f9ef892148 # timeout=10
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] timestamps
  [Pipeline] {
  [Pipeline] timeout
03:29:41  Timeout set to expire in 6 hr 0 min
  [Pipeline] {
  [Pipeline] stage
  [Pipeline] { (Prepare)
  [Pipeline] script
  [Pipeline] {
  [Pipeline] withCredentials
03:29:41  Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW
  [Pipeline] {
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] echo
03:29:41  =========================================================
03:29:41   EdgeX Global Pipelines Version Info
03:29:41  =========================================================
  [Pipeline] libraryResource
  [Pipeline] sh
03:29:42  -------------------
03:29:42  stable info:
03:29:42  -------------------
03:29:42  Commited By: Cherry Wang cherry@iotechsys.com
03:29:42  Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7
03:29:42  Message: update stable to v1.0.278
03:29:43  -------------------
03:29:43  experimental info:
03:29:43  -------------------
03:29:43  Commited By: **** collab-it+edgex@linuxfoundation.org
03:29:43  Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8
03:29:43  Message: update experimental to v1.0.279
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // withCredentials
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar USE_SEMVER = true
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = .
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = 
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f0e136bfc0d53b2025a26d40b683f28e771cf3e
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f0e136
  [Pipeline] echo
03:29:43  [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] configFileProvider
03:29:44  provisioning config files...
03:29:44  copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config15129998319504687380tmp
  [Pipeline] {
  [Pipeline] libraryResource
  [Pipeline] sh
03:29:44  ---> ****-login.sh
03:29:44  nexus3.edgexfoundry.org:10001
03:29:44  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03:29:44  
03:29:44  WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'.
03:29:44  Configure a credential helper to remove this warning. See
03:29:44  https://docs.****.com/go/credential-store/
03:29:44  
03:29:44  Login Succeeded
03:29:44  nexus3.edgexfoundry.org:10002
03:29:44  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03:29:44  
03:29:44  WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'.
03:29:44  Configure a credential helper to remove this warning. See
03:29:44  https://docs.****.com/go/credential-store/
03:29:44  
03:29:44  Login Succeeded
03:29:44  nexus3.edgexfoundry.org:10003
03:29:44  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03:29:44  
03:29:44  WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'.
03:29:44  Configure a credential helper to remove this warning. See
03:29:44  https://docs.****.com/go/credential-store/
03:29:44  
03:29:44  Login Succeeded
03:29:44  nexus3.edgexfoundry.org:10004
03:29:44  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03:29:44  
03:29:44  WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'.
03:29:44  Configure a credential helper to remove this warning. See
03:29:44  https://docs.****.com/go/credential-store/
03:29:44  
03:29:44  Login Succeeded
03:29:44  ****.io
03:29:44  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03:29:45  
03:29:45  WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'.
03:29:45  Configure a credential helper to remove this warning. See
03:29:45  https://docs.****.com/go/credential-store/
03:29:45  
03:29:45  Login Succeeded
03:29:45  ---> ****-login.sh ends
  [Pipeline] }
03:29:45  Deleting 1 temporary files
  [Pipeline] // configFileProvider
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // script
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Build LTS Release Image)
  [Pipeline] sh
03:29:45  + git rev-list -1 --merges 3f0e136bfc0d53b2025a26d40b683f28e771cf3e~1..3f0e136bfc0d53b2025a26d40b683f28e771cf3e
  [Pipeline] echo
03:29:45  -----------> git rev-list -1 --merges 3f0e136bfc0d53b2025a26d40b683f28e771cf3e~1..3f0e136bfc0d53b2025a26d40b683f28e771cf3e  3f0e136bfc0d53b2025a26d40b683f28e771cf3e [false]
  [Pipeline] sh
03:29:45  + git log --format=format:%s -1 3f0e136bfc0d53b2025a26d40b683f28e771cf3e
  [Pipeline] echo
03:29:45  =========================================================
03:29:45   [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 
03:29:45  =========================================================
  Stage "Build LTS Release Image" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] parallel
  [Pipeline] { (Branch: amd64)
  [Pipeline] { (Branch: arm64)
  [Pipeline] stage
  [Pipeline] { (amd64)
  [Pipeline] stage
  [Pipeline] { (arm64)
  Stage "amd64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] }
  [Pipeline] // parallel
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Build Check)
  [Pipeline] sh
03:29:46  + git rev-list -1 --merges 3f0e136bfc0d53b2025a26d40b683f28e771cf3e~1..3f0e136bfc0d53b2025a26d40b683f28e771cf3e
  [Pipeline] echo
03:29:46  -----------> git rev-list -1 --merges 3f0e136bfc0d53b2025a26d40b683f28e771cf3e~1..3f0e136bfc0d53b2025a26d40b683f28e771cf3e  3f0e136bfc0d53b2025a26d40b683f28e771cf3e [false]
  [Pipeline] sh
03:29:46  + git log --format=format:%s -1 3f0e136bfc0d53b2025a26d40b683f28e771cf3e
  [Pipeline] echo
03:29:46  =========================================================
03:29:46   [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 
03:29:46  =========================================================
  [Pipeline] stage
  [Pipeline] { (Semver Prep)
  [Pipeline] sh
03:29:47  + grep github.com ecdsa /etc/ssh/ssh_known_hosts
03:29:47  + grep -v github /etc/ssh/ssh_known_hosts
03:29:47  + [ -e /tmp/ssh_known_hosts ]
03:29:47  + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts
03:29:47  + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
03:29:47  + sudo tee -a /etc/ssh/ssh_known_hosts
03:29:47  github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:29:47  + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
03:29:47  
03:29:47  Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:29:47  + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
03:29:47  0.1.4: Pulling from edgex-devops/py-git-semver
03:29:47  3dae71ba6b94: Pulling fs layer
03:29:47  6bf1a483ea7c: Pulling fs layer
03:29:47  f5dfc541a4d3: Pulling fs layer
03:29:47  461d9e800cba: Pulling fs layer
03:29:47  80192f66455f: Pulling fs layer
03:29:47  2e8e34ca0e6c: Pulling fs layer
03:29:47  a29436f7fd5d: Pulling fs layer
03:29:47  923cac83aea3: Pulling fs layer
03:29:47  25ad8b0a4227: Pulling fs layer
03:29:47  db01528c6b51: Pulling fs layer
03:29:47  28988de357af: Pulling fs layer
03:29:47  a29436f7fd5d: Waiting
03:29:47  db01528c6b51: Waiting
03:29:47  28988de357af: Waiting
03:29:47  80192f66455f: Waiting
03:29:47  923cac83aea3: Waiting
03:29:47  461d9e800cba: Waiting
03:29:47  25ad8b0a4227: Waiting
03:29:47  2e8e34ca0e6c: Waiting
03:29:47  6bf1a483ea7c: Verifying Checksum
03:29:47  6bf1a483ea7c: Download complete
03:29:47  461d9e800cba: Verifying Checksum
03:29:47  461d9e800cba: Download complete
03:29:47  80192f66455f: Download complete
03:29:47  f5dfc541a4d3: Verifying Checksum
03:29:47  f5dfc541a4d3: Download complete
03:29:47  3dae71ba6b94: Verifying Checksum
03:29:47  3dae71ba6b94: Download complete
03:29:47  923cac83aea3: Download complete
03:29:47  25ad8b0a4227: Verifying Checksum
03:29:47  25ad8b0a4227: Download complete
03:29:48  db01528c6b51: Verifying Checksum
03:29:48  db01528c6b51: Download complete
03:29:48  28988de357af: Verifying Checksum
03:29:48  28988de357af: Download complete
03:29:48  a29436f7fd5d: Verifying Checksum
03:29:48  a29436f7fd5d: Download complete
03:29:48  2e8e34ca0e6c: Verifying Checksum
03:29:48  2e8e34ca0e6c: Download complete
03:29:49  3dae71ba6b94: Pull complete
03:29:49  6bf1a483ea7c: Pull complete
03:29:50  f5dfc541a4d3: Pull complete
03:29:50  461d9e800cba: Pull complete
03:29:50  80192f66455f: Pull complete
03:29:54  2e8e34ca0e6c: Pull complete
03:29:55  a29436f7fd5d: Pull complete
03:29:55  923cac83aea3: Pull complete
03:29:55  25ad8b0a4227: Pull complete
03:29:55  db01528c6b51: Pull complete
03:29:55  28988de357af: Pull complete
03:29:55  Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248
03:29:55  Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
03:29:55  nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
03:29:55  prd-ubuntu20.04-docker-8c-8g-5747 does not seem to be running inside a container
03:29:55  $ 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
03:29:57  $ docker top 0c45eca7528db6ca28d60bb311a9970720fca29efb95433f8d3f5dee72c7d273 -eo pid,comm
03:29:57  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).
03:29:57  Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
  [Pipeline] {
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sshagent
03:29:57  [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub)
03:29:57  [ssh-agent] Looking for ssh-agent implementation...
03:29:57  [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
03:29:57  $ docker exec 0c45eca7528db6ca28d60bb311a9970720fca29efb95433f8d3f5dee72c7d273 ssh-agent
03:29:57  SSH_AUTH_SOCK=/tmp/ssh-Zwi2jMfNR8tQ/agent.32
03:29:57  SSH_AGENT_PID=38
03:29:57  Running ssh-add (command line suppressed)
03:29:57  Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3438505591440809217.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_3438505591440809217.key)
03:29:57  [ssh-agent] Started.
  [Pipeline] {
  [Pipeline] sh
03:29:57  + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-c_main
  [Pipeline] sh
03:29:58  + git tag --points-at HEAD
  [Pipeline] }
03:29:58  $ docker exec --env ******** --env ******** 0c45eca7528db6ca28d60bb311a9970720fca29efb95433f8d3f5dee72c7d273 ssh-agent -k
03:29:58  unset SSH_AUTH_SOCK;
03:29:58  unset SSH_AGENT_PID;
03:29:58  echo Agent pid 38 killed;
03:29:58  [ssh-agent] Stopped.
  [Pipeline] // sshagent
  [Pipeline] sshagent
03:29:58  [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub)
03:29:58  [ssh-agent] Looking for ssh-agent implementation...
03:29:58  [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
03:29:58  $ docker exec 0c45eca7528db6ca28d60bb311a9970720fca29efb95433f8d3f5dee72c7d273 ssh-agent
03:29:58  SSH_AUTH_SOCK=/tmp/ssh-37Z8NOt4iTt5/agent.85
03:29:58  SSH_AGENT_PID=92
03:29:58  Running ssh-add (command line suppressed)
03:29:58  Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12515406414465646380.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_12515406414465646380.key)
03:29:58  [ssh-agent] Started.
  [Pipeline] {
  [Pipeline] sh
03:29:58  + git semver init
03:29:59  2026-04-21 03:29:59,204 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory')
03:29:59  2026-04-21 03:29:59,208 [run_init] DEBUG init version:0.0.0 force:False
03:29:59  2026-04-21 03:29:59,209 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_main/.semver
03:29:59  2026-04-21 03:29:59,209 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_main/.semver
03:29:59  2026-04-21 03:29:59,210 [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, stdin=None, shell=False, universal_newlines=False)
03:30:00  2026-04-21 03:30:00,026 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_main/.git/info/exclude
03:30:00  2026-04-21 03:30:00,026 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:False
03:30:00  2026-04-21 03:30:00,027 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main
03:30:00  2026-04-21 03:30:00,027 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main
03:30:00  4.1.0-dev.18
  [Pipeline] }
03:30:00  $ docker exec --env ******** --env ******** 0c45eca7528db6ca28d60bb311a9970720fca29efb95433f8d3f5dee72c7d273 ssh-agent -k
03:30:00  unset SSH_AUTH_SOCK;
03:30:00  unset SSH_AGENT_PID;
03:30:00  echo Agent pid 92 killed;
03:30:00  [ssh-agent] Stopped.
  [Pipeline] // sshagent
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] sh
03:30:00  + git semver
  [Pipeline] }
03:30:01  $ docker stop --time=1 0c45eca7528db6ca28d60bb311a9970720fca29efb95433f8d3f5dee72c7d273
03:30:02  $ docker rm -f --volumes 0c45eca7528db6ca28d60bb311a9970720fca29efb95433f8d3f5dee72c7d273
  [Pipeline] // withDockerContainer
  [Pipeline] sh
03:30:02  + sudo chown -R jenkins:jenkins .semver
  [Pipeline] writeFile
  [Pipeline] stash
03:30:03  Stashed 1 file(s)
  [Pipeline] echo
03:30:03  [edgeXSemver]: initialized semver on version 4.1.0-dev.18
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Build)
  [Pipeline] parallel
  [Pipeline] { (Branch: amd64)
  [Pipeline] { (Branch: arm64)
  [Pipeline] stage
  [Pipeline] { (amd64)
  [Pipeline] stage
  [Pipeline] { (arm64)
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] stage
  [Pipeline] { (Prep)
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] stage
  [Pipeline] { (Prep)
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Test)
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Build)
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Docker Push)
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] script
  [Pipeline] {
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] configFileProvider
03:30:03  provisioning config files...
  [Pipeline] // stage
  [Pipeline] }
03:30:03  copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config14104804780418997920tmp
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] {
  [Pipeline] libraryResource
  [Pipeline] sh
03:30:03  ---> ****-login.sh
03:30:03  nexus3.edgexfoundry.org:10001
03:30:03  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03:30:03  Login Succeeded
03:30:03  nexus3.edgexfoundry.org:10002
03:30:03  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03:30:03  Login Succeeded
03:30:03  nexus3.edgexfoundry.org:10003
03:30:04  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03:30:04  Login Succeeded
03:30:04  nexus3.edgexfoundry.org:10004
03:30:04  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03:30:04  Login Succeeded
03:30:04  ****.io
03:30:04  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
03:30:04  Login Succeeded
03:30:04  ---> ****-login.sh ends
  [Pipeline] }
03:30:04  Deleting 1 temporary files
  [Pipeline] // configFileProvider
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] unstash
  [Pipeline] echo
03:30:04  [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]]
  [Pipeline] echo
03:30:04  [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64
  [Pipeline] echo
03:30:04  [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]]
  [Pipeline] echo
03:30:04  =========================================================
03:30:04   [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest]
03:30:04  =========================================================
  [Pipeline] fileExists
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:30:04  + 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 .
03:30:05  #0 building with "default" instance using docker driver
03:30:05  
03:30:05  #1 [internal] load build definition from Dockerfile.alpine-base
03:30:05  #1 transferring dockerfile: 2.13kB done
03:30:05  #1 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 18)
03:30:05  #1 DONE 0.0s
03:30:05  
03:30:05  #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest
03:30:05  #2 DONE 0.1s
03:30:05  
03:30:05  #3 [internal] load .dockerignore
03:30:05  #3 transferring context: 2B done
03:30:05  #3 DONE 0.0s
03:30:05  
03:30:05  #4 [internal] load build context
03:30:05  #4 transferring context: 694.80kB 0.0s done
03:30:05  #4 DONE 0.1s
03:30:05  
03:30:05  #5 [builder  1/12] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest@sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff
03:30:05  #5 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest@sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 0.0s done
03:30:05  #5 extracting sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 0.1s done
03:30:05  #5 sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 741B / 741B done
03:30:05  #5 sha256:6605166a5db42c9ef4e3b8366138377c430980df3f34fe18e3a1340b6ab951b9 2.56kB / 2.56kB done
03:30:05  #5 sha256:96526aa774ef0126ad0fe9e9a95764c5fc37f409ab9e97021e7b4775d82bf6fa 3.40MB / 3.40MB 0.1s done
03:30:05  #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 4.19MB / 118.14MB 0.1s
03:30:05  #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 31.46MB / 118.14MB 0.3s
03:30:06  #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 50.33MB / 118.14MB 0.4s
03:30:06  #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 98.57MB / 118.14MB 0.6s
03:30:06  #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 118.14MB / 118.14MB 0.7s
03:30:06  #5 sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 118.14MB / 118.14MB 0.8s done
03:30:06  #5 extracting sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 0.1s
03:30:10  #5 extracting sha256:da60e534fd72a0c16fe8b5fd056354fc706a93e5d4d3616cf8a0f012ed4ca50d 3.7s done
03:30:10  #5 DONE 4.7s
03:30:10  
03:30:10  #6 [builder  2/12] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub
03:30:10  #6 0.288 Connecting to iotech.jfrog.io (54.73.4.50:443)
03:30:10  #6 0.691 saving to '/etc/apk/keys/alpine.dev.rsa.pub'
03:30:10  #6 0.691 alpine.dev.rsa.pub   100% |********************************|   451  0:00:00 ETA
03:30:10  #6 0.691 '/etc/apk/keys/alpine.dev.rsa.pub' saved
03:30:11  #6 DONE 1.4s
03:30:11  
03:30:11  #7 [builder  3/12] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main' >> /etc/apk/repositories
03:30:11  #7 DONE 0.3s
03:30:11  
03:30:11  #8 [stage-1 4/8] 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.6 dumb-init
03:30:12  #8 0.348 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
03:30:12  #8 0.544 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
03:30:12  #8 0.750 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz
03:30:13  #8 1.364 WARNING: This apk-tools is OLD! Some packages might not function properly.
03:30:13  #8 1.375 (1/11) Installing libpsl (0.21.5-r0)
03:30:13  #8 1.380 (2/11) Upgrading libcurl (8.4.0-r0 -> 8.12.1-r0)
03:30:13  #8 1.387 (3/11) Installing curl (8.12.1-r0)
03:30:13  #8 1.393 (4/11) Installing libpsl-utils (0.21.5-r0)
03:30:13  #8 1.397 (5/11) Installing libpsl-dev (0.21.5-r0)
03:30:13  #8 1.401 (6/11) Upgrading curl-dev (8.4.0-r0 -> 8.12.1-r0)
03:30:13  #8 1.407 (7/11) Installing dumb-init (1.2.5-r2)
03:30:13  #8 1.411 (8/11) Installing libcbor (0.10.2-r1)
03:30:13  #8 1.415 (9/11) Installing iotech-iot-1.6 (1.6.3-r0)
03:30:13  #8 2.102 (10/11) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.136-r0)
03:30:14  #8 2.306 (11/11) Installing libuuid (2.38.1-r8)
03:30:14  #8 2.312 Executing busybox-1.36.1-r4.trigger
03:30:14  #8 2.326 OK: 331 MiB in 91 packages
03:30:14  #8 DONE 2.5s
03:30:14  
03:30:14  #9 [stage-1 5/8] RUN apk --no-cache upgrade
03:30:14  #9 ...
03:30:14  
03:30:14  #10 [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.6-dev
03:30:14  #10 0.341 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
03:30:14  #10 0.546 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
03:30:14  #10 0.758 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz
03:30:14  #10 1.384 WARNING: This apk-tools is OLD! Some packages might not function properly.
03:30:14  #10 1.400 (1/15) Installing libcbor (0.10.2-r1)
03:30:14  #10 1.404 (2/15) Installing iotech-iot-1.6 (1.6.3-r0)
03:30:14  #10 2.108 (3/15) Installing iotech-iot-1.6-dev (1.6.3-r0)
03:30:14  #10 2.213 (4/15) Installing iotech-paho-mqtt-c-dev-1.3 (1.3.136-r0)
03:30:14  #10 2.421 (5/15) Installing libcbor-dev (0.10.2-r1)
03:30:14  #10 2.427 (6/15) Installing libmenuw (6.4_p20230506-r0)
03:30:14  #10 2.431 (7/15) Installing libpanelw (6.4_p20230506-r0)
03:30:14  #10 2.444 (8/15) Installing libncurses++ (6.4_p20230506-r0)
03:30:14  #10 2.449 (9/15) Installing ncurses-dev (6.4_p20230506-r0)
03:30:14  #10 2.461 (10/15) Installing libblkid (2.38.1-r8)
03:30:14  #10 2.471 (11/15) Installing libuuid (2.38.1-r8)
03:30:14  #10 2.475 (12/15) Installing libfdisk (2.38.1-r8)
03:30:14  #10 2.488 (13/15) Installing libmount (2.38.1-r8)
03:30:14  #10 2.497 (14/15) Installing libsmartcols (2.38.1-r8)
03:30:14  #10 2.505 (15/15) Installing util-linux-dev (2.38.1-r8)
03:30:14  #10 2.534 Executing busybox-1.36.1-r4.trigger
03:30:14  #10 2.542 OK: 335 MiB in 97 packages
03:30:14  #10 DONE 2.7s
03:30:14  
03:30:14  #11 [builder  5/12] RUN mkdir /tmp/sdk
03:30:14  #11 DONE 0.4s
03:30:14  
03:30:14  #12 [builder  6/12] COPY VERSION /tmp/sdk
03:30:14  #12 DONE 0.0s
03:30:14  
03:30:14  #9 [stage-1 5/8] RUN apk --no-cache upgrade
03:30:14  #9 0.388 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
03:30:14  #9 0.527 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
03:30:14  #9 ...
03:30:14  
03:30:14  #13 [builder  7/12] COPY src /tmp/sdk/src
03:30:14  #13 DONE 0.1s
03:30:14  
03:30:14  #14 [builder  8/12] COPY include /tmp/sdk/include
03:30:14  #14 DONE 0.0s
03:30:15  
03:30:15  #15 [builder  9/12] COPY scripts /tmp/sdk/scripts
03:30:15  #15 DONE 0.0s
03:30:15  
03:30:15  #16 [builder 10/12] COPY LICENSE /tmp/sdk
03:30:15  #16 DONE 0.0s
03:30:15  
03:30:15  #17 [builder 11/12] COPY Attribution.txt /tmp/sdk
03:30:15  #17 DONE 0.0s
03:30:15  
03:30:15  #9 [stage-1 5/8] RUN apk --no-cache upgrade
03:30:15  #9 1.059 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz
03:30:15  #9 1.582 WARNING: This apk-tools is OLD! Some packages might not function properly.
03:30:15  #9 1.592 Upgrading critical system libraries and apk-tools:
03:30:15  #9 1.592 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0)
03:30:16  #9 1.609 Executing busybox-1.36.1-r4.trigger
03:30:16  #9 1.677 Continuing the upgrade transaction with new apk-tools:
03:30:16  #9 1.684 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
03:30:16  #9 1.772 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
03:30:16  #9 1.896 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz
03:30:16  #9 2.384 WARNING: This apk-tools is OLD! Some packages might not function properly.
03:30:16  #9 2.393 (1/22) Upgrading musl (1.2.4-r2 -> 1.2.4-r3)
03:30:16  #9 2.406 (2/22) Upgrading busybox (1.36.1-r4 -> 1.36.1-r7)
03:30:16  #9 2.421 Executing busybox-1.36.1-r7.post-upgrade
03:30:16  #9 2.435 (3/22) Upgrading busybox-binsh (1.36.1-r4 -> 1.36.1-r7)
03:30:16  #9 2.438 (4/22) Upgrading ca-certificates-bundle (20230506-r0 -> 20241121-r1)
03:30:16  #9 2.447 (5/22) Upgrading libcrypto3 (3.1.4-r0 -> 3.1.8-r0)
03:30:16  #9 2.484 (6/22) Upgrading libssl3 (3.1.4-r0 -> 3.1.8-r0)
03:30:16  #9 2.497 (7/22) Upgrading ssl_client (1.36.1-r4 -> 1.36.1-r7)
03:30:16  #9 2.500 (8/22) Upgrading binutils (2.40-r7 -> 2.40-r8)
03:30:16  #9 2.561 (9/22) Upgrading musl-dev (1.2.4-r2 -> 1.2.4-r3)
03:30:16  #9 2.619 (10/22) Upgrading libexpat (2.5.0-r1 -> 2.7.0-r0)
03:30:17  #9 2.624 (11/22) Upgrading xz-libs (5.4.3-r0 -> 5.4.3-r1)
03:30:17  #9 2.632 (12/22) Upgrading libarchive (3.7.2-r0 -> 3.8.0-r0)
03:30:17  #9 2.644 (13/22) Upgrading ca-certificates (20230506-r0 -> 20241121-r1)
03:30:17  #9 2.658 (14/22) Upgrading openssl-dev (3.1.4-r0 -> 3.1.8-r0)
03:30:17  #9 2.683 (15/22) Upgrading git (2.40.1-r0 -> 2.40.4-r0)
03:30:17  #9 2.744 (16/22) Upgrading musl-utils (1.2.4-r2 -> 1.2.4-r3)
03:30:17  #9 2.749 (17/22) Upgrading libtasn1 (4.19.0-r1 -> 4.20.0-r0)
03:30:17  #9 2.754 (18/22) Upgrading gnutls (3.8.0-r2 -> 3.8.4-r0)
03:30:17  #9 2.776 (19/22) Upgrading gnutls-c++ (3.8.0-r2 -> 3.8.4-r0)
03:30:17  #9 2.781 (20/22) Upgrading libtasn1-progs (4.19.0-r1 -> 4.20.0-r0)
03:30:17  #9 2.785 (21/22) Upgrading libtasn1-dev (4.19.0-r1 -> 4.20.0-r0)
03:30:17  #9 2.789 (22/22) Upgrading gnutls-dev (3.8.0-r2 -> 3.8.4-r0)
03:30:17  #9 2.798 Executing busybox-1.36.1-r7.trigger
03:30:17  #9 2.805 Executing ca-certificates-20241121-r1.trigger
03:30:17  #9 2.859 OK: 331 MiB in 91 packages
03:30:17  #9 DONE 3.1s
03:30:17  
03:30:17  #18 [builder 12/12] RUN cd /tmp/sdk   && ./scripts/build.sh   && make -C build/release install
03:30:17  #18 0.232 + CPPCHECK=false
03:30:17  #18 0.232 + DOCGEN=false
03:30:17  #18 0.232 + CMAKEOPTS='-DCMAKE_EXPORT_COMPILE_COMMANDS=ON'
03:30:17  #18 0.232 + '[' 0 -gt 0 ]
03:30:17  #18 0.232 + readlink -f ./scripts/build.sh
03:30:17  #18 0.233 + dirname /tmp/sdk/scripts/build.sh
03:30:17  #18 0.234 + dirname /tmp/sdk/scripts
03:30:17  #18 0.235 + ROOT=/tmp/sdk
03:30:17  #18 0.235 + cd /tmp/sdk
03:30:17  #18 0.235 + mkdir -p /tmp/sdk/build/release
03:30:17  #18 0.235 + cd /tmp/sdk/build/release
03:30:17  #18 0.235 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Release' /tmp/sdk/src
03:30:17  #18 0.313 -- The C compiler identification is GNU 12.2.1
03:30:17  #18 0.330 -- Detecting C compiler ABI info
03:30:17  #18 0.421 -- Detecting C compiler ABI info - done
03:30:17  #18 0.442 -- Check for working C compiler: /usr/bin/cc - skipped
03:30:17  #18 0.443 -- Detecting C compile features
03:30:17  #18 0.444 -- Detecting C compile features - done
03:30:17  #18 0.449 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so  
03:30:17  #18 0.502 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0")  
03:30:17  #18 0.505 -- Found LIBYAML: /usr/lib/libyaml.so  
03:30:17  #18 0.509 -- Found LIBUUID: /usr/lib/libuuid.so  
03:30:17  #18 0.512 -- Found LIBCBOR: /usr/lib/libcbor.so  
03:30:17  #18 0.515 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so  
03:30:17  #18 0.518 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so  
03:30:17  #18 0.518 -- /opt/iotech/iot/1.6/include
03:30:17  #18 0.518 -- C SDK 0.0.0 for Linux
03:30:17  #18 0.521 -- Performing Test CSDK_HAVE_ATOMIC
03:30:17  #18 0.625 -- Performing Test CSDK_HAVE_ATOMIC - Success
03:30:17  #18 0.679 -- Found Curses: /usr/lib/libcurses.so  
03:30:17  #18 0.705 -- Configuring done (0.5s)
03:30:17  #18 0.740 -- Generating done (0.0s)
03:30:17  #18 0.743 -- Build files have been written to: /tmp/sdk/build/release
03:30:17  #18 0.748 + make all package
03:30:17  #18 0.748 + tee release.log
03:30:17  #18 0.791 [  1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o
03:30:17  #18 0.945 [  3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o
03:30:17  #18 1.115 [  5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o
03:30:17  #18 1.275 [  7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o
03:30:17  #18 1.392 [  9%] Building C object c/CMakeFiles/csdk.dir/command.c.o
03:30:17  #18 1.437 /tmp/sdk/src/c/command.c: In function 'devsdk_devicecorecommand_populate':
03:30:17  #18 1.437 /tmp/sdk/src/c/command.c:218:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
03:30:17  #18 1.437   218 |   iot_data_t* cc_src_vector=iot_data_string_map_get_vector(map,"coreCommands");
03:30:17  #18 1.437       |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
03:30:17  #18 1.536 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o
03:30:17  #18 1.875 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o
03:30:17  #18 1.925 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o
03:30:17  #18 2.087 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o
03:30:17  #18 2.438 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o
03:30:17  #18 2.538 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o
03:30:17  #18 2.678 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o
03:30:17  #18 2.812 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o
03:30:18  #18 2.913 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o
03:30:18  #18 3.077 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o
03:30:18  #18 3.140 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o
03:30:18  #18 3.496 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o
03:30:18  #18 3.554 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o
03:30:18  #18 3.822 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o
03:30:19  #18 3.946 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o
03:30:19  #18 4.199 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o
03:30:19  #18 4.289 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o
03:30:20  #18 5.382 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o
03:30:20  #18 5.495 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o
03:30:20  #18 5.566 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o
03:30:20  #18 5.660 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o
03:30:20  #18 5.719 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o
03:30:21  #18 5.953 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o
03:30:21  #18 6.318 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o
03:30:21  #18 6.400 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o
03:30:21  #18 6.525 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o
03:30:21  #18 6.623 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o
03:30:22  #18 7.134 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o
03:30:22  #18 7.255 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o
03:30:22  #18 7.314 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o
03:30:22  #18 7.432 [ 69%] Linking C shared library libcsdk.so
03:30:22  #18 7.480 [ 69%] Built target csdk
03:30:22  #18 7.495 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o
03:30:22  #18 7.632 [ 73%] Linking C executable template
03:30:22  #18 7.661 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:22  #18 7.715 [ 73%] Built target template
03:30:22  #18 7.734 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o
03:30:22  #18 7.831 [ 76%] Linking C executable device-counter
03:30:22  #18 7.857 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:23  #18 7.905 [ 76%] Built target device-counter
03:30:23  #18 7.925 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o
03:30:23  #18 8.015 [ 80%] Linking C executable device-random
03:30:23  #18 8.038 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:23  #18 8.078 [ 80%] Built target device-random
03:30:23  #18 8.096 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o
03:30:23  #18 8.179 [ 84%] Linking C executable device-gyro
03:30:23  #18 8.204 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:23  #18 8.256 [ 84%] Built target device-gyro
03:30:23  #18 8.271 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o
03:30:23  #18 8.373 [ 88%] Linking C executable device-bitfields
03:30:23  #18 8.398 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:23  #18 8.454 [ 88%] Built target device-bitfields
03:30:23  #18 8.472 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o
03:30:23  #18 8.660 [ 92%] Linking C executable template-discovery
03:30:24  #18 8.686 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:24  #18 8.737 [ 92%] Built target template-discovery
03:30:24  #18 8.759 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o
03:30:24  #18 8.878 [ 96%] Linking C executable device-file
03:30:24  #18 8.904 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:24  #18 8.958 [ 96%] Built target device-file
03:30:24  #18 8.981 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o
03:30:24  #18 9.086 [100%] Linking C executable device-terminal
03:30:24  #18 9.117 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:24  #18 9.161 [100%] Built target device-terminal
03:30:24  #18 9.180 Run CPack packaging tool...
03:30:24  #18 9.196 CPack: Create package using TGZ
03:30:24  #18 9.196 CPack: Install projects
03:30:24  #18 9.197 CPack: - Run preinstall target for: Csdk
03:30:24  #18 9.457 CPack: - Install project: Csdk []
03:30:24  #18 9.465 CPack: Create package
03:30:24  #18 9.490 CPack: - package: /tmp/sdk/build/release/csdk-0.0.0.tar.gz generated.
03:30:24  #18 9.492 + '[' false '=' true ]
03:30:24  #18 9.492 + '[' false '=' true ]
03:30:24  #18 9.492 + mkdir -p /tmp/sdk/build/debug
03:30:24  #18 9.493 + cd /tmp/sdk/build/debug
03:30:24  #18 9.494 + cmake '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' '-DCMAKE_BUILD_TYPE=Debug' /tmp/sdk/src
03:30:24  #18 9.576 -- The C compiler identification is GNU 12.2.1
03:30:24  #18 9.592 -- Detecting C compiler ABI info
03:30:24  #18 9.692 -- Detecting C compiler ABI info - done
03:30:25  #18 9.713 -- Check for working C compiler: /usr/bin/cc - skipped
03:30:25  #18 9.714 -- Detecting C compile features
03:30:25  #18 9.714 -- Detecting C compile features - done
03:30:25  #18 9.718 -- Found LIBMICROHTTP: /usr/lib/libmicrohttpd.so  
03:30:25  #18 9.777 -- Found CURL: /usr/lib/libcurl.so (found version "8.4.0")  
03:30:25  #18 9.781 -- Found LIBYAML: /usr/lib/libyaml.so  
03:30:25  #18 9.784 -- Found LIBUUID: /usr/lib/libuuid.so  
03:30:25  #18 9.787 -- Found LIBCBOR: /usr/lib/libcbor.so  
03:30:25  #18 9.790 -- Found LIBPAHO: /usr/lib/libpaho-mqtt3as.so  
03:30:25  #18 9.793 -- Found IOT: /opt/iotech/iot/1.6/lib/libiot.so  
03:30:25  #18 9.793 -- /opt/iotech/iot/1.6/include
03:30:25  #18 9.793 -- C SDK 0.0.0 for Linux
03:30:25  #18 9.796 -- Performing Test CSDK_HAVE_ATOMIC
03:30:25  #18 9.886 -- Performing Test CSDK_HAVE_ATOMIC - Success
03:30:25  #18 9.930 -- Found Curses: /usr/lib/libcurses.so  
03:30:25  #18 9.950 -- Configuring done (0.4s)
03:30:25  #18 9.983 -- Generating done (0.0s)
03:30:25  #18 9.986 -- Build files have been written to: /tmp/sdk/build/debug
03:30:25  #18 9.990 + make
03:30:25  #18 9.990 + tee debug.log
03:30:25  #18 10.04 [  1%] Building C object c/CMakeFiles/csdk.dir/autoevent.c.o
03:30:25  #18 10.12 [  3%] Building C object c/CMakeFiles/csdk.dir/bus-mqtt.c.o
03:30:25  #18 10.21 [  5%] Building C object c/CMakeFiles/csdk.dir/bus.c.o
03:30:25  #18 10.29 [  7%] Building C object c/CMakeFiles/csdk.dir/callback3.c.o
03:30:25  #18 10.36 [  9%] Building C object c/CMakeFiles/csdk.dir/command.c.o
03:30:25  #18 10.41 /tmp/sdk/src/c/command.c: In function 'devsdk_devicecorecommand_populate':
03:30:25  #18 10.41 /tmp/sdk/src/c/command.c:218:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
03:30:25  #18 10.41   218 |   iot_data_t* cc_src_vector=iot_data_string_map_get_vector(map,"coreCommands");
03:30:25  #18 10.41       |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
03:30:25  #18 10.47 [ 11%] Building C object c/CMakeFiles/csdk.dir/config.c.o
03:30:25  #18 10.60 [ 13%] Building C object c/CMakeFiles/csdk.dir/correlation.c.o
03:30:25  #18 10.64 [ 15%] Building C object c/CMakeFiles/csdk.dir/data.c.o
03:30:25  #18 10.73 [ 17%] Building C object c/CMakeFiles/csdk.dir/device.c.o
03:30:26  #18 10.86 [ 19%] Building C object c/CMakeFiles/csdk.dir/devman.c.o
03:30:26  #18 10.93 [ 21%] Building C object c/CMakeFiles/csdk.dir/devmap.c.o
03:30:26  #18 11.02 [ 23%] Building C object c/CMakeFiles/csdk.dir/devsdk-base.c.o
03:30:26  #18 11.10 [ 25%] Building C object c/CMakeFiles/csdk.dir/discovery.c.o
03:30:26  #18 11.17 [ 26%] Building C object c/CMakeFiles/csdk.dir/dto-read.c.o
03:30:26  #18 11.26 [ 28%] Building C object c/CMakeFiles/csdk.dir/edgex-logging.c.o
03:30:26  #18 11.32 [ 30%] Building C object c/CMakeFiles/csdk.dir/edgex-rest.c.o
03:30:26  #18 11.46 [ 32%] Building C object c/CMakeFiles/csdk.dir/filesys.c.o
03:30:26  #18 11.51 [ 34%] Building C object c/CMakeFiles/csdk.dir/keeper.c.o
03:30:26  #18 11.63 [ 36%] Building C object c/CMakeFiles/csdk.dir/map.c.o
03:30:26  #18 11.68 [ 38%] Building C object c/CMakeFiles/csdk.dir/metadata.c.o
03:30:26  #18 11.81 [ 40%] Building C object c/CMakeFiles/csdk.dir/opstate.c.o
03:30:27  #18 11.87 [ 42%] Building C object c/CMakeFiles/csdk.dir/parson.c.o
03:30:27  #18 12.08 [ 44%] Building C object c/CMakeFiles/csdk.dir/profiles.c.o
03:30:27  #18 12.16 [ 46%] Building C object c/CMakeFiles/csdk.dir/registry.c.o
03:30:27  #18 12.22 [ 48%] Building C object c/CMakeFiles/csdk.dir/reqdata.c.o
03:30:27  #18 12.29 [ 50%] Building C object c/CMakeFiles/csdk.dir/request_auth.c.o
03:30:27  #18 12.34 [ 51%] Building C object c/CMakeFiles/csdk.dir/rest-server.c.o
03:30:27  #18 12.45 [ 53%] Building C object c/CMakeFiles/csdk.dir/rest.c.o
03:30:27  #18 12.69 [ 55%] Building C object c/CMakeFiles/csdk.dir/secrets-insecure.c.o
03:30:27  #18 12.76 [ 57%] Building C object c/CMakeFiles/csdk.dir/secrets-vault.c.o
03:30:27  #18 12.83 [ 59%] Building C object c/CMakeFiles/csdk.dir/secrets.c.o
03:30:28  #18 12.90 [ 61%] Building C object c/CMakeFiles/csdk.dir/service.c.o
03:30:28  #18 13.07 [ 63%] Building C object c/CMakeFiles/csdk.dir/transform.c.o
03:30:28  #18 13.15 [ 65%] Building C object c/CMakeFiles/csdk.dir/validate.c.o
03:30:28  #18 13.21 [ 67%] Building C object c/CMakeFiles/csdk.dir/watchers.c.o
03:30:28  #18 13.28 [ 69%] Linking C shared library libcsdk.so
03:30:28  #18 13.35 [ 69%] Built target csdk
03:30:28  #18 13.37 [ 71%] Building C object c/examples/CMakeFiles/template.dir/template.c.o
03:30:28  #18 13.44 [ 73%] Linking C executable template
03:30:28  #18 13.47 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:28  #18 13.52 [ 73%] Built target template
03:30:28  #18 13.54 [ 75%] Building C object c/examples/counters/CMakeFiles/device-counter.dir/device-counter.c.o
03:30:28  #18 13.60 [ 76%] Linking C executable device-counter
03:30:28  #18 13.63 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:28  #18 13.67 [ 76%] Built target device-counter
03:30:28  #18 13.69 [ 78%] Building C object c/examples/random/CMakeFiles/device-random.dir/device-random.c.o
03:30:28  #18 13.75 [ 80%] Linking C executable device-random
03:30:29  #18 13.78 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:29  #18 13.82 [ 80%] Built target device-random
03:30:29  #18 13.84 [ 82%] Building C object c/examples/gyro/CMakeFiles/device-gyro.dir/device-gyro.c.o
03:30:29  #18 13.93 [ 84%] Linking C executable device-gyro
03:30:29  #18 13.96 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:29  #18 14.01 [ 84%] Built target device-gyro
03:30:29  #18 14.03 [ 86%] Building C object c/examples/bitfields/CMakeFiles/device-bitfields.dir/device-bitfields.c.o
03:30:29  #18 14.09 [ 88%] Linking C executable device-bitfields
03:30:29  #18 14.12 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:29  #18 14.16 [ 88%] Built target device-bitfields
03:30:29  #18 14.19 [ 90%] Building C object c/examples/discovery/CMakeFiles/template-discovery.dir/template.c.o
03:30:29  #18 14.27 [ 92%] Linking C executable template-discovery
03:30:29  #18 14.29 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:29  #18 14.34 [ 92%] Built target template-discovery
03:30:29  #18 14.35 [ 94%] Building C object c/examples/file/CMakeFiles/device-file.dir/device-file.c.o
03:30:29  #18 14.43 [ 96%] Linking C executable device-file
03:30:29  #18 14.46 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:29  #18 14.51 [ 96%] Built target device-file
03:30:29  #18 14.53 [ 98%] Building C object c/examples/terminal/CMakeFiles/device-terminal.dir/device-terminal.c.o
03:30:29  #18 14.61 [100%] Linking C executable device-terminal
03:30:29  #18 14.64 /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: warning: libcbor.so.0.12, needed by /opt/iotech/iot/1.6/lib/libiot.so, not found (try using -rpath or -rpath-link)
03:30:29  #18 14.68 [100%] Built target device-terminal
03:30:29  #18 14.70 make: Entering directory '/tmp/sdk/build/release'
03:30:29  #18 14.75 [ 69%] Built target csdk
03:30:29  #18 14.77 [ 73%] Built target template
03:30:29  #18 14.79 [ 76%] Built target device-counter
03:30:29  #18 14.81 [ 80%] Built target device-random
03:30:29  #18 14.83 [ 84%] Built target device-gyro
03:30:29  #18 14.85 [ 88%] Built target device-bitfields
03:30:29  #18 14.87 [ 92%] Built target template-discovery
03:30:29  #18 14.89 [ 96%] Built target device-file
03:30:29  #18 14.92 [100%] Built target device-terminal
03:30:29  #18 14.94 Install the project...
03:30:29  #18 14.95 -- Install configuration: "Release"
03:30:29  #18 14.95 -- Installing: /usr/local/lib/libcsdk.so
03:30:29  #18 14.95 -- Set runtime path of "/usr/local/lib/libcsdk.so" to ""
03:30:29  #18 14.95 -- Installing: /usr/local/include
03:30:29  #18 14.95 -- Installing: /usr/local/include/devsdk
03:30:29  #18 14.95 -- Installing: /usr/local/include/devsdk/devsdk.h
03:30:29  #18 14.95 -- Installing: /usr/local/include/devsdk/devsdk-base.h
03:30:29  #18 14.95 -- Installing: /usr/local/include/edgex
03:30:29  #18 14.95 -- Installing: /usr/local/include/edgex/edgex.h
03:30:29  #18 14.95 -- Installing: /usr/local/include/edgex/devices.h
03:30:29  #18 14.95 -- Installing: /usr/local/include/edgex/profiles.h
03:30:29  #18 14.95 -- Installing: /usr/local/include/edgex/edgex-base.h
03:30:29  #18 14.95 -- Installing: /usr/local/include/edgex/rest-server.h
03:30:29  #18 14.95 -- Installing: /usr/local/include/edgex/csdk-defs.h
03:30:29  #18 14.95 -- Installing: /usr/local/share/device-sdk-c/LICENSE
03:30:29  #18 14.95 -- Installing: /usr/local/share/device-sdk-c/Attribution.txt
03:30:29  #18 14.95 make: Leaving directory '/tmp/sdk/build/release'
03:30:30  #18 DONE 15.0s
03:30:30  
03:30:30  #19 [stage-1 6/8] COPY --from=builder /usr/local/include/edgex /usr/local/include/edgex
03:30:30  #19 DONE 0.0s
03:30:30  
03:30:30  #20 [stage-1 7/8] COPY --from=builder /usr/local/lib /usr/local/lib
03:30:30  #20 DONE 0.0s
03:30:30  
03:30:30  #21 [stage-1 8/8] COPY --from=builder /usr/local/share/device-sdk-c /usr/local/share/device-sdk-c
03:30:30  #21 DONE 0.0s
03:30:30  
03:30:30  #22 exporting to image
03:30:30  #22 exporting layers
03:30:30  #22 exporting layers 0.3s done
03:30:30  #22 writing image sha256:851475af2d77a9e970a1a732634d1116c19068bcc52399605ec85f75766079e4 done
03:30:30  #22 naming to docker.io/library/ci-base-image-x86_64 done
03:30:30  #22 DONE 0.3s
03:30:30  
03:30:30   [33m1 warning found (use docker --debug to expand):
03:30:30  [0m - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 18)
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // script
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Test)
  [Pipeline] script
  [Pipeline] {
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:30:31  + docker inspect -f . ci-base-image-x86_64
03:30:31  .
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
03:30:31  prd-ubuntu20.04-docker-8c-8g-5747 does not seem to be running inside a container
03:30:31  $ 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
03:30:31  $ docker top 29c035f61e684f11fc8274823c07a781d3180415a808373b35815c6ca0f770a4 -eo pid,comm
  [Pipeline] {
  [Pipeline] sh
03:30:31  + make test
03:30:31  echo "make test"
03:30:31  make test
  [Pipeline] }
03:30:31  $ docker stop --time=1 29c035f61e684f11fc8274823c07a781d3180415a808373b35815c6ca0f770a4
03:30:33  $ docker rm -f --volumes 29c035f61e684f11fc8274823c07a781d3180415a808373b35815c6ca0f770a4
  [Pipeline] // withDockerContainer
  [Pipeline] }
  [Pipeline] // script
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Build)
  [Pipeline] script
  [Pipeline] {
  [Pipeline] sh
03:30:33  + sudo chown -R jenkins:jenkins .
  [Pipeline] sh
03:30:34  + ls -al .
03:30:34  total 220
03:30:34  drwxrwxr-x 9 jenkins jenkins   4096 Apr 21 03:30 .
03:30:34  drwxrwxr-x 4 jenkins jenkins   4096 Apr 21 03:29 ..
03:30:34  drwxrwxr-x 8 jenkins jenkins   4096 Apr 21 03:30 .git
03:30:34  drwxrwxr-x 3 jenkins jenkins   4096 Apr 21 03:29 .github
03:30:34  -rw-rw-r-- 1 jenkins jenkins    176 Apr 21 03:29 .gitignore
03:30:34  drwxr-xr-x 3 jenkins jenkins   4096 Apr 21 03:30 .semver
03:30:34  -rw-rw-r-- 1 jenkins jenkins   2908 Apr 21 03:29 Attribution.txt
03:30:34  -rw-rw-r-- 1 jenkins jenkins  17404 Apr 21 03:29 CHANGELOG.md
03:30:34  -rw-rw-r-- 1 jenkins jenkins 108574 Apr 21 03:29 Doxyfile
03:30:34  -rw-rw-r-- 1 jenkins jenkins    677 Apr 21 03:29 GOVERNANCE.md
03:30:34  -rw-rw-r-- 1 jenkins jenkins    784 Apr 21 03:29 Jenkinsfile
03:30:34  -rw-rw-r-- 1 jenkins jenkins  10174 Apr 21 03:29 LICENSE
03:30:34  -rw-rw-r-- 1 jenkins jenkins    444 Apr 21 03:29 Makefile
03:30:34  -rw-rw-r-- 1 jenkins jenkins    618 Apr 21 03:29 OWNERS.md
03:30:34  -rw-rw-r-- 1 jenkins jenkins   1651 Apr 21 03:29 README.IOT.md
03:30:34  -rw-rw-r-- 1 jenkins jenkins   4173 Apr 21 03:29 README.md
03:30:34  -rw-rw-r-- 1 jenkins jenkins   1245 Apr 21 03:29 README.v3.md
03:30:34  -rw-rw-r-- 1 jenkins jenkins     12 Apr 21 03:30 VERSION
03:30:34  drwxrwxr-x 2 jenkins jenkins   4096 Apr 21 03:29 docs
03:30:34  drwxrwxr-x 4 jenkins jenkins   4096 Apr 21 03:29 include
03:30:34  drwxrwxr-x 2 jenkins jenkins   4096 Apr 21 03:29 scripts
03:30:34  drwxrwxr-x 4 jenkins jenkins   4096 Apr 21 03:29 src
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:30:34  + 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=3f0e136bfc0d53b2025a26d40b683f28e771cf3e --label arch=amd64 --label version=4.1.0-dev.18 .
03:30:34  #0 building with "default" instance using docker driver
03:30:34  
03:30:34  #1 [internal] load build definition from Dockerfile.alpine
03:30:34  #1 transferring dockerfile: 1.52kB done
03:30:34  #1 DONE 0.0s
03:30:34  
03:30:34  #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest
03:30:34  #2 DONE 0.0s
03:30:34  
03:30:34  #3 [internal] load .dockerignore
03:30:34  #3 transferring context: 2B done
03:30:34  #3 DONE 0.0s
03:30:34  
03:30:34  #4 [internal] load build context
03:30:34  #4 transferring context: 8.60kB 0.0s done
03:30:34  #4 DONE 0.0s
03:30:34  
03:30:34  #5 [ 1/11] FROM docker.io/library/ci-base-image-x86_64:latest
03:30:34  #5 DONE 0.1s
03:30:34  
03:30:34  #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
03:30:34  #6 0.200 Connecting to iotech.jfrog.io (34.247.22.236:443)
03:30:35  #6 0.613 saving to '/etc/apk/keys/alpine.dev.rsa.pub'
03:30:35  #6 0.613 alpine.dev.rsa.pub   100% |********************************|   451  0:00:00 ETA
03:30:35  #6 0.613 '/etc/apk/keys/alpine.dev.rsa.pub' saved
03:30:35  #6 DONE 0.7s
03:30:35  
03:30:35  #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main' >> /etc/apk/repositories
03:30:35  #7 DONE 0.3s
03:30:35  
03:30:35  #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 iotech-iot-1.6-dev dumb-init && mkdir -p /edgex-c-sdk/build
03:30:35  #8 0.266 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
03:30:35  #8 0.453 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
03:30:36  #8 0.666 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz
03:30:36  #8 1.159 WARNING: This apk-tools is OLD! Some packages might not function properly.
03:30:36  #8 1.170 (1/11) Installing iotech-iot-1.6-dev (1.6.3-r0)
03:30:36  #8 1.360 (2/11) Installing libcbor-dev (0.10.2-r1)
03:30:37  #8 1.367 (3/11) Installing libmenuw (6.4_p20230506-r0)
03:30:37  #8 1.371 (4/11) Installing libpanelw (6.4_p20230506-r0)
03:30:37  #8 1.375 (5/11) Installing libncurses++ (6.4_p20230506-r0)
03:30:37  #8 1.378 (6/11) Installing ncurses-dev (6.4_p20230506-r0)
03:30:37  #8 1.391 (7/11) Installing libblkid (2.38.1-r8)
03:30:37  #8 1.398 (8/11) Installing libfdisk (2.38.1-r8)
03:30:37  #8 1.404 (9/11) Installing libmount (2.38.1-r8)
03:30:37  #8 1.412 (10/11) Installing libsmartcols (2.38.1-r8)
03:30:37  #8 1.418 (11/11) Installing util-linux-dev (2.38.1-r8)
03:30:37  #8 1.443 Executing busybox-1.36.1-r7.trigger
03:30:37  #8 1.453 OK: 336 MiB in 102 packages
03:30:37  #8 DONE 1.6s
03:30:37  
03:30:37  #9 [ 5/11] RUN apk --no-cache upgrade
03:30:37  #9 0.296 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
03:30:37  #9 0.384 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
03:30:37  #9 0.494 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.22/main/x86_64/APKINDEX.tar.gz
03:30:38  #9 0.974 WARNING: This apk-tools is OLD! Some packages might not function properly.
03:30:38  #9 0.984 OK: 336 MiB in 102 packages
03:30:38  #9 DONE 1.1s
03:30:38  
03:30:38  #10 [ 6/11] COPY src /edgex-c-sdk/src/
03:30:38  #10 DONE 0.0s
03:30:38  
03:30:38  #11 [ 7/11] COPY include /edgex-c-sdk/include/
03:30:38  #11 DONE 0.0s
03:30:38  
03:30:38  #12 [ 8/11] COPY scripts /edgex-c-sdk/scripts
03:30:38  #12 DONE 0.0s
03:30:38  
03:30:38  #13 [ 9/11] COPY LICENSE /edgex-c-sdk/
03:30:38  #13 DONE 0.0s
03:30:38  
03:30:38  #14 [10/11] COPY Attribution.txt /edgex-c-sdk/
03:30:38  #14 DONE 0.0s
03:30:38  
03:30:38  #15 [11/11] WORKDIR /edgex-c-sdk
03:30:38  #15 DONE 0.0s
03:30:38  
03:30:38  #16 exporting to image
03:30:38  #16 exporting layers 0.1s done
03:30:38  #16 writing image sha256:c15262968effbac28c1a5c2e34c02b88165d5f2e5800f7b69856c7330d101bf4 done
03:30:38  #16 naming to docker.io/library/device-sdk done
03:30:38  #16 DONE 0.1s
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // script
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Docker Push)
  Stage "Docker Push" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Snap)
  Stage "Snap" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  Post stage
  [Pipeline] script
  [Pipeline] {
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:30:39  + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
03:30:39  
03:30:39  Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:30:39  + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
03:30:39  latest: Pulling from edgex-lftools-log-publisher
03:30:39  5eb5b503b376: Pulling fs layer
03:30:39  5c69ac0246d0: Pulling fs layer
03:30:39  ec43610c2a17: Pulling fs layer
03:30:39  3a2ae6a8a46f: Pulling fs layer
03:30:39  33b1e0a273af: Pulling fs layer
03:30:39  5d3b04190fa2: Pulling fs layer
03:30:39  2f39f015ded8: Pulling fs layer
03:30:39  33b1e0a273af: Waiting
03:30:39  3a2ae6a8a46f: Waiting
03:30:39  5d3b04190fa2: Waiting
03:30:39  2f39f015ded8: Waiting
03:30:39  5c69ac0246d0: Verifying Checksum
03:30:39  5c69ac0246d0: Download complete
03:30:39  3a2ae6a8a46f: Download complete
03:30:39  ec43610c2a17: Verifying Checksum
03:30:39  ec43610c2a17: Download complete
03:30:39  33b1e0a273af: Verifying Checksum
03:30:39  33b1e0a273af: Download complete
03:30:39  5d3b04190fa2: Download complete
03:30:39  5eb5b503b376: Verifying Checksum
03:30:39  5eb5b503b376: Download complete
03:30:40  2f39f015ded8: Download complete
03:30:41  5eb5b503b376: Pull complete
03:30:41  5c69ac0246d0: Pull complete
03:30:42  ec43610c2a17: Pull complete
03:30:42  3a2ae6a8a46f: Pull complete
03:30:42  33b1e0a273af: Pull complete
03:30:42  5d3b04190fa2: Pull complete
03:30:47  2f39f015ded8: Pull complete
03:30:47  Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592
03:30:47  Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
03:30:47  nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
03:30:47  prd-ubuntu20.04-docker-8c-8g-5747 does not seem to be running inside a container
03:30:47  $ 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
03:30:48  $ docker top 025cecf6c60a548310006ca0f5329938e6cde5854ba4cb08c693356dfe6b9571 -eo pid,comm
  [Pipeline] {
  [Pipeline] libraryResource
  [Pipeline] sh
03:30:49  ---> job-cost.sh
03:30:49  lf-activate-venv: SKIPPING
03:30:49  INFO: No Stack...
03:30:49  INFO: Retrieving Pricing Info for: v3-standard-8
03:30:49  INFO: Archiving Costs
  [Pipeline] sh
03:30:50  + cat /w/workspace/edgexfoundry_device-sdk-c_main/archives/cost.csv
03:30:50  + cut -d, -f6
  [Pipeline] lock
03:30:50  Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-c-main-118-stack-cost]
03:30:50  Resource [jenkins-edgexfoundry-device-sdk-c-main-118-stack-cost] did not exist. Created.
03:30:50  Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-c-main-118-stack-cost]
  [Pipeline] {
  [Pipeline] unstash
  [Pipeline] sh
03:30:50  + echo total: 0.2199999988079071
  [Pipeline] stash
03:30:50  Stashed 1 file(s)
  [Pipeline] }
03:30:50  Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-c-main-118-stack-cost]
  [Pipeline] // lock
  [Pipeline] }
03:30:50  $ docker stop --time=1 025cecf6c60a548310006ca0f5329938e6cde5854ba4cb08c693356dfe6b9571
03:30:51  $ docker rm -f --volumes 025cecf6c60a548310006ca0f5329938e6cde5854ba4cb08c693356dfe6b9571
  [Pipeline] // withDockerContainer
  [Pipeline] }
  [Pipeline] // script
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] // parallel
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Semver)
  [Pipeline] stage
  [Pipeline] { (Tag)
  [Pipeline] unstash
  [Pipeline] sh
03:30:52  + grep github.com ecdsa /etc/ssh/ssh_known_hosts
03:30:52  github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:30:52  + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
03:30:52  .
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
03:30:52  prd-ubuntu20.04-docker-8c-8g-5747 does not seem to be running inside a container
03:30:52  $ 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
03:30:52  $ docker top 29ed620056e686a907fe317bf24da49fc49abe071de09107f56bd028fb0d2dcd -eo pid,comm
03:30:52  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).
03:30:52  Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
  [Pipeline] {
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sshagent
03:30:52  [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub)
03:30:52  [ssh-agent] Looking for ssh-agent implementation...
03:30:53  [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
03:30:53  $ docker exec 29ed620056e686a907fe317bf24da49fc49abe071de09107f56bd028fb0d2dcd ssh-agent
03:30:53  SSH_AUTH_SOCK=/tmp/ssh-zXcwdX5yAV9Y/agent.32
03:30:53  SSH_AGENT_PID=38
03:30:53  Running ssh-add (command line suppressed)
03:30:53  Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5777237454932180354.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_5777237454932180354.key)
03:30:53  [ssh-agent] Started.
  [Pipeline] {
  [Pipeline] sh
03:30:53  + git semver tag
03:30:53  2026-04-21 03:30:53,863 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory')
03:30:53  2026-04-21 03:30:53,866 [run_tag] DEBUG tag force:False
03:30:53  2026-04-21 03:30:53,866 [check_head_tag] DEBUG check head tag
03:30:53  2026-04-21 03:30:53,867 [execute] INFO git cat-file --batch-check
03:30:53  2026-04-21 03:30:53,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, stdin=<valid stream>, shell=False, universal_newlines=False)
03:30:53  2026-04-21 03:30:53,870 [execute] INFO git cat-file --batch
03:30:53  2026-04-21 03:30:53,871 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, stdin=<valid stream>, shell=False, universal_newlines=False)
03:30:53  2026-04-21 03:30:53,884 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main
03:30:53  2026-04-21 03:30:53,884 [execute] INFO git tag -a v4.1.0-dev.18 -m v4.1.0-dev.18
03:30:53  2026-04-21 03:30:53,885 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.1.0-dev.18', '-m', 'v4.1.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, stdin=None, shell=False, universal_newlines=False)
03:30:53  2026-04-21 03:30:53,887 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main
03:30:53  4.1.0-dev.18
  [Pipeline] }
03:30:54  $ docker exec --env ******** --env ******** 29ed620056e686a907fe317bf24da49fc49abe071de09107f56bd028fb0d2dcd ssh-agent -k
03:30:54  unset SSH_AUTH_SOCK;
03:30:54  unset SSH_AGENT_PID;
03:30:54  echo Agent pid 38 killed;
03:30:54  [ssh-agent] Stopped.
  [Pipeline] // sshagent
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] sh
03:30:54  + git semver
  [Pipeline] }
03:30:55  $ docker stop --time=1 29ed620056e686a907fe317bf24da49fc49abe071de09107f56bd028fb0d2dcd
03:30:56  $ docker rm -f --volumes 29ed620056e686a907fe317bf24da49fc49abe071de09107f56bd028fb0d2dcd
  [Pipeline] // withDockerContainer
  [Pipeline] stage
  [Pipeline] { (LF Tools Sigul)
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:30:56  + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7
03:30:56  
03:30:56  Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:30:57  + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7
03:30:57  0.23.1-centos7: Pulling from edgex-lftools
03:30:57  ab5ef0e58194: Pulling fs layer
03:30:57  9712f1f96733: Pulling fs layer
03:30:57  63f879dbbcfc: Pulling fs layer
03:30:57  0d9ebad4ef96: Pulling fs layer
03:30:57  e9a5061849ea: Pulling fs layer
03:30:57  d747dcd14b5f: Pulling fs layer
03:30:57  2de7ff778b66: Pulling fs layer
03:30:57  e9a5061849ea: Waiting
03:30:57  d747dcd14b5f: Waiting
03:30:57  0d9ebad4ef96: Waiting
03:30:57  2de7ff778b66: Waiting
03:30:57  9712f1f96733: Verifying Checksum
03:30:57  9712f1f96733: Download complete
03:30:57  63f879dbbcfc: Verifying Checksum
03:30:57  63f879dbbcfc: Download complete
03:30:57  e9a5061849ea: Verifying Checksum
03:30:57  e9a5061849ea: Download complete
03:30:57  0d9ebad4ef96: Verifying Checksum
03:30:57  0d9ebad4ef96: Download complete
03:30:57  d747dcd14b5f: Verifying Checksum
03:30:57  d747dcd14b5f: Download complete
03:30:57  ab5ef0e58194: Download complete
03:30:57  2de7ff778b66: Verifying Checksum
03:30:57  2de7ff778b66: Download complete
03:31:01  ab5ef0e58194: Pull complete
03:31:01  9712f1f96733: Pull complete
03:31:02  63f879dbbcfc: Pull complete
03:31:07  0d9ebad4ef96: Pull complete
03:31:08  e9a5061849ea: Pull complete
03:31:08  d747dcd14b5f: Pull complete
03:31:09  2de7ff778b66: Pull complete
03:31:09  Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52
03:31:09  Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7
03:31:09  nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
03:31:09  prd-ubuntu20.04-docker-8c-8g-5747 does not seem to be running inside a container
03:31:09  $ 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
03:31:11  $ docker top 485a599cf6c0a4e5aa9896caa07016647bfbdcc19d4b6fb2cb74b2c842628d27 -eo pid,comm
  [Pipeline] {
  [Pipeline] configFileProvider
03:31:11  provisioning config files...
03:31:11  copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config13532847405932820600tmp
03:31:11  copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config2215059919363871214tmp
03:31:11  copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config1707215789999003625tmp
  [Pipeline] {
  [Pipeline] echo
03:31:11  Running global-jjb/shell/sigul-configuration.sh
  [Pipeline] libraryResource
  [Pipeline] sh
03:31:11  ---> sigul-configuration.sh
03:31:11  gpg: directory `/root/.gnupg' created
03:31:11  gpg: new configuration file `/root/.gnupg/gpg.conf' created
03:31:11  gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
03:31:11  gpg: keyring `/root/.gnupg/secring.gpg' created
03:31:11  gpg: keyring `/root/.gnupg/pubring.gpg' created
03:31:11  gpg: CAST5 encrypted data
03:31:11  gpg: encrypted with 1 passphrase
03:31:11  gpg: WARNING: message was not integrity protected
  [Pipeline] sh
03:31:11  + mkdir /home/jenkins
03:31:11  + mkdir /home/jenkins/sigul
  [Pipeline] sh
03:31:12  + 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
03:31:12  Running global-jjb/shell/sigul-install.sh
  [Pipeline] libraryResource
  [Pipeline] sh
03:31:12  ---> sigul-install.sh
03:31:12  Sigul already installed; skipping installation.
  [Pipeline] sh
03:31:12  + git tag --list
03:31:12  0.7.0
03:31:12  0.7.1
03:31:12  1.0.0
03:31:12  v1.0.1
03:31:12  v1.0.2
03:31:12  v1.0.3
03:31:12  v1.1.0
03:31:12  v1.1.1
03:31:12  v1.2.0
03:31:12  v1.2.1
03:31:12  v1.2.2
03:31:12  v1.3.0
03:31:12  v1.3.1
03:31:12  v2.0.0
03:31:12  v2.1.0
03:31:12  v2.2.0
03:31:12  v2.3.0
03:31:12  v3.0
03:31:12  v3.0.0
03:31:12  v3.0.1
03:31:12  v3.0.2
03:31:12  v3.1
03:31:12  v3.1.0
03:31:12  v3.1.1
03:31:12  v4.0
03:31:12  v4.0.0
03:31:12  v4.1.0-dev.1
03:31:12  v4.1.0-dev.10
03:31:12  v4.1.0-dev.11
03:31:12  v4.1.0-dev.12
03:31:12  v4.1.0-dev.13
03:31:12  v4.1.0-dev.14
03:31:12  v4.1.0-dev.15
03:31:12  v4.1.0-dev.16
03:31:12  v4.1.0-dev.17
03:31:12  v4.1.0-dev.18
03:31:12  v4.1.0-dev.2
03:31:12  v4.1.0-dev.3
03:31:12  v4.1.0-dev.4
03:31:12  v4.1.0-dev.5
03:31:12  v4.1.0-dev.6
03:31:12  v4.1.0-dev.7
03:31:12  v4.1.0-dev.8
03:31:12  v4.1.0-dev.9
  [Pipeline] sh
03:31:13  + lftools sign git-tag v4.1.0-dev.18
03:31:13  Signing Git tag with Sigul...
03:31:13  Signing v4.1.0-dev.18
  [Pipeline] echo
03:31:14  Running global-jjb/shell/sigul-configuration-cleanup.sh
  [Pipeline] libraryResource
  [Pipeline] sh
03:31:14  ---> sigul-configuration-cleanup.sh
  [Pipeline] }
03:31:14  Deleting 3 temporary files
  [Pipeline] // configFileProvider
  [Pipeline] }
03:31:14  $ docker stop --time=1 485a599cf6c0a4e5aa9896caa07016647bfbdcc19d4b6fb2cb74b2c842628d27
03:31:15  $ docker rm -f --volumes 485a599cf6c0a4e5aa9896caa07016647bfbdcc19d4b6fb2cb74b2c842628d27
  [Pipeline] // withDockerContainer
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Bump Pre-Release Version)
  [Pipeline] sh
03:31:16  + grep github.com ecdsa /etc/ssh/ssh_known_hosts
03:31:16  github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:31:16  + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
03:31:16  .
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
03:31:16  prd-ubuntu20.04-docker-8c-8g-5747 does not seem to be running inside a container
03:31:16  $ 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
03:31:16  $ docker top d39780bf2e8355cb692677a42ea484d603eca761708d7e2dcf575c9315e4278c -eo pid,comm
03:31:16  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).
03:31:16  Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
  [Pipeline] {
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sshagent
03:31:16  [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub)
03:31:16  [ssh-agent] Looking for ssh-agent implementation...
03:31:17  [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
03:31:17  $ docker exec d39780bf2e8355cb692677a42ea484d603eca761708d7e2dcf575c9315e4278c ssh-agent
03:31:17  SSH_AUTH_SOCK=/tmp/ssh-J15G5KXOaPTL/agent.32
03:31:17  SSH_AGENT_PID=38
03:31:17  Running ssh-add (command line suppressed)
03:31:17  Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4017482860061071807.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_4017482860061071807.key)
03:31:17  [ssh-agent] Started.
  [Pipeline] {
  [Pipeline] sh
03:31:17  + git semver bump pre
03:31:18  2026-04-21 03:31:17,877 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory')
03:31:18  2026-04-21 03:31:17,882 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main
03:31:18  2026-04-21 03:31:17,882 [bump_version] DEBUG bumping version:4.1.0-dev.18 on axis:pre with prefix:dev
03:31:18  2026-04-21 03:31:17,882 [bump_version] DEBUG bumped version:4.1.0-dev.19
03:31:18  2026-04-21 03:31:17,882 [write_version] DEBUG write version:4.1.0-dev.19 to path:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main with force:True
03:31:18  2026-04-21 03:31:17,882 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main
03:31:18  2026-04-21 03:31:17,882 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_main/.semver/main
03:31:18  2026-04-21 03:31:17,885 [execute] INFO git cat-file --batch-check
03:31:18  2026-04-21 03:31:17,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, stdin=<valid stream>, shell=False, universal_newlines=False)
03:31:18  2026-04-21 03:31:17,888 [execute] INFO git cat-file --batch
03:31:18  2026-04-21 03:31:17,888 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, stdin=<valid stream>, shell=False, universal_newlines=False)
03:31:18  2026-04-21 03:31:17,892 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main
03:31:18  4.1.0-dev.19
  [Pipeline] }
03:31:18  $ docker exec --env ******** --env ******** d39780bf2e8355cb692677a42ea484d603eca761708d7e2dcf575c9315e4278c ssh-agent -k
03:31:18  unset SSH_AUTH_SOCK;
03:31:18  unset SSH_AGENT_PID;
03:31:18  echo Agent pid 38 killed;
03:31:18  [ssh-agent] Stopped.
  [Pipeline] // sshagent
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] sh
03:31:18  + git semver
  [Pipeline] }
03:31:19  $ docker stop --time=1 d39780bf2e8355cb692677a42ea484d603eca761708d7e2dcf575c9315e4278c
03:31:20  $ docker rm -f --volumes d39780bf2e8355cb692677a42ea484d603eca761708d7e2dcf575c9315e4278c
  [Pipeline] // withDockerContainer
  [Pipeline] sh
03:31:20  + grep github.com ecdsa /etc/ssh/ssh_known_hosts
03:31:20  github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:31:21  + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
03:31:21  .
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
03:31:21  prd-ubuntu20.04-docker-8c-8g-5747 does not seem to be running inside a container
03:31:21  $ 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
03:31:21  $ docker top 2f2dec22947f97b635c14b03d98163ebf0f47e4d670da7edc0ffbe12fdae96da -eo pid,comm
03:31:21  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).
03:31:21  Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
  [Pipeline] {
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sshagent
03:31:21  [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub)
03:31:21  [ssh-agent] Looking for ssh-agent implementation...
03:31:21  [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
03:31:21  $ docker exec 2f2dec22947f97b635c14b03d98163ebf0f47e4d670da7edc0ffbe12fdae96da ssh-agent
03:31:21  SSH_AUTH_SOCK=/tmp/ssh-YHOkFkjKPNkI/agent.32
03:31:21  SSH_AGENT_PID=38
03:31:21  Running ssh-add (command line suppressed)
03:31:21  Identity added: /w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15902812658936903630.key (/w/workspace/edgexfoundry_device-sdk-c_main@tmp/private_key_15902812658936903630.key)
03:31:21  [ssh-agent] Started.
  [Pipeline] {
  [Pipeline] sh
03:31:22  + git semver push
03:31:22  2026-04-21 03:31:22,550 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory')
03:31:22  2026-04-21 03:31:22,554 [run_push] DEBUG push
03:31:22  2026-04-21 03:31:22,555 [execute] INFO git cat-file --batch-check
03:31:22  2026-04-21 03:31:22,555 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, stdin=<valid stream>, shell=False, universal_newlines=False)
03:31:22  2026-04-21 03:31:22,557 [execute] INFO git rev-list 48b5d9fa0f868a927ec9b6a6ab87165cac734af2 --
03:31:22  2026-04-21 03:31:22,557 [execute] DEBUG Popen(['git', 'rev-list', '48b5d9fa0f868a927ec9b6a6ab87165cac734af2', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, stdin=None, shell=False, universal_newlines=False)
03:31:22  2026-04-21 03:31:22,565 [execute] INFO git fetch -v -- origin
03:31:22  2026-04-21 03:31:22,566 [execute] DEBUG Popen(['git', 'fetch', '-v', '--', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, stdin=None, shell=False, universal_newlines=True)
03:31:23  2026-04-21 03:31:23,087 [run_push] DEBUG no remote changes detected
03:31:23  2026-04-21 03:31:23,087 [execute] INFO git push origin semver
03:31:23  2026-04-21 03:31:23,087 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main/.semver, stdin=None, shell=False, universal_newlines=False)
03:31:24  2026-04-21 03:31:24,182 [run_push] DEBUG push all version tags
03:31:24  2026-04-21 03:31:24,182 [execute] INFO git push origin refs/tags/v*:refs/tags/v*
03:31:24  2026-04-21 03:31:24,182 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-c_main, stdin=None, shell=False, universal_newlines=False)
03:31:25  2026-04-21 03:31:25,179 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_main/.semver/main
03:31:25  4.1.0-dev.19
  [Pipeline] }
03:31:25  $ docker exec --env ******** --env ******** 2f2dec22947f97b635c14b03d98163ebf0f47e4d670da7edc0ffbe12fdae96da ssh-agent -k
03:31:25  unset SSH_AUTH_SOCK;
03:31:25  unset SSH_AGENT_PID;
03:31:25  echo Agent pid 38 killed;
03:31:25  [ssh-agent] Stopped.
  [Pipeline] // sshagent
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] sh
03:31:25  + git semver
  [Pipeline] }
03:31:26  $ docker stop --time=1 2f2dec22947f97b635c14b03d98163ebf0f47e4d670da7edc0ffbe12fdae96da
03:31:27  $ docker rm -f --volumes 2f2dec22947f97b635c14b03d98163ebf0f47e4d670da7edc0ffbe12fdae96da
  [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
03:31:27  + [ -d /w/workspace/edgexfoundry_device-sdk-c_main/archives ]
03:31:27  + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives
03:31:27  total 16
03:31:27  drwxr-xr-x  3 root    root    4096 Apr 21 03:30 .
03:31:27  drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 03:31 ..
03:31:27  drwxr-xr-x  2 root    root    4096 Apr 21 03:30 cost
03:31:27  -rw-r--r--  1 root    root      84 Apr 21 03:30 cost.csv
03:31:27  + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_main/archives
03:31:27  + ls -al /w/workspace/edgexfoundry_device-sdk-c_main/archives
03:31:27  total 16
03:31:27  drwxr-xr-x  3 jenkins jenkins 4096 Apr 21 03:30 .
03:31:27  drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 03:31 ..
03:31:27  drwxr-xr-x  2 jenkins jenkins 4096 Apr 21 03:30 cost
03:31:27  -rw-r--r--  1 jenkins jenkins   84 Apr 21 03:30 cost.csv
  [Pipeline] libraryResource
  [Pipeline] sh
03:31:28  ---> sysstat.sh
  [Pipeline] libraryResource
  [Pipeline] sh
03:31:29  ---> package-listing.sh
03:31:29  ++ facter osfamily
03:31:29  ++ tr '[:upper:]' '[:lower:]'
03:31:29  + OS_FAMILY=debian
03:31:29  + workspace=/w/workspace/edgexfoundry_device-sdk-c_main
03:31:29  + START_PACKAGES=/tmp/packages_start.txt
03:31:29  + END_PACKAGES=/tmp/packages_end.txt
03:31:29  + DIFF_PACKAGES=/tmp/packages_diff.txt
03:31:29  + PACKAGES=/tmp/packages_start.txt
03:31:29  + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']'
03:31:29  + PACKAGES=/tmp/packages_end.txt
03:31:29  + case "${OS_FAMILY}" in
03:31:29  + dpkg -l
03:31:29  + grep '^ii'
03:31:29  + '[' -f /tmp/packages_start.txt ']'
03:31:29  + '[' -f /tmp/packages_end.txt ']'
03:31:29  + diff /tmp/packages_start.txt /tmp/packages_end.txt
03:31:29  + '[' /w/workspace/edgexfoundry_device-sdk-c_main ']'
03:31:29  + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_main/archives/
03:31:29  + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_main/archives/
  [Pipeline] echo
03:31:29  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
03:31:29  + facter operatingsystem
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
03:31:30  + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
03:31:30  .
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
03:31:30  prd-ubuntu20.04-docker-8c-8g-5747 does not seem to be running inside a container
03:31:30  $ 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
03:31:30  $ docker top 941c7f94b157bb78ee4dcae5bbd26ba4c896ed042d985b523d0a14b6314d7528 -eo pid,comm
  [Pipeline] {
  [Pipeline] sh
03:31:30  + touch /tmp/pre-build-complete
  [Pipeline] sh
03:31:31  + mkdir -p /var/log/sysstat
  [Pipeline] sh
03:31:31  + ls /var/log/sa-host
03:31:31  ls: cannot access '/var/log/sa-host': No such file or directory
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] configFileProvider
03:31:31  provisioning config files...
03:31:31  copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_main@tmp/config3231829465840718705tmp
  [Pipeline] {
  [Pipeline] echo
03:31:31  Running shell/create-netrc.sh
  [Pipeline] libraryResource
  [Pipeline] sh
03:31:31  ---> create-netrc.sh
  [Pipeline] }
03:31:31  Deleting 1 temporary files
  [Pipeline] // configFileProvider
  [Pipeline] libraryResource
  [Pipeline] sh
03:31:32  ---> python-tools-install.sh
  [Pipeline] echo
03:31:32  Running shell/sudo-logs.sh
  [Pipeline] libraryResource
  [Pipeline] sh
03:31:32  ---> sudo-logs.sh
03:31:32  Archiving 'sudo' log..
  [Pipeline] unstash
  [Pipeline] echo
03:31:32  Running shell/job-cost.sh
  [Pipeline] libraryResource
  [Pipeline] sh
03:31:33  ---> job-cost.sh
03:31:33  lf-activate-venv: SKIPPING
03:31:33  DEBUG: total: 0.2199999988079071
03:31:33  INFO: Retrieving Stack Cost...
03:31:33  INFO: Retrieving Pricing Info for: v3-standard-8
03:31:33  INFO: Archiving Costs
  [Pipeline] echo
03:31:33  Running shell/logs-deploy.sh
  [Pipeline] libraryResource
  [Pipeline] sh
03:31:34  ---> logs-deploy.sh
03:31:34  lf-activate-venv: SKIPPING
03:31:34  INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/main/118
03:31:34  INFO: archiving workspace using pattern(s): 
03:31:34  Archives upload complete.
03:31:34  INFO: archiving logs to Nexus
