Pull request #464 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1f9eb8cdf8b491e139c3447977da448150d1c535+ea8efc1bdf50fce9abd2053ea9328b28ead432ce (bffc5755b6b2ec361f688d699d17f691729886e4) 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-ssh2901187184349875909.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh17145160305272004149.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-464/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-464/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8541008003546716604.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-464/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14427069466329033676.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh15951030971447769567.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-464/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-464/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11023642847480394237.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-799 in /w/workspace/gexfoundry_device-rest-go_PR-464 [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-464 # 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 Merging remotes/origin/main commit ea8efc1bdf50fce9abd2053ea9328b28ead432ce into PR head commit 1f9eb8cdf8b491e139c3447977da448150d1c535 Merge succeeded, producing 1f9eb8cdf8b491e139c3447977da448150d1c535 Checking out Revision 1f9eb8cdf8b491e139c3447977da448150d1c535 (PR-464) Commit message: "build(deps): Bump github.com/spf13/cast from 1.7.1 to 1.8.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a > 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/464/head:refs/remotes/origin/PR-464 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f9eb8cdf8b491e139c3447977da448150d1c535 # 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 ea8efc1bdf50fce9abd2053ea9328b28ead432ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f9eb8cdf8b491e139c3447977da448150d1c535 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:39:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:39:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:39:44 ========================================================= 20:39:44 EdgeX Global Pipelines Version Info 20:39:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:39:45 ------------------- 20:39:45 stable info: 20:39:45 ------------------- 20:39:45 Commited By: Ginny Guan ginny@iotechsys.com 20:39:45 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 20:39:45 Message: update stable to v1.0.274 20:39:45 ------------------- 20:39:45 experimental info: 20:39:45 ------------------- 20:39:45 Commited By: Ginny Guan ginny@iotechsys.com 20:39:45 Commit SHA: d23c20eb9a5ec3463b7c8c72fdbb28744bcccce8 20:39:45 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:39:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-464 [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-464 [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-464 [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f9eb8cdf8b491e139c3447977da448150d1c535 [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f9eb8c [Pipeline] echo 20:39:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:39:47 provisioning config files... 20:39:47 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-464@tmp/config3378713821261118877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:39:48 ---> ****-login.sh 20:39:48 nexus3.edgexfoundry.org:10001 20:39:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:48 Configure a credential helper to remove this warning. See 20:39:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:48 20:39:48 Login Succeeded 20:39:48 nexus3.edgexfoundry.org:10002 20:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:49 Configure a credential helper to remove this warning. See 20:39:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:49 20:39:49 Login Succeeded 20:39:49 nexus3.edgexfoundry.org:10003 20:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:49 Configure a credential helper to remove this warning. See 20:39:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:49 20:39:49 Login Succeeded 20:39:49 nexus3.edgexfoundry.org:10004 20:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:49 Configure a credential helper to remove this warning. See 20:39:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:49 20:39:49 Login Succeeded 20:39:49 ****.io 20:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:39:49 Configure a credential helper to remove this warning. See 20:39:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:39:49 20:39:49 Login Succeeded 20:39:49 ---> ****-login.sh ends [Pipeline] } 20:39:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:39:50 + git rev-list -1 --merges 1f9eb8cdf8b491e139c3447977da448150d1c535~1..1f9eb8cdf8b491e139c3447977da448150d1c535 [Pipeline] echo 20:39:50 -----------> git rev-list -1 --merges 1f9eb8cdf8b491e139c3447977da448150d1c535~1..1f9eb8cdf8b491e139c3447977da448150d1c535 1f9eb8cdf8b491e139c3447977da448150d1c535 [false] [Pipeline] sh 20:39:50 + git log --format=format:%s -1 1f9eb8cdf8b491e139c3447977da448150d1c535 [Pipeline] echo 20:39:50 ========================================================= 20:39:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:39:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:39:51 + git log --format=format:%s -1 1f9eb8cdf8b491e139c3447977da448150d1c535 [Pipeline] echo 20:39:51 [semverPrep] GIT_COMMIT: 1f9eb8cdf8b491e139c3447977da448150d1c535, Commit Message: build(deps): Bump github.com/spf13/cast from 1.7.1 to 1.8.0 [Pipeline] echo 20:39:51 [semverPrep] This is not a build commit. [Pipeline] sh 20:39:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:39:51 + grep -v github /etc/ssh/ssh_known_hosts 20:39:51 + [ -e /tmp/ssh_known_hosts ] 20:39:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:39:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:39:51 + sudo tee -a /etc/ssh/ssh_known_hosts 20:39:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:52 20:39:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:39:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:52 0.1.4: Pulling from edgex-devops/py-git-semver 20:39:52 b85a868b505f: Pulling fs layer 20:39:52 e2be974225ed: Pulling fs layer 20:39:52 339a4e72a1f5: Pulling fs layer 20:39:52 988bab9f4d93: Pulling fs layer 20:39:52 1469e6f7b9e6: Pulling fs layer 20:39:52 eaf3925da568: Pulling fs layer 20:39:52 bab4dde63d76: Pulling fs layer 20:39:52 bde34c3a00c8: Pulling fs layer 20:39:52 b352a97aabf1: Pulling fs layer 20:39:52 4872d77fe225: Pulling fs layer 20:39:52 5851b861e8e6: Pulling fs layer 20:39:52 988bab9f4d93: Waiting 20:39:52 1469e6f7b9e6: Waiting 20:39:52 5851b861e8e6: Waiting 20:39:52 bab4dde63d76: Waiting 20:39:52 eaf3925da568: Waiting 20:39:52 bde34c3a00c8: Waiting 20:39:52 4872d77fe225: Waiting 20:39:52 e2be974225ed: Verifying Checksum 20:39:52 e2be974225ed: Download complete 20:39:52 988bab9f4d93: Verifying Checksum 20:39:52 988bab9f4d93: Download complete 20:39:52 1469e6f7b9e6: Verifying Checksum 20:39:52 1469e6f7b9e6: Download complete 20:39:52 eaf3925da568: Verifying Checksum 20:39:52 eaf3925da568: Download complete 20:39:52 339a4e72a1f5: Verifying Checksum 20:39:52 339a4e72a1f5: Download complete 20:39:52 bde34c3a00c8: Verifying Checksum 20:39:52 bde34c3a00c8: Download complete 20:39:52 b352a97aabf1: Verifying Checksum 20:39:52 b352a97aabf1: Download complete 20:39:52 4872d77fe225: Download complete 20:39:52 5851b861e8e6: Download complete 20:39:52 b85a868b505f: Verifying Checksum 20:39:52 b85a868b505f: Download complete 20:39:53 bab4dde63d76: Verifying Checksum 20:39:53 bab4dde63d76: Download complete 20:39:54 b85a868b505f: Pull complete 20:39:54 e2be974225ed: Pull complete 20:39:54 339a4e72a1f5: Pull complete 20:39:54 988bab9f4d93: Pull complete 20:39:55 1469e6f7b9e6: Pull complete 20:39:55 eaf3925da568: Pull complete 20:39:57 bab4dde63d76: Pull complete 20:39:57 bde34c3a00c8: Pull complete 20:39:57 b352a97aabf1: Pull complete 20:39:57 4872d77fe225: Pull complete 20:39:57 5851b861e8e6: Pull complete 20:39:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:39:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:39:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:39:57 prd-ubuntu20.04-docker-8c-8g-799 does not seem to be running inside a container 20:39:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-464 -v /w/workspace/gexfoundry_device-rest-go_PR-464:/w/workspace/gexfoundry_device-rest-go_PR-464:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-464@tmp:/w/workspace/gexfoundry_device-rest-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:39:59 $ docker top 61ed7b97948b2540b2c8c2b15c6995a99be74233eac954b5f9b9856b0f8a6bbe -eo pid,comm 20:39:59 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:39:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:39:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:39:59 [ssh-agent] Looking for ssh-agent implementation... 20:39:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:39:59 $ docker exec 61ed7b97948b2540b2c8c2b15c6995a99be74233eac954b5f9b9856b0f8a6bbe ssh-agent 20:39:59 SSH_AUTH_SOCK=/tmp/ssh-DC1P04WXCtpt/agent.32 20:39:59 SSH_AGENT_PID=38 20:39:59 Running ssh-add (command line suppressed) 20:39:59 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-464@tmp/private_key_3753554443321323794.key (/w/workspace/gexfoundry_device-rest-go_PR-464@tmp/private_key_3753554443321323794.key) 20:39:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:00 + git tag --points-at HEAD [Pipeline] } 20:40:00 $ docker exec --env ******** --env ******** 61ed7b97948b2540b2c8c2b15c6995a99be74233eac954b5f9b9856b0f8a6bbe ssh-agent -k 20:40:00 unset SSH_AUTH_SOCK; 20:40:00 unset SSH_AGENT_PID; 20:40:00 echo Agent pid 38 killed; 20:40:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:40:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:40:00 [ssh-agent] Looking for ssh-agent implementation... 20:40:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:40:00 $ docker exec 61ed7b97948b2540b2c8c2b15c6995a99be74233eac954b5f9b9856b0f8a6bbe ssh-agent 20:40:00 SSH_AUTH_SOCK=/tmp/ssh-MVDjf2guiu4o/agent.71 20:40:00 SSH_AGENT_PID=77 20:40:00 Running ssh-add (command line suppressed) 20:40:00 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-464@tmp/private_key_13319545426873524152.key (/w/workspace/gexfoundry_device-rest-go_PR-464@tmp/private_key_13319545426873524152.key) 20:40:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:40:01 + git semver init 20:40:01 2025-05-02 20:40:01,433 [run_init] DEBUG init version:0.0.0 force:False 20:40:01 2025-05-02 20:40:01,434 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-464/.semver 20:40:01 2025-05-02 20:40:01,435 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-464/.semver 20:40:01 2025-05-02 20:40:01,435 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-464/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-464, universal_newlines=False, shell=None, istream=None) 20:40:02 2025-05-02 20:40:02,881 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-464/.git/info/exclude 20:40:02 2025-05-02 20:40:02,885 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-464/.semver/PR-464 with force:False 20:40:02 2025-05-02 20:40:02,885 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-464/.semver/PR-464 20:40:02 2025-05-02 20:40:02,892 [execute] INFO git cat-file --batch-check 20:40:02 2025-05-02 20:40:02,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-464/.semver, universal_newlines=False, shell=None, istream=) 20:40:02 2025-05-02 20:40:02,899 [execute] INFO git cat-file --batch 20:40:02 2025-05-02 20:40:02,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-464/.semver, universal_newlines=False, shell=None, istream=) 20:40:03 2025-05-02 20:40:02,907 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-464/.semver/PR-464 20:40:03 0.0.0 [Pipeline] } 20:40:03 $ docker exec --env ******** --env ******** 61ed7b97948b2540b2c8c2b15c6995a99be74233eac954b5f9b9856b0f8a6bbe ssh-agent -k 20:40:03 unset SSH_AUTH_SOCK; 20:40:03 unset SSH_AGENT_PID; 20:40:03 echo Agent pid 77 killed; 20:40:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:40:03 + git semver [Pipeline] } 20:40:04 $ docker stop --time=1 61ed7b97948b2540b2c8c2b15c6995a99be74233eac954b5f9b9856b0f8a6bbe 20:40:05 $ docker rm -f --volumes 61ed7b97948b2540b2c8c2b15c6995a99be74233eac954b5f9b9856b0f8a6bbe [Pipeline] // withDockerContainer [Pipeline] sh 20:40:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:40:06 Stashed 1 file(s) [Pipeline] echo 20:40:06 [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:40:07 provisioning config files... 20:40:07 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-464@tmp/config18171460958157105614tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 20:40:07 ---> ****-login.sh 20:40:07 nexus3.edgexfoundry.org:10001 20:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:07 Configure a credential helper to remove this warning. See 20:40:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:07 20:40:07 Login Succeeded 20:40:07 nexus3.edgexfoundry.org:10002 20:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:07 Configure a credential helper to remove this warning. See 20:40:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:07 20:40:07 Login Succeeded 20:40:07 nexus3.edgexfoundry.org:10003 20:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:07 Configure a credential helper to remove this warning. See 20:40:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:07 20:40:07 Login Succeeded 20:40:07 nexus3.edgexfoundry.org:10004 20:40:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:07 Configure a credential helper to remove this warning. See 20:40:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:07 20:40:07 Login Succeeded 20:40:07 ****.io 20:40:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:40:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:40:08 Configure a credential helper to remove this warning. See 20:40:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:40:08 20:40:08 Login Succeeded 20:40:08 ---> ****-login.sh ends [Pipeline] } 20:40:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:40:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 20:40:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 20:40:08 ========================================================= 20:40:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:40:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:27 + 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:40:27 Sending build context to Docker daemon 21.63MB 20:40:27 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 20:40:27 Step 2/12 : FROM ${BASE} AS builder 20:40:27 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:40:27 0a9a5dfd008f: Pulling fs layer 20:40:27 dbfa0bcfca99: Pulling fs layer 20:40:27 70eabb1d9476: Pulling fs layer 20:40:27 957bedc73fa3: Pulling fs layer 20:40:27 4f4fb700ef54: Pulling fs layer 20:40:27 f40432e63723: Pulling fs layer 20:40:27 90b4343acab7: Pulling fs layer 20:40:27 9f67ea4ac784: Pulling fs layer 20:40:27 9228b9a606be: Pulling fs layer 20:40:27 f40432e63723: Waiting 20:40:27 90b4343acab7: Waiting 20:40:27 9f67ea4ac784: Waiting 20:40:27 957bedc73fa3: Waiting 20:40:27 4f4fb700ef54: Waiting 20:40:27 9228b9a606be: Waiting 20:40:27 dbfa0bcfca99: Verifying Checksum 20:40:27 dbfa0bcfca99: Download complete 20:40:27 957bedc73fa3: Verifying Checksum 20:40:27 957bedc73fa3: Download complete 20:40:27 4f4fb700ef54: Download complete 20:40:27 f40432e63723: Verifying Checksum 20:40:27 f40432e63723: Download complete 20:40:27 0a9a5dfd008f: Download complete 20:40:27 90b4343acab7: Verifying Checksum 20:40:27 90b4343acab7: Download complete 20:40:28 0a9a5dfd008f: Pull complete 20:40:28 9228b9a606be: Verifying Checksum 20:40:28 9228b9a606be: Download complete 20:40:28 dbfa0bcfca99: Pull complete 20:40:28 70eabb1d9476: Download complete 20:40:28 9f67ea4ac784: Verifying Checksum 20:40:28 9f67ea4ac784: Download complete 20:40:31 70eabb1d9476: Pull complete 20:40:31 957bedc73fa3: Pull complete 20:40:32 4f4fb700ef54: Pull complete 20:40:32 f40432e63723: Pull complete 20:40:32 90b4343acab7: Pull complete 20:40:35 9f67ea4ac784: Pull complete 20:40:35 9228b9a606be: Pull complete 20:40:35 Digest: sha256:8624f2d6e550924f0bb3d85449bc2b709d2d814d70f184131ba6a0cb4b0346e0 20:40:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:40:35 ---> 69404ca5bff2 20:40:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:40:37 ---> Running in c3b30acddb72 20:40:37 Removing intermediate container c3b30acddb72 20:40:37 ---> d72fece1ba90 20:40:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:40:37 ---> Running in ea6b5d9de3a2 20:40:37 Removing intermediate container ea6b5d9de3a2 20:40:37 ---> 64442dd1378d 20:40:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:40:37 ---> Running in ba7094b21c1d 20:40:37 Removing intermediate container ba7094b21c1d 20:40:37 ---> d9011b35d399 20:40:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:40:37 ---> Running in 0903096e1ccf 20:40:38 Removing intermediate container 0903096e1ccf 20:40:38 ---> c89097d7eb2b 20:40:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:40:38 ---> Running in f6f966d1ed71 20:40:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:40:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:40:38 (1/4) Installing openssh-keygen (9.7_p1-r5) 20:40:38 (2/4) Installing libedit (20240517.3.1-r0) 20:40:38 (3/4) Installing openssh-client-common (9.7_p1-r5) 20:40:38 (4/4) Installing openssh-client-default (9.7_p1-r5) 20:40:38 Executing busybox-1.36.1-r29.trigger 20:40:38 OK: 252 MiB in 62 packages 20:40:39 Removing intermediate container f6f966d1ed71 20:40:39 ---> 37f0a22d8027 20:40:39 Step 8/12 : WORKDIR /device-rest-go 20:40:39 ---> Running in ead2bf8519e7 20:40:39 Removing intermediate container ead2bf8519e7 20:40:39 ---> 7c95001c505a 20:40:39 Step 9/12 : COPY go.mod vendor* ./ 20:40:39 ---> 42c045685544 20:40:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:40:39 ---> Running in 8dc1153e9db5 20:41:18 Removing intermediate container 8dc1153e9db5 20:41:18 ---> b5c088cfdb51 20:41:18 Step 11/12 : COPY . . 20:41:18 ---> 1f371881c5b9 20:41:18 Step 12/12 : RUN $MAKE 20:41:18 ---> Running in d1ec706e3a67 20:41:18 noop 20:41:18 Removing intermediate container d1ec706e3a67 20:41:18 ---> 6e18548ff77a 20:41:18 Successfully built 6e18548ff77a 20:41:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:18 + docker inspect -f . ci-base-image-x86_64 20:41:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:19 prd-ubuntu20.04-docker-8c-8g-799 does not seem to be running inside a container 20:41:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-464 -v /w/workspace/gexfoundry_device-rest-go_PR-464:/w/workspace/gexfoundry_device-rest-go_PR-464:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-464@tmp:/w/workspace/gexfoundry_device-rest-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:41:19 $ docker top 77e49c5a21a31fda543e6ae880bb96771522f007aa42b813dad86e6d628d3c7c -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:19 + go version 20:41:19 go version go1.23.8 linux/amd64 [Pipeline] } 20:41:19 $ docker stop --time=1 77e49c5a21a31fda543e6ae880bb96771522f007aa42b813dad86e6d628d3c7c 20:41:21 $ docker rm -f --volumes 77e49c5a21a31fda543e6ae880bb96771522f007aa42b813dad86e6d628d3c7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:41:22 + docker inspect -f . ci-base-image-x86_64 20:41:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:22 prd-ubuntu20.04-docker-8c-8g-799 does not seem to be running inside a container 20:41:22 $ 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-464 -v /w/workspace/gexfoundry_device-rest-go_PR-464:/w/workspace/gexfoundry_device-rest-go_PR-464:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-464@tmp:/w/workspace/gexfoundry_device-rest-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:41:22 $ docker top 902e3a6750a26dc56ed9be91f0fc4be13a4abc3a843eee8f747ba778ca8ec256 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:23 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-464 [Pipeline] fileExists [Pipeline] sh 20:41:23 + make test 20:41:23 go test ./... -coverprofile=coverage.out ./... 20:41:27 ? github.com/edgexfoundry/device-rest-go [no test files] 20:41:45 github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements 20:41:45 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 20:41:55 go vet ./... 20:42:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:42:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:42:02 ./bin/test-attribution-txt.sh [Pipeline] echo 20:42:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 20:42:02 $ docker stop --time=1 902e3a6750a26dc56ed9be91f0fc4be13a4abc3a843eee8f747ba778ca8ec256 20:42:05 $ docker rm -f --volumes 902e3a6750a26dc56ed9be91f0fc4be13a4abc3a843eee8f747ba778ca8ec256 [Pipeline] // withDockerContainer [Pipeline] sh 20:42:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:42:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:42:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:42:07 + ls -al . 20:42:07 total 244 20:42:07 drwxrwxr-x 9 jenkins jenkins 4096 May 2 20:41 . 20:42:07 drwxrwxr-x 4 jenkins jenkins 4096 May 2 20:39 .. 20:42:07 -rw-rw-r-- 1 jenkins jenkins 151 May 2 20:39 .dockerignore 20:42:07 drwxrwxr-x 8 jenkins jenkins 4096 May 2 20:41 .git 20:42:07 drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:39 .github 20:42:07 -rw-rw-r-- 1 jenkins jenkins 264 May 2 20:39 .gitignore 20:42:07 -rw-rw-r-- 1 jenkins jenkins 41 May 2 20:39 .golangci.yml 20:42:07 drwxr-xr-x 3 jenkins jenkins 4096 May 2 20:40 .semver 20:42:07 -rw-rw-r-- 1 jenkins jenkins 20138 May 2 20:39 Attribution.txt 20:42:07 -rw-rw-r-- 1 jenkins jenkins 18492 May 2 20:39 CHANGELOG.md 20:42:07 -rw-rw-r-- 1 jenkins jenkins 1697 May 2 20:39 Dockerfile 20:42:07 -rw-rw-r-- 1 jenkins jenkins 677 May 2 20:39 GOVERNANCE.md 20:42:07 -rw-rw-r-- 1 jenkins jenkins 680 May 2 20:39 Jenkinsfile 20:42:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 20:39 LICENSE 20:42:07 -rw-rw-r-- 1 jenkins jenkins 2598 May 2 20:39 Makefile 20:42:07 -rw-rw-r-- 1 jenkins jenkins 620 May 2 20:39 OWNERS.md 20:42:07 -rw-rw-r-- 1 jenkins jenkins 3989 May 2 20:39 README.md 20:42:07 -rw-rw-r-- 1 jenkins jenkins 5 May 2 20:40 VERSION 20:42:07 drwxrwxr-x 2 jenkins jenkins 4096 May 2 20:39 bin 20:42:07 drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:39 cmd 20:42:07 -rw-r--r-- 1 jenkins jenkins 14565 May 2 20:41 coverage.out 20:42:07 drwxrwxr-x 2 jenkins jenkins 4096 May 2 20:39 driver 20:42:07 -rw-rw-r-- 1 jenkins jenkins 6244 May 2 20:39 go.mod 20:42:07 -rw-rw-r-- 1 jenkins jenkins 86532 May 2 20:39 go.sum 20:42:07 drwxrwxr-x 3 jenkins jenkins 4096 May 2 20:39 openapi 20:42:07 -rw-rw-r-- 1 jenkins jenkins 713 May 2 20:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:08 + 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=1f9eb8cdf8b491e139c3447977da448150d1c535 --label arch=amd64 --label version=0.0.0 . 20:42:08 Sending build context to Docker daemon 21.65MB 20:42:08 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 20:42:08 Step 2/26 : FROM ${BASE} AS builder 20:42:08 ---> 6e18548ff77a 20:42:08 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:42:08 ---> Running in f7dc4c845fd4 20:42:08 Removing intermediate container f7dc4c845fd4 20:42:08 ---> d2ba716813cd 20:42:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:42:08 ---> Running in 20b918ecfa2a 20:42:08 Removing intermediate container 20b918ecfa2a 20:42:08 ---> c3bb169a9abd 20:42:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:42:08 ---> Running in 77ea752e272a 20:42:08 Removing intermediate container 77ea752e272a 20:42:08 ---> 51011f42e8a7 20:42:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:42:08 ---> Running in f8a63b77424b 20:42:08 Removing intermediate container f8a63b77424b 20:42:08 ---> ad6a86c5f83d 20:42:08 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:42:08 ---> Running in 5da1b125c797 20:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:42:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:42:09 OK: 252 MiB in 62 packages 20:42:09 Removing intermediate container 5da1b125c797 20:42:09 ---> d98f6fbe6480 20:42:09 Step 8/26 : WORKDIR /device-rest-go 20:42:09 ---> Running in 1be63d8fd892 20:42:10 Removing intermediate container 1be63d8fd892 20:42:10 ---> f6a1832c7cd5 20:42:10 Step 9/26 : COPY go.mod vendor* ./ 20:42:10 ---> 18e9fdf2a31e 20:42:10 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:42:10 ---> Running in b1f2615c223a 20:42:11 Removing intermediate container b1f2615c223a 20:42:11 ---> edbf460caf02 20:42:11 Step 11/26 : COPY . . 20:42:11 ---> 757dbc248236 20:42:11 Step 12/26 : RUN $MAKE 20:42:11 ---> Running in a3425c68df58 20:42:11 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 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:42:43 Removing intermediate container a3425c68df58 20:42:43 ---> 06ea3d768f94 20:42:43 Step 13/26 : FROM alpine:3.20 20:42:43 3.20: Pulling from library/alpine 20:42:43 0a9a5dfd008f: Already exists 20:42:43 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 20:42:43 Status: Downloaded newer image for alpine:3.20 20:42:43 ---> ff221270b9fb 20:42:43 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:42:43 ---> Running in ab35ee723293 20:42:44 Removing intermediate container ab35ee723293 20:42:44 ---> e88b7f508126 20:42:44 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 20:42:44 ---> Running in 75b60fd82c10 20:42:44 Removing intermediate container 75b60fd82c10 20:42:44 ---> 8f1e510254e0 20:42:44 Step 16/26 : RUN apk add --update --no-cache dumb-init 20:42:44 ---> Running in a5b20d97d6c8 20:42:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:42:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:42:44 (1/1) Installing dumb-init (1.2.5-r3) 20:42:44 Executing busybox-1.36.1-r29.trigger 20:42:44 OK: 8 MiB in 15 packages 20:42:45 Removing intermediate container a5b20d97d6c8 20:42:45 ---> a6ab334a879f 20:42:45 Step 17/26 : RUN apk --no-cache upgrade 20:42:45 ---> Running in fc94da8c8cf3 20:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:42:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:42:45 OK: 8 MiB in 15 packages 20:42:46 Removing intermediate container fc94da8c8cf3 20:42:46 ---> 9e29cc267a05 20:42:46 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:42:47 ---> c1d16ae8f7e3 20:42:47 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:42:47 ---> 6318c9bdb955 20:42:47 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:42:47 ---> 88284e4dc3d3 20:42:47 Step 21/26 : EXPOSE 59986 20:42:47 ---> Running in a2f40d445764 20:42:47 Removing intermediate container a2f40d445764 20:42:47 ---> 7d2c318988a7 20:42:47 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:42:47 ---> Running in a0d519f64fce 20:42:47 Removing intermediate container a0d519f64fce 20:42:47 ---> 92d9d9001c9d 20:42:47 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 20:42:47 ---> Running in b4d76744f4ac 20:42:47 Removing intermediate container b4d76744f4ac 20:42:47 ---> ff9d4d37b528 20:42:47 Step 24/26 : LABEL arch=amd64 20:42:47 ---> Running in fb81f68b863e 20:42:47 Removing intermediate container fb81f68b863e 20:42:47 ---> 2a8f06912d8f 20:42:47 Step 25/26 : LABEL git_sha=1f9eb8cdf8b491e139c3447977da448150d1c535 20:42:47 ---> Running in c666fa601680 20:42:47 Removing intermediate container c666fa601680 20:42:47 ---> 33ab1de60a66 20:42:47 Step 26/26 : LABEL version=0.0.0 20:42:47 ---> Running in fd5a508f75b2 20:42:47 Removing intermediate container fd5a508f75b2 20:42:47 ---> cf556bca8db5 20:42:47 [Warning] One or more build-args [ARCH] were not consumed 20:42:47 Successfully built cf556bca8db5 20:42:47 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:42:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:48 20:42:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:42:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:49 latest: Pulling from edgex-lftools-log-publisher 20:42:49 5eb5b503b376: Pulling fs layer 20:42:49 5c69ac0246d0: Pulling fs layer 20:42:49 ec43610c2a17: Pulling fs layer 20:42:49 3a2ae6a8a46f: Pulling fs layer 20:42:49 33b1e0a273af: Pulling fs layer 20:42:49 5d3b04190fa2: Pulling fs layer 20:42:49 2f39f015ded8: Pulling fs layer 20:42:49 33b1e0a273af: Waiting 20:42:49 5d3b04190fa2: Waiting 20:42:49 2f39f015ded8: Waiting 20:42:49 3a2ae6a8a46f: Waiting 20:42:49 5c69ac0246d0: Verifying Checksum 20:42:49 5c69ac0246d0: Download complete 20:42:49 3a2ae6a8a46f: Verifying Checksum 20:42:49 3a2ae6a8a46f: Download complete 20:42:49 33b1e0a273af: Verifying Checksum 20:42:49 33b1e0a273af: Download complete 20:42:49 5d3b04190fa2: Verifying Checksum 20:42:49 5d3b04190fa2: Download complete 20:42:49 ec43610c2a17: Verifying Checksum 20:42:49 ec43610c2a17: Download complete 20:42:49 5eb5b503b376: Verifying Checksum 20:42:49 5eb5b503b376: Download complete 20:42:50 2f39f015ded8: Download complete 20:42:50 5eb5b503b376: Pull complete 20:42:51 5c69ac0246d0: Pull complete 20:42:51 ec43610c2a17: Pull complete 20:42:51 3a2ae6a8a46f: Pull complete 20:42:51 33b1e0a273af: Pull complete 20:42:51 5d3b04190fa2: Pull complete 20:42:57 2f39f015ded8: Pull complete 20:42:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:42:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:42:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:42:57 prd-ubuntu20.04-docker-8c-8g-799 does not seem to be running inside a container 20:42:57 $ 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-464 -v /w/workspace/gexfoundry_device-rest-go_PR-464:/w/workspace/gexfoundry_device-rest-go_PR-464:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-464@tmp:/w/workspace/gexfoundry_device-rest-go_PR-464@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:43:01 $ docker top 419a283c3428f8f321610d2060ea44f9ef700b6d1212a23bc78f8fc15969daf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:01 ---> job-cost.sh 20:43:01 lf-activate-venv: SKIPPING 20:43:01 INFO: No Stack... 20:43:02 INFO: Retrieving Pricing Info for: v3-standard-8 20:43:02 INFO: Archiving Costs [Pipeline] sh 20:43:02 + cat /w/workspace/gexfoundry_device-rest-go_PR-464/archives/cost.csv 20:43:02 + cut -d, -f6 [Pipeline] lock 20:43:02 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-464-1-stack-cost] 20:43:02 Resource [jenkins-edgexfoundry-device-rest-go-PR-464-1-stack-cost] did not exist. Created. 20:43:02 Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-464-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:43:03 + echo total: 0.2199999988079071 [Pipeline] stash 20:43:03 Stashed 1 file(s) [Pipeline] } 20:43:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-464-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:43:03 $ docker stop --time=1 419a283c3428f8f321610d2060ea44f9ef700b6d1212a23bc78f8fc15969daf5 20:43:04 $ docker rm -f --volumes 419a283c3428f8f321610d2060ea44f9ef700b6d1212a23bc78f8fc15969daf5 [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:43:05 provisioning config files... 20:43:05 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-464@tmp/config6086934466455890694tmp [Pipeline] { [Pipeline] sh 20:43:05 + set +x 20:43:05 + curl -s https://codecov.io/bash 20:43:05 + bash -s -- 20:43:05 20:43:05 _____ _ 20:43:05 / ____| | | 20:43:05 | | ___ __| | ___ ___ _____ __ 20:43:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:43:05 | |___| (_) | (_| | __/ (_| (_) \ V / 20:43:05 \_____\___/ \__,_|\___|\___\___/ \_/ 20:43:05 Bash-1.0.6 20:43:05 20:43:05 20:43:05 ==> git version 2.25.1 found 20:43:05 ==> 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:43:05 Release-Date: 2020-01-08 20:43:05 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:43:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:43:05 ==> Jenkins CI detected. 20:43:05 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-464 20:43:05 project root: . 20:43:05 --> token set from env 20:43:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:43:05 ==> Running gcov in . (disable via -X gcov) 20:43:05 ==> Python coveragepy not found 20:43:05 ==> Searching for coverage reports in: 20:43:05 + . 20:43:05 -> Found 1 reports 20:43:05 ==> Detecting git/mercurial file structure 20:43:06 ==> Reading reports 20:43:06 + ./coverage.out bytes=14565 20:43:06 ==> Appending adjustments 20:43:06 https://docs.codecov.io/docs/fixing-reports 20:43:06 + Found adjustments 20:43:06 ==> Gzipping contents 20:43:06 4.0K /tmp/codecov.e08nNx.gz 20:43:06 ==> Uploading reports 20:43:06 url: https://codecov.io 20:43:06 query: branch=PR-464&commit=1f9eb8cdf8b491e139c3447977da448150d1c535&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-464%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=464&job=&cmd_args= 20:43:06 -> Pinging Codecov 20:43:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-464&commit=1f9eb8cdf8b491e139c3447977da448150d1c535&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-464%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=464&job=&cmd_args= 20:43:06 -> Uploading to 20:43:06 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-rest-go/1f9eb8cdf8b491e139c3447977da448150d1c535/981cfe96-0286-45eb-89ae-954230135e03.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250502%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250502T204306Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=beac205a2d5b607651534ea98f0236d6ec98e5205a65a211002f83da9e382a34 20:43:06 % Total % Received % Xferd Average Speed Time Time Time Current 20:43:06 Dload Upload Total Spent Left Speed 20:43:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 20412 --:--:-- --:--:-- --:--:-- 20412 20:43:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1f9eb8cdf8b491e139c3447977da448150d1c535 [Pipeline] } 20:43:06 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:43:08 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-464/archives ] 20:43:08 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-464/archives 20:43:08 total 16 20:43:08 drwxr-xr-x 3 root root 4096 May 2 20:43 . 20:43:08 drwxrwxr-x 10 jenkins jenkins 4096 May 2 20:43 .. 20:43:08 drwxr-xr-x 2 root root 4096 May 2 20:43 cost 20:43:08 -rw-r--r-- 1 root root 86 May 2 20:43 cost.csv 20:43:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-464/archives 20:43:08 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-464/archives 20:43:08 total 16 20:43:08 drwxr-xr-x 3 jenkins jenkins 4096 May 2 20:43 . 20:43:08 drwxrwxr-x 10 jenkins jenkins 4096 May 2 20:43 .. 20:43:08 drwxr-xr-x 2 jenkins jenkins 4096 May 2 20:43 cost 20:43:08 -rw-r--r-- 1 jenkins jenkins 86 May 2 20:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:43:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:43:09 ---> package-listing.sh 20:43:09 ++ facter osfamily 20:43:09 ++ tr '[:upper:]' '[:lower:]' 20:43:09 + OS_FAMILY=debian 20:43:09 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-464 20:43:09 + START_PACKAGES=/tmp/packages_start.txt 20:43:09 + END_PACKAGES=/tmp/packages_end.txt 20:43:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:43:09 + PACKAGES=/tmp/packages_start.txt 20:43:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-464 ']' 20:43:09 + PACKAGES=/tmp/packages_end.txt 20:43:09 + case "${OS_FAMILY}" in 20:43:09 + dpkg -l 20:43:09 + grep '^ii' 20:43:09 + '[' -f /tmp/packages_start.txt ']' 20:43:09 + '[' -f /tmp/packages_end.txt ']' 20:43:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:43:09 + '[' /w/workspace/gexfoundry_device-rest-go_PR-464 ']' 20:43:09 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-464/archives/ 20:43:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-464/archives/ [Pipeline] echo 20:43:09 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-464/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:43:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:43:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:10 prd-ubuntu20.04-docker-8c-8g-799 does not seem to be running inside a container 20:43:10 $ 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-464/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-464 -v /w/workspace/gexfoundry_device-rest-go_PR-464:/w/workspace/gexfoundry_device-rest-go_PR-464:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-464@tmp:/w/workspace/gexfoundry_device-rest-go_PR-464@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:43:11 $ docker top 82dd7cfb0fec402ddad3ec8d340239971fcdb0bc6609acd328077243c53a3616 -eo pid,comm [Pipeline] { [Pipeline] sh 20:43:11 + touch /tmp/pre-build-complete [Pipeline] sh 20:43:11 + mkdir -p /var/log/sysstat [Pipeline] sh 20:43:12 + ls /var/log/sa-host 20:43:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:43:12 provisioning config files... 20:43:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-464@tmp/config11520695920062478575tmp [Pipeline] { [Pipeline] echo 20:43:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:43:13 ---> create-netrc.sh [Pipeline] } 20:43:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:43:13 ---> python-tools-install.sh [Pipeline] echo 20:43:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:43:13 ---> sudo-logs.sh 20:43:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:43:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:43:14 ---> job-cost.sh 20:43:14 lf-activate-venv: SKIPPING 20:43:14 DEBUG: total: 0.2199999988079071 20:43:14 INFO: Retrieving Stack Cost... 20:43:14 INFO: Retrieving Pricing Info for: v3-standard-8 20:43:14 INFO: Archiving Costs [Pipeline] echo 20:43:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:43:14 ---> logs-deploy.sh 20:43:14 lf-activate-venv: SKIPPING 20:43:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-464/1 20:43:14 INFO: archiving workspace using pattern(s): 20:43:15 Archives upload complete. 20:43:16 INFO: archiving logs to Nexus 20:43:16 ---> uname -a: 20:43:16 Linux prd-ubuntu20-04-docker-8c-8g-799 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:43:16 20:43:16 20:43:16 ---> lscpu: 20:43:16 Architecture: x86_64 20:43:16 CPU op-mode(s): 32-bit, 64-bit 20:43:16 Byte Order: Little Endian 20:43:16 Address sizes: 40 bits physical, 48 bits virtual 20:43:16 CPU(s): 8 20:43:16 On-line CPU(s) list: 0-7 20:43:16 Thread(s) per core: 1 20:43:16 Core(s) per socket: 1 20:43:16 Socket(s): 8 20:43:16 NUMA node(s): 1 20:43:16 Vendor ID: AuthenticAMD 20:43:16 CPU family: 23 20:43:16 Model: 49 20:43:16 Model name: AMD EPYC-Rome Processor 20:43:16 Stepping: 0 20:43:16 CPU MHz: 2799.998 20:43:16 BogoMIPS: 5599.99 20:43:16 Virtualization: AMD-V 20:43:16 Hypervisor vendor: KVM 20:43:16 Virtualization type: full 20:43:16 L1d cache: 256 KiB 20:43:16 L1i cache: 256 KiB 20:43:16 L2 cache: 4 MiB 20:43:16 L3 cache: 128 MiB 20:43:16 NUMA node0 CPU(s): 0-7 20:43:16 Vulnerability Itlb multihit: Not affected 20:43:16 Vulnerability L1tf: Not affected 20:43:16 Vulnerability Mds: Not affected 20:43:16 Vulnerability Meltdown: Not affected 20:43:16 Vulnerability Mmio stale data: Not affected 20:43:16 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:43:16 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:43:16 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:43:16 Vulnerability Srbds: Not affected 20:43:16 Vulnerability Tsx async abort: Not affected 20:43:16 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:43:16 20:43:16 20:43:16 ---> nproc: 20:43:16 8 20:43:16 20:43:16 20:43:16 ---> df -h: 20:43:16 Filesystem Size Used Avail Use% Mounted on 20:43:16 overlay 155G 12G 144G 8% / 20:43:16 tmpfs 64M 0 64M 0% /dev 20:43:16 tmpfs 16G 0 16G 0% /sys/fs/cgroup 20:43:16 shm 64M 0 64M 0% /dev/shm 20:43:16 /dev/vda1 155G 12G 144G 8% /facter-os 20:43:16 20:43:16