Pull request #444 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a9f6df79d5947e161406f5c439ca762e9e18b3b+44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 (3f8fa436f03fa8739ef4e531e89ff26cd3e198c1) 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-ssh13397931714133785031.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-ssh15998829076871387735.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-444/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-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7643602772500494154.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-444/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1158524074139042934.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-ssh7932151444287564788.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-444/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-444/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16407012019959792725.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-36858 in /w/workspace/gexfoundry_device-rest-go_PR-444 [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-444 # 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 Merging remotes/origin/main commit 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 into PR head commit 4a9f6df79d5947e161406f5c439ca762e9e18b3b Merge succeeded, producing 4a9f6df79d5947e161406f5c439ca762e9e18b3b Checking out Revision 4a9f6df79d5947e161406f5c439ca762e9e18b3b (PR-444) > 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/444/head:refs/remotes/origin/PR-444 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a9f6df79d5947e161406f5c439ca762e9e18b3b # 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 44c24e83daab78d9ed0bd0eb68b9db7d62c051e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a9f6df79d5947e161406f5c439ca762e9e18b3b # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 7928b8837ad34b090831a72fcdf53bff9dae4c17 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:17:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:17:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:17:15 ========================================================= 20:17:15 EdgeX Global Pipelines Version Info 20:17:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:17:16 ------------------- 20:17:16 stable info: 20:17:16 ------------------- 20:17:16 Commited By: Cherry Wang cherry@iotechsys.com 20:17:16 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 20:17:16 Message: update stable to v1.0.269 20:17:17 ------------------- 20:17:17 experimental info: 20:17:17 ------------------- 20:17:17 Commited By: **** collab-it+edgex@linuxfoundation.org 20:17:17 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 20:17:17 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:17:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:17:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:17:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:17:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:17:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:17:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:17:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:17:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:17:19 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:17:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-444 [Pipeline] echo 20:17:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-444 [Pipeline] echo 20:17:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-444 [Pipeline] echo 20:17:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a9f6df79d5947e161406f5c439ca762e9e18b3b [Pipeline] echo 20:17:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a9f6df [Pipeline] echo 20:17:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:19 provisioning config files... 20:17:19 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-444@tmp/config3577707840623719742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:19 ---> ****-login.sh 20:17:19 nexus3.edgexfoundry.org:10001 20:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:20 Configure a credential helper to remove this warning. See 20:17:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:20 20:17:20 Login Succeeded 20:17:20 nexus3.edgexfoundry.org:10002 20:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:20 Configure a credential helper to remove this warning. See 20:17:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:20 20:17:20 Login Succeeded 20:17:20 nexus3.edgexfoundry.org:10003 20:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:20 Configure a credential helper to remove this warning. See 20:17:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:20 20:17:20 Login Succeeded 20:17:20 nexus3.edgexfoundry.org:10004 20:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:20 Configure a credential helper to remove this warning. See 20:17:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:20 20:17:20 Login Succeeded 20:17:20 ****.io 20:17:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:20 Configure a credential helper to remove this warning. See 20:17:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:20 20:17:20 Login Succeeded 20:17:20 ---> ****-login.sh ends [Pipeline] } 20:17:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:17:21 + git rev-list -1 --merges 4a9f6df79d5947e161406f5c439ca762e9e18b3b~1..4a9f6df79d5947e161406f5c439ca762e9e18b3b [Pipeline] echo 20:17:21 -----------> git rev-list -1 --merges 4a9f6df79d5947e161406f5c439ca762e9e18b3b~1..4a9f6df79d5947e161406f5c439ca762e9e18b3b 4a9f6df79d5947e161406f5c439ca762e9e18b3b [false] [Pipeline] sh 20:17:22 + git log --format=format:%s -1 4a9f6df79d5947e161406f5c439ca762e9e18b3b [Pipeline] echo 20:17:22 ========================================================= 20:17:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:17:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:22 + git log --format=format:%s -1 4a9f6df79d5947e161406f5c439ca762e9e18b3b [Pipeline] echo 20:17:22 [semverPrep] GIT_COMMIT: 4a9f6df79d5947e161406f5c439ca762e9e18b3b, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 20:17:22 [semverPrep] This is not a build commit. [Pipeline] sh 20:17:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:17:23 + grep -v github /etc/ssh/ssh_known_hosts 20:17:23 + [ -e /tmp/ssh_known_hosts ] 20:17:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:17:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:17:23 + sudo tee -a /etc/ssh/ssh_known_hosts 20:17:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:23 20:17:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:24 0.1.4: Pulling from edgex-devops/py-git-semver 20:17:24 b85a868b505f: Pulling fs layer 20:17:24 e2be974225ed: Pulling fs layer 20:17:24 339a4e72a1f5: Pulling fs layer 20:17:24 988bab9f4d93: Pulling fs layer 20:17:24 1469e6f7b9e6: Pulling fs layer 20:17:24 eaf3925da568: Pulling fs layer 20:17:24 bab4dde63d76: Pulling fs layer 20:17:24 bde34c3a00c8: Pulling fs layer 20:17:24 b352a97aabf1: Pulling fs layer 20:17:24 4872d77fe225: Pulling fs layer 20:17:24 5851b861e8e6: Pulling fs layer 20:17:24 1469e6f7b9e6: Waiting 20:17:24 5851b861e8e6: Waiting 20:17:24 eaf3925da568: Waiting 20:17:24 bde34c3a00c8: Waiting 20:17:24 bab4dde63d76: Waiting 20:17:24 988bab9f4d93: Waiting 20:17:24 4872d77fe225: Waiting 20:17:24 b352a97aabf1: Waiting 20:17:24 e2be974225ed: Download complete 20:17:24 988bab9f4d93: Verifying Checksum 20:17:24 988bab9f4d93: Download complete 20:17:24 1469e6f7b9e6: Verifying Checksum 20:17:24 1469e6f7b9e6: Download complete 20:17:24 339a4e72a1f5: Verifying Checksum 20:17:24 339a4e72a1f5: Download complete 20:17:24 eaf3925da568: Verifying Checksum 20:17:24 eaf3925da568: Download complete 20:17:24 bde34c3a00c8: Verifying Checksum 20:17:24 bde34c3a00c8: Download complete 20:17:24 b352a97aabf1: Download complete 20:17:24 4872d77fe225: Download complete 20:17:24 5851b861e8e6: Verifying Checksum 20:17:24 5851b861e8e6: Download complete 20:17:24 b85a868b505f: Verifying Checksum 20:17:24 b85a868b505f: Download complete 20:17:24 bab4dde63d76: Verifying Checksum 20:17:24 bab4dde63d76: Download complete 20:17:25 b85a868b505f: Pull complete 20:17:25 e2be974225ed: Pull complete 20:17:26 339a4e72a1f5: Pull complete 20:17:26 988bab9f4d93: Pull complete 20:17:26 1469e6f7b9e6: Pull complete 20:17:26 eaf3925da568: Pull complete 20:17:28 bab4dde63d76: Pull complete 20:17:28 bde34c3a00c8: Pull complete 20:17:28 b352a97aabf1: Pull complete 20:17:28 4872d77fe225: Pull complete 20:17:28 5851b861e8e6: Pull complete 20:17:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:17:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:29 prd-ubuntu20.04-docker-8c-8g-36858 does not seem to be running inside a container 20:17:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-444 -v /w/workspace/gexfoundry_device-rest-go_PR-444:/w/workspace/gexfoundry_device-rest-go_PR-444:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-444@tmp:/w/workspace/gexfoundry_device-rest-go_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:17:31 $ docker top 9265bd670862e09c417bb4d977efbbc63139c3edb192006a8ed911ed10e6ae2f -eo pid,comm 20:17:31 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). 20:17:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:17:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:32 [ssh-agent] Looking for ssh-agent implementation... 20:17:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:32 $ docker exec 9265bd670862e09c417bb4d977efbbc63139c3edb192006a8ed911ed10e6ae2f ssh-agent 20:17:32 SSH_AUTH_SOCK=/tmp/ssh-RCtTlvSL9X2j/agent.33 20:17:32 SSH_AGENT_PID=40 20:17:32 Running ssh-add (command line suppressed) 20:17:32 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-444@tmp/private_key_17272882177504882536.key (/w/workspace/gexfoundry_device-rest-go_PR-444@tmp/private_key_17272882177504882536.key) 20:17:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:32 + git tag --points-at HEAD [Pipeline] } 20:17:32 $ docker exec --env ******** --env ******** 9265bd670862e09c417bb4d977efbbc63139c3edb192006a8ed911ed10e6ae2f ssh-agent -k 20:17:33 unset SSH_AUTH_SOCK; 20:17:33 unset SSH_AGENT_PID; 20:17:33 echo Agent pid 40 killed; 20:17:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:17:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:33 [ssh-agent] Looking for ssh-agent implementation... 20:17:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:33 $ docker exec 9265bd670862e09c417bb4d977efbbc63139c3edb192006a8ed911ed10e6ae2f ssh-agent 20:17:33 SSH_AUTH_SOCK=/tmp/ssh-90OFEDyPg7Xx/agent.73 20:17:33 SSH_AGENT_PID=79 20:17:33 Running ssh-add (command line suppressed) 20:17:33 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-444@tmp/private_key_2723889852051929502.key (/w/workspace/gexfoundry_device-rest-go_PR-444@tmp/private_key_2723889852051929502.key) 20:17:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:33 + git semver init 20:17:34 2025-01-16 20:17:33,985 [run_init] DEBUG init version:0.0.0 force:False 20:17:34 2025-01-16 20:17:33,986 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-444/.semver 20:17:34 2025-01-16 20:17:33,987 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-444/.semver 20:17:34 2025-01-16 20:17:33,987 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-444/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-444, universal_newlines=False, shell=None, istream=None) 20:17:35 2025-01-16 20:17:35,336 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-444/.git/info/exclude 20:17:35 2025-01-16 20:17:35,336 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-444/.semver/PR-444 with force:False 20:17:35 2025-01-16 20:17:35,337 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-444/.semver/PR-444 20:17:35 2025-01-16 20:17:35,341 [execute] INFO git cat-file --batch-check 20:17:35 2025-01-16 20:17:35,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-444/.semver, universal_newlines=False, shell=None, istream=<valid stream>) 20:17:35 2025-01-16 20:17:35,349 [execute] INFO git cat-file --batch 20:17:35 2025-01-16 20:17:35,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-444/.semver, universal_newlines=False, shell=None, istream=<valid stream>) 20:17:35 2025-01-16 20:17:35,355 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-444/.semver/PR-444 20:17:35 0.0.0 [Pipeline] } 20:17:35 $ docker exec --env ******** --env ******** 9265bd670862e09c417bb4d977efbbc63139c3edb192006a8ed911ed10e6ae2f ssh-agent -k 20:17:35 unset SSH_AUTH_SOCK; 20:17:35 unset SSH_AGENT_PID; 20:17:35 echo Agent pid 79 killed; 20:17:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:17:36 + git semver [Pipeline] } 20:17:36 $ docker stop --time=1 9265bd670862e09c417bb4d977efbbc63139c3edb192006a8ed911ed10e6ae2f 20:17:37 $ docker rm -f --volumes 9265bd670862e09c417bb4d977efbbc63139c3edb192006a8ed911ed10e6ae2f [Pipeline] // withDockerContainer [Pipeline] sh 20:17:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:17:38 Stashed 1 file(s) [Pipeline] echo 20:17:38 [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 20:17:39 provisioning config files... 20:17:39 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-444@tmp/config360230558049920017tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 20:17:39 ---> ****-login.sh 20:17:39 nexus3.edgexfoundry.org:10001 20:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:39 Configure a credential helper to remove this warning. See 20:17:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:39 20:17:39 Login Succeeded 20:17:39 nexus3.edgexfoundry.org:10002 20:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:39 Configure a credential helper to remove this warning. See 20:17:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:39 20:17:39 Login Succeeded 20:17:39 nexus3.edgexfoundry.org:10003 20:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:40 Configure a credential helper to remove this warning. See 20:17:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:40 20:17:40 Login Succeeded 20:17:40 nexus3.edgexfoundry.org:10004 20:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:40 Configure a credential helper to remove this warning. See 20:17:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:40 20:17:40 Login Succeeded 20:17:40 ****.io 20:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:17:40 Configure a credential helper to remove this warning. See 20:17:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:17:40 20:17:40 Login Succeeded 20:17:40 ---> ****-login.sh ends [Pipeline] } 20:17:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:17:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:17:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:17:40 ========================================================= 20:17:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:17:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:41 + 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 . 20:17:41 Sending build context to Docker daemon 16.67MB 20:17:41 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:17:41 Step 2/12 : FROM ${BASE} AS builder 20:17:41 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:17:41 da9db072f522: Pulling fs layer 20:17:41 6ef4a4ee8ca5: Pulling fs layer 20:17:41 06f05ace1117: Pulling fs layer 20:17:41 5fe327b54edc: Pulling fs layer 20:17:41 4f4fb700ef54: Pulling fs layer 20:17:41 92a5565b7b96: Pulling fs layer 20:17:41 ff9bb7016b71: Pulling fs layer 20:17:41 b67dba6c2c7d: Pulling fs layer 20:17:41 a813b0c90790: Pulling fs layer 20:17:41 5fe327b54edc: Waiting 20:17:41 4f4fb700ef54: Waiting 20:17:41 a813b0c90790: Waiting 20:17:41 b67dba6c2c7d: Waiting 20:17:41 92a5565b7b96: Waiting 20:17:41 ff9bb7016b71: Waiting 20:17:41 6ef4a4ee8ca5: Verifying Checksum 20:17:41 6ef4a4ee8ca5: Download complete 20:17:41 5fe327b54edc: Download complete 20:17:41 4f4fb700ef54: Verifying Checksum 20:17:41 4f4fb700ef54: Download complete 20:17:41 92a5565b7b96: Verifying Checksum 20:17:41 92a5565b7b96: Download complete 20:17:41 da9db072f522: Verifying Checksum 20:17:41 da9db072f522: Download complete 20:17:41 ff9bb7016b71: Verifying Checksum 20:17:41 ff9bb7016b71: Download complete 20:17:41 da9db072f522: Pull complete 20:17:41 a813b0c90790: Verifying Checksum 20:17:41 a813b0c90790: Download complete 20:17:41 6ef4a4ee8ca5: Pull complete 20:17:41 06f05ace1117: Verifying Checksum 20:17:41 06f05ace1117: Download complete 20:17:42 b67dba6c2c7d: Verifying Checksum 20:17:42 b67dba6c2c7d: Download complete 20:17:45 06f05ace1117: Pull complete 20:17:45 5fe327b54edc: Pull complete 20:17:45 4f4fb700ef54: Pull complete 20:17:45 92a5565b7b96: Pull complete 20:17:46 ff9bb7016b71: Pull complete 20:17:48 b67dba6c2c7d: Pull complete 20:17:48 a813b0c90790: Pull complete 20:17:48 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 20:17:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:17:48 ---> 3ba60ce46760 20:17:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:17:53 ---> Running in 77f47c5d93e2 20:17:53 Removing intermediate container 77f47c5d93e2 20:17:53 ---> 152232024928 20:17:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:53 ---> Running in d655fb737436 20:17:53 Removing intermediate container d655fb737436 20:17:53 ---> a94d7123f3c9 20:17:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:17:53 ---> Running in 13cbc0bbecaf 20:17:53 Removing intermediate container 13cbc0bbecaf 20:17:53 ---> 48f987fda301 20:17:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:17:53 ---> Running in 6977ae1758b4 20:17:53 Removing intermediate container 6977ae1758b4 20:17:53 ---> 453b76eed94e 20:17:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:53 ---> Running in 82b7303f8b4e 20:17:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:17:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:17:53 (1/4) Installing openssh-keygen (9.7_p1-r4) 20:17:53 (2/4) Installing libedit (20240517.3.1-r0) 20:17:53 (3/4) Installing openssh-client-common (9.7_p1-r4) 20:17:53 (4/4) Installing openssh-client-default (9.7_p1-r4) 20:17:53 Executing busybox-1.36.1-r29.trigger 20:17:53 OK: 252 MiB in 62 packages 20:17:54 Removing intermediate container 82b7303f8b4e 20:17:54 ---> 232305db41ba 20:17:54 Step 8/12 : WORKDIR /device-rest-go 20:17:54 ---> Running in f7137fcfecc3 20:17:54 Removing intermediate container f7137fcfecc3 20:17:54 ---> 62680c5022fe 20:17:54 Step 9/12 : COPY go.mod vendor* ./ 20:17:54 ---> dec26644f26d 20:17:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:54 ---> Running in b7a02c0506f1 20:18:42 Removing intermediate container b7a02c0506f1 20:18:42 ---> 1148eef7bbf5 20:18:42 Step 11/12 : COPY . . 20:18:42 ---> d4c02ac9b4b9 20:18:42 Step 12/12 : RUN $MAKE 20:18:42 ---> Running in 10e604840443 20:18:42 noop 20:18:42 Removing intermediate container 10e604840443 20:18:42 ---> 96212bfcbd34 20:18:42 Successfully built 96212bfcbd34 20:18:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:43 + docker inspect -f . ci-base-image-x86_64 20:18:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:43 prd-ubuntu20.04-docker-8c-8g-36858 does not seem to be running inside a container 20:18:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-444 -v /w/workspace/gexfoundry_device-rest-go_PR-444:/w/workspace/gexfoundry_device-rest-go_PR-444:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-444@tmp:/w/workspace/gexfoundry_device-rest-go_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:18:43 $ docker top 69f9a8a6b083a9e3d46f2d42459ca931a2d6f0152bcf9c570816420d38c3a34f -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:44 + go version 20:18:44 go version go1.23.4 linux/amd64 [Pipeline] } 20:18:44 $ docker stop --time=1 69f9a8a6b083a9e3d46f2d42459ca931a2d6f0152bcf9c570816420d38c3a34f 20:18:45 $ docker rm -f --volumes 69f9a8a6b083a9e3d46f2d42459ca931a2d6f0152bcf9c570816420d38c3a34f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:46 + docker inspect -f . ci-base-image-x86_64 20:18:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:46 prd-ubuntu20.04-docker-8c-8g-36858 does not seem to be running inside a container 20:18:46 $ 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-444 -v /w/workspace/gexfoundry_device-rest-go_PR-444:/w/workspace/gexfoundry_device-rest-go_PR-444:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-444@tmp:/w/workspace/gexfoundry_device-rest-go_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:18:46 $ docker top a1c09a268738ed8cfbcf61feda7e59f778d52f4ce2dff63bca3fcdae01074574 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-444 [Pipeline] fileExists [Pipeline] sh 20:18:47 + make test 20:18:47 go test ./... -coverprofile=coverage.out ./... 20:18:49 ? github.com/edgexfoundry/device-rest-go [no test files] 20:19:07 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 20:19:07 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 20:19:17 go vet ./... 20:19:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:19:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:19:22 ./bin/test-attribution-txt.sh [Pipeline] echo 20:19:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 20:19:22 $ docker stop --time=1 a1c09a268738ed8cfbcf61feda7e59f778d52f4ce2dff63bca3fcdae01074574 20:19:26 $ docker rm -f --volumes a1c09a268738ed8cfbcf61feda7e59f778d52f4ce2dff63bca3fcdae01074574 [Pipeline] // withDockerContainer [Pipeline] sh 20:19:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:19:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:19:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:19:28 + ls -al . 20:19:28 total 244 20:19:28 drwxrwxr-x 9 jenkins jenkins 4096 Jan 16 20:18 . 20:19:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 20:17 .. 20:19:28 -rw-rw-r-- 1 jenkins jenkins 151 Jan 16 20:17 .dockerignore 20:19:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 20:19 .git 20:19:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 20:17 .github 20:19:28 -rw-rw-r-- 1 jenkins jenkins 264 Jan 16 20:17 .gitignore 20:19:28 -rw-rw-r-- 1 jenkins jenkins 41 Jan 16 20:17 .golangci.yml 20:19:28 drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 20:17 .semver 20:19:28 -rw-rw-r-- 1 jenkins jenkins 20138 Jan 16 20:17 Attribution.txt 20:19:28 -rw-rw-r-- 1 jenkins jenkins 17685 Jan 16 20:17 CHANGELOG.md 20:19:28 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 16 20:17 Dockerfile 20:19:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 20:17 GOVERNANCE.md 20:19:28 -rw-rw-r-- 1 jenkins jenkins 680 Jan 16 20:17 Jenkinsfile 20:19:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 16 20:17 LICENSE 20:19:28 -rw-rw-r-- 1 jenkins jenkins 2598 Jan 16 20:17 Makefile 20:19:28 -rw-rw-r-- 1 jenkins jenkins 620 Jan 16 20:17 OWNERS.md 20:19:28 -rw-rw-r-- 1 jenkins jenkins 3989 Jan 16 20:17 README.md 20:19:28 -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 20:17 VERSION 20:19:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 20:17 bin 20:19:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 20:17 cmd 20:19:28 -rw-r--r-- 1 jenkins jenkins 14565 Jan 16 20:19 coverage.out 20:19:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 20:17 driver 20:19:28 -rw-rw-r-- 1 jenkins jenkins 6338 Jan 16 20:17 go.mod 20:19:28 -rw-rw-r-- 1 jenkins jenkins 86632 Jan 16 20:17 go.sum 20:19:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 20:17 openapi 20:19:28 -rw-rw-r-- 1 jenkins jenkins 713 Jan 16 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:28 + 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=4a9f6df79d5947e161406f5c439ca762e9e18b3b --label arch=amd64 --label version=0.0.0 . 20:19:28 Sending build context to Docker daemon 16.68MB 20:19:28 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 20:19:28 Step 2/26 : FROM ${BASE} AS builder 20:19:28 ---> 96212bfcbd34 20:19:28 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:19:29 ---> Running in f4d3f8e20e85 20:19:29 Removing intermediate container f4d3f8e20e85 20:19:29 ---> 4781686930f6 20:19:29 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:19:29 ---> Running in dd4ac4251ad2 20:19:29 Removing intermediate container dd4ac4251ad2 20:19:29 ---> f92a54b20181 20:19:29 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:19:29 ---> Running in d6299bd44ca6 20:19:29 Removing intermediate container d6299bd44ca6 20:19:29 ---> 1dfec41c9c5f 20:19:29 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:19:29 ---> Running in 4984e646eeeb 20:19:29 Removing intermediate container 4984e646eeeb 20:19:29 ---> 36009bb06bbe 20:19:29 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:19:29 ---> Running in 85b43b99fb60 20:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:19:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:19:30 OK: 252 MiB in 62 packages 20:19:30 Removing intermediate container 85b43b99fb60 20:19:30 ---> 52905257d401 20:19:30 Step 8/26 : WORKDIR /device-rest-go 20:19:30 ---> Running in 4316cb254926 20:19:30 Removing intermediate container 4316cb254926 20:19:30 ---> 9e018af128a4 20:19:30 Step 9/26 : COPY go.mod vendor* ./ 20:19:30 ---> 35f7f90f9044 20:19:30 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:19:30 ---> Running in 1be215847110 20:19:31 Removing intermediate container 1be215847110 20:19:31 ---> 86443636b43e 20:19:31 Step 11/26 : COPY . . 20:19:31 ---> 2175a49b7e10 20:19:31 Step 12/26 : RUN $MAKE 20:19:31 ---> Running in feff57c493e3 20:19: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.18 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:20:04 Removing intermediate container feff57c493e3 20:20:04 ---> ac4848370150 20:20:04 Step 13/26 : FROM alpine:3.20 20:20:04 3.20: Pulling from library/alpine 20:20:04 66a3d608f3fa: Pulling fs layer 20:20:04 66a3d608f3fa: Verifying Checksum 20:20:04 66a3d608f3fa: Download complete 20:20:04 66a3d608f3fa: Pull complete 20:20:04 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 20:20:04 Status: Downloaded newer image for alpine:3.20 20:20:04 ---> e29df9b510ff 20:20:04 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:20:04 ---> Running in 3e0cf475c04d 20:20:04 Removing intermediate container 3e0cf475c04d 20:20:04 ---> 950885ae6ebe 20:20:04 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:20:04 ---> Running in 6cd84d744417 20:20:04 Removing intermediate container 6cd84d744417 20:20:04 ---> 21e03f7e47b3 20:20:04 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:20:04 ---> Running in a8cbc4561a73 20:20:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:20:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:20:04 (1/1) Installing dumb-init (1.2.5-r3) 20:20:04 Executing busybox-1.36.1-r29.trigger 20:20:04 OK: 8 MiB in 15 packages 20:20:04 Removing intermediate container a8cbc4561a73 20:20:04 ---> e9c8ef9a68dd 20:20:04 Step 17/26 : RUN apk --no-cache upgrade 20:20:04 ---> Running in 4c04e75fc9c5 20:20:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:20:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:20:04 OK: 8 MiB in 15 packages 20:20:04 Removing intermediate container 4c04e75fc9c5 20:20:04 ---> 8154b98b3fd2 20:20:04 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:20:04 ---> fc7fb2d06cfe 20:20:04 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:20:04 ---> 5bd5b1adc923 20:20:04 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:20:04 ---> 6b70a3c2bf55 20:20:04 Step 21/26 : EXPOSE 59986 20:20:04 ---> Running in 7b241457910b 20:20:05 Removing intermediate container 7b241457910b 20:20:05 ---> aac9f09a9047 20:20:05 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:20:05 ---> Running in 8a01419b1284 20:20:05 Removing intermediate container 8a01419b1284 20:20:05 ---> 3f9297641357 20:20:05 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 20:20:05 ---> Running in f6391c212430 20:20:05 Removing intermediate container f6391c212430 20:20:05 ---> 7f7d4de085f4 20:20:05 Step 24/26 : LABEL arch=amd64 20:20:05 ---> Running in 6f22b7d3793d 20:20:05 Removing intermediate container 6f22b7d3793d 20:20:05 ---> f59ec7982c47 20:20:05 Step 25/26 : LABEL git_sha=4a9f6df79d5947e161406f5c439ca762e9e18b3b 20:20:05 ---> Running in 664545e845a6 20:20:05 Removing intermediate container 664545e845a6 20:20:05 ---> 8392ad13baae 20:20:05 Step 26/26 : LABEL version=0.0.0 20:20:05 ---> Running in c1567f65f4a3 20:20:05 Removing intermediate container c1567f65f4a3 20:20:05 ---> 6d4f78ce85b5 20:20:05 [Warning] One or more build-args [ARCH] were not consumed 20:20:05 Successfully built 6d4f78ce85b5 20:20:05 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 20:20:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:20:06 20:20:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:20:07 latest: Pulling from edgex-lftools-log-publisher 20:20:07 5eb5b503b376: Pulling fs layer 20:20:07 5c69ac0246d0: Pulling fs layer 20:20:07 ec43610c2a17: Pulling fs layer 20:20:07 3a2ae6a8a46f: Pulling fs layer 20:20:07 33b1e0a273af: Pulling fs layer 20:20:07 5d3b04190fa2: Pulling fs layer 20:20:07 2f39f015ded8: Pulling fs layer 20:20:07 33b1e0a273af: Waiting 20:20:07 3a2ae6a8a46f: Waiting 20:20:07 5d3b04190fa2: Waiting 20:20:07 2f39f015ded8: Waiting 20:20:07 5c69ac0246d0: Download complete 20:20:07 3a2ae6a8a46f: Verifying Checksum 20:20:07 3a2ae6a8a46f: Download complete 20:20:07 33b1e0a273af: Verifying Checksum 20:20:07 33b1e0a273af: Download complete 20:20:07 5d3b04190fa2: Verifying Checksum 20:20:07 5d3b04190fa2: Download complete 20:20:07 ec43610c2a17: Verifying Checksum 20:20:07 ec43610c2a17: Download complete 20:20:07 5eb5b503b376: Download complete 20:20:08 2f39f015ded8: Download complete 20:20:08 5eb5b503b376: Pull complete 20:20:08 5c69ac0246d0: Pull complete 20:20:09 ec43610c2a17: Pull complete 20:20:09 3a2ae6a8a46f: Pull complete 20:20:09 33b1e0a273af: Pull complete 20:20:09 5d3b04190fa2: Pull complete 20:20:13 2f39f015ded8: Pull complete 20:20:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:20:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:20:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:14 prd-ubuntu20.04-docker-8c-8g-36858 does not seem to be running inside a container 20:20:14 $ 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-444 -v /w/workspace/gexfoundry_device-rest-go_PR-444:/w/workspace/gexfoundry_device-rest-go_PR-444:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-444@tmp:/w/workspace/gexfoundry_device-rest-go_PR-444@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 20:20:16 $ docker top a4ac01c1b349bcee0fdeefe7ad686a5f136ffe31fd3e115277dea4d5ae0e2fce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:20:17 ---> job-cost.sh 20:20:17 lf-activate-venv: SKIPPING 20:20:17 INFO: No Stack... 20:20:17 INFO: Retrieving Pricing Info for: v3-standard-8 20:20:18 INFO: Archiving Costs [Pipeline] sh 20:20:18 + cat /w/workspace/gexfoundry_device-rest-go_PR-444/archives/cost.csv 20:20:18 + cut -d, -f6 [Pipeline] lock 20:20:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-444-1-stack-cost] 20:20:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-444-1-stack-cost] did not exist. Created. 20:20:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-444-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:20:19 + echo total: 0.2199999988079071 [Pipeline] stash 20:20:19 Stashed 1 file(s) [Pipeline] } 20:20:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-444-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:20:19 $ docker stop --time=1 a4ac01c1b349bcee0fdeefe7ad686a5f136ffe31fd3e115277dea4d5ae0e2fce 20:20:20 $ docker rm -f --volumes a4ac01c1b349bcee0fdeefe7ad686a5f136ffe31fd3e115277dea4d5ae0e2fce [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 20:20:21 provisioning config files... 20:20:21 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-444@tmp/config2202868332743013551tmp [Pipeline] { [Pipeline] sh 20:20:21 + set +x 20:20:21 + bash -s -- 20:20:21 + curl -s https://codecov.io/bash 20:20:21 20:20:21 _____ _ 20:20:21 / ____| | | 20:20:21 | | ___ __| | ___ ___ _____ __ 20:20:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:20:21 | |___| (_) | (_| | __/ (_| (_) \ V / 20:20:21 \_____\___/ \__,_|\___|\___\___/ \_/ 20:20:21 Bash-1.0.6 20:20:21 20:20:21 20:20:21 [0;36m==>[0m git version 2.25.1 found 20:20:21 [0;36m==>[0m 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 20:20:21 Release-Date: 2020-01-08 20:20:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:20:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:20:21 [0;90m==>[0m Jenkins CI detected. 20:20:21 [0;90mcurrent dir: [0m /w/workspace/gexfoundry_device-rest-go_PR-444 20:20:21 [0;90mproject root:[0m . 20:20:21 [0;90m-->[0m token set from env 20:20:21 [0;32mYaml not found, that's ok! Learn more at[0m [0;36mhttp://docs.codecov.io/docs/codecov-yaml[0m 20:20:21 [0;90m==>[0m Running gcov in . [0;90m(disable via -X gcov)[0m 20:20:21 [0;90m==>[0m Python coveragepy not found 20:20:21 [0;90m==>[0m Searching for coverage reports in: 20:20:21 [0;32m+[0m . 20:20:21 [0;90m->[0m Found 1 reports 20:20:21 [0;90m==>[0m Detecting git/mercurial file structure 20:20:21 [0;90m==>[0m Reading reports 20:20:21 [0;32m+[0m ./coverage.out [0;90mbytes=14565[0m 20:20:21 [0;90m==>[0m Appending adjustments 20:20:21 [0;36mhttps://docs.codecov.io/docs/fixing-reports[0m 20:20:21 [0;32m+[0m Found adjustments 20:20:21 [0;90m==>[0m Gzipping contents 20:20:21 4.0K /tmp/codecov.I1xrx7.gz 20:20:21 [0;90m==>[0m Uploading reports 20:20:21 [0;90murl:[0m https://codecov.io 20:20:21 [0;90mquery:[0m branch=PR-444&commit=4a9f6df79d5947e161406f5c439ca762e9e18b3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-444%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=444&job=&cmd_args= 20:20:21 [0;90m->[0m Pinging Codecov 20:20:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=<hidden>&package=bash-1.0.6&token=****&branch=PR-444&commit=4a9f6df79d5947e161406f5c439ca762e9e18b3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-444%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=444&job=&cmd_args= 20:20:21 [0;90m->[0m Uploading to 20:20:21 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/4a9f6df79d5947e161406f5c439ca762e9e18b3b/0336623e-f622-45f1-aa27-ded40700cf16.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250116%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250116T202021Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=ff016344fd01c5f5e11a3727d850854e72d079694576e4bfdc9ac484e77f8f62 20:20:21 % Total % Received % Xferd Average Speed Time Time Time Current 20:20:21 Dload Upload Total Spent Left Speed 20:20:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 13769 --:--:-- --:--:-- --:--:-- 13769 20:20:21 [0;32m->[0m Reports have been successfully queued for processing at [0;36mhttps://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4a9f6df79d5947e161406f5c439ca762e9e18b3b[0m [Pipeline] } 20:20:21 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 20:20:23 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-444/archives ] 20:20:23 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-444/archives 20:20:23 total 16 20:20:23 drwxr-xr-x 3 root root 4096 Jan 16 20:20 . 20:20:23 drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 20:20 .. 20:20:23 drwxr-xr-x 2 root root 4096 Jan 16 20:20 cost 20:20:23 -rw-r--r-- 1 root root 86 Jan 16 20:20 cost.csv 20:20:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-444/archives 20:20:23 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-444/archives 20:20:23 total 16 20:20:23 drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 20:20 . 20:20:23 drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 20:20 .. 20:20:23 drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 20:20 cost 20:20:23 -rw-r--r-- 1 jenkins jenkins 86 Jan 16 20:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:20:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:20:25 ---> package-listing.sh 20:20:25 ++ facter osfamily 20:20:25 ++ tr '[:upper:]' '[:lower:]' 20:20:25 + OS_FAMILY=debian 20:20:25 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-444 20:20:25 + START_PACKAGES=/tmp/packages_start.txt 20:20:25 + END_PACKAGES=/tmp/packages_end.txt 20:20:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:20:25 + PACKAGES=/tmp/packages_start.txt 20:20:25 + '[' /w/workspace/gexfoundry_device-rest-go_PR-444 ']' 20:20:25 + PACKAGES=/tmp/packages_end.txt 20:20:25 + case "${OS_FAMILY}" in 20:20:25 + dpkg -l 20:20:25 + grep '^ii' 20:20:25 + '[' -f /tmp/packages_start.txt ']' 20:20:25 + '[' -f /tmp/packages_end.txt ']' 20:20:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:20:25 + '[' /w/workspace/gexfoundry_device-rest-go_PR-444 ']' 20:20:25 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-444/archives/ 20:20:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-444/archives/ [Pipeline] echo 20:20:25 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-444/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:20:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:20:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:20:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:20:26 prd-ubuntu20.04-docker-8c-8g-36858 does not seem to be running inside a container 20:20:26 $ 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-444/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-444 -v /w/workspace/gexfoundry_device-rest-go_PR-444:/w/workspace/gexfoundry_device-rest-go_PR-444:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-444@tmp:/w/workspace/gexfoundry_device-rest-go_PR-444@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:20:26 $ docker top 7397c06ec60d34e7044f29d705f33dc5fdcca5c12594b2100d1e7840a3f2a155 -eo pid,comm [Pipeline] { [Pipeline] sh 20:20:27 + touch /tmp/pre-build-complete [Pipeline] sh 20:20:27 + mkdir -p /var/log/sysstat [Pipeline] sh 20:20:28 + ls /var/log/sa-host 20:20:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:20:28 provisioning config files... 20:20:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-444@tmp/config1693299933982649277tmp [Pipeline] { [Pipeline] echo 20:20:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:20:28 ---> create-netrc.sh [Pipeline] } 20:20:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:20:29 ---> python-tools-install.sh [Pipeline] echo 20:20:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:20:29 ---> sudo-logs.sh 20:20:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:20:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:20:29 ---> job-cost.sh 20:20:29 lf-activate-venv: SKIPPING 20:20:29 DEBUG: total: 0.2199999988079071 20:20:29 INFO: Retrieving Stack Cost... 20:20:29 INFO: Retrieving Pricing Info for: v3-standard-8 20:20:30 INFO: Archiving Costs [Pipeline] echo 20:20:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:20:30 ---> logs-deploy.sh 20:20:30 lf-activate-venv: SKIPPING 20:20:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-444/1 20:20:30 INFO: archiving workspace using pattern(s): 20:20:31 Archives upload complete. 20:20:31 INFO: archiving logs to Nexus 20:20:32 ---> uname -a: 20:20:32 Linux prd-ubuntu20-04-docker-8c-8g-36858 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:20:32 20:20:32 20:20:32 ---> lscpu: 20:20:32 Architecture: x86_64 20:20:32 CPU op-mode(s): 32-bit, 64-bit 20:20:32 Byte Order: Little Endian 20:20:32 Address sizes: 40 bits physical, 48 bits virtual 20:20:32 CPU(s): 8 20:20:32 On-line CPU(s) list: 0-7 20:20:32 Thread(s) per core: 1 20:20:32 Core(s) per socket: 1 20:20:32 Socket(s): 8 20:20:32 NUMA node(s): 1 20:20:32 Vendor ID: AuthenticAMD 20:20:32 CPU family: 23 20:20:32 Model: 49 20:20:32 Model name: AMD EPYC-Rome Processor 20:20:32 Stepping: 0 20:20:32 CPU MHz: 2800.000 20:20:32 BogoMIPS: 5600.00 20:20:32 Virtualization: AMD-V 20:20:32 Hypervisor vendor: KVM 20:20:32 Virtualization type: full 20:20:32 L1d cache: 256 KiB 20:20:32 L1i cache: 256 KiB 20:20:32 L2 cache: 4 MiB 20:20:32 L3 cache: 128 MiB 20:20:32 NUMA node0 CPU(s): 0-7 20:20:32 Vulnerability Itlb multihit: Not affected 20:20:32 Vulnerability L1tf: Not affected 20:20:32 Vulnerability Mds: Not affected 20:20:32 Vulnerability Meltdown: Not affected 20:20:32 Vulnerability Mmio stale data: Not affected 20:20:32 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:20:32 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:20:32 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:20:32 Vulnerability Srbds: Not affected 20:20:32 Vulnerability Tsx async abort: Not affected 20:20:32 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 20:20:32 20:20:32 20:20:32 ---> nproc: 20:20:32 8 20:20:32 20:20:32 20:20:32 ---> df -h: 20:20:32 Filesystem Size Used Avail Use% Mounted on 20:20:32 overlay 155G 12G 144G 8% / 20:20:32 tmpfs 64M 0 64M 0% /dev 20:20:32 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:20:32 shm 64M 0 64M 0% /dev/shm 20:20:32 /dev/vda1 155G 12G 144G 8% /facter-os 20:20:32 20:20:32 20:20:32 ---> sar -b -r -n DEV: 20:20:32 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-36858) 01/16/25 _x86_64_ (8 CPU) 20:20:32 20:20:32 20:16:34 LINUX RESTART (8 CPU) 20:20:32 20:20:32 20:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:20:32 20:18:01 379.39 26.68 352.71 0.00 2667.82 38501.58 0.00 20:20:32 20:19:01 233.99 2.25 231.74 0.00 18.00 73796.90 0.00 20:20:32 20:20:01 114.15 0.12 114.03 0.00 7.33 43285.99 0.00 20:20:32 Average: 242.51 9.68 232.83 0.00 897.72 51861.49 0.00 20:20:32 20:20:32 20:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:20:32 20:18:01 29133680 31525072 790904 2.41 80872 2572528 1998884 5.89 1042836 2307620 9056 20:20:32 20:19:01 27170936 31252208 1049368 3.19 185068 3995216 2409564 7.10 1750312 3381892 497432 20:20:32 20:20:01 27573652 31530932 774788 2.36 190344 3885628 1895460 5.59 1320364 3434968 1984 20:20:32 Average: 27959423 31436071 871687 2.65 152095 3484457 2101303 6.19 1371171 3041493 169491 20:20:32 20:20:32 20:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:20:32 20:18:01 ens3 718.78 517.98 6333.71 118.08 0.00 0.00 0.00 0.00 20:20:32 20:18:01 veth24ff648 128.41 136.94 12.76 124.37 0.00 0.00 0.00 0.01 20:20:32 20:18:01 docker0 168.06 180.59 14.04 455.21 0.00 0.00 0.00 0.00 20:20:32 20:18:01 lo 6.80 6.80 0.67 0.67 0.00 0.00 0.00 0.00 20:20:32 20:19:01 ens3 317.85 168.37 2735.30 25.94 0.00 0.00 0.00 0.00 20:20:32 20:19:01 veth11d1859 0.07 0.22 0.00 0.02 0.00 0.00 0.00 0.00 20:20:32 20:19:01 docker0 151.14 293.22 13.05 2710.01 0.00 0.00 0.00 0.00 20:20:32 20:19:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 20:20:32 20:20:01 ens3 26.23 15.65 58.48 9.54 0.00 0.00 0.00 0.00 20:20:32 20:20:01 docker0 1.45 3.03 0.09 38.13 0.00 0.00 0.00 0.00 20:20:32 20:20:01 lo 0.93 0.93 0.10 0.10 0.00 0.00 0.00 0.00 20:20:32 Average: ens3 354.29 234.00 3042.50 51.19 0.00 0.00 0.00 0.00 20:20:32 Average: docker0 106.88 158.95 9.06 1067.78 0.00 0.00 0.00 0.00 20:20:32 Average: lo 2.64 2.64 0.26 0.26 0.00 0.00 0.00 0.00 20:20:32 20:20:32 20:20:32 ---> sar -P ALL: 20:20:32 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-36858) 01/16/25 _x86_64_ (8 CPU) 20:20:32 20:20:32 20:16:34 LINUX RESTART (8 CPU) 20:20:32 20:20:32 20:17:01 CPU %user %nice %system %iowait %steal %idle 20:20:32 20:18:01 all 10.34 0.00 3.35 2.15 0.05 84.10 20:20:32 20:18:01 0 9.79 0.00 3.39 0.64 0.07 86.12 20:20:32 20:18:01 1 10.14 0.00 3.26 0.61 0.05 85.94 20:20:32 20:18:01 2 10.51 0.00 3.12 0.17 0.05 86.16 20:20:32 20:18:01 3 12.31 0.00 3.41 6.35 0.07 77.86 20:20:32 20:18:01 4 9.10 0.00 3.91 2.86 0.05 84.08 20:20:32 20:18:01 5 11.19 0.00 3.07 1.42 0.05 84.28 20:20:32 20:18:01 6 7.90 0.00 2.80 0.96 0.05 88.28 20:20:32 20:18:01 7 11.80 0.00 3.88 4.20 0.05 80.07 20:20:32 20:19:01 all 22.92 0.00 6.07 3.31 0.07 67.63 20:20:32 20:19:01 0 20.75 0.00 5.17 2.33 0.08 71.66 20:20:32 20:19:01 1 24.34 0.00 6.25 0.83 0.08 68.49 20:20:32 20:19:01 2 23.77 0.00 5.18 0.78 0.05 70.23 20:20:32 20:19:01 3 22.42 0.00 5.65 1.30 0.05 70.58 20:20:32 20:19:01 4 23.13 0.00 5.74 1.30 0.10 69.72 20:20:32 20:19:01 5 23.37 0.00 7.61 3.03 0.07 65.92 20:20:32 20:19:01 6 22.72 0.00 7.77 16.75 0.08 52.68 20:20:32 20:19:01 7 22.84 0.00 5.21 0.17 0.07 71.71 20:20:32 20:20:01 all 43.22 0.00 6.60 1.71 0.08 48.38 20:20:32 20:20:01 0 43.25 0.00 6.51 0.40 0.08 49.76 20:20:32 20:20:01 1 42.34 0.00 6.73 9.24 0.08 41.61 20:20:32 20:20:01 2 42.64 0.00 6.93 0.24 0.08 50.11 20:20:32 20:20:01 3 44.50 0.00 6.45 0.10 0.07 48.88 20:20:32 20:20:01 4 44.66 0.00 6.65 0.83 0.08 47.78 20:20:32 20:20:01 5 43.47 0.00 6.30 0.24 0.07 49.92 20:20:32 20:20:01 6 43.09 0.00 7.02 2.41 0.08 47.39 20:20:32 20:20:01 7 41.83 0.00 6.25 0.25 0.07 51.60 20:20:32 Average: all 25.50 0.00 5.34 2.39 0.07 66.70 20:20:32 Average: 0 24.60 0.00 5.02 1.12 0.08 69.18 20:20:32 Average: 1 25.60 0.00 5.41 3.55 0.07 65.36 20:20:32 Average: 2 25.63 0.00 5.07 0.39 0.06 68.84 20:20:32 Average: 3 26.41 0.00 5.17 2.59 0.06 65.77 20:20:32 Average: 4 25.65 0.00 5.43 1.66 0.08 67.17 20:20:32 Average: 5 26.03 0.00 5.66 1.56 0.06 66.69 20:20:32 Average: 6 24.58 0.00 5.86 6.71 0.07 62.78 20:20:32 Average: 7 25.51 0.00 5.12 1.54 0.06 67.78 20:20:32 20:20:32 20:20:32