Pull request #451 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8bc91512697cb039f7fd9432312e62fe8ae123ce+e0a5c5a73132d7079afb502fe425c62ff6deb797 (79417338c0df7befeac278277b718e3e74746597) 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-ssh2522251951755080208.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-ssh2935537679050419260.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-rest-go/branches/PR-451/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-rest-go/branches/PR-451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6556821253577332446.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-rest-go/branches/PR-451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11359023777829586719.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-ssh14062094637205003831.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-rest-go/branches/PR-451/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-rest-go/branches/PR-451/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15024108301220637755.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go 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-rest 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-39634 in /w/workspace/gexfoundry_device-rest-go_PR-451 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-451 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/451/head:refs/remotes/origin/PR-451 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e0a5c5a73132d7079afb502fe425c62ff6deb797 into PR head commit 8bc91512697cb039f7fd9432312e62fe8ae123ce Merge succeeded, producing 8bc91512697cb039f7fd9432312e62fe8ae123ce Checking out Revision 8bc91512697cb039f7fd9432312e62fe8ae123ce (PR-451) Commit message: "build(deps): Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5" 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 8bc91512697cb039f7fd9432312e62fe8ae123ce # 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 e0a5c5a73132d7079afb502fe425c62ff6deb797 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bc91512697cb039f7fd9432312e62fe8ae123ce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:55:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:55:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:55:33 ========================================================= 22:55:33 EdgeX Global Pipelines Version Info 22:55:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:55:34 ------------------- 22:55:34 stable info: 22:55:34 ------------------- 22:55:34 Commited By: Cherry Wang cherry@iotechsys.com 22:55:34 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 22:55:34 Message: update stable to v1.0.269 22:55:34 ------------------- 22:55:34 experimental info: 22:55:34 ------------------- 22:55:34 Commited By: **** collab-it+edgex@linuxfoundation.org 22:55:34 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 22:55:34 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:55:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:55:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:55:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:55:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-451 [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-451 [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-451 [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bc91512697cb039f7fd9432312e62fe8ae123ce [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bc9151 [Pipeline] echo 22:55:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:36 provisioning config files... 22:55:36 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-451@tmp/config14734931596742111463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:37 ---> ****-login.sh 22:55:37 nexus3.edgexfoundry.org:10001 22:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:55:37 Configure a credential helper to remove this warning. See 22:55:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:55:37 22:55:37 Login Succeeded 22:55:37 nexus3.edgexfoundry.org:10002 22:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:55:37 Configure a credential helper to remove this warning. See 22:55:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:55:37 22:55:37 Login Succeeded 22:55:37 nexus3.edgexfoundry.org:10003 22:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:55:37 Configure a credential helper to remove this warning. See 22:55:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:55:37 22:55:37 Login Succeeded 22:55:37 nexus3.edgexfoundry.org:10004 22:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:55:37 Configure a credential helper to remove this warning. See 22:55:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:55:37 22:55:37 Login Succeeded 22:55:37 ****.io 22:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:55:37 Configure a credential helper to remove this warning. See 22:55:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:55:37 22:55:37 Login Succeeded 22:55:37 ---> ****-login.sh ends [Pipeline] } 22:55:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:55:38 + git rev-list -1 --merges 8bc91512697cb039f7fd9432312e62fe8ae123ce~1..8bc91512697cb039f7fd9432312e62fe8ae123ce [Pipeline] echo 22:55:38 -----------> git rev-list -1 --merges 8bc91512697cb039f7fd9432312e62fe8ae123ce~1..8bc91512697cb039f7fd9432312e62fe8ae123ce 8bc91512697cb039f7fd9432312e62fe8ae123ce [false] [Pipeline] sh 22:55:38 + git log --format=format:%s -1 8bc91512697cb039f7fd9432312e62fe8ae123ce [Pipeline] echo 22:55:38 ========================================================= 22:55:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:55:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:55:39 + git log --format=format:%s -1 8bc91512697cb039f7fd9432312e62fe8ae123ce [Pipeline] echo 22:55:39 [semverPrep] GIT_COMMIT: 8bc91512697cb039f7fd9432312e62fe8ae123ce, Commit Message: build(deps): Bump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 [Pipeline] echo 22:55:39 [semverPrep] This is not a build commit. [Pipeline] sh 22:55:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:55:39 + grep -v github /etc/ssh/ssh_known_hosts 22:55:39 + [ -e /tmp/ssh_known_hosts ] 22:55:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:55:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:55:39 + sudo tee -a /etc/ssh/ssh_known_hosts 22:55:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:55:40 22:55:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:55:40 0.1.4: Pulling from edgex-devops/py-git-semver 22:55:40 b85a868b505f: Pulling fs layer 22:55:40 e2be974225ed: Pulling fs layer 22:55:40 339a4e72a1f5: Pulling fs layer 22:55:40 988bab9f4d93: Pulling fs layer 22:55:40 1469e6f7b9e6: Pulling fs layer 22:55:40 eaf3925da568: Pulling fs layer 22:55:40 bab4dde63d76: Pulling fs layer 22:55:40 bde34c3a00c8: Pulling fs layer 22:55:40 b352a97aabf1: Pulling fs layer 22:55:40 988bab9f4d93: Waiting 22:55:40 4872d77fe225: Pulling fs layer 22:55:40 5851b861e8e6: Pulling fs layer 22:55:40 eaf3925da568: Waiting 22:55:40 1469e6f7b9e6: Waiting 22:55:40 bab4dde63d76: Waiting 22:55:40 4872d77fe225: Waiting 22:55:40 5851b861e8e6: Waiting 22:55:40 b352a97aabf1: Waiting 22:55:40 bde34c3a00c8: Waiting 22:55:40 e2be974225ed: Download complete 22:55:40 988bab9f4d93: Download complete 22:55:40 1469e6f7b9e6: Verifying Checksum 22:55:40 eaf3925da568: Download complete 22:55:40 339a4e72a1f5: Verifying Checksum 22:55:40 339a4e72a1f5: Download complete 22:55:41 bde34c3a00c8: Download complete 22:55:41 b352a97aabf1: Download complete 22:55:41 4872d77fe225: Verifying Checksum 22:55:41 4872d77fe225: Download complete 22:55:41 5851b861e8e6: Verifying Checksum 22:55:41 5851b861e8e6: Download complete 22:55:41 b85a868b505f: Verifying Checksum 22:55:41 b85a868b505f: Download complete 22:55:41 bab4dde63d76: Verifying Checksum 22:55:41 bab4dde63d76: Download complete 22:55:42 b85a868b505f: Pull complete 22:55:42 e2be974225ed: Pull complete 22:55:42 339a4e72a1f5: Pull complete 22:55:43 988bab9f4d93: Pull complete 22:55:43 1469e6f7b9e6: Pull complete 22:55:43 eaf3925da568: Pull complete 22:55:45 bab4dde63d76: Pull complete 22:55:45 bde34c3a00c8: Pull complete 22:55:45 b352a97aabf1: Pull complete 22:55:45 4872d77fe225: Pull complete 22:55:45 5851b861e8e6: Pull complete 22:55:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:55:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:55:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:55:45 prd-ubuntu20.04-docker-8c-8g-39634 does not seem to be running inside a container 22:55:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-451 -v /w/workspace/gexfoundry_device-rest-go_PR-451:/w/workspace/gexfoundry_device-rest-go_PR-451:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-451@tmp:/w/workspace/gexfoundry_device-rest-go_PR-451@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:55:46 $ docker top c4ec6d61d4edc8c35753d84404c3dbb2921997c0e31e26788551e4442ad9ee39 -eo pid,comm 22:55:46 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). 22:55:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:55:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:47 [ssh-agent] Looking for ssh-agent implementation... 22:55:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:47 $ docker exec c4ec6d61d4edc8c35753d84404c3dbb2921997c0e31e26788551e4442ad9ee39 ssh-agent 22:55:47 SSH_AUTH_SOCK=/tmp/ssh-SjnQmeDWZZ4t/agent.33 22:55:47 SSH_AGENT_PID=39 22:55:47 Running ssh-add (command line suppressed) 22:55:47 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-451@tmp/private_key_977170218362225524.key (/w/workspace/gexfoundry_device-rest-go_PR-451@tmp/private_key_977170218362225524.key) 22:55:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:47 + git tag --points-at HEAD [Pipeline] } 22:55:47 $ docker exec --env ******** --env ******** c4ec6d61d4edc8c35753d84404c3dbb2921997c0e31e26788551e4442ad9ee39 ssh-agent -k 22:55:47 unset SSH_AUTH_SOCK; 22:55:47 unset SSH_AGENT_PID; 22:55:47 echo Agent pid 39 killed; 22:55:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:55:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:55:48 [ssh-agent] Looking for ssh-agent implementation... 22:55:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:55:48 $ docker exec c4ec6d61d4edc8c35753d84404c3dbb2921997c0e31e26788551e4442ad9ee39 ssh-agent 22:55:48 SSH_AUTH_SOCK=/tmp/ssh-iI7ANYnMrOJY/agent.72 22:55:48 SSH_AGENT_PID=78 22:55:48 Running ssh-add (command line suppressed) 22:55:48 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-451@tmp/private_key_5621471492841433694.key (/w/workspace/gexfoundry_device-rest-go_PR-451@tmp/private_key_5621471492841433694.key) 22:55:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:55:48 + git semver init 22:55:49 2025-02-24 22:55:49,119 [run_init] DEBUG init version:0.0.0 force:False 22:55:49 2025-02-24 22:55:49,119 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-451/.semver 22:55:49 2025-02-24 22:55:49,120 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-451/.semver 22:55:49 2025-02-24 22:55:49,120 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-451/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-451, universal_newlines=False, shell=None, istream=None) 22:55:50 2025-02-24 22:55:50,354 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-451/.git/info/exclude 22:55:50 2025-02-24 22:55:50,355 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-451/.semver/PR-451 with force:False 22:55:50 2025-02-24 22:55:50,355 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-451/.semver/PR-451 22:55:50 2025-02-24 22:55:50,359 [execute] INFO git cat-file --batch-check 22:55:50 2025-02-24 22:55:50,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-451/.semver, universal_newlines=False, shell=None, istream=) 22:55:50 2025-02-24 22:55:50,365 [execute] INFO git cat-file --batch 22:55:50 2025-02-24 22:55:50,365 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-451/.semver, universal_newlines=False, shell=None, istream=) 22:55:50 2025-02-24 22:55:50,370 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-451/.semver/PR-451 22:55:50 0.0.0 [Pipeline] } 22:55:50 $ docker exec --env ******** --env ******** c4ec6d61d4edc8c35753d84404c3dbb2921997c0e31e26788551e4442ad9ee39 ssh-agent -k 22:55:50 unset SSH_AUTH_SOCK; 22:55:50 unset SSH_AGENT_PID; 22:55:50 echo Agent pid 78 killed; 22:55:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:55:51 + git semver [Pipeline] } 22:55:51 $ docker stop --time=1 c4ec6d61d4edc8c35753d84404c3dbb2921997c0e31e26788551e4442ad9ee39 22:55:52 $ docker rm -f --volumes c4ec6d61d4edc8c35753d84404c3dbb2921997c0e31e26788551e4442ad9ee39 [Pipeline] // withDockerContainer [Pipeline] sh 22:55:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:55:53 Stashed 1 file(s) [Pipeline] echo 22:55:53 [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 22:55:54 provisioning config files... 22:55:54 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-451@tmp/config17273911989519676924tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 22:55:55 ---> ****-login.sh 22:55:55 nexus3.edgexfoundry.org:10001 22:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:55:55 Configure a credential helper to remove this warning. See 22:55:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:55:55 22:55:55 Login Succeeded 22:55:55 nexus3.edgexfoundry.org:10002 22:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:55:55 Configure a credential helper to remove this warning. See 22:55:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:55:55 22:55:55 Login Succeeded 22:55:55 nexus3.edgexfoundry.org:10003 22:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:55:55 Configure a credential helper to remove this warning. See 22:55:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:55:55 22:55:55 Login Succeeded 22:55:55 nexus3.edgexfoundry.org:10004 22:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:55:55 Configure a credential helper to remove this warning. See 22:55:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:55:55 22:55:55 Login Succeeded 22:55:55 ****.io 22:55:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 22:55:55 Configure a credential helper to remove this warning. See 22:55:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 22:55:55 22:55:55 Login Succeeded 22:55:55 ---> ****-login.sh ends [Pipeline] } 22:55:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:55:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:55:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 22:55:56 ========================================================= 22:55:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 22:55:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:57 + 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 . 22:55:57 Sending build context to Docker daemon 16.68MB 22:55:57 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 22:55:57 Step 2/12 : FROM ${BASE} AS builder 22:55:57 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 22:55:57 da9db072f522: Pulling fs layer 22:55:57 6ef4a4ee8ca5: Pulling fs layer 22:55:57 06f05ace1117: Pulling fs layer 22:55:57 5fe327b54edc: Pulling fs layer 22:55:57 4f4fb700ef54: Pulling fs layer 22:55:57 92a5565b7b96: Pulling fs layer 22:55:57 ff9bb7016b71: Pulling fs layer 22:55:57 b67dba6c2c7d: Pulling fs layer 22:55:57 a813b0c90790: Pulling fs layer 22:55:57 5fe327b54edc: Waiting 22:55:57 4f4fb700ef54: Waiting 22:55:57 92a5565b7b96: Waiting 22:55:57 b67dba6c2c7d: Waiting 22:55:57 a813b0c90790: Waiting 22:55:57 ff9bb7016b71: Waiting 22:55:57 6ef4a4ee8ca5: Verifying Checksum 22:55:57 6ef4a4ee8ca5: Download complete 22:55:57 5fe327b54edc: Verifying Checksum 22:55:57 5fe327b54edc: Download complete 22:55:57 4f4fb700ef54: Download complete 22:55:57 92a5565b7b96: Verifying Checksum 22:55:57 92a5565b7b96: Download complete 22:55:57 da9db072f522: Verifying Checksum 22:55:57 da9db072f522: Download complete 22:55:57 ff9bb7016b71: Verifying Checksum 22:55:57 ff9bb7016b71: Download complete 22:55:57 da9db072f522: Pull complete 22:55:57 a813b0c90790: Download complete 22:55:57 6ef4a4ee8ca5: Pull complete 22:55:58 06f05ace1117: Verifying Checksum 22:55:58 06f05ace1117: Download complete 22:55:58 b67dba6c2c7d: Verifying Checksum 22:55:58 b67dba6c2c7d: Download complete 22:56:01 06f05ace1117: Pull complete 22:56:01 5fe327b54edc: Pull complete 22:56:01 4f4fb700ef54: Pull complete 22:56:01 92a5565b7b96: Pull complete 22:56:01 ff9bb7016b71: Pull complete 22:56:04 b67dba6c2c7d: Pull complete 22:56:04 a813b0c90790: Pull complete 22:56:04 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 22:56:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 22:56:04 ---> 3ba60ce46760 22:56:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:56:06 ---> Running in dd7e11366397 22:56:06 Removing intermediate container dd7e11366397 22:56:06 ---> b474f3e0e2d1 22:56:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:56:06 ---> Running in 13b26165999e 22:56:06 Removing intermediate container 13b26165999e 22:56:06 ---> 7cf0c7d86328 22:56:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:56:06 ---> Running in d5171d346fb4 22:56:06 Removing intermediate container d5171d346fb4 22:56:06 ---> 0a6bbc8fa0c7 22:56:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:56:06 ---> Running in 23ded40f07f9 22:56:06 Removing intermediate container 23ded40f07f9 22:56:06 ---> d3e48dbe3bf6 22:56:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:56:06 ---> Running in 53a6a8406c5e 22:56:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:56:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:56:07 (1/4) Installing openssh-keygen (9.7_p1-r5) 22:56:07 (2/4) Installing libedit (20240517.3.1-r0) 22:56:07 (3/4) Installing openssh-client-common (9.7_p1-r5) 22:56:07 (4/4) Installing openssh-client-default (9.7_p1-r5) 22:56:07 Executing busybox-1.36.1-r29.trigger 22:56:07 OK: 252 MiB in 62 packages 22:56:08 Removing intermediate container 53a6a8406c5e 22:56:08 ---> 2ba6d25193b9 22:56:08 Step 8/12 : WORKDIR /device-rest-go 22:56:08 ---> Running in 08f1f1ed9adf 22:56:08 Removing intermediate container 08f1f1ed9adf 22:56:08 ---> 887169254d43 22:56:08 Step 9/12 : COPY go.mod vendor* ./ 22:56:08 ---> 839b8c3a90f3 22:56:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:56:08 ---> Running in e91ade44fb08 22:56:47 Removing intermediate container e91ade44fb08 22:56:47 ---> c55fd1e9397c 22:56:47 Step 11/12 : COPY . . 22:56:47 ---> 14bee4841d1c 22:56:47 Step 12/12 : RUN $MAKE 22:56:47 ---> Running in 956dca877d1f 22:56:47 noop 22:56:47 Removing intermediate container 956dca877d1f 22:56:47 ---> ed4ddf7edcca 22:56:47 Successfully built ed4ddf7edcca 22:56:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:48 + docker inspect -f . ci-base-image-x86_64 22:56:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:48 prd-ubuntu20.04-docker-8c-8g-39634 does not seem to be running inside a container 22:56:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-451 -v /w/workspace/gexfoundry_device-rest-go_PR-451:/w/workspace/gexfoundry_device-rest-go_PR-451:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-451@tmp:/w/workspace/gexfoundry_device-rest-go_PR-451@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 ******** -e ******** ci-base-image-x86_64 cat 22:56:48 $ docker top edb3127902e5dff3a449109f2a21ecb8566e6de0918744aa05efd48c158c2fb7 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:49 + go version 22:56:49 go version go1.23.4 linux/amd64 [Pipeline] } 22:56:49 $ docker stop --time=1 edb3127902e5dff3a449109f2a21ecb8566e6de0918744aa05efd48c158c2fb7 22:56:50 $ docker rm -f --volumes edb3127902e5dff3a449109f2a21ecb8566e6de0918744aa05efd48c158c2fb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:51 + docker inspect -f . ci-base-image-x86_64 22:56:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:51 prd-ubuntu20.04-docker-8c-8g-39634 does not seem to be running inside a container 22:56:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-451 -v /w/workspace/gexfoundry_device-rest-go_PR-451:/w/workspace/gexfoundry_device-rest-go_PR-451:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-451@tmp:/w/workspace/gexfoundry_device-rest-go_PR-451@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 ******** -e ******** ci-base-image-x86_64 cat 22:56:51 $ docker top dc76c0a69d1c0c5c2f4a69c4b32dff5c91ae429a47806f00b8338ae0b1b76099 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-451 [Pipeline] fileExists [Pipeline] sh 22:56:52 + make test 22:56:52 go test ./... -coverprofile=coverage.out ./... 22:56:53 ? github.com/edgexfoundry/device-rest-go [no test files] 22:57:11 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 22:57:11 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements 22:57:20 go vet ./... 22:57:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:57:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:57:24 ./bin/test-attribution-txt.sh [Pipeline] echo 22:57:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 22:57:24 $ docker stop --time=1 dc76c0a69d1c0c5c2f4a69c4b32dff5c91ae429a47806f00b8338ae0b1b76099 22:57:27 $ docker rm -f --volumes dc76c0a69d1c0c5c2f4a69c4b32dff5c91ae429a47806f00b8338ae0b1b76099 [Pipeline] // withDockerContainer [Pipeline] sh 22:57:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:57:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:57:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:57:29 + ls -al . 22:57:29 total 244 22:57:29 drwxrwxr-x 9 jenkins jenkins 4096 Feb 24 22:56 . 22:57:29 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 22:55 .. 22:57:29 -rw-rw-r-- 1 jenkins jenkins 151 Feb 24 22:55 .dockerignore 22:57:29 drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 22:57 .git 22:57:29 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 22:55 .github 22:57:29 -rw-rw-r-- 1 jenkins jenkins 264 Feb 24 22:55 .gitignore 22:57:29 -rw-rw-r-- 1 jenkins jenkins 41 Feb 24 22:55 .golangci.yml 22:57:29 drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 22:55 .semver 22:57:29 -rw-rw-r-- 1 jenkins jenkins 20138 Feb 24 22:55 Attribution.txt 22:57:29 -rw-rw-r-- 1 jenkins jenkins 17685 Feb 24 22:55 CHANGELOG.md 22:57:29 -rw-rw-r-- 1 jenkins jenkins 1697 Feb 24 22:55 Dockerfile 22:57:29 -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 22:55 GOVERNANCE.md 22:57:29 -rw-rw-r-- 1 jenkins jenkins 680 Feb 24 22:55 Jenkinsfile 22:57:29 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 24 22:55 LICENSE 22:57:29 -rw-rw-r-- 1 jenkins jenkins 2598 Feb 24 22:55 Makefile 22:57:29 -rw-rw-r-- 1 jenkins jenkins 620 Feb 24 22:55 OWNERS.md 22:57:29 -rw-rw-r-- 1 jenkins jenkins 3989 Feb 24 22:55 README.md 22:57:29 -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 22:55 VERSION 22:57:29 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 22:55 bin 22:57:29 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 22:55 cmd 22:57:29 -rw-r--r-- 1 jenkins jenkins 14565 Feb 24 22:57 coverage.out 22:57:29 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 22:55 driver 22:57:29 -rw-rw-r-- 1 jenkins jenkins 6292 Feb 24 22:55 go.mod 22:57:29 -rw-rw-r-- 1 jenkins jenkins 86628 Feb 24 22:55 go.sum 22:57:29 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 22:55 openapi 22:57:29 -rw-rw-r-- 1 jenkins jenkins 713 Feb 24 22:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:29 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=8bc91512697cb039f7fd9432312e62fe8ae123ce --label arch=amd64 --label version=0.0.0 . 22:57:29 Sending build context to Docker daemon 16.7MB 22:57:29 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 22:57:29 Step 2/26 : FROM ${BASE} AS builder 22:57:29 ---> ed4ddf7edcca 22:57:29 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:57:29 ---> Running in 87ea3e9a487a 22:57:29 Removing intermediate container 87ea3e9a487a 22:57:29 ---> 1321d77d2d64 22:57:29 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:57:29 ---> Running in 8296c3e32cda 22:57:29 Removing intermediate container 8296c3e32cda 22:57:29 ---> 9ebd52debc43 22:57:29 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:57:29 ---> Running in 6da6637e8b92 22:57:29 Removing intermediate container 6da6637e8b92 22:57:29 ---> 9ab649ae9ba5 22:57:29 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:57:29 ---> Running in bd0a633e232a 22:57:30 Removing intermediate container bd0a633e232a 22:57:30 ---> f5a4898e16a5 22:57:30 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:57:30 ---> Running in 401a81e369c4 22:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:57:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:57:30 OK: 252 MiB in 62 packages 22:57:30 Removing intermediate container 401a81e369c4 22:57:30 ---> 198467d73cd0 22:57:30 Step 8/26 : WORKDIR /device-rest-go 22:57:30 ---> Running in 8a62fc040647 22:57:31 Removing intermediate container 8a62fc040647 22:57:31 ---> a7dc87d19f5b 22:57:31 Step 9/26 : COPY go.mod vendor* ./ 22:57:31 ---> 220c1d65967a 22:57:31 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:57:31 ---> Running in ded42601e896 22:57:31 Removing intermediate container ded42601e896 22:57:31 ---> 029b54106bae 22:57:31 Step 11/26 : COPY . . 22:57:32 ---> 193c50cf01f3 22:57:32 Step 12/26 : RUN $MAKE 22:57:32 ---> Running in 37346b63920d 22:57:32 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.25 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:57:59 Removing intermediate container 37346b63920d 22:57:59 ---> 63b362386a83 22:57:59 Step 13/26 : FROM alpine:3.20 22:57:59 3.20: Pulling from library/alpine 22:57:59 0a9a5dfd008f: Pulling fs layer 22:57:59 0a9a5dfd008f: Download complete 22:57:59 0a9a5dfd008f: Pull complete 22:57:59 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 22:57:59 Status: Downloaded newer image for alpine:3.20 22:57:59 ---> ff221270b9fb 22:57:59 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 22:57:59 ---> Running in 69666980f917 22:57:59 Removing intermediate container 69666980f917 22:57:59 ---> 072f34236355 22:57:59 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 22:57:59 ---> Running in ec7487472dbe 22:57:59 Removing intermediate container ec7487472dbe 22:57:59 ---> 025f20312cf4 22:57:59 Step 16/26 : RUN apk add --update --no-cache dumb-init 22:57:59 ---> Running in 443b26a9680c 22:57:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:57:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:57:59 (1/1) Installing dumb-init (1.2.5-r3) 22:57:59 Executing busybox-1.36.1-r29.trigger 22:58:00 OK: 8 MiB in 15 packages 22:58:00 Removing intermediate container 443b26a9680c 22:58:00 ---> afde2e8889d7 22:58:00 Step 17/26 : RUN apk --no-cache upgrade 22:58:00 ---> Running in 1fb86df7839b 22:58:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 22:58:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 22:58:00 OK: 8 MiB in 15 packages 22:58:01 Removing intermediate container 1fb86df7839b 22:58:01 ---> 026291fc26e7 22:58:01 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:58:01 ---> 9b011a5029bc 22:58:01 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:58:02 ---> bd1d8101e4dd 22:58:02 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:58:02 ---> 353dde56eeb7 22:58:02 Step 21/26 : EXPOSE 59986 22:58:02 ---> Running in 1a51bad0a2fb 22:58:02 Removing intermediate container 1a51bad0a2fb 22:58:02 ---> 040fe908ad8c 22:58:02 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:58:02 ---> Running in 056babc502bf 22:58:02 Removing intermediate container 056babc502bf 22:58:02 ---> 607d74fadcaf 22:58:02 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 22:58:02 ---> Running in 1856a51fd5c9 22:58:02 Removing intermediate container 1856a51fd5c9 22:58:02 ---> f397eac595d9 22:58:02 Step 24/26 : LABEL arch=amd64 22:58:02 ---> Running in 91ae7f23132c 22:58:02 Removing intermediate container 91ae7f23132c 22:58:02 ---> 01795dec26fb 22:58:02 Step 25/26 : LABEL git_sha=8bc91512697cb039f7fd9432312e62fe8ae123ce 22:58:02 ---> Running in 813e7a9d10b4 22:58:02 Removing intermediate container 813e7a9d10b4 22:58:02 ---> 37358bce547c 22:58:02 Step 26/26 : LABEL version=0.0.0 22:58:02 ---> Running in b3b89fa4af3c 22:58:02 Removing intermediate container b3b89fa4af3c 22:58:02 ---> af73e54583da 22:58:02 [Warning] One or more build-args [ARCH] were not consumed 22:58:02 Successfully built af73e54583da 22:58:02 Successfully tagged device-rest: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 22:58:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:58:03 22:58:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:58:03 latest: Pulling from edgex-lftools-log-publisher 22:58:03 5eb5b503b376: Pulling fs layer 22:58:03 5c69ac0246d0: Pulling fs layer 22:58:03 ec43610c2a17: Pulling fs layer 22:58:03 3a2ae6a8a46f: Pulling fs layer 22:58:03 33b1e0a273af: Pulling fs layer 22:58:03 5d3b04190fa2: Pulling fs layer 22:58:03 2f39f015ded8: Pulling fs layer 22:58:03 5d3b04190fa2: Waiting 22:58:03 2f39f015ded8: Waiting 22:58:03 3a2ae6a8a46f: Waiting 22:58:03 33b1e0a273af: Waiting 22:58:03 5c69ac0246d0: Download complete 22:58:03 3a2ae6a8a46f: Verifying Checksum 22:58:03 3a2ae6a8a46f: Download complete 22:58:03 33b1e0a273af: Verifying Checksum 22:58:03 33b1e0a273af: Download complete 22:58:03 5d3b04190fa2: Verifying Checksum 22:58:03 5d3b04190fa2: Download complete 22:58:03 ec43610c2a17: Verifying Checksum 22:58:03 ec43610c2a17: Download complete 22:58:04 5eb5b503b376: Verifying Checksum 22:58:04 5eb5b503b376: Download complete 22:58:04 2f39f015ded8: Download complete 22:58:05 5eb5b503b376: Pull complete 22:58:05 5c69ac0246d0: Pull complete 22:58:05 ec43610c2a17: Pull complete 22:58:05 3a2ae6a8a46f: Pull complete 22:58:05 33b1e0a273af: Pull complete 22:58:05 5d3b04190fa2: Pull complete 22:58:10 2f39f015ded8: Pull complete 22:58:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:58:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:58:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:10 prd-ubuntu20.04-docker-8c-8g-39634 does not seem to be running inside a container 22:58:10 $ 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/gexfoundry_device-rest-go_PR-451 -v /w/workspace/gexfoundry_device-rest-go_PR-451:/w/workspace/gexfoundry_device-rest-go_PR-451:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-451@tmp:/w/workspace/gexfoundry_device-rest-go_PR-451@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:58:12 $ docker top 9c0d63b29c7e1967dc22f318b59481d13da923813f039775ebf5fbeea88882db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:12 ---> job-cost.sh 22:58:12 lf-activate-venv: SKIPPING 22:58:12 INFO: No Stack... 22:58:13 INFO: Retrieving Pricing Info for: v3-standard-8 22:58:13 INFO: Archiving Costs [Pipeline] sh 22:58:13 + cat /w/workspace/gexfoundry_device-rest-go_PR-451/archives/cost.csv 22:58:13 + cut -d, -f6 [Pipeline] lock 22:58:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-451-1-stack-cost] 22:58:13 Resource [jenkins-edgexfoundry-device-rest-go-PR-451-1-stack-cost] did not exist. Created. 22:58:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-451-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:58:14 + echo total: 0.2199999988079071 [Pipeline] stash 22:58:14 Stashed 1 file(s) [Pipeline] } 22:58:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-451-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:58:14 $ docker stop --time=1 9c0d63b29c7e1967dc22f318b59481d13da923813f039775ebf5fbeea88882db 22:58:15 $ docker rm -f --volumes 9c0d63b29c7e1967dc22f318b59481d13da923813f039775ebf5fbeea88882db [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 22:58:16 provisioning config files... 22:58:16 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-451@tmp/config17311414316166971766tmp [Pipeline] { [Pipeline] sh 22:58:16 + set +x 22:58:16 + curl -s https://codecov.io/bash 22:58:16 + bash -s -- 22:58:16 22:58:16 _____ _ 22:58:16 / ____| | | 22:58:16 | | ___ __| | ___ ___ _____ __ 22:58:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:58:16 | |___| (_) | (_| | __/ (_| (_) \ V / 22:58:16 \_____\___/ \__,_|\___|\___\___/ \_/ 22:58:16 Bash-1.0.6 22:58:16 22:58:16 22:58:16 ==> git version 2.25.1 found 22:58:16 ==> 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 22:58:16 Release-Date: 2020-01-08 22:58:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:58:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:58:16 ==> Jenkins CI detected. 22:58:16 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-451 22:58:16 project root: . 22:58:16 --> token set from env 22:58:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:58:16 ==> Running gcov in . (disable via -X gcov) 22:58:16 ==> Python coveragepy not found 22:58:16 ==> Searching for coverage reports in: 22:58:16 + . 22:58:16 -> Found 1 reports 22:58:16 ==> Detecting git/mercurial file structure 22:58:16 ==> Reading reports 22:58:16 + ./coverage.out bytes=14565 22:58:16 ==> Appending adjustments 22:58:16 https://docs.codecov.io/docs/fixing-reports 22:58:17 + Found adjustments 22:58:17 ==> Gzipping contents 22:58:17 4.0K /tmp/codecov.D5hovj.gz 22:58:17 ==> Uploading reports 22:58:17 url: https://codecov.io 22:58:17 query: branch=PR-451&commit=8bc91512697cb039f7fd9432312e62fe8ae123ce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-451%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=451&job=&cmd_args= 22:58:17 -> Pinging Codecov 22:58:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-451&commit=8bc91512697cb039f7fd9432312e62fe8ae123ce&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-451%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=451&job=&cmd_args= 22:58:17 -> Uploading to 22:58:17 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/8bc91512697cb039f7fd9432312e62fe8ae123ce/6adb591c-c034-4743-aa2a-37d378870af0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250224%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250224T225817Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=93e1cdabdb8d17bde004a8cb37e6b507dfe501b55c01ffff3a3eeb33e050400a 22:58:17 % Total % Received % Xferd Average Speed Time Time Time Current 22:58:17 Dload Upload Total Spent Left Speed 22:58:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 14543 --:--:-- --:--:-- --:--:-- 14635 22:58:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8bc91512697cb039f7fd9432312e62fe8ae123ce [Pipeline] } 22:58:17 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 22:58:19 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-451/archives ] 22:58:19 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-451/archives 22:58:19 total 16 22:58:19 drwxr-xr-x 3 root root 4096 Feb 24 22:58 . 22:58:19 drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 22:58 .. 22:58:19 drwxr-xr-x 2 root root 4096 Feb 24 22:58 cost 22:58:19 -rw-r--r-- 1 root root 86 Feb 24 22:58 cost.csv 22:58:19 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-451/archives 22:58:19 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-451/archives 22:58:19 total 16 22:58:19 drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 22:58 . 22:58:19 drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 22:58 .. 22:58:19 drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 22:58 cost 22:58:19 -rw-r--r-- 1 jenkins jenkins 86 Feb 24 22:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:58:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:58:20 ---> package-listing.sh 22:58:20 ++ facter osfamily 22:58:20 ++ tr '[:upper:]' '[:lower:]' 22:58:21 + OS_FAMILY=debian 22:58:21 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-451 22:58:21 + START_PACKAGES=/tmp/packages_start.txt 22:58:21 + END_PACKAGES=/tmp/packages_end.txt 22:58:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:58:21 + PACKAGES=/tmp/packages_start.txt 22:58:21 + '[' /w/workspace/gexfoundry_device-rest-go_PR-451 ']' 22:58:21 + PACKAGES=/tmp/packages_end.txt 22:58:21 + case "${OS_FAMILY}" in 22:58:21 + dpkg -l 22:58:21 + grep '^ii' 22:58:21 + '[' -f /tmp/packages_start.txt ']' 22:58:21 + '[' -f /tmp/packages_end.txt ']' 22:58:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:58:21 + '[' /w/workspace/gexfoundry_device-rest-go_PR-451 ']' 22:58:21 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-451/archives/ 22:58:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-451/archives/ [Pipeline] echo 22:58:21 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/gexfoundry_device-rest-go_PR-451/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:58:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:58:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:22 prd-ubuntu20.04-docker-8c-8g-39634 does not seem to be running inside a container 22:58:22 $ 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/gexfoundry_device-rest-go_PR-451/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-451 -v /w/workspace/gexfoundry_device-rest-go_PR-451:/w/workspace/gexfoundry_device-rest-go_PR-451:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-451@tmp:/w/workspace/gexfoundry_device-rest-go_PR-451@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 22:58:22 $ docker top a012a10842edb5ad1b248023822e3324f891b1e89d8a7dbe6003c75bcd59d2cf -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:22 + touch /tmp/pre-build-complete [Pipeline] sh 22:58:23 + mkdir -p /var/log/sysstat [Pipeline] sh 22:58:23 + ls /var/log/sa-host 22:58:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:58:23 provisioning config files... 22:58:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-451@tmp/config6365587196420561780tmp [Pipeline] { [Pipeline] echo 22:58:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:58:24 ---> create-netrc.sh [Pipeline] } 22:58:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:58:24 ---> python-tools-install.sh [Pipeline] echo 22:58:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:58:24 ---> sudo-logs.sh 22:58:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:58:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:58:25 ---> job-cost.sh 22:58:25 lf-activate-venv: SKIPPING 22:58:25 DEBUG: total: 0.2199999988079071 22:58:25 INFO: Retrieving Stack Cost... 22:58:25 INFO: Retrieving Pricing Info for: v3-standard-8 22:58:25 INFO: Archiving Costs [Pipeline] echo 22:58:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:58:25 ---> logs-deploy.sh 22:58:25 lf-activate-venv: SKIPPING 22:58:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-451/1 22:58:25 INFO: archiving workspace using pattern(s): 22:58:26 Archives upload complete. 22:58:27 INFO: archiving logs to Nexus 22:58:27 ---> uname -a: 22:58:27 Linux prd-ubuntu20-04-docker-8c-8g-39634 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:58:27 22:58:27