Pull request #245 opened
  Connecting to https://api.github.com using edgex-jenkins github personal access token
  Obtained Jenkinsfile from 77d862be77483b2ea3130ec7e9ab4e8e685e32e1+3a50ff58344be9ae040b5b9780da73a66f537cc9 (d07f75229169aeb748016c9b7bcd8265ab90dd65)
  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-ssh1395792921759658175.key
   > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10
  Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17
  Resolving tag commit... (remote references may be a lightweight tag or an annotated tag)
   > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10
  Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git
   > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10
  Fetching origin...
  Fetching upstream changes from origin
   > git --version # timeout=10
   > git --version # 'git version 2.16.6'
   > git config --get remote.origin.url # timeout=10
  using GIT_SSH to set credentials SSH Credentials for GitHub
  [INFO] Currently running in a labeled security context
  [INFO] Currently SELinux is 'enforcing' on the host
   > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10484746877522191497.key
   > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10
   > git rev-parse refs/tags/stable^{commit} # timeout=10
  Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17
  The recommended git tool is: git
  using credential edgex-jenkins-ssh
  Cloning the remote Git repository
  Cloning with configured refspecs honoured and with tags
  Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git
   > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10
  Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git
   > git --version # timeout=10
   > git --version # 'git version 2.16.6'
  using GIT_SSH to set credentials SSH Credentials for GitHub
  [INFO] Currently running in a labeled security context
  [INFO] Currently SELinux is 'enforcing' on the host
   > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14399227426927750211.key
   > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
   > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10
   > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
   > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10
  Fetching with tags
  Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git
  using GIT_SSH to set credentials SSH Credentials for GitHub
  [INFO] Currently running in a labeled security context
  [INFO] Currently SELinux is 'enforcing' on the host
   > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8958622202361523570.key
   > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10
  Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable)
   > git config core.sparsecheckout # timeout=10
   > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10
  Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2"
   > git remote # timeout=10
   > git submodule init # timeout=10
   > git submodule sync # timeout=10
   > git config --get remote.origin.url # timeout=10
   > git submodule init # timeout=10
   > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
   > git config --get submodule.global-jjb.url # timeout=10
   > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10
   > git submodule update --init --recursive global-jjb # timeout=10
   > git --version # timeout=10
   > git --version # 'git version 2.16.6'
  Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines.
  To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins.
  Loading library lf-pipelines@master
  Attempting to resolve master from remote references...
   > git --version # timeout=10
   > git --version # 'git version 2.16.6'
  using GIT_SSH to set credentials SSH Credentials for GitHub
  [INFO] Currently running in a labeled security context
  [INFO] Currently SELinux is 'enforcing' on the host
   > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5102037872639194514.key
   > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10
  Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843
  The recommended git tool is: NONE
  using credential edgex-jenkins-ssh
  Cloning the remote Git repository
  Cloning with configured refspecs honoured and without tags
  Cloning repository git@github.com:lfit/releng-pipelines.git
   > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-245/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10
  Fetching upstream changes from git@github.com:lfit/releng-pipelines.git
   > git --version # timeout=10
   > git --version # 'git version 2.16.6'
  using GIT_SSH to set credentials SSH Credentials for GitHub
  [INFO] Currently running in a labeled security context
  [INFO] Currently SELinux is 'enforcing' on the host
   > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-245/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh408281329731085017.key
   > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10
   > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10
   > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
  Avoid second fetch
  Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master)
   > git config core.sparsecheckout # timeout=10
   > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10
  Commit message: "Fix: Add S3 URL in href to ship logs"
   > git remote # timeout=10
   > git submodule init # timeout=10
   > git submodule sync # timeout=10
   > git config --get remote.origin.url # timeout=10
   > git submodule init # timeout=10
   > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
   > git config --get submodule.global-jjb.url # timeout=10
   > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10
   > git submodule update --init --recursive global-jjb # timeout=10
   > git --version # timeout=10
   > git --version # 'git version 2.16.6'
  fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17
  Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines.
  To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins.
  [Pipeline] Start of Pipeline
  [Pipeline] echo
  =========================================================
   [edgeXBuildGoApp] RAW Config: [project:device-gpio]
  =========================================================
  [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
  =========================================================
   [edgeXBuildGoApp] Pipeline Parameters:
  =========================================================
  [Pipeline] echo
                   MAVEN_SETTINGS: device-gpio-settings
                          PROJECT: device-gpio
                       USE_SEMVER: true
                      TEST_SCRIPT: make test
                     BUILD_SCRIPT: make build
                       GO_VERSION: 1.23
                       USE_ALPINE: true
                 DOCKER_FILE_PATH: Dockerfile
           DOCKER_BUILD_FILE_PATH: Dockerfile.build
             DOCKER_BUILD_CONTEXT: .
        DOCKER_BUILD_IMAGE_TARGET: builder
                DOCKER_IMAGE_NAME: device-gpio
        DOCKER_REGISTRY_NAMESPACE: 
                DOCKER_NEXUS_REPO: staging
               BUILD_DOCKER_IMAGE: true
                PUSH_DOCKER_IMAGE: true
  BUILD_EXPERIMENTAL_DOCKER_IMAGE: false
        BUILD_STABLE_DOCKER_IMAGE: false
                SEMVER_BUMP_LEVEL: pre
                       BUILD_SNAP: false
             PUBLISH_SWAGGER_DOCS: false
              SWAGGER_API_FOLDERS: openapi/v1
                    ARTIFACT_ROOT: archives/bin
                   ARTIFACT_TYPES: docker
                     SHOULD_BUILD: true
        BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org
                       SNYK_DEBUG: false
  [Pipeline] node
  Still waiting to schedule task
  All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline
  Running on prd-ubuntu20.04-docker-8c-8g-40092 in /w/workspace/edgexfoundry_device-gpio_PR-245
  [Pipeline] {
  [Pipeline] stage
  [Pipeline] { (Declarative: Checkout SCM)
  [Pipeline] checkout
  The recommended git tool is: git
  using credential edgex-jenkins-ssh
  Cloning the remote Git repository
  Cloning repository git@github.com:edgexfoundry/device-gpio.git
   > git init /w/workspace/edgexfoundry_device-gpio_PR-245 # timeout=10
  Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.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-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10
   > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10
   > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
   > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10
  Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git
  using GIT_SSH to set credentials SSH Credentials for GitHub
   > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10
  Merging remotes/origin/main commit 3a50ff58344be9ae040b5b9780da73a66f537cc9 into PR head commit 77d862be77483b2ea3130ec7e9ab4e8e685e32e1
  Merge succeeded, producing 77d862be77483b2ea3130ec7e9ab4e8e685e32e1
  Checking out Revision 77d862be77483b2ea3130ec7e9ab4e8e685e32e1 (PR-245)
  Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4"
  First time build. Skipping changelog.
   > git --version # timeout=10
   > git --version # 'git version 2.25.1'
  fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17
   > git config core.sparsecheckout # timeout=10
   > git checkout -f 77d862be77483b2ea3130ec7e9ab4e8e685e32e1 # timeout=10
   > git remote # timeout=10
   > git config --get remote.origin.url # timeout=10
  using GIT_SSH to set credentials SSH Credentials for GitHub
   > git merge 3a50ff58344be9ae040b5b9780da73a66f537cc9 # timeout=10
   > git rev-parse HEAD^{commit} # timeout=10
   > git config core.sparsecheckout # timeout=10
   > git checkout -f 77d862be77483b2ea3130ec7e9ab4e8e685e32e1 # timeout=10
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] timestamps
  [Pipeline] {
  [Pipeline] timeout
00:18:45  Timeout set to expire in 6 hr 0 min
  [Pipeline] {
  [Pipeline] stage
  [Pipeline] { (Prepare)
  [Pipeline] script
  [Pipeline] {
  [Pipeline] withCredentials
00:18:45  Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW
  [Pipeline] {
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] echo
00:18:45  =========================================================
00:18:45   EdgeX Global Pipelines Version Info
00:18:45  =========================================================
  [Pipeline] libraryResource
  [Pipeline] sh
00:18:46  -------------------
00:18:46  stable info:
00:18:46  -------------------
00:18:46  Commited By: Cherry Wang cherry@iotechsys.com
00:18:46  Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17
00:18:46  Message: update stable to v1.0.269
00:18:46  -------------------
00:18:46  experimental info:
00:18:46  -------------------
00:18:46  Commited By: Ginny Guan ginny@iotechsys.com
00:18:46  Commit SHA: 7f93e8bad95e9991f74bdd88f4a3d704a5893b6d
00:18:46  Message: update experimental to testing
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // withCredentials
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar USE_SEMVER = true
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar USE_ALPINE = true
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = .
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = 
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true
  [Pipeline] echo
00:18:47  [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77d862be77483b2ea3130ec7e9ab4e8e685e32e1
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 77d862b
  [Pipeline] echo
00:18:48  [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] configFileProvider
00:18:49  provisioning config files...
00:18:49  copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-245@tmp/config8790017214657039107tmp
  [Pipeline] {
  [Pipeline] libraryResource
  [Pipeline] sh
00:18:49  ---> ****-login.sh
00:18:49  nexus3.edgexfoundry.org:10001
00:18:49  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
00:18:49  WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json.
00:18:49  Configure a credential helper to remove this warning. See
00:18:49  https://docs.****.com/engine/reference/commandline/login/#credentials-store
00:18:49  
00:18:49  Login Succeeded
00:18:49  nexus3.edgexfoundry.org:10002
00:18:49  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
00:18:49  WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json.
00:18:49  Configure a credential helper to remove this warning. See
00:18:49  https://docs.****.com/engine/reference/commandline/login/#credentials-store
00:18:49  
00:18:49  Login Succeeded
00:18:49  nexus3.edgexfoundry.org:10003
00:18:49  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
00:18:49  WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json.
00:18:49  Configure a credential helper to remove this warning. See
00:18:49  https://docs.****.com/engine/reference/commandline/login/#credentials-store
00:18:49  
00:18:49  Login Succeeded
00:18:49  nexus3.edgexfoundry.org:10004
00:18:50  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
00:18:50  WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json.
00:18:50  Configure a credential helper to remove this warning. See
00:18:50  https://docs.****.com/engine/reference/commandline/login/#credentials-store
00:18:50  
00:18:50  Login Succeeded
00:18:50  ****.io
00:18:50  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
00:18:50  WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json.
00:18:50  Configure a credential helper to remove this warning. See
00:18:50  https://docs.****.com/engine/reference/commandline/login/#credentials-store
00:18:50  
00:18:50  Login Succeeded
00:18:50  ---> ****-login.sh ends
  [Pipeline] }
00:18:50  Deleting 1 temporary files
  [Pipeline] // configFileProvider
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // script
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Build Check)
  [Pipeline] sh
00:18:51  + git rev-list -1 --merges 77d862be77483b2ea3130ec7e9ab4e8e685e32e1~1..77d862be77483b2ea3130ec7e9ab4e8e685e32e1
  [Pipeline] echo
00:18:51  -----------> git rev-list -1 --merges 77d862be77483b2ea3130ec7e9ab4e8e685e32e1~1..77d862be77483b2ea3130ec7e9ab4e8e685e32e1  77d862be77483b2ea3130ec7e9ab4e8e685e32e1 [false]
  [Pipeline] sh
00:18:51  + git log --format=format:%s -1 77d862be77483b2ea3130ec7e9ab4e8e685e32e1
  [Pipeline] echo
00:18:51  =========================================================
00:18:51   [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 
00:18:51  =========================================================
  [Pipeline] stage
  [Pipeline] { (Semver Prep)
  [Pipeline] script
  [Pipeline] {
  [Pipeline] sh
00:18:52  + git log --format=format:%s -1 77d862be77483b2ea3130ec7e9ab4e8e685e32e1
  [Pipeline] echo
00:18:52  [semverPrep] GIT_COMMIT: 77d862be77483b2ea3130ec7e9ab4e8e685e32e1, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4
  [Pipeline] echo
00:18:52  [semverPrep] This is not a build commit.
  [Pipeline] sh
00:18:52  + grep github.com ecdsa /etc/ssh/ssh_known_hosts
00:18:52  + grep -v github /etc/ssh/ssh_known_hosts
00:18:52  + [ -e /tmp/ssh_known_hosts ]
00:18:52  + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts
00:18:52  + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
00:18:52  + sudo tee -a /etc/ssh/ssh_known_hosts
00:18:52  github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
00:18:53  + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
00:18:53  
00:18:53  Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
00:18:53  + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
00:18:53  0.1.4: Pulling from edgex-devops/py-git-semver
00:18:53  b85a868b505f: Pulling fs layer
00:18:53  e2be974225ed: Pulling fs layer
00:18:53  339a4e72a1f5: Pulling fs layer
00:18:53  988bab9f4d93: Pulling fs layer
00:18:53  1469e6f7b9e6: Pulling fs layer
00:18:53  eaf3925da568: Pulling fs layer
00:18:53  bab4dde63d76: Pulling fs layer
00:18:53  bde34c3a00c8: Pulling fs layer
00:18:53  b352a97aabf1: Pulling fs layer
00:18:53  4872d77fe225: Pulling fs layer
00:18:53  1469e6f7b9e6: Waiting
00:18:53  eaf3925da568: Waiting
00:18:53  bab4dde63d76: Waiting
00:18:53  bde34c3a00c8: Waiting
00:18:53  988bab9f4d93: Waiting
00:18:53  4872d77fe225: Waiting
00:18:53  b352a97aabf1: Waiting
00:18:53  5851b861e8e6: Pulling fs layer
00:18:53  5851b861e8e6: Waiting
00:18:53  e2be974225ed: Verifying Checksum
00:18:53  e2be974225ed: Download complete
00:18:53  988bab9f4d93: Verifying Checksum
00:18:53  988bab9f4d93: Download complete
00:18:53  1469e6f7b9e6: Verifying Checksum
00:18:53  1469e6f7b9e6: Download complete
00:18:53  eaf3925da568: Download complete
00:18:53  339a4e72a1f5: Verifying Checksum
00:18:53  339a4e72a1f5: Download complete
00:18:53  bde34c3a00c8: Download complete
00:18:53  b352a97aabf1: Verifying Checksum
00:18:53  4872d77fe225: Download complete
00:18:53  5851b861e8e6: Download complete
00:18:53  b85a868b505f: Download complete
00:18:53  bab4dde63d76: Verifying Checksum
00:18:53  bab4dde63d76: Download complete
00:18:54  b85a868b505f: Pull complete
00:18:55  e2be974225ed: Pull complete
00:18:55  339a4e72a1f5: Pull complete
00:18:55  988bab9f4d93: Pull complete
00:18:55  1469e6f7b9e6: Pull complete
00:18:55  eaf3925da568: Pull complete
00:18:57  bab4dde63d76: Pull complete
00:18:57  bde34c3a00c8: Pull complete
00:18:57  b352a97aabf1: Pull complete
00:18:57  4872d77fe225: Pull complete
00:18:57  5851b861e8e6: Pull complete
00:18:57  Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8
00:18:57  Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
00:18:57  nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
00:18:58  prd-ubuntu20.04-docker-8c-8g-40092 does not seem to be running inside a container
00:18:58  $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-245 -v /w/workspace/edgexfoundry_device-gpio_PR-245:/w/workspace/edgexfoundry_device-gpio_PR-245:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-245@tmp:/w/workspace/edgexfoundry_device-gpio_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat
00:19:00  $ docker top a2a4550cfcace3f5b675914ce2fefd41e86432086ecc8815f2b5f63b67059dcc -eo pid,comm
00:19:00  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).
00:19:00  Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`.
  [Pipeline] {
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sshagent
00:19:00  [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub)
00:19:00  [ssh-agent] Looking for ssh-agent implementation...
00:19:01  [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
00:19:01  $ docker exec a2a4550cfcace3f5b675914ce2fefd41e86432086ecc8815f2b5f63b67059dcc ssh-agent
00:19:01  SSH_AUTH_SOCK=/tmp/ssh-Ta46cxvwFEj1/agent.32
00:19:01  SSH_AGENT_PID=38
00:19:01  Running ssh-add (command line suppressed)
00:19:01  Identity added: /w/workspace/edgexfoundry_device-gpio_PR-245@tmp/private_key_8340637984269903053.key (/w/workspace/edgexfoundry_device-gpio_PR-245@tmp/private_key_8340637984269903053.key)
00:19:01  [ssh-agent] Started.
  [Pipeline] {
  [Pipeline] sh
00:19:01  + git tag --points-at HEAD
  [Pipeline] }
00:19:01  $ docker exec --env ******** --env ******** a2a4550cfcace3f5b675914ce2fefd41e86432086ecc8815f2b5f63b67059dcc ssh-agent -k
00:19:01  unset SSH_AUTH_SOCK;
00:19:01  unset SSH_AGENT_PID;
00:19:01  echo Agent pid 38 killed;
00:19:01  [ssh-agent] Stopped.
  [Pipeline] // sshagent
  [Pipeline] sshagent
00:19:01  [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub)
00:19:01  [ssh-agent] Looking for ssh-agent implementation...
00:19:02  [ssh-agent]   Exec ssh-agent (binary ssh-agent on a remote machine)
00:19:02  $ docker exec a2a4550cfcace3f5b675914ce2fefd41e86432086ecc8815f2b5f63b67059dcc ssh-agent
00:19:02  SSH_AUTH_SOCK=/tmp/ssh-5MjKSIm9Q32V/agent.71
00:19:02  SSH_AGENT_PID=77
00:19:02  Running ssh-add (command line suppressed)
00:19:02  Identity added: /w/workspace/edgexfoundry_device-gpio_PR-245@tmp/private_key_9153733739002989081.key (/w/workspace/edgexfoundry_device-gpio_PR-245@tmp/private_key_9153733739002989081.key)
00:19:02  [ssh-agent] Started.
  [Pipeline] {
  [Pipeline] sh
00:19:02  + git semver init
00:19:02  2025-03-04 00:19:02,765 [run_init] DEBUG init version:0.0.0 force:False
00:19:02  2025-03-04 00:19:02,766 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-245/.semver
00:19:02  2025-03-04 00:19:02,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-245/.semver
00:19:02  2025-03-04 00:19:02,767 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-245/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-245, universal_newlines=False, shell=None, istream=None)
00:19:04  2025-03-04 00:19:04,464 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-245/.git/info/exclude
00:19:04  2025-03-04 00:19:04,464 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-245/.semver/PR-245 with force:False
00:19:04  2025-03-04 00:19:04,464 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-245/.semver/PR-245
00:19:04  2025-03-04 00:19:04,471 [execute] INFO git cat-file --batch-check
00:19:04  2025-03-04 00:19:04,471 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-245/.semver, universal_newlines=False, shell=None, istream=<valid stream>)
00:19:04  2025-03-04 00:19:04,477 [execute] INFO git cat-file --batch
00:19:04  2025-03-04 00:19:04,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-245/.semver, universal_newlines=False, shell=None, istream=<valid stream>)
00:19:04  2025-03-04 00:19:04,482 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-245/.semver/PR-245
00:19:04  0.0.0
  [Pipeline] }
00:19:04  $ docker exec --env ******** --env ******** a2a4550cfcace3f5b675914ce2fefd41e86432086ecc8815f2b5f63b67059dcc ssh-agent -k
00:19:04  unset SSH_AUTH_SOCK;
00:19:04  unset SSH_AGENT_PID;
00:19:04  echo Agent pid 77 killed;
00:19:04  [ssh-agent] Stopped.
  [Pipeline] // sshagent
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] sh
00:19:05  + git semver
  [Pipeline] }
00:19:05  $ docker stop --time=1 a2a4550cfcace3f5b675914ce2fefd41e86432086ecc8815f2b5f63b67059dcc
00:19:06  $ docker rm -f --volumes a2a4550cfcace3f5b675914ce2fefd41e86432086ecc8815f2b5f63b67059dcc
  [Pipeline] // withDockerContainer
  [Pipeline] sh
00:19:07  + sudo chown -R jenkins:jenkins .semver
  [Pipeline] writeFile
  [Pipeline] stash
00:19:07  Stashed 1 file(s)
  [Pipeline] echo
00:19:07  [edgeXSemver]: initialized semver on version 0.0.0
  [Pipeline] }
  [Pipeline] // script
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Build)
  [Pipeline] parallel
  [Pipeline] { (Branch: amd64)
  [Pipeline] { (Branch: arm64)
  [Pipeline] stage
  [Pipeline] { (amd64)
  [Pipeline] stage
  [Pipeline] { (arm64)
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] stage
  [Pipeline] { (Prep)
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Prep)
  [Pipeline] stage
  [Pipeline] { (Test)
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Build)
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Docker Push)
  Stage "arm64" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] script
  [Pipeline] {
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] configFileProvider
00:19:08  provisioning config files...
00:19:08  copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-245@tmp/config2142342436181805790tmp
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] {
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] libraryResource
  [Pipeline] sh
00:19:09  ---> ****-login.sh
00:19:09  nexus3.edgexfoundry.org:10001
00:19:09  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
00:19:09  WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json.
00:19:09  Configure a credential helper to remove this warning. See
00:19:09  https://docs.****.com/engine/reference/commandline/login/#credentials-store
00:19:09  
00:19:09  Login Succeeded
00:19:09  nexus3.edgexfoundry.org:10002
00:19:09  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
00:19:09  WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json.
00:19:09  Configure a credential helper to remove this warning. See
00:19:09  https://docs.****.com/engine/reference/commandline/login/#credentials-store
00:19:09  
00:19:09  Login Succeeded
00:19:09  nexus3.edgexfoundry.org:10003
00:19:09  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
00:19:09  WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json.
00:19:09  Configure a credential helper to remove this warning. See
00:19:09  https://docs.****.com/engine/reference/commandline/login/#credentials-store
00:19:09  
00:19:09  Login Succeeded
00:19:09  nexus3.edgexfoundry.org:10004
00:19:09  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
00:19:09  WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json.
00:19:09  Configure a credential helper to remove this warning. See
00:19:09  https://docs.****.com/engine/reference/commandline/login/#credentials-store
00:19:09  
00:19:09  Login Succeeded
00:19:09  ****.io
00:19:09  WARNING! Using --password via the CLI is insecure. Use --password-stdin.
00:19:09  WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json.
00:19:09  Configure a credential helper to remove this warning. See
00:19:09  https://docs.****.com/engine/reference/commandline/login/#credentials-store
00:19:09  
00:19:09  Login Succeeded
00:19:09  ---> ****-login.sh ends
  [Pipeline] }
00:19:09  Deleting 1 temporary files
  [Pipeline] // configFileProvider
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] unstash
  [Pipeline] echo
00:19:09  [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]]
  [Pipeline] echo
00:19:09  [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]]
  [Pipeline] echo
00:19:09  =========================================================
00:19:09   [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine]
00:19:09  =========================================================
  [Pipeline] fileExists
  [Pipeline] fileExists
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
00:19:10  + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder .
00:19:10  Sending build context to Docker daemon  30.45MB

00:19:10  Step 1/12 : ARG BASE=golang:1.23-alpine3.20
00:19:10  Step 2/12 : FROM ${BASE} AS builder
00:19:10  1.23-alpine: Pulling from edgex-devops/edgex-golang-base
00:19:10  da9db072f522: Pulling fs layer
00:19:10  6ef4a4ee8ca5: Pulling fs layer
00:19:10  06f05ace1117: Pulling fs layer
00:19:10  5fe327b54edc: Pulling fs layer
00:19:10  4f4fb700ef54: Pulling fs layer
00:19:10  92a5565b7b96: Pulling fs layer
00:19:10  ff9bb7016b71: Pulling fs layer
00:19:10  b67dba6c2c7d: Pulling fs layer
00:19:10  a813b0c90790: Pulling fs layer
00:19:10  5fe327b54edc: Waiting
00:19:10  4f4fb700ef54: Waiting
00:19:10  92a5565b7b96: Waiting
00:19:10  ff9bb7016b71: Waiting
00:19:10  b67dba6c2c7d: Waiting
00:19:10  a813b0c90790: Waiting
00:19:10  6ef4a4ee8ca5: Verifying Checksum
00:19:10  6ef4a4ee8ca5: Download complete
00:19:10  5fe327b54edc: Verifying Checksum
00:19:10  5fe327b54edc: Download complete
00:19:10  4f4fb700ef54: Verifying Checksum
00:19:10  4f4fb700ef54: Download complete
00:19:10  92a5565b7b96: Verifying Checksum
00:19:10  92a5565b7b96: Download complete
00:19:10  da9db072f522: Download complete
00:19:10  ff9bb7016b71: Verifying Checksum
00:19:10  ff9bb7016b71: Download complete
00:19:10  da9db072f522: Pull complete
00:19:10  a813b0c90790: Verifying Checksum
00:19:10  a813b0c90790: Download complete
00:19:10  6ef4a4ee8ca5: Pull complete
00:19:11  06f05ace1117: Verifying Checksum
00:19:11  06f05ace1117: Download complete
00:19:11  b67dba6c2c7d: Verifying Checksum
00:19:11  b67dba6c2c7d: Download complete
00:19:14  06f05ace1117: Pull complete
00:19:14  5fe327b54edc: Pull complete
00:19:14  4f4fb700ef54: Pull complete
00:19:14  92a5565b7b96: Pull complete
00:19:14  ff9bb7016b71: Pull complete
00:19:16  b67dba6c2c7d: Pull complete
00:19:17  a813b0c90790: Pull complete
00:19:17  Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9
00:19:17  Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine
00:19:17   ---> 3ba60ce46760
00:19:17  Step 3/12 : ARG ADD_BUILD_TAGS=""
00:19:20   ---> Running in d142b19dc9b1
00:19:20  Removing intermediate container d142b19dc9b1
00:19:20   ---> 382eb1d62cff
00:19:20  Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build"
00:19:20   ---> Running in 5df84327faa8
00:19:20  Removing intermediate container 5df84327faa8
00:19:20   ---> 53769f064cb3
00:19:20  Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client "
00:19:20   ---> Running in 1f36cf7a2160
00:19:20  Removing intermediate container 1f36cf7a2160
00:19:20   ---> 66c7b6dc79d9
00:19:20  Step 6/12 : ARG ALPINE_PKG_EXTRA=""
00:19:20   ---> Running in 438bd2b9f4ae
00:19:20  Removing intermediate container 438bd2b9f4ae
00:19:20   ---> 8875a5e4173b
00:19:20  Step 7/12 : WORKDIR /device-gpio
00:19:20   ---> Running in cb1aba294786
00:19:20  Removing intermediate container cb1aba294786
00:19:20   ---> c1f30fcbcd86
00:19:20  Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA}
00:19:20   ---> Running in c706676285bf
00:19:20  fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
00:19:20  fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
00:19:21  (1/4) Installing openssh-keygen (9.7_p1-r5)
00:19:21  (2/4) Installing libedit (20240517.3.1-r0)
00:19:21  (3/4) Installing openssh-client-common (9.7_p1-r5)
00:19:21  (4/4) Installing openssh-client-default (9.7_p1-r5)
00:19:21  Executing busybox-1.36.1-r29.trigger
00:19:21  OK: 252 MiB in 62 packages
00:19:21  Removing intermediate container c706676285bf
00:19:21   ---> 741c34250f95
00:19:21  Step 9/12 : COPY go.mod vendor* ./
00:19:22   ---> e5a586ee0d69
00:19:22  Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..."
00:19:22   ---> Running in fa6403e552bb
00:20:08  Removing intermediate container fa6403e552bb
00:20:08   ---> 3b1eae211023
00:20:08  Step 11/12 : COPY . .
00:20:08   ---> f67b1cd5f28a
00:20:08  Step 12/12 : RUN ${MAKE}
00:20:08   ---> Running in faf98fa80ce1
00:20:08  noop
00:20:08  Removing intermediate container faf98fa80ce1
00:20:08   ---> 276c6bf274d0
00:20:08  Successfully built 276c6bf274d0
00:20:08  Successfully tagged ci-base-image-x86_64:latest
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
00:20:09  + docker inspect -f . ci-base-image-x86_64
00:20:09  .
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
00:20:09  prd-ubuntu20.04-docker-8c-8g-40092 does not seem to be running inside a container
00:20:09  $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-245 -v /w/workspace/edgexfoundry_device-gpio_PR-245:/w/workspace/edgexfoundry_device-gpio_PR-245:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-245@tmp:/w/workspace/edgexfoundry_device-gpio_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat
00:20:09  $ docker top 2fddb5a9d088467dcf4d70de8485818d24f55ed193d687263a219c61980028d2 -eo pid,comm
  [Pipeline] {
  [Pipeline] sh
00:20:10  + go version
00:20:10  go version go1.23.4 linux/amd64
  [Pipeline] }
00:20:10  $ docker stop --time=1 2fddb5a9d088467dcf4d70de8485818d24f55ed193d687263a219c61980028d2
00:20:11  $ docker rm -f --volumes 2fddb5a9d088467dcf4d70de8485818d24f55ed193d687263a219c61980028d2
  [Pipeline] // withDockerContainer
  [Pipeline] }
  [Pipeline] // script
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Test)
  [Pipeline] script
  [Pipeline] {
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
00:20:12  + docker inspect -f . ci-base-image-x86_64
00:20:12  .
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
00:20:12  prd-ubuntu20.04-docker-8c-8g-40092 does not seem to be running inside a container
00:20:12  $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-245 -v /w/workspace/edgexfoundry_device-gpio_PR-245:/w/workspace/edgexfoundry_device-gpio_PR-245:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-245@tmp:/w/workspace/edgexfoundry_device-gpio_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat
00:20:12  $ docker top d132cd50ce59a2b01c2cf27319aa549e5579cc6a5454e5b24ac8acc8e66b381b -eo pid,comm
  [Pipeline] {
  [Pipeline] sh
00:20:13  + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-245
  [Pipeline] fileExists
  [Pipeline] sh
00:20:13  + make test
00:20:13  go test ./... -coverprofile=coverage.out ./...
00:20:14  ?   	github.com/edgexfoundry/device-gpio	[no test files]
00:20:32  	github.com/edgexfoundry/device-gpio/cmd		coverage: 0.0% of statements
00:20:32  	github.com/edgexfoundry/device-gpio/internal/driver		coverage: 0.0% of statements
00:20:41  go vet ./...
00:20:45  gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")
00:20:45  [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ]
00:20:45  ./bin/test-attribution-txt.sh
  [Pipeline] echo
00:20:45  [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]]
  [Pipeline] }
00:20:45  $ docker stop --time=1 d132cd50ce59a2b01c2cf27319aa549e5579cc6a5454e5b24ac8acc8e66b381b
00:20:48  $ docker rm -f --volumes d132cd50ce59a2b01c2cf27319aa549e5579cc6a5454e5b24ac8acc8e66b381b
  [Pipeline] // withDockerContainer
  [Pipeline] sh
00:20:49  + sudo chown -R jenkins:jenkins .
  [Pipeline] stash
00:20:49  Stashed 1 file(s)
  [Pipeline] }
  [Pipeline] // script
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Build)
  [Pipeline] sh
00:20:50  + sudo chown -R jenkins:jenkins .
  [Pipeline] sh
00:20:50  + ls -al .
00:20:50  total 224
00:20:50  drwxrwxr-x 8 jenkins jenkins  4096 Mar  4 00:20 .
00:20:50  drwxrwxr-x 4 jenkins jenkins  4096 Mar  4 00:18 ..
00:20:50  -rw-rw-r-- 1 jenkins jenkins   120 Mar  4 00:18 .dockerignore
00:20:50  drwxrwxr-x 8 jenkins jenkins  4096 Mar  4 00:20 .git
00:20:50  drwxrwxr-x 3 jenkins jenkins  4096 Mar  4 00:18 .github
00:20:50  -rw-rw-r-- 1 jenkins jenkins   277 Mar  4 00:18 .gitignore
00:20:50  -rw-rw-r-- 1 jenkins jenkins    41 Mar  4 00:18 .golangci.yml
00:20:50  drwxr-xr-x 3 jenkins jenkins  4096 Mar  4 00:19 .semver
00:20:50  -rw-rw-r-- 1 jenkins jenkins 19399 Mar  4 00:18 Attribution.txt
00:20:50  -rw-rw-r-- 1 jenkins jenkins  7171 Mar  4 00:18 CHANGELOG.md
00:20:50  -rw-rw-r-- 1 jenkins jenkins  1694 Mar  4 00:18 Dockerfile
00:20:50  -rw-rw-r-- 1 jenkins jenkins   677 Mar  4 00:18 GOVERNANCE.md
00:20:50  -rw-rw-r-- 1 jenkins jenkins   657 Mar  4 00:18 Jenkinsfile
00:20:50  -rw-rw-r-- 1 jenkins jenkins 11340 Mar  4 00:18 LICENSE
00:20:50  -rw-rw-r-- 1 jenkins jenkins  1923 Mar  4 00:18 Makefile
00:20:50  -rw-rw-r-- 1 jenkins jenkins   617 Mar  4 00:18 OWNERS.md
00:20:50  -rw-rw-r-- 1 jenkins jenkins  3578 Mar  4 00:18 README.md
00:20:50  -rw-rw-r-- 1 jenkins jenkins     5 Mar  4 00:19 VERSION
00:20:50  drwxrwxr-x 2 jenkins jenkins  4096 Mar  4 00:18 bin
00:20:50  drwxrwxr-x 3 jenkins jenkins  4096 Mar  4 00:18 cmd
00:20:50  -rw-r--r-- 1 jenkins jenkins 11486 Mar  4 00:20 coverage.out
00:20:50  -rw-rw-r-- 1 jenkins jenkins  6098 Mar  4 00:18 go.mod
00:20:50  -rw-rw-r-- 1 jenkins jenkins 86984 Mar  4 00:18 go.sum
00:20:50  drwxrwxr-x 3 jenkins jenkins  4096 Mar  4 00:18 internal
00:20:50  -rw-rw-r-- 1 jenkins jenkins   209 Mar  4 00:18 version.go
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
00:20:51  + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=77d862be77483b2ea3130ec7e9ab4e8e685e32e1 --label arch=amd64 --label version=0.0.0 .
00:20:51  Sending build context to Docker daemon  30.46MB

00:20:51  Step 1/26 : ARG BASE=golang:1.23-alpine3.20
00:20:51  Step 2/26 : FROM ${BASE} AS builder
00:20:51   ---> 276c6bf274d0
00:20:51  Step 3/26 : ARG ADD_BUILD_TAGS=""
00:20:51   ---> Running in adadfd78b988
00:20:51  Removing intermediate container adadfd78b988
00:20:51   ---> 97a507c0f325
00:20:51  Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build"
00:20:51   ---> Running in 5f0dacdd603a
00:20:51  Removing intermediate container 5f0dacdd603a
00:20:51   ---> 05feee2b9492
00:20:51  Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client "
00:20:51   ---> Running in 58a0df6ccc62
00:20:51  Removing intermediate container 58a0df6ccc62
00:20:51   ---> f06fd875c58c
00:20:51  Step 6/26 : ARG ALPINE_PKG_EXTRA=""
00:20:51   ---> Running in f2bb30dbef6c
00:20:52  Removing intermediate container f2bb30dbef6c
00:20:52   ---> db1b9caf92c0
00:20:52  Step 7/26 : WORKDIR /device-gpio
00:20:52   ---> Running in d6b19fa256d8
00:20:52  Removing intermediate container d6b19fa256d8
00:20:52   ---> 02e43c692a7c
00:20:52  Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA}
00:20:52   ---> Running in 9ab793527a9d
00:20:52  fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
00:20:52  fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
00:20:52  OK: 252 MiB in 62 packages
00:20:53  Removing intermediate container 9ab793527a9d
00:20:53   ---> 019d941fe2de
00:20:53  Step 9/26 : COPY go.mod vendor* ./
00:20:53   ---> 7961da627975
00:20:53  Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..."
00:20:53   ---> Running in 6822717e73a0
00:20:54  Removing intermediate container 6822717e73a0
00:20:54   ---> 10a70522ac4c
00:20:54  Step 11/26 : COPY . .
00:20:54   ---> a39e1a735270
00:20:54  Step 12/26 : RUN ${MAKE}
00:20:54   ---> Running in 577333c52a13
00:20:54  CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-gpio ./cmd
00:21:27  Removing intermediate container 577333c52a13
00:21:27   ---> 2c2f95218888
00:21:27  Step 13/26 : FROM alpine:3.20
00:21:27  3.20: Pulling from library/alpine
00:21:27  0a9a5dfd008f: Pulling fs layer
00:21:27  0a9a5dfd008f: Verifying Checksum
00:21:27  0a9a5dfd008f: Download complete
00:21:27  0a9a5dfd008f: Pull complete
00:21:27  Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f
00:21:27  Status: Downloaded newer image for alpine:3.20
00:21:27   ---> ff221270b9fb
00:21:27  Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0'   copyright='Copyright (c) 2021: Jiangxing Intelligence'
00:21:27   ---> Running in d05e9f9f2027
00:21:27  Removing intermediate container d05e9f9f2027
00:21:27   ---> 7c42904e28b4
00:21:27  Step 15/26 : RUN apk add --update --no-cache dumb-init
00:21:27   ---> Running in 44c6640b1eb4
00:21:27  fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
00:21:27  fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
00:21:27  (1/1) Installing dumb-init (1.2.5-r3)
00:21:27  Executing busybox-1.36.1-r29.trigger
00:21:27  OK: 8 MiB in 15 packages
00:21:27  Removing intermediate container 44c6640b1eb4
00:21:27   ---> 49b15ecdaddf
00:21:27  Step 16/26 : RUN apk --no-cache upgrade
00:21:27   ---> Running in 83ab73d49a71
00:21:27  fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
00:21:27  fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
00:21:27  OK: 8 MiB in 15 packages
00:21:27  Removing intermediate container 83ab73d49a71
00:21:27   ---> 0c18338c6054
00:21:27  Step 17/26 : WORKDIR /
00:21:27   ---> Running in fd85ecea6694
00:21:27  Removing intermediate container fd85ecea6694
00:21:27   ---> ea31ec18d896
00:21:27  Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt /
00:21:27   ---> 0c9185bb33c2
00:21:27  Step 19/26 : COPY --from=builder /device-gpio/LICENSE /
00:21:27   ---> 679238eccaef
00:21:27  Step 20/26 : COPY --from=builder /device-gpio/cmd/ /
00:21:27   ---> 2fd6474286ad
00:21:27  Step 21/26 : EXPOSE 59910
00:21:27   ---> Running in a2d75642b04d
00:21:27  Removing intermediate container a2d75642b04d
00:21:27   ---> 5db5d6ad4fba
00:21:27  Step 22/26 : ENTRYPOINT ["/device-gpio"]
00:21:27   ---> Running in 64c84e495040
00:21:27  Removing intermediate container 64c84e495040
00:21:27   ---> ef226a4c7b0d
00:21:27  Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"]
00:21:27   ---> Running in 1073a43e486f
00:21:27  Removing intermediate container 1073a43e486f
00:21:27   ---> 20c3bf631c53
00:21:27  Step 24/26 : LABEL arch=amd64
00:21:27   ---> Running in 64e5895bc071
00:21:27  Removing intermediate container 64e5895bc071
00:21:27   ---> 9be8000256eb
00:21:27  Step 25/26 : LABEL git_sha=77d862be77483b2ea3130ec7e9ab4e8e685e32e1
00:21:27   ---> Running in 821835be9c12
00:21:27  Removing intermediate container 821835be9c12
00:21:27   ---> 62aea128cbf2
00:21:27  Step 26/26 : LABEL version=0.0.0
00:21:27   ---> Running in 1bf28d2a81a4
00:21:27  Removing intermediate container 1bf28d2a81a4
00:21:27   ---> 4b7cbe8da72f
00:21:27  [Warning] One or more build-args [ARCH] were not consumed
00:21:27  Successfully built 4b7cbe8da72f
00:21:27  Successfully tagged device-gpio:latest
  [Pipeline] }
  [Pipeline] // withEnv
  [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
00:21:28  + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
00:21:28  
00:21:28  Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
00:21:29  + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
00:21:29  latest: Pulling from edgex-lftools-log-publisher
00:21:29  5eb5b503b376: Pulling fs layer
00:21:29  5c69ac0246d0: Pulling fs layer
00:21:29  ec43610c2a17: Pulling fs layer
00:21:29  3a2ae6a8a46f: Pulling fs layer
00:21:29  33b1e0a273af: Pulling fs layer
00:21:29  5d3b04190fa2: Pulling fs layer
00:21:29  2f39f015ded8: Pulling fs layer
00:21:29  33b1e0a273af: Waiting
00:21:29  5d3b04190fa2: Waiting
00:21:29  2f39f015ded8: Waiting
00:21:29  3a2ae6a8a46f: Waiting
00:21:29  5c69ac0246d0: Verifying Checksum
00:21:29  5c69ac0246d0: Download complete
00:21:29  3a2ae6a8a46f: Verifying Checksum
00:21:29  3a2ae6a8a46f: Download complete
00:21:29  33b1e0a273af: Verifying Checksum
00:21:29  33b1e0a273af: Download complete
00:21:29  5d3b04190fa2: Verifying Checksum
00:21:29  5d3b04190fa2: Download complete
00:21:29  ec43610c2a17: Verifying Checksum
00:21:29  ec43610c2a17: Download complete
00:21:29  5eb5b503b376: Verifying Checksum
00:21:29  5eb5b503b376: Download complete
00:21:29  2f39f015ded8: Download complete
00:21:30  5eb5b503b376: Pull complete
00:21:30  5c69ac0246d0: Pull complete
00:21:30  ec43610c2a17: Pull complete
00:21:31  3a2ae6a8a46f: Pull complete
00:21:31  33b1e0a273af: Pull complete
00:21:31  5d3b04190fa2: Pull complete
00:21:35  2f39f015ded8: Pull complete
00:21:35  Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592
00:21:35  Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
00:21:35  nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
00:21:35  prd-ubuntu20.04-docker-8c-8g-40092 does not seem to be running inside a container
00:21:35  $ 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-gpio_PR-245 -v /w/workspace/edgexfoundry_device-gpio_PR-245:/w/workspace/edgexfoundry_device-gpio_PR-245:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-245@tmp:/w/workspace/edgexfoundry_device-gpio_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat
00:21:37  $ docker top 89b59f24cc091421660da3a4aa697850b78fe35061143e3842eaa38730fc894d -eo pid,comm
  [Pipeline] {
  [Pipeline] libraryResource
  [Pipeline] sh
00:21:38  ---> job-cost.sh
00:21:38  lf-activate-venv: SKIPPING
00:21:38  INFO: No Stack...
00:21:38  INFO: Retrieving Pricing Info for: v3-standard-8
00:21:39  INFO: Archiving Costs
  [Pipeline] sh
00:21:39  + cat /w/workspace/edgexfoundry_device-gpio_PR-245/archives/cost.csv
00:21:39  + cut -d, -f6
  [Pipeline] lock
00:21:39  Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-PR-245-1-stack-cost]
00:21:39  Resource [jenkins-edgexfoundry-device-gpio-PR-245-1-stack-cost] did not exist. Created.
00:21:39  Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-PR-245-1-stack-cost]
  [Pipeline] {
  [Pipeline] unstash
  [Pipeline] sh
00:21:40  + echo total: 0.2199999988079071
  [Pipeline] stash
00:21:40  Stashed 1 file(s)
  [Pipeline] }
00:21:40  Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-PR-245-1-stack-cost]
  [Pipeline] // lock
  [Pipeline] }
00:21:40  $ docker stop --time=1 89b59f24cc091421660da3a4aa697850b78fe35061143e3842eaa38730fc894d
00:21:41  $ docker rm -f --volumes 89b59f24cc091421660da3a4aa697850b78fe35061143e3842eaa38730fc894d
  [Pipeline] // withDockerContainer
  [Pipeline] }
  [Pipeline] // script
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] // parallel
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (CodeCov)
  [Pipeline] unstash
  [Pipeline] configFileProvider
00:21:42  provisioning config files...
00:21:42  copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-245@tmp/config9748345212147877559tmp
  [Pipeline] {
  [Pipeline] sh
00:21:42  + set +x
00:21:42  + curl -s https://codecov.io/bash
00:21:42  + bash -s --
00:21:42  
00:21:42    _____          _
00:21:42   / ____|        | |
00:21:42  | |     ___   __| | ___  ___ _____   __
00:21:42  | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
00:21:42  | |___| (_) | (_| |  __/ (_| (_) \ V /
00:21:42   \_____\___/ \__,_|\___|\___\___/ \_/
00:21:42                                Bash-1.0.6
00:21:42  
00:21:42  
00:21:42  ==> git version 2.25.1 found
00:21:42  ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
00:21:42  Release-Date: 2020-01-08
00:21:42  Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
00:21:42  Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
00:21:42  ==> Jenkins CI detected.
00:21:42      current dir:  /w/workspace/edgexfoundry_device-gpio_PR-245
00:21:42      project root: .
00:21:42  --> token set from env
00:21:42      Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
00:21:42  ==> Running gcov in . (disable via -X gcov)
00:21:42  ==> Python coveragepy not found
00:21:42  ==> Searching for coverage reports in:
00:21:42      + .
00:21:42      -> Found 1 reports
00:21:42  ==> Detecting git/mercurial file structure
00:21:42  ==> Reading reports
00:21:42      + ./coverage.out bytes=11486
00:21:42  ==> Appending adjustments
00:21:42      https://docs.codecov.io/docs/fixing-reports
00:21:42      + Found adjustments
00:21:42  ==> Gzipping contents
00:21:42          4.0K	/tmp/codecov.8hFIuX.gz
00:21:42  ==> Uploading reports
00:21:42      url: https://codecov.io
00:21:42      query: branch=PR-245&commit=77d862be77483b2ea3130ec7e9ab4e8e685e32e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-245%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=245&job=&cmd_args=
00:21:42  ->  Pinging Codecov
00:21:42  https://codecov.io/upload/v4?package=bash-1.0.6&token=<hidden>&package=bash-1.0.6&token=****&branch=PR-245&commit=77d862be77483b2ea3130ec7e9ab4e8e685e32e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-245%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=245&job=&cmd_args=
00:21:43  ->  Uploading to
00:21:43  https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-gpio/77d862be77483b2ea3130ec7e9ab4e8e685e32e1/a074053c-ce87-4945-8492-c7f16a66fce5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250304%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250304T002142Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=a239818b430fbd47c759148bd856e0b6587c670a499ef19d44c2fca3eaac8f0e
00:21:43    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
00:21:43                                   Dload  Upload   Total   Spent    Left  Speed
00:21:43  
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1713    0     0  100  1713      0  11196 --:--:-- --:--:-- --:--:-- 11196
00:21:43      -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/77d862be77483b2ea3130ec7e9ab4e8e685e32e1
  [Pipeline] }
00:21:43  Deleting 1 temporary files
  [Pipeline] // configFileProvider
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Snyk Dependency Scan)
  Stage "Snyk Dependency Scan" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Archive Prep)
  Stage "Archive Prep" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Publish Swagger)
  Stage "Publish Swagger" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Semver)
  Stage "Semver" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] stage
  [Pipeline] { (Tag)
  Stage "Semver" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Bump Pre-Release Version)
  Stage "Semver" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Bump Experimental Tag)
  Stage "Semver" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Bump Stable (Named) Tag)
  Stage "Semver" skipped due to when conditional
  [Pipeline] getContext
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] }
  [Pipeline] // stage
  [Pipeline] stage
  [Pipeline] { (Declarative: Post Actions)
  [Pipeline] stage
  [Pipeline] { (LF Post Build Actions)
  [Pipeline] sh
00:21:45  + [ -d /w/workspace/edgexfoundry_device-gpio_PR-245/archives ]
00:21:45  + ls -al /w/workspace/edgexfoundry_device-gpio_PR-245/archives
00:21:45  total 16
00:21:45  drwxr-xr-x 3 root    root    4096 Mar  4 00:21 .
00:21:45  drwxrwxr-x 9 jenkins jenkins 4096 Mar  4 00:21 ..
00:21:45  drwxr-xr-x 2 root    root    4096 Mar  4 00:21 cost
00:21:45  -rw-r--r-- 1 root    root      83 Mar  4 00:21 cost.csv
00:21:45  + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-245/archives
00:21:45  + ls -al /w/workspace/edgexfoundry_device-gpio_PR-245/archives
00:21:45  total 16
00:21:45  drwxr-xr-x 3 jenkins jenkins 4096 Mar  4 00:21 .
00:21:45  drwxrwxr-x 9 jenkins jenkins 4096 Mar  4 00:21 ..
00:21:45  drwxr-xr-x 2 jenkins jenkins 4096 Mar  4 00:21 cost
00:21:45  -rw-r--r-- 1 jenkins jenkins   83 Mar  4 00:21 cost.csv
  [Pipeline] libraryResource
  [Pipeline] sh
00:21:45  ---> sysstat.sh
  [Pipeline] libraryResource
  [Pipeline] sh
00:21:46  ---> package-listing.sh
00:21:46  ++ facter osfamily
00:21:46  ++ tr '[:upper:]' '[:lower:]'
00:21:46  + OS_FAMILY=debian
00:21:46  + workspace=/w/workspace/edgexfoundry_device-gpio_PR-245
00:21:46  + START_PACKAGES=/tmp/packages_start.txt
00:21:46  + END_PACKAGES=/tmp/packages_end.txt
00:21:46  + DIFF_PACKAGES=/tmp/packages_diff.txt
00:21:46  + PACKAGES=/tmp/packages_start.txt
00:21:46  + '[' /w/workspace/edgexfoundry_device-gpio_PR-245 ']'
00:21:46  + PACKAGES=/tmp/packages_end.txt
00:21:46  + case "${OS_FAMILY}" in
00:21:46  + dpkg -l
00:21:46  + grep '^ii'
00:21:46  + '[' -f /tmp/packages_start.txt ']'
00:21:46  + '[' -f /tmp/packages_end.txt ']'
00:21:46  + diff /tmp/packages_start.txt /tmp/packages_end.txt
00:21:46  + '[' /w/workspace/edgexfoundry_device-gpio_PR-245 ']'
00:21:46  + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-245/archives/
00:21:46  + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-245/archives/
  [Pipeline] echo
00:21:46  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-gpio_PR-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json]
  [Pipeline] sh
00:21:46  + facter operatingsystem
  [Pipeline] isUnix
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] sh
00:21:47  + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest
00:21:47  .
  [Pipeline] }
  [Pipeline] // withEnv
  [Pipeline] withDockerContainer
00:21:47  prd-ubuntu20.04-docker-8c-8g-40092 does not seem to be running inside a container
00:21:47  $ 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-gpio_PR-245/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-gpio_PR-245 -v /w/workspace/edgexfoundry_device-gpio_PR-245:/w/workspace/edgexfoundry_device-gpio_PR-245:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-245@tmp:/w/workspace/edgexfoundry_device-gpio_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat
00:21:47  $ docker top cd9e803d1e5cf50d672c6893b0acfcfb1f208f89b1d0c580d8febce7b5b4c1be -eo pid,comm
  [Pipeline] {
  [Pipeline] sh
00:21:48  + touch /tmp/pre-build-complete
  [Pipeline] sh
00:21:48  + mkdir -p /var/log/sysstat
  [Pipeline] sh
00:21:48  + ls /var/log/sa-host
00:21:48  ls: cannot access '/var/log/sa-host': No such file or directory
  [Pipeline] withEnv
  [Pipeline] {
  [Pipeline] configFileProvider
00:21:49  provisioning config files...
00:21:49  copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-245@tmp/config16307758463651675379tmp
  [Pipeline] {
  [Pipeline] echo
00:21:49  Running shell/create-netrc.sh
  [Pipeline] libraryResource
  [Pipeline] sh
00:21:49  ---> create-netrc.sh
  [Pipeline] }
00:21:49  Deleting 1 temporary files
  [Pipeline] // configFileProvider
  [Pipeline] libraryResource
  [Pipeline] sh
00:21:50  ---> python-tools-install.sh
  [Pipeline] echo
00:21:50  Running shell/sudo-logs.sh
  [Pipeline] libraryResource
  [Pipeline] sh
00:21:50  ---> sudo-logs.sh
00:21:50  Archiving 'sudo' log..
  [Pipeline] unstash
  [Pipeline] echo
00:21:50  Running shell/job-cost.sh
  [Pipeline] libraryResource
  [Pipeline] sh
00:21:50  ---> job-cost.sh
00:21:50  lf-activate-venv: SKIPPING
00:21:50  DEBUG: total: 0.2199999988079071
00:21:50  INFO: Retrieving Stack Cost...
00:21:50  INFO: Retrieving Pricing Info for: v3-standard-8
00:21:51  INFO: Archiving Costs
  [Pipeline] echo
00:21:51  Running shell/logs-deploy.sh
  [Pipeline] libraryResource
  [Pipeline] sh
00:21:51  ---> logs-deploy.sh
00:21:51  lf-activate-venv: SKIPPING
00:21:51  INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-245/1
00:21:51  INFO: archiving workspace using pattern(s): 
00:21:52  Archives upload complete.
00:21:52  INFO: archiving logs to Nexus