Pull request #452 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-rest-go Obtained Jenkinsfile from 12706bf7c7f4b069ad81e3e0b52e7ba5d31d9098+652475eb7f40601dc51275e4cb2d5155a3ec317c (3f2337ea678db9634a2c46104a0b19e8a5ceff96) 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-ssh4063453817858397131.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-ssh6851618876920841843.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-452/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3180518862404690974.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 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-ssh2806361204973233187.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-452/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10752180068630823021.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [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 ‘prd-centos7-blackbox-4c-2g-39928’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-40284’ is offline ‘prd-ubuntu20.04-docker-8c-8g-40287’ is offline Running on prd-ubuntu20.04-docker-8c-8g-40289 in /w/workspace/gexfoundry_device-rest-go_PR-452 [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-452 # 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/452/head:refs/remotes/origin/PR-452 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 652475eb7f40601dc51275e4cb2d5155a3ec317c into PR head commit 12706bf7c7f4b069ad81e3e0b52e7ba5d31d9098 Merge succeeded, producing 8849335978c029502f7970c65ff2dbd000d5014a Checking out Revision 8849335978c029502f7970c65ff2dbd000d5014a (PR-452) > git config core.sparsecheckout # timeout=10 > git checkout -f 12706bf7c7f4b069ad81e3e0b52e7ba5d31d9098 # 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 652475eb7f40601dc51275e4cb2d5155a3ec317c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8849335978c029502f7970c65ff2dbd000d5014a # timeout=10 Commit message: "Merge commit '652475eb7f40601dc51275e4cb2d5155a3ec317c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:59:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:59:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:59:37 ========================================================= 09:59:37 EdgeX Global Pipelines Version Info 09:59:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7ad4387e32f1596f0c44ab4137d01c480a7ff6de # timeout=10 09:59:38 ------------------- 09:59:38 stable info: 09:59:38 ------------------- 09:59:38 Commited By: Cherry Wang cherry@iotechsys.com 09:59:38 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:59:38 Message: update stable to v1.0.269 09:59:39 ------------------- 09:59:39 experimental info: 09:59:39 ------------------- 09:59:39 Commited By: Ginny Guan ginny@iotechsys.com 09:59:39 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:59:39 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:59:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:59:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:59:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:59:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:59:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-452 [Pipeline] echo 09:59:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-452 [Pipeline] echo 09:59:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-452 [Pipeline] echo 09:59:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8849335978c029502f7970c65ff2dbd000d5014a [Pipeline] echo 09:59:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8849335 [Pipeline] echo 09:59:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:59:40 provisioning config files... 09:59:40 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-452@tmp/config15542250683812397865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:59:40 ---> ****-login.sh 09:59:40 nexus3.edgexfoundry.org:10001 09:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:40 Configure a credential helper to remove this warning. See 09:59:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:40 09:59:40 Login Succeeded 09:59:40 nexus3.edgexfoundry.org:10002 09:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:41 Configure a credential helper to remove this warning. See 09:59:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:41 09:59:41 Login Succeeded 09:59:41 nexus3.edgexfoundry.org:10003 09:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:41 Configure a credential helper to remove this warning. See 09:59:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:41 09:59:41 Login Succeeded 09:59:41 nexus3.edgexfoundry.org:10004 09:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:41 Configure a credential helper to remove this warning. See 09:59:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:41 09:59:41 Login Succeeded 09:59:41 ****.io 09:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:41 Configure a credential helper to remove this warning. See 09:59:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:41 09:59:41 Login Succeeded 09:59:41 ---> ****-login.sh ends [Pipeline] } 09:59:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:59:42 + git rev-list -1 --merges 8849335978c029502f7970c65ff2dbd000d5014a~1..8849335978c029502f7970c65ff2dbd000d5014a [Pipeline] echo 09:59:42 -----------> git rev-list -1 --merges 8849335978c029502f7970c65ff2dbd000d5014a~1..8849335978c029502f7970c65ff2dbd000d5014a 8849335978c029502f7970c65ff2dbd000d5014a 09:59:42 8849335978c029502f7970c65ff2dbd000d5014a [false] [Pipeline] sh 09:59:42 + git log --format=format:%s -1 8849335978c029502f7970c65ff2dbd000d5014a [Pipeline] echo 09:59:42 ========================================================= 09:59:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:59:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:59:42 + git log --format=format:%s -1 8849335978c029502f7970c65ff2dbd000d5014a [Pipeline] echo 09:59:42 [semverPrep] GIT_COMMIT: 8849335978c029502f7970c65ff2dbd000d5014a, Commit Message: Merge commit '652475eb7f40601dc51275e4cb2d5155a3ec317c' into HEAD [Pipeline] echo 09:59:42 [semverPrep] This is not a build commit. [Pipeline] sh 09:59:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:59:43 + grep -v github /etc/ssh/ssh_known_hosts 09:59:43 + [ -e /tmp/ssh_known_hosts ] 09:59:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:59:43 + + sudo tee -a /etc/ssh/ssh_known_hosts 09:59:43 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:59:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:59:43 09:59:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:59:43 0.1.4: Pulling from edgex-devops/py-git-semver 09:59:43 b85a868b505f: Pulling fs layer 09:59:43 e2be974225ed: Pulling fs layer 09:59:43 339a4e72a1f5: Pulling fs layer 09:59:43 988bab9f4d93: Pulling fs layer 09:59:43 1469e6f7b9e6: Pulling fs layer 09:59:43 eaf3925da568: Pulling fs layer 09:59:43 bab4dde63d76: Pulling fs layer 09:59:43 bde34c3a00c8: Pulling fs layer 09:59:43 b352a97aabf1: Pulling fs layer 09:59:43 4872d77fe225: Pulling fs layer 09:59:43 5851b861e8e6: Pulling fs layer 09:59:43 988bab9f4d93: Waiting 09:59:43 1469e6f7b9e6: Waiting 09:59:43 eaf3925da568: Waiting 09:59:43 bab4dde63d76: Waiting 09:59:43 bde34c3a00c8: Waiting 09:59:43 b352a97aabf1: Waiting 09:59:43 4872d77fe225: Waiting 09:59:43 5851b861e8e6: Waiting 09:59:43 e2be974225ed: Download complete 09:59:43 988bab9f4d93: Verifying Checksum 09:59:43 988bab9f4d93: Download complete 09:59:43 1469e6f7b9e6: Verifying Checksum 09:59:43 1469e6f7b9e6: Download complete 09:59:44 eaf3925da568: Verifying Checksum 09:59:44 eaf3925da568: Download complete 09:59:44 339a4e72a1f5: Verifying Checksum 09:59:44 339a4e72a1f5: Download complete 09:59:44 bde34c3a00c8: Verifying Checksum 09:59:44 bde34c3a00c8: Download complete 09:59:44 b352a97aabf1: Download complete 09:59:44 4872d77fe225: Verifying Checksum 09:59:44 4872d77fe225: Download complete 09:59:44 5851b861e8e6: Download complete 09:59:44 b85a868b505f: Verifying Checksum 09:59:44 b85a868b505f: Download complete 09:59:44 bab4dde63d76: Verifying Checksum 09:59:44 bab4dde63d76: Download complete 09:59:45 b85a868b505f: Pull complete 09:59:45 e2be974225ed: Pull complete 09:59:45 339a4e72a1f5: Pull complete 09:59:45 988bab9f4d93: Pull complete 09:59:46 1469e6f7b9e6: Pull complete 09:59:46 eaf3925da568: Pull complete 09:59:48 bab4dde63d76: Pull complete 09:59:48 bde34c3a00c8: Pull complete 09:59:48 b352a97aabf1: Pull complete 09:59:48 4872d77fe225: Pull complete 09:59:48 5851b861e8e6: Pull complete 09:59:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:59:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:59:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:48 prd-ubuntu20.04-docker-8c-8g-40289 does not seem to be running inside a container 09:59:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-452 -v /w/workspace/gexfoundry_device-rest-go_PR-452:/w/workspace/gexfoundry_device-rest-go_PR-452:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-452@tmp:/w/workspace/gexfoundry_device-rest-go_PR-452@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:59:51 $ docker top 3ba062dde1704cc579f46343a7d8880a941d7aa67e6f815e62df71d41076cc9c -eo pid,comm 09:59:51 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). 09:59:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:59:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:51 [ssh-agent] Looking for ssh-agent implementation... 09:59:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:51 $ docker exec 3ba062dde1704cc579f46343a7d8880a941d7aa67e6f815e62df71d41076cc9c ssh-agent 09:59:51 SSH_AUTH_SOCK=/tmp/ssh-wpkHcZeO9hJe/agent.32 09:59:51 SSH_AGENT_PID=38 09:59:51 Running ssh-add (command line suppressed) 09:59:51 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-452@tmp/private_key_14931063413331525957.key (/w/workspace/gexfoundry_device-rest-go_PR-452@tmp/private_key_14931063413331525957.key) 09:59:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:52 + git tag --points-at HEAD [Pipeline] } 09:59:52 $ docker exec --env ******** --env ******** 3ba062dde1704cc579f46343a7d8880a941d7aa67e6f815e62df71d41076cc9c ssh-agent -k 09:59:52 unset SSH_AUTH_SOCK; 09:59:52 unset SSH_AGENT_PID; 09:59:52 echo Agent pid 38 killed; 09:59:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:59:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:52 [ssh-agent] Looking for ssh-agent implementation... 09:59:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:52 $ docker exec 3ba062dde1704cc579f46343a7d8880a941d7aa67e6f815e62df71d41076cc9c ssh-agent 09:59:52 SSH_AUTH_SOCK=/tmp/ssh-BvDe7L3yOB5h/agent.71 09:59:52 SSH_AGENT_PID=77 09:59:52 Running ssh-add (command line suppressed) 09:59:52 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-452@tmp/private_key_2648448441088923616.key (/w/workspace/gexfoundry_device-rest-go_PR-452@tmp/private_key_2648448441088923616.key) 09:59:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:53 + git semver init 09:59:53 2025-03-05 09:59:53,205 [run_init] DEBUG init version:0.0.0 force:False 09:59:53 2025-03-05 09:59:53,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-452/.semver 09:59:53 2025-03-05 09:59:53,206 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-452/.semver 09:59:53 2025-03-05 09:59:53,206 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-452/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-452, universal_newlines=False, shell=None, istream=None) 09:59:54 2025-03-05 09:59:54,411 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-452/.git/info/exclude 09:59:54 2025-03-05 09:59:54,412 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-452/.semver/PR-452 with force:False 09:59:54 2025-03-05 09:59:54,412 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-452/.semver/PR-452 09:59:54 2025-03-05 09:59:54,416 [execute] INFO git cat-file --batch-check 09:59:54 2025-03-05 09:59:54,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) 09:59:54 2025-03-05 09:59:54,424 [execute] INFO git cat-file --batch 09:59:54 2025-03-05 09:59:54,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-452/.semver, universal_newlines=False, shell=None, istream=) 09:59:54 2025-03-05 09:59:54,429 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-452/.semver/PR-452 09:59:54 0.0.0 [Pipeline] } 09:59:54 $ docker exec --env ******** --env ******** 3ba062dde1704cc579f46343a7d8880a941d7aa67e6f815e62df71d41076cc9c ssh-agent -k 09:59:54 unset SSH_AUTH_SOCK; 09:59:54 unset SSH_AGENT_PID; 09:59:54 echo Agent pid 77 killed; 09:59:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:59:55 + git semver [Pipeline] } 09:59:55 $ docker stop --time=1 3ba062dde1704cc579f46343a7d8880a941d7aa67e6f815e62df71d41076cc9c 09:59:56 $ docker rm -f --volumes 3ba062dde1704cc579f46343a7d8880a941d7aa67e6f815e62df71d41076cc9c [Pipeline] // withDockerContainer [Pipeline] sh 09:59:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:59:57 Stashed 1 file(s) [Pipeline] echo 09:59:57 [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 09:59:57 provisioning config files... 09:59:57 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-452@tmp/config13031142396855291743tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 09:59:58 ---> ****-login.sh 09:59:58 nexus3.edgexfoundry.org:10001 09:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:58 Configure a credential helper to remove this warning. See 09:59:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:58 09:59:58 Login Succeeded 09:59:58 nexus3.edgexfoundry.org:10002 09:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:58 Configure a credential helper to remove this warning. See 09:59:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:58 09:59:58 Login Succeeded 09:59:58 nexus3.edgexfoundry.org:10003 09:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:58 Configure a credential helper to remove this warning. See 09:59:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:58 09:59:58 Login Succeeded 09:59:58 nexus3.edgexfoundry.org:10004 09:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:58 Configure a credential helper to remove this warning. See 09:59:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:58 09:59:58 Login Succeeded 09:59:58 ****.io 09:59:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:58 Configure a credential helper to remove this warning. See 09:59:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:58 09:59:58 Login Succeeded 09:59:58 ---> ****-login.sh ends [Pipeline] } 09:59:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:59:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:59:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:59:58 ========================================================= 09:59:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:59:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:59 + 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 . 09:59:59 Sending build context to Docker daemon 16.68MB 09:59:59 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 09:59:59 Step 2/12 : FROM ${BASE} AS builder 09:59:59 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:59:59 da9db072f522: Pulling fs layer 09:59:59 6ef4a4ee8ca5: Pulling fs layer 09:59:59 06f05ace1117: Pulling fs layer 09:59:59 5fe327b54edc: Pulling fs layer 09:59:59 4f4fb700ef54: Pulling fs layer 09:59:59 92a5565b7b96: Pulling fs layer 09:59:59 ff9bb7016b71: Pulling fs layer 09:59:59 b67dba6c2c7d: Pulling fs layer 09:59:59 a813b0c90790: Pulling fs layer 09:59:59 5fe327b54edc: Waiting 09:59:59 b67dba6c2c7d: Waiting 09:59:59 4f4fb700ef54: Waiting 09:59:59 a813b0c90790: Waiting 09:59:59 6ef4a4ee8ca5: Verifying Checksum 09:59:59 6ef4a4ee8ca5: Download complete 09:59:59 5fe327b54edc: Verifying Checksum 09:59:59 5fe327b54edc: Download complete 09:59:59 4f4fb700ef54: Verifying Checksum 09:59:59 4f4fb700ef54: Download complete 09:59:59 92a5565b7b96: Download complete 09:59:59 da9db072f522: Download complete 09:59:59 ff9bb7016b71: Verifying Checksum 09:59:59 ff9bb7016b71: Download complete 09:59:59 da9db072f522: Pull complete 09:59:59 a813b0c90790: Verifying Checksum 09:59:59 a813b0c90790: Download complete 09:59:59 6ef4a4ee8ca5: Pull complete 09:59:59 06f05ace1117: Verifying Checksum 09:59:59 06f05ace1117: Download complete 10:00:00 b67dba6c2c7d: Verifying Checksum 10:00:00 b67dba6c2c7d: Download complete 10:00:03 06f05ace1117: Pull complete 10:00:03 5fe327b54edc: Pull complete 10:00:03 4f4fb700ef54: Pull complete 10:00:03 92a5565b7b96: Pull complete 10:00:03 ff9bb7016b71: Pull complete 10:00:05 b67dba6c2c7d: Pull complete 10:00:06 a813b0c90790: Pull complete 10:00:06 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 10:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:00:06 ---> 3ba60ce46760 10:00:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:00:11 ---> Running in 66bd9c2a50e6 10:00:11 Removing intermediate container 66bd9c2a50e6 10:00:11 ---> 9c2013d6ef8e 10:00:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:00:11 ---> Running in 7ee611f0ba34 10:00:11 Removing intermediate container 7ee611f0ba34 10:00:11 ---> 0637c42e449a 10:00:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:00:11 ---> Running in 6527bb9b3752 10:00:11 Removing intermediate container 6527bb9b3752 10:00:11 ---> 7a6134a3f380 10:00:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:00:11 ---> Running in 55da88d5da04 10:00:11 Removing intermediate container 55da88d5da04 10:00:11 ---> f278556bc8a2 10:00:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:00:11 ---> Running in 93df7cc01b64 10:00:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:00:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:00:12 (1/4) Installing openssh-keygen (9.7_p1-r5) 10:00:12 (2/4) Installing libedit (20240517.3.1-r0) 10:00:12 (3/4) Installing openssh-client-common (9.7_p1-r5) 10:00:12 (4/4) Installing openssh-client-default (9.7_p1-r5) 10:00:12 Executing busybox-1.36.1-r29.trigger 10:00:12 OK: 252 MiB in 62 packages 10:00:12 Removing intermediate container 93df7cc01b64 10:00:12 ---> 14f389c13d2e 10:00:12 Step 8/12 : WORKDIR /device-rest-go 10:00:12 ---> Running in 6a28667daded 10:00:13 Removing intermediate container 6a28667daded 10:00:13 ---> b1a2864e2d0a 10:00:13 Step 9/12 : COPY go.mod vendor* ./ 10:00:13 ---> 8d1ab90ead0e 10:00:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:00:13 ---> Running in e672aa59c469 10:01:01 Removing intermediate container e672aa59c469 10:01:01 ---> cb550eeac710 10:01:01 Step 11/12 : COPY . . 10:01:02 ---> 44f3e84a5cbf 10:01:02 Step 12/12 : RUN $MAKE 10:01:02 ---> Running in 7144ab996659 10:01:02 noop 10:01:02 Removing intermediate container 7144ab996659 10:01:02 ---> a71b1f4c307f 10:01:02 Successfully built a71b1f4c307f 10:01:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:02 + docker inspect -f . ci-base-image-x86_64 10:01:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:03 prd-ubuntu20.04-docker-8c-8g-40289 does not seem to be running inside a container 10:01:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-452 -v /w/workspace/gexfoundry_device-rest-go_PR-452:/w/workspace/gexfoundry_device-rest-go_PR-452:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-452@tmp:/w/workspace/gexfoundry_device-rest-go_PR-452@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:01:03 $ docker top 62f3f2238d9d7506c7b1849687535144245d1893db45c40adf921d9e32addd47 -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:03 + go version 10:01:03 go version go1.23.4 linux/amd64 [Pipeline] } 10:01:03 $ docker stop --time=1 62f3f2238d9d7506c7b1849687535144245d1893db45c40adf921d9e32addd47 10:01:05 $ docker rm -f --volumes 62f3f2238d9d7506c7b1849687535144245d1893db45c40adf921d9e32addd47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:05 + docker inspect -f . ci-base-image-x86_64 10:01:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:05 prd-ubuntu20.04-docker-8c-8g-40289 does not seem to be running inside a container 10:01:05 $ 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-452 -v /w/workspace/gexfoundry_device-rest-go_PR-452:/w/workspace/gexfoundry_device-rest-go_PR-452:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-452@tmp:/w/workspace/gexfoundry_device-rest-go_PR-452@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:01:06 $ docker top f1fe6a44bf14aa3d8e1ca8394f860cd8db213af7129f0b7050524e7f81bf87e8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:01:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-452 [Pipeline] fileExists [Pipeline] sh 10:01:06 + make test 10:01:06 go test ./... -coverprofile=coverage.out ./... 10:01:08 ? github.com/edgexfoundry/device-rest-go [no test files] 10:01:26 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 10:01:26 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 33.2% of statements 10:01:36 go vet ./... 10:01:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:01:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:01:41 ./bin/test-attribution-txt.sh [Pipeline] echo 10:01:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:01:41 $ docker stop --time=1 f1fe6a44bf14aa3d8e1ca8394f860cd8db213af7129f0b7050524e7f81bf87e8 10:01:49 $ docker rm -f --volumes f1fe6a44bf14aa3d8e1ca8394f860cd8db213af7129f0b7050524e7f81bf87e8 [Pipeline] // withDockerContainer [Pipeline] sh 10:01:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:01:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:01:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:01:50 + ls -al . 10:01:50 total 244 10:01:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 10:01 . 10:01:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 09:59 .. 10:01:50 -rw-rw-r-- 1 jenkins jenkins 151 Mar 5 09:59 .dockerignore 10:01:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 10:01 .git 10:01:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 09:59 .github 10:01:50 -rw-rw-r-- 1 jenkins jenkins 264 Mar 5 09:59 .gitignore 10:01:50 -rw-rw-r-- 1 jenkins jenkins 41 Mar 5 09:59 .golangci.yml 10:01:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 09:59 .semver 10:01:50 -rw-rw-r-- 1 jenkins jenkins 20138 Mar 5 09:59 Attribution.txt 10:01:50 -rw-rw-r-- 1 jenkins jenkins 18492 Mar 5 09:59 CHANGELOG.md 10:01:50 -rw-rw-r-- 1 jenkins jenkins 1697 Mar 5 09:59 Dockerfile 10:01:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 5 09:59 GOVERNANCE.md 10:01:50 -rw-rw-r-- 1 jenkins jenkins 680 Mar 5 09:59 Jenkinsfile 10:01:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 5 09:59 LICENSE 10:01:50 -rw-rw-r-- 1 jenkins jenkins 2598 Mar 5 09:59 Makefile 10:01:50 -rw-rw-r-- 1 jenkins jenkins 620 Mar 5 09:59 OWNERS.md 10:01:50 -rw-rw-r-- 1 jenkins jenkins 3989 Mar 5 09:59 README.md 10:01:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 5 09:59 VERSION 10:01:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 09:59 bin 10:01:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 09:59 cmd 10:01:50 -rw-r--r-- 1 jenkins jenkins 14565 Mar 5 10:01 coverage.out 10:01:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 09:59 driver 10:01:50 -rw-rw-r-- 1 jenkins jenkins 6292 Mar 5 09:59 go.mod 10:01:50 -rw-rw-r-- 1 jenkins jenkins 86628 Mar 5 09:59 go.sum 10:01:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 09:59 openapi 10:01:50 -rw-rw-r-- 1 jenkins jenkins 713 Mar 5 09:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:51 + 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=8849335978c029502f7970c65ff2dbd000d5014a --label arch=amd64 --label version=0.0.0 . 10:01:51 Sending build context to Docker daemon 16.7MB 10:01:51 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 10:01:51 Step 2/26 : FROM ${BASE} AS builder 10:01:51 ---> a71b1f4c307f 10:01:51 Step 3/26 : ARG ADD_BUILD_TAGS="" 10:01:51 ---> Running in 6f7a009481ad 10:01:51 Removing intermediate container 6f7a009481ad 10:01:51 ---> 3991f68afe62 10:01:51 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:01:51 ---> Running in ea8c46d3098b 10:01:52 Removing intermediate container ea8c46d3098b 10:01:52 ---> b393dbc41df2 10:01:52 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:01:52 ---> Running in 821302a9f095 10:01:52 Removing intermediate container 821302a9f095 10:01:52 ---> e840bc57735d 10:01:52 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 10:01:52 ---> Running in bc58c8a7d52e 10:01:52 Removing intermediate container bc58c8a7d52e 10:01:52 ---> d6ff35726dec 10:01:52 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:01:52 ---> Running in 17c4bf3b7bc0 10:01:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:01:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:01:53 OK: 252 MiB in 62 packages 10:01:54 Removing intermediate container 17c4bf3b7bc0 10:01:54 ---> c81a64beb5ce 10:01:54 Step 8/26 : WORKDIR /device-rest-go 10:01:54 ---> Running in d7dd0d22fdc4 10:01:54 Removing intermediate container d7dd0d22fdc4 10:01:54 ---> 4e4a79b1187e 10:01:54 Step 9/26 : COPY go.mod vendor* ./ 10:01:54 ---> c6568a249779 10:01:54 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:01:55 ---> Running in 309df1d250a7 10:01:56 Removing intermediate container 309df1d250a7 10:01:56 ---> c9c0d27f0937 10:01:56 Step 11/26 : COPY . . 10:01:57 ---> 451d588b7b7d 10:01:57 Step 12/26 : RUN $MAKE 10:01:57 ---> Running in 5b178b23e665 10:01:57 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.26 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 10:02:29 Removing intermediate container 5b178b23e665 10:02:29 ---> 4f000565c8dc 10:02:29 Step 13/26 : FROM alpine:3.20 10:02:29 3.20: Pulling from library/alpine 10:02:29 0a9a5dfd008f: Pulling fs layer 10:02:29 0a9a5dfd008f: Verifying Checksum 10:02:29 0a9a5dfd008f: Download complete 10:02:29 0a9a5dfd008f: Pull complete 10:02:29 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 10:02:29 Status: Downloaded newer image for alpine:3.20 10:02:29 ---> ff221270b9fb 10:02:29 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:02:29 ---> Running in 44e2fdff277f 10:02:29 Removing intermediate container 44e2fdff277f 10:02:29 ---> 6eaf241d68ea 10:02:29 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 10:02:29 ---> Running in 4732b96f040a 10:02:29 Removing intermediate container 4732b96f040a 10:02:29 ---> af3e6f64295b 10:02:29 Step 16/26 : RUN apk add --update --no-cache dumb-init 10:02:29 ---> Running in 321fc49bfc3c 10:02:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:02:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:02:29 (1/1) Installing dumb-init (1.2.5-r3) 10:02:29 Executing busybox-1.36.1-r29.trigger 10:02:29 OK: 8 MiB in 15 packages 10:02:30 Removing intermediate container 321fc49bfc3c 10:02:30 ---> 15fd73733cca 10:02:30 Step 17/26 : RUN apk --no-cache upgrade 10:02:30 ---> Running in 5666a04ad02f 10:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:02:30 OK: 8 MiB in 15 packages 10:02:30 Removing intermediate container 5666a04ad02f 10:02:30 ---> b254635bcebd 10:02:30 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 10:02:32 ---> f4a3e1b036d5 10:02:32 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 10:02:32 ---> b372a6946cf5 10:02:32 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 10:02:32 ---> f370ec75fa24 10:02:32 Step 21/26 : EXPOSE 59986 10:02:32 ---> Running in a0e3141714d0 10:02:32 Removing intermediate container a0e3141714d0 10:02:32 ---> 8d4e9aa9eca1 10:02:32 Step 22/26 : ENTRYPOINT ["/device-rest"] 10:02:32 ---> Running in d0592091fbce 10:02:32 Removing intermediate container d0592091fbce 10:02:32 ---> 8bbf0dfae345 10:02:32 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 10:02:32 ---> Running in c0cca2a4c7f6 10:02:32 Removing intermediate container c0cca2a4c7f6 10:02:32 ---> bc3b4be1bfc1 10:02:32 Step 24/26 : LABEL arch=amd64 10:02:32 ---> Running in cee46ed3f13b 10:02:32 Removing intermediate container cee46ed3f13b 10:02:32 ---> b3a0995221ec 10:02:32 Step 25/26 : LABEL git_sha=8849335978c029502f7970c65ff2dbd000d5014a 10:02:32 ---> Running in b4b3ad56411e 10:02:33 Removing intermediate container b4b3ad56411e 10:02:33 ---> d2df23618eb0 10:02:33 Step 26/26 : LABEL version=0.0.0 10:02:33 ---> Running in b73ddd1fcfb3 10:02:33 Removing intermediate container b73ddd1fcfb3 10:02:33 ---> 50d72565ae67 10:02:33 [Warning] One or more build-args [ARCH] were not consumed 10:02:33 Successfully built 50d72565ae67 10:02:33 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 10:02:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:33 10:02:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:33 latest: Pulling from edgex-lftools-log-publisher 10:02:33 5eb5b503b376: Pulling fs layer 10:02:33 5c69ac0246d0: Pulling fs layer 10:02:33 ec43610c2a17: Pulling fs layer 10:02:33 3a2ae6a8a46f: Pulling fs layer 10:02:33 33b1e0a273af: Pulling fs layer 10:02:33 5d3b04190fa2: Pulling fs layer 10:02:33 2f39f015ded8: Pulling fs layer 10:02:33 33b1e0a273af: Waiting 10:02:33 5d3b04190fa2: Waiting 10:02:33 2f39f015ded8: Waiting 10:02:33 3a2ae6a8a46f: Waiting 10:02:33 5c69ac0246d0: Download complete 10:02:33 3a2ae6a8a46f: Verifying Checksum 10:02:33 3a2ae6a8a46f: Download complete 10:02:33 33b1e0a273af: Verifying Checksum 10:02:33 33b1e0a273af: Download complete 10:02:33 5d3b04190fa2: Verifying Checksum 10:02:33 5d3b04190fa2: Download complete 10:02:34 ec43610c2a17: Verifying Checksum 10:02:34 5eb5b503b376: Download complete 10:02:35 2f39f015ded8: Verifying Checksum 10:02:35 2f39f015ded8: Download complete 10:02:35 5eb5b503b376: Pull complete 10:02:35 5c69ac0246d0: Pull complete 10:02:36 ec43610c2a17: Pull complete 10:02:36 3a2ae6a8a46f: Pull complete 10:02:36 33b1e0a273af: Pull complete 10:02:36 5d3b04190fa2: Pull complete 10:02:40 2f39f015ded8: Pull complete 10:02:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:02:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:40 prd-ubuntu20.04-docker-8c-8g-40289 does not seem to be running inside a container 10:02:40 $ 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-452 -v /w/workspace/gexfoundry_device-rest-go_PR-452:/w/workspace/gexfoundry_device-rest-go_PR-452:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-452@tmp:/w/workspace/gexfoundry_device-rest-go_PR-452@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:02:45 $ docker top e7b833171b5ce85ae264d37acc85b60cb6fa135584bc8191f3cb87c56631b505 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:02:45 ---> job-cost.sh 10:02:45 lf-activate-venv: SKIPPING 10:02:45 INFO: No Stack... 10:02:46 INFO: Retrieving Pricing Info for: v3-standard-8 10:02:46 INFO: Archiving Costs [Pipeline] sh 10:02:46 + cat /w/workspace/gexfoundry_device-rest-go_PR-452/archives/cost.csv 10:02:46 + cut -d, -f6 [Pipeline] lock 10:02:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-452-3-stack-cost] 10:02:46 Resource [jenkins-edgexfoundry-device-rest-go-PR-452-3-stack-cost] did not exist. Created. 10:02:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-452-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:02:47 + echo total: 0.2199999988079071 [Pipeline] stash 10:02:47 Stashed 1 file(s) [Pipeline] } 10:02:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-452-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:02:47 $ docker stop --time=1 e7b833171b5ce85ae264d37acc85b60cb6fa135584bc8191f3cb87c56631b505 10:02:48 $ docker rm -f --volumes e7b833171b5ce85ae264d37acc85b60cb6fa135584bc8191f3cb87c56631b505 [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 10:02:48 provisioning config files... 10:02:48 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-452@tmp/config18016952451351930976tmp [Pipeline] { [Pipeline] sh 10:02:48 + set +x 10:02:48 + curl -s https://codecov.io/bash 10:02:48 + bash -s -- 10:02:48 10:02:48 _____ _ 10:02:48 / ____| | | 10:02:48 | | ___ __| | ___ ___ _____ __ 10:02:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:02:48 | |___| (_) | (_| | __/ (_| (_) \ V / 10:02:48 \_____\___/ \__,_|\___|\___\___/ \_/ 10:02:48 Bash-1.0.6 10:02:48 10:02:48 10:02:48 ==> git version 2.25.1 found 10:02:48 ==> 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 10:02:48 Release-Date: 2020-01-08 10:02:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:02:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:02:48 ==> Jenkins CI detected. 10:02:48 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-452 10:02:48 project root: . 10:02:48 --> token set from env 10:02:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:02:48 ==> Running gcov in . (disable via -X gcov) 10:02:48 ==> Python coveragepy not found 10:02:48 ==> Searching for coverage reports in: 10:02:48 + . 10:02:48 -> Found 1 reports 10:02:48 ==> Detecting git/mercurial file structure 10:02:48 ==> Reading reports 10:02:48 + ./coverage.out bytes=14565 10:02:48 ==> Appending adjustments 10:02:48 https://docs.codecov.io/docs/fixing-reports 10:02:49 + Found adjustments 10:02:49 ==> Gzipping contents 10:02:49 4.0K /tmp/codecov.DYLuGk.gz 10:02:49 ==> Uploading reports 10:02:49 url: https://codecov.io 10:02:49 query: branch=PR-452&commit=8849335978c029502f7970c65ff2dbd000d5014a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-452%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=452&job=&cmd_args= 10:02:49 -> Pinging Codecov 10:02:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-452&commit=8849335978c029502f7970c65ff2dbd000d5014a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-452%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=452&job=&cmd_args= 10:02:49 -> Uploading to 10:02:49 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/8849335978c029502f7970c65ff2dbd000d5014a/e285b4a3-6387-4b2b-8d0f-f3bd0655987e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250305%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250305T100249Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=c10f3916c49adba46494d92ee7b65df061c02d55621e2ce10ef545bc43fd25c6 10:02:49 % Total % Received % Xferd Average Speed Time Time Time Current 10:02:49 Dload Upload Total Spent Left Speed 10:02:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 7387 --:--:-- --:--:-- --:--:-- 7387 10:02:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8849335978c029502f7970c65ff2dbd000d5014a [Pipeline] } 10:02:49 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 10:02:50 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-452/archives ] 10:02:50 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-452/archives 10:02:50 total 16 10:02:50 drwxr-xr-x 3 root root 4096 Mar 5 10:02 . 10:02:50 drwxrwxr-x 10 jenkins jenkins 4096 Mar 5 10:02 .. 10:02:50 drwxr-xr-x 2 root root 4096 Mar 5 10:02 cost 10:02:50 -rw-r--r-- 1 root root 86 Mar 5 10:02 cost.csv 10:02:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-452/archives 10:02:50 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-452/archives 10:02:50 total 16 10:02:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 10:02 . 10:02:50 drwxrwxr-x 10 jenkins jenkins 4096 Mar 5 10:02 .. 10:02:50 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 10:02 cost 10:02:50 -rw-r--r-- 1 jenkins jenkins 86 Mar 5 10:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:02:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:02:51 ---> package-listing.sh 10:02:51 ++ facter osfamily 10:02:51 ++ tr '[:upper:]' '[:lower:]' 10:02:51 + OS_FAMILY=debian 10:02:51 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-452 10:02:51 + START_PACKAGES=/tmp/packages_start.txt 10:02:51 + END_PACKAGES=/tmp/packages_end.txt 10:02:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:02:51 + PACKAGES=/tmp/packages_start.txt 10:02:51 + '[' /w/workspace/gexfoundry_device-rest-go_PR-452 ']' 10:02:51 + PACKAGES=/tmp/packages_end.txt 10:02:51 + case "${OS_FAMILY}" in 10:02:51 + dpkg -l 10:02:51 + grep '^ii' 10:02:51 + '[' -f /tmp/packages_start.txt ']' 10:02:51 + '[' -f /tmp/packages_end.txt ']' 10:02:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:02:51 + '[' /w/workspace/gexfoundry_device-rest-go_PR-452 ']' 10:02:51 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-452/archives/ 10:02:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-452/archives/ [Pipeline] echo 10:02:51 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-452/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:02:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:02:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:02:52 prd-ubuntu20.04-docker-8c-8g-40289 does not seem to be running inside a container 10:02:52 $ 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-452/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-452 -v /w/workspace/gexfoundry_device-rest-go_PR-452:/w/workspace/gexfoundry_device-rest-go_PR-452:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-452@tmp:/w/workspace/gexfoundry_device-rest-go_PR-452@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:02:53 $ docker top bb1e47dc2a086af1096f942ae62c780dafd524101b47f7e2a87df0a1cfe36436 -eo pid,comm [Pipeline] { [Pipeline] sh 10:02:53 + touch /tmp/pre-build-complete [Pipeline] sh 10:02:53 + mkdir -p /var/log/sysstat [Pipeline] sh 10:02:54 + ls /var/log/sa-host 10:02:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:02:54 provisioning config files... 10:02:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-452@tmp/config4325950989332213193tmp [Pipeline] { [Pipeline] echo 10:02:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:02:54 ---> create-netrc.sh [Pipeline] } 10:02:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:02:54 ---> python-tools-install.sh [Pipeline] echo 10:02:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:02:55 ---> sudo-logs.sh 10:02:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:02:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:02:55 ---> job-cost.sh 10:02:55 lf-activate-venv: SKIPPING 10:02:55 DEBUG: total: 0.2199999988079071 10:02:55 INFO: Retrieving Stack Cost... 10:02:55 INFO: Retrieving Pricing Info for: v3-standard-8 10:02:55 INFO: Archiving Costs [Pipeline] echo 10:02:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:02:55 ---> logs-deploy.sh 10:02:55 lf-activate-venv: SKIPPING 10:02:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-452/3 10:02:55 INFO: archiving workspace using pattern(s): 10:02:56 Archives upload complete. 10:02:56 INFO: archiving logs to Nexus