Pull request #344 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2f32931ffe8d4c070bb177082ca0597a272f49c5+6a5bbfd9e0df4486290843fbebd273780ea8bdd3 (5c825b41070c5a48f779052e708925be000be4fb) 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-ssh16091893318809920875.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh8810558901951019791.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-344/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-344/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5318429427617936161.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-344/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18060981303119335575.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh16853132928470412998.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-344/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-344/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15334520741616515589.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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-7209 in /w/workspace/gexfoundry_device-rest-go_PR-344 [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-344 # 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 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 into PR head commit 2f32931ffe8d4c070bb177082ca0597a272f49c5 Merge succeeded, producing 2f32931ffe8d4c070bb177082ca0597a272f49c5 Checking out Revision 2f32931ffe8d4c070bb177082ca0597a272f49c5 (PR-344) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > 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/344/head:refs/remotes/origin/PR-344 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f32931ffe8d4c070bb177082ca0597a272f49c5 # 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 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2f32931ffe8d4c070bb177082ca0597a272f49c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:28:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:28:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:28:58 ========================================================= 20:28:58 EdgeX Global Pipelines Version Info 20:28:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:28:59 ------------------- 20:28:59 stable info: 20:28:59 ------------------- 20:28:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:28:59 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:28:59 Message: update stable to v1.0.254 20:28:59 ------------------- 20:28:59 experimental info: 20:28:59 ------------------- 20:28:59 Commited By: **** collab-it+edgex@linuxfoundation.org 20:28:59 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:28:59 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:29:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:29:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:29:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:29:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-344 [Pipeline] echo 20:29:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-344 [Pipeline] echo 20:29:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-344 [Pipeline] echo 20:29:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2f32931ffe8d4c070bb177082ca0597a272f49c5 [Pipeline] echo 20:29:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2f32931 [Pipeline] echo 20:29:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:01 provisioning config files... 20:29:01 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/config14057614473671921419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:01 ---> docker-login.sh 20:29:01 nexus3.edgexfoundry.org:10001 20:29:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:02 Configure a credential helper to remove this warning. See 20:29:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:02 20:29:02 Login Succeeded 20:29:02 nexus3.edgexfoundry.org:10002 20:29:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:02 Configure a credential helper to remove this warning. See 20:29:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:02 20:29:02 Login Succeeded 20:29:02 nexus3.edgexfoundry.org:10003 20:29:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:02 Configure a credential helper to remove this warning. See 20:29:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:02 20:29:02 Login Succeeded 20:29:02 nexus3.edgexfoundry.org:10004 20:29:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:02 Configure a credential helper to remove this warning. See 20:29:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:02 20:29:02 Login Succeeded 20:29:02 docker.io 20:29:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:02 Configure a credential helper to remove this warning. See 20:29:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:02 20:29:02 Login Succeeded 20:29:02 ---> docker-login.sh ends [Pipeline] } 20:29:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:29:03 + git rev-list -1 --merges 2f32931ffe8d4c070bb177082ca0597a272f49c5~1..2f32931ffe8d4c070bb177082ca0597a272f49c5 [Pipeline] echo 20:29:03 -----------> git rev-list -1 --merges 2f32931ffe8d4c070bb177082ca0597a272f49c5~1..2f32931ffe8d4c070bb177082ca0597a272f49c5 2f32931ffe8d4c070bb177082ca0597a272f49c5 [false] [Pipeline] sh 20:29:03 + git log --format=format:%s -1 2f32931ffe8d4c070bb177082ca0597a272f49c5 [Pipeline] echo 20:29:03 ========================================================= 20:29:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:29:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:29:04 + git log --format=format:%s -1 2f32931ffe8d4c070bb177082ca0597a272f49c5 [Pipeline] echo 20:29:04 [semverPrep] GIT_COMMIT: 2f32931ffe8d4c070bb177082ca0597a272f49c5, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:29:04 [semverPrep] This is not a build commit. [Pipeline] sh 20:29:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:29:04 + grep -v github /etc/ssh/ssh_known_hosts 20:29:04 + [ -e /tmp/ssh_known_hosts ] 20:29:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:29:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:29:04 + sudo tee -a /etc/ssh/ssh_known_hosts 20:29:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:05 20:29:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:05 0.1.4: Pulling from edgex-devops/py-git-semver 20:29:05 b85a868b505f: Pulling fs layer 20:29:05 e2be974225ed: Pulling fs layer 20:29:05 339a4e72a1f5: Pulling fs layer 20:29:05 988bab9f4d93: Pulling fs layer 20:29:05 1469e6f7b9e6: Pulling fs layer 20:29:05 eaf3925da568: Pulling fs layer 20:29:05 bab4dde63d76: Pulling fs layer 20:29:05 bde34c3a00c8: Pulling fs layer 20:29:05 b352a97aabf1: Pulling fs layer 20:29:05 4872d77fe225: Pulling fs layer 20:29:05 5851b861e8e6: Pulling fs layer 20:29:05 988bab9f4d93: Waiting 20:29:05 1469e6f7b9e6: Waiting 20:29:05 eaf3925da568: Waiting 20:29:05 bab4dde63d76: Waiting 20:29:05 bde34c3a00c8: Waiting 20:29:05 b352a97aabf1: Waiting 20:29:05 4872d77fe225: Waiting 20:29:05 5851b861e8e6: Waiting 20:29:05 e2be974225ed: Download complete 20:29:05 988bab9f4d93: Verifying Checksum 20:29:05 988bab9f4d93: Download complete 20:29:05 1469e6f7b9e6: Verifying Checksum 20:29:05 1469e6f7b9e6: Download complete 20:29:05 eaf3925da568: Download complete 20:29:05 339a4e72a1f5: Verifying Checksum 20:29:05 339a4e72a1f5: Download complete 20:29:05 bde34c3a00c8: Verifying Checksum 20:29:05 bde34c3a00c8: Download complete 20:29:05 b352a97aabf1: Verifying Checksum 20:29:05 b352a97aabf1: Download complete 20:29:05 4872d77fe225: Verifying Checksum 20:29:05 4872d77fe225: Download complete 20:29:05 5851b861e8e6: Verifying Checksum 20:29:05 5851b861e8e6: Download complete 20:29:05 b85a868b505f: Verifying Checksum 20:29:05 b85a868b505f: Download complete 20:29:06 bab4dde63d76: Verifying Checksum 20:29:06 bab4dde63d76: Download complete 20:29:07 b85a868b505f: Pull complete 20:29:07 e2be974225ed: Pull complete 20:29:07 339a4e72a1f5: Pull complete 20:29:07 988bab9f4d93: Pull complete 20:29:08 1469e6f7b9e6: Pull complete 20:29:08 eaf3925da568: Pull complete 20:29:10 bab4dde63d76: Pull complete 20:29:10 bde34c3a00c8: Pull complete 20:29:10 b352a97aabf1: Pull complete 20:29:10 4872d77fe225: Pull complete 20:29:10 5851b861e8e6: Pull complete 20:29:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:29:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:29:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:10 prd-ubuntu20.04-docker-8c-8g-7209 does not seem to be running inside a container 20:29:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-344 -v /w/workspace/gexfoundry_device-rest-go_PR-344:/w/workspace/gexfoundry_device-rest-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-344@tmp:/w/workspace/gexfoundry_device-rest-go_PR-344@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:29:13 $ docker top 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 -eo pid,comm 20:29:14 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:29:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:29:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:14 [ssh-agent] Looking for ssh-agent implementation... 20:29:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:14 $ docker exec 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 ssh-agent 20:29:14 SSH_AUTH_SOCK=/tmp/ssh-lV7Nn27FWvd9/agent.31 20:29:14 SSH_AGENT_PID=37 20:29:14 Running ssh-add (command line suppressed) 20:29:14 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-344@tmp/private_key_17017579635299151852.key (/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/private_key_17017579635299151852.key) 20:29:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:14 + git tag --points-at HEAD [Pipeline] } 20:29:14 $ docker exec --env ******** --env ******** 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 ssh-agent -k 20:29:14 unset SSH_AUTH_SOCK; 20:29:14 unset SSH_AGENT_PID; 20:29:14 echo Agent pid 37 killed; 20:29:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:29:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:29:15 [ssh-agent] Looking for ssh-agent implementation... 20:29:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:29:15 $ docker exec 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 ssh-agent 20:29:15 SSH_AUTH_SOCK=/tmp/ssh-83dOuUSyzWXa/agent.69 20:29:15 SSH_AGENT_PID=75 20:29:15 Running ssh-add (command line suppressed) 20:29:15 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-344@tmp/private_key_2444507077073812752.key (/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/private_key_2444507077073812752.key) 20:29:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:29:15 + git semver init 20:29:16 2023-09-20 20:29:16,005 [run_init] DEBUG init version:0.0.0 force:False 20:29:16 2023-09-20 20:29:16,006 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-344/.semver 20:29:16 2023-09-20 20:29:16,006 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-344/.semver 20:29:16 2023-09-20 20:29:16,006 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-344/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-344, universal_newlines=False, shell=None, istream=None) 20:29:17 2023-09-20 20:29:17,049 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-344/.git/info/exclude 20:29:17 2023-09-20 20:29:17,049 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-344/.semver/PR-344 with force:False 20:29:17 2023-09-20 20:29:17,049 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-344/.semver/PR-344 20:29:17 2023-09-20 20:29:17,053 [execute] INFO git cat-file --batch-check 20:29:17 2023-09-20 20:29:17,054 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-344/.semver, universal_newlines=False, shell=None, istream=) 20:29:17 2023-09-20 20:29:17,060 [execute] INFO git cat-file --batch 20:29:17 2023-09-20 20:29:17,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-344/.semver, universal_newlines=False, shell=None, istream=) 20:29:17 2023-09-20 20:29:17,064 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-344/.semver/PR-344 20:29:17 0.0.0 [Pipeline] } 20:29:17 $ docker exec --env ******** --env ******** 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 ssh-agent -k 20:29:17 unset SSH_AUTH_SOCK; 20:29:17 unset SSH_AGENT_PID; 20:29:17 echo Agent pid 75 killed; 20:29:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:29:17 + git semver [Pipeline] } 20:29:18 $ docker stop --time=1 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 20:29:19 $ docker rm -f --volumes 0573cf4d9194ab98eb9d36e3e8fd01bb7b64681d9af3d540f068ff2d65ce0214 [Pipeline] // withDockerContainer [Pipeline] sh 20:29:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:29:20 Stashed 1 file(s) [Pipeline] echo 20:29:20 [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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:29:20 provisioning config files... 20:29:20 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/config7038741680010354282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:29:21 ---> docker-login.sh 20:29:21 nexus3.edgexfoundry.org:10001 20:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:21 Configure a credential helper to remove this warning. See 20:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:21 20:29:21 Login Succeeded 20:29:21 nexus3.edgexfoundry.org:10002 20:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:21 Configure a credential helper to remove this warning. See 20:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:21 20:29:21 Login Succeeded 20:29:21 nexus3.edgexfoundry.org:10003 20:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:21 Configure a credential helper to remove this warning. See 20:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:21 20:29:21 Login Succeeded 20:29:21 nexus3.edgexfoundry.org:10004 20:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:21 Configure a credential helper to remove this warning. See 20:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:21 20:29:21 Login Succeeded 20:29:21 docker.io 20:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:29:21 Configure a credential helper to remove this warning. See 20:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:29:21 20:29:21 Login Succeeded 20:29:21 ---> docker-login.sh ends [Pipeline] } 20:29:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:29:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:29:22 ========================================================= 20:29:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:29:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:29:22 Sending build context to Docker daemon 10.91MB 20:29:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:29:22 Step 2/12 : FROM ${BASE} AS builder 20:29:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:29:22 7264a8db6415: Pulling fs layer 20:29:22 c4d48a809fc2: Pulling fs layer 20:29:22 4f1c88b9dad5: Pulling fs layer 20:29:22 ad3a456e5733: Pulling fs layer 20:29:22 33e27b845d1e: Pulling fs layer 20:29:22 ad3a456e5733: Waiting 20:29:22 c68163c4e522: Pulling fs layer 20:29:22 50da416c3ac9: Pulling fs layer 20:29:22 33e27b845d1e: Waiting 20:29:22 23d2d4c4bb30: Pulling fs layer 20:29:22 50da416c3ac9: Waiting 20:29:22 c4d48a809fc2: Verifying Checksum 20:29:22 c4d48a809fc2: Download complete 20:29:22 ad3a456e5733: Verifying Checksum 20:29:22 ad3a456e5733: Download complete 20:29:22 33e27b845d1e: Verifying Checksum 20:29:22 33e27b845d1e: Download complete 20:29:22 7264a8db6415: Verifying Checksum 20:29:22 7264a8db6415: Download complete 20:29:22 c68163c4e522: Verifying Checksum 20:29:22 c68163c4e522: Download complete 20:29:22 7264a8db6415: Pull complete 20:29:23 23d2d4c4bb30: Verifying Checksum 20:29:23 23d2d4c4bb30: Download complete 20:29:23 c4d48a809fc2: Pull complete 20:29:23 4f1c88b9dad5: Verifying Checksum 20:29:23 4f1c88b9dad5: Download complete 20:29:23 50da416c3ac9: Verifying Checksum 20:29:23 50da416c3ac9: Download complete 20:29:27 4f1c88b9dad5: Pull complete 20:29:27 ad3a456e5733: Pull complete 20:29:27 33e27b845d1e: Pull complete 20:29:27 c68163c4e522: Pull complete 20:29:29 50da416c3ac9: Pull complete 20:29:29 23d2d4c4bb30: Pull complete 20:29:29 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:29:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:29:29 ---> 0786185ac409 20:29:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:29:35 Still waiting to schedule task 20:29:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:29:36 ---> Running in 992b72b21877 20:29:36 Removing intermediate container 992b72b21877 20:29:36 ---> 2c54b7cf2a21 20:29:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:29:36 ---> Running in b820d1c2f900 20:29:36 Removing intermediate container b820d1c2f900 20:29:36 ---> bf0f1f3cbb4d 20:29:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:29:36 ---> Running in cd59ac25fff0 20:29:36 Removing intermediate container cd59ac25fff0 20:29:36 ---> 4caaed79e06e 20:29:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:29:36 ---> Running in c23773b3a75c 20:29:36 Removing intermediate container c23773b3a75c 20:29:36 ---> 3c100a640bac 20:29:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:29:36 ---> Running in 9db757c415af 20:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:29:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:29:36 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:29:36 (2/4) Installing libedit (20221030.3.1-r1) 20:29:36 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:29:36 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:29:36 Executing busybox-1.36.1-r2.trigger 20:29:36 OK: 268 MiB in 56 packages 20:29:37 Removing intermediate container 9db757c415af 20:29:37 ---> 7013bbcd2d57 20:29:37 Step 8/12 : WORKDIR /device-rest-go 20:29:37 ---> Running in bcf0949ac9de 20:29:37 Removing intermediate container bcf0949ac9de 20:29:37 ---> 408f4b91e795 20:29:37 Step 9/12 : COPY go.mod vendor* ./ 20:29:37 ---> dfd558475bb1 20:29:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:37 ---> Running in 81a409b1477e 20:30:24 Removing intermediate container 81a409b1477e 20:30:24 ---> 967fb0346e0e 20:30:24 Step 11/12 : COPY . . 20:30:24 ---> 3d497c979b97 20:30:24 Step 12/12 : RUN $MAKE 20:30:24 ---> Running in 2ad59336ac52 20:30:24 noop 20:30:24 Removing intermediate container 2ad59336ac52 20:30:24 ---> 6fff18f125a9 20:30:24 Successfully built 6fff18f125a9 20:30:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:24 + docker inspect -f . ci-base-image-x86_64 20:30:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:24 prd-ubuntu20.04-docker-8c-8g-7209 does not seem to be running inside a container 20:30:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-344 -v /w/workspace/gexfoundry_device-rest-go_PR-344:/w/workspace/gexfoundry_device-rest-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-344@tmp:/w/workspace/gexfoundry_device-rest-go_PR-344@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:30:25 $ docker top d527446bc0e84bdac74daf8f7f81732ab7710f9610f3d73bd6129371590907bd -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:25 + go version 20:30:25 go version go1.21.0 linux/amd64 [Pipeline] } 20:30:25 $ docker stop --time=1 d527446bc0e84bdac74daf8f7f81732ab7710f9610f3d73bd6129371590907bd 20:30:27 $ docker rm -f --volumes d527446bc0e84bdac74daf8f7f81732ab7710f9610f3d73bd6129371590907bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:27 + docker inspect -f . ci-base-image-x86_64 20:30:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:27 prd-ubuntu20.04-docker-8c-8g-7209 does not seem to be running inside a container 20:30:27 $ 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-344 -v /w/workspace/gexfoundry_device-rest-go_PR-344:/w/workspace/gexfoundry_device-rest-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-344@tmp:/w/workspace/gexfoundry_device-rest-go_PR-344@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:30:28 $ docker top 6a5b999d29eae20bf8188d6b68f66abd20313cecd5ebf1b682e748b5fff967ed -eo pid,comm [Pipeline] { [Pipeline] sh 20:30:28 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-344 [Pipeline] fileExists [Pipeline] sh 20:30:29 + make test 20:30:29 go test ./... -coverprofile=coverage.out ./... 20:30:30 ? github.com/edgexfoundry/device-rest-go [no test files] 20:30:42 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:30:42 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements 20:30:49 go vet ./... 20:30:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:30:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:30:51 ./bin/test-attribution-txt.sh [Pipeline] echo 20:30:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:30:52 $ docker stop --time=1 6a5b999d29eae20bf8188d6b68f66abd20313cecd5ebf1b682e748b5fff967ed 20:30:55 $ docker rm -f --volumes 6a5b999d29eae20bf8188d6b68f66abd20313cecd5ebf1b682e748b5fff967ed [Pipeline] // withDockerContainer [Pipeline] sh 20:30:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:30:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:30:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:30:57 + ls -al . 20:30:57 total 188 20:30:57 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 20:30 . 20:30:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:28 .. 20:30:57 -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 20:28 .dockerignore 20:30:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:30 .git 20:30:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:28 .github 20:30:57 -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:28 .gitignore 20:30:57 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:28 .golangci.yml 20:30:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:29 .semver 20:30:57 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 20:28 Attribution.txt 20:30:57 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 20:28 CHANGELOG.md 20:30:57 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 20:28 Dockerfile 20:30:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:28 GOVERNANCE.md 20:30:57 -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:28 Jenkinsfile 20:30:57 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:28 LICENSE 20:30:57 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 20:28 Makefile 20:30:57 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:28 OWNERS.md 20:30:57 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 20:28 README.md 20:30:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 20:29 VERSION 20:30:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:28 bin 20:30:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:28 cmd 20:30:57 -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 20:30 coverage.out 20:30:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:28 driver 20:30:57 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 20:28 go.mod 20:30:57 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:28 go.sum 20:30:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:28 snap 20:30:57 -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 20:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:58 + 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=2f32931ffe8d4c070bb177082ca0597a272f49c5 --label arch=amd64 --label version=0.0.0 . 20:30:58 Sending build context to Docker daemon 10.93MB 20:30:58 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:30:58 Step 2/25 : FROM ${BASE} AS builder 20:30:58 ---> 6fff18f125a9 20:30:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:30:58 ---> Running in f26610b68556 20:30:58 Removing intermediate container f26610b68556 20:30:58 ---> 4a050f2c0cc4 20:30:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:30:58 ---> Running in 33b27f8df0bb 20:30:58 Removing intermediate container 33b27f8df0bb 20:30:58 ---> 6e419a0c717e 20:30:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:30:58 ---> Running in 482a772e2e0f 20:30:58 Removing intermediate container 482a772e2e0f 20:30:58 ---> 60315490993b 20:30:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:30:58 ---> Running in 61ad319cd870 20:30:58 Removing intermediate container 61ad319cd870 20:30:58 ---> 99f008733b81 20:30:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:30:58 ---> Running in dd53ac7e1b78 20:30:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:30:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:30:59 OK: 268 MiB in 56 packages 20:30:59 Removing intermediate container dd53ac7e1b78 20:30:59 ---> cd0cc551707a 20:30:59 Step 8/25 : WORKDIR /device-rest-go 20:30:59 ---> Running in 262ce544bceb 20:30:59 Removing intermediate container 262ce544bceb 20:30:59 ---> 16ee57bb4a5a 20:30:59 Step 9/25 : COPY go.mod vendor* ./ 20:30:59 ---> 472ef393db3e 20:30:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:31:00 ---> Running in e3996b5c172e 20:31:00 Removing intermediate container e3996b5c172e 20:31:00 ---> 5d426dfd8350 20:31:00 Step 11/25 : COPY . . 20:31:01 ---> 5c1f6733475c 20:31:01 Step 12/25 : RUN $MAKE 20:31:01 ---> Running in cdf81b44e290 20:31:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:31:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7210 in /w/workspace/gexfoundry_device-rest-go_PR-344 [Pipeline] { [Pipeline] ws 20:31:02 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:31:02 The recommended git tool is: git 20:31:07 using credential edgex-jenkins-ssh 20:31:07 Cloning the remote Git repository 20:31:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:31:07 > git init /w/workspace/device-rest-go/1 # timeout=10 20:31:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:31:07 > git --version # timeout=10 20:31:07 > git --version # 'git version 2.25.1' 20:31:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:12 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:31:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:31:13 Merging remotes/origin/main commit 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 into PR head commit 2f32931ffe8d4c070bb177082ca0597a272f49c5 20:31:13 Merge succeeded, producing 2f32931ffe8d4c070bb177082ca0597a272f49c5 20:31:13 Checking out Revision 2f32931ffe8d4c070bb177082ca0597a272f49c5 (PR-344) 20:31:14 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 20:31:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:31:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:31:13 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/344/head:refs/remotes/origin/PR-344 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:31:13 > git config core.sparsecheckout # timeout=10 20:31:13 > git checkout -f 2f32931ffe8d4c070bb177082ca0597a272f49c5 # timeout=10 20:31:13 > git remote # timeout=10 20:31:13 > git config --get remote.origin.url # timeout=10 20:31:13 using GIT_SSH to set credentials SSH Credentials for GitHub 20:31:13 > git merge 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 20:31:13 > git rev-parse HEAD^{commit} # timeout=10 20:31:13 > git config core.sparsecheckout # timeout=10 20:31:13 > git checkout -f 2f32931ffe8d4c070bb177082ca0597a272f49c5 # timeout=10 20:31:14 > git --version # timeout=10 20:31:14 > git --version # 'git version 2.25.1' 20:31:14 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:31:15 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:15 Dload Upload Total Spent Left Speed 20:31:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 20:31:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:31:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:31:16 + sudo tee /etc/docker/daemon.new 20:31:16 { 20:31:16 "registry-mirrors": [ 20:31:16 "https://nexus3.edgexfoundry.org:10001" 20:31:16 ], 20:31:16 "bip": "10.250.0.254/24", 20:31:16 "hosts": [ 20:31:16 "tcp://0.0.0.0:5555", 20:31:16 "unix:///var/run/docker.sock" 20:31:16 ], 20:31:16 "mtu": 1458, 20:31:16 "selinux-enabled": true, 20:31:16 "seccomp-profile": "/etc/docker/seccomp.json" 20:31:16 } [Pipeline] sh 20:31:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:31:17 + sudo service docker restart 20:31:23 Removing intermediate container cdf81b44e290 20:31:23 ---> 71194b4c51bf 20:31:23 Step 13/25 : FROM alpine:3.18 20:31:23 3.18: Pulling from library/alpine 20:31:23 7264a8db6415: Already exists 20:31:23 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:31:23 Status: Downloaded newer image for alpine:3.18 20:31:23 ---> 7e01a0d0a1dc 20:31:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:31:23 ---> Running in f79b6cb9c1be 20:31:24 Removing intermediate container f79b6cb9c1be 20:31:24 ---> 5419a068b9c1 20:31:24 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:31:24 ---> Running in da99da4ce4c6 20:31:25 Removing intermediate container da99da4ce4c6 20:31:25 ---> 4ea5f88d9305 20:31:25 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:31:26 ---> Running in 8c07a8c5daf7 20:31:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:31:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:31:26 (1/1) Installing dumb-init (1.2.5-r2) 20:31:26 Executing busybox-1.36.1-r2.trigger 20:31:26 OK: 7 MiB in 16 packages 20:31:28 Removing intermediate container 8c07a8c5daf7 20:31:28 ---> 655ab99f6bf0 20:31:28 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:31:29 ---> bcbfb53d38d5 20:31:29 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:31:29 ---> 0dd0354598b2 20:31:29 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:31:30 ---> dbb20583d193 20:31:30 Step 20/25 : EXPOSE 59986 20:31:30 ---> Running in 2c19bfa8efa7 20:31:31 Removing intermediate container 2c19bfa8efa7 20:31:31 ---> 31f46e05ac08 20:31:31 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:31:31 ---> Running in 5e8643d2341f 20:31:31 Removing intermediate container 5e8643d2341f 20:31:31 ---> 981207598276 20:31:31 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:31:32 ---> Running in 4e6472663fc8 20:31:32 Removing intermediate container 4e6472663fc8 20:31:32 ---> deec3987f6d0 20:31:32 Step 23/25 : LABEL arch=amd64 20:31:32 ---> Running in 1f858f0ed69f 20:31:33 Removing intermediate container 1f858f0ed69f 20:31:33 ---> aabf0ca930fa 20:31:33 Step 24/25 : LABEL git_sha=2f32931ffe8d4c070bb177082ca0597a272f49c5 20:31:33 ---> Running in d584e11b4519 20:31:33 Removing intermediate container d584e11b4519 20:31:33 ---> 5f426ed12acf 20:31:33 Step 25/25 : LABEL version=0.0.0 20:31:34 ---> Running in f5737445ee6b 20:31:34 Removing intermediate container f5737445ee6b 20:31:34 ---> 59adabfb4e3b 20:31:34 [Warning] One or more build-args [ARCH] were not consumed 20:31:34 Successfully built 59adabfb4e3b 20:31:34 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:35 20:31:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [2023-09-20T20:31:35.478Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:35 latest: Pulling from edgex-lftools-log-publisher 20:31:35 5eb5b503b376: Pulling fs layer 20:31:35 5c69ac0246d0: Pulling fs layer 20:31:35 ec43610c2a17: Pulling fs layer 20:31:35 3a2ae6a8a46f: Pulling fs layer 20:31:35 33b1e0a273af: Pulling fs layer 20:31:35 5d3b04190fa2: Pulling fs layer 20:31:35 2f39f015ded8: Pulling fs layer 20:31:35 33b1e0a273af: Waiting 20:31:35 3a2ae6a8a46f: Waiting 20:31:35 5d3b04190fa2: Waiting 20:31:35 5c69ac0246d0: Download complete 20:31:35 3a2ae6a8a46f: Download complete 20:31:35 33b1e0a273af: Verifying Checksum 20:31:35 33b1e0a273af: Download complete 20:31:35 5d3b04190fa2: Verifying Checksum 20:31:35 5d3b04190fa2: Download complete [Pipeline] configFileProvider 20:31:35 provisioning config files... 20:31:35 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10040811395761294475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:35 ec43610c2a17: Verifying Checksum 20:31:35 ec43610c2a17: Download complete 20:31:35 5eb5b503b376: Verifying Checksum 20:31:35 5eb5b503b376: Download complete 20:31:35 ---> docker-login.sh 20:31:35 nexus3.edgexfoundry.org:10001 20:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:36 2f39f015ded8: Download complete 20:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:36 Configure a credential helper to remove this warning. See 20:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:36 20:31:36 Login Succeeded 20:31:36 nexus3.edgexfoundry.org:10002 20:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:36 5eb5b503b376: Pull complete 20:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:36 Configure a credential helper to remove this warning. See 20:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:36 20:31:36 Login Succeeded 20:31:36 nexus3.edgexfoundry.org:10003 20:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:37 5c69ac0246d0: Pull complete 20:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:37 Configure a credential helper to remove this warning. See 20:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:37 20:31:37 Login Succeeded 20:31:37 nexus3.edgexfoundry.org:10004 20:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:37 Configure a credential helper to remove this warning. See 20:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:37 20:31:37 Login Succeeded 20:31:37 docker.io 20:31:37 ec43610c2a17: Pull complete 20:31:37 3a2ae6a8a46f: Pull complete 20:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:37 33b1e0a273af: Pull complete 20:31:37 5d3b04190fa2: Pull complete 20:31:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:38 Configure a credential helper to remove this warning. See 20:31:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:38 20:31:38 Login Succeeded 20:31:38 ---> docker-login.sh ends [Pipeline] } 20:31:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:38 ========================================================= 20:31:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:31:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:38 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 20:31:38 Sending build context to Docker daemon 143.4kB 20:31:39 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:31:39 Step 2/12 : FROM ${BASE} AS builder 20:31:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:31:39 9fda8d8052c6: Pulling fs layer 20:31:39 5d54e960e981: Pulling fs layer 20:31:39 c4a7e357bf2a: Pulling fs layer 20:31:39 f0e02332f6b5: Pulling fs layer 20:31:39 cefa15bbcfad: Pulling fs layer 20:31:39 17808c966233: Pulling fs layer 20:31:39 f0e02332f6b5: Waiting 20:31:39 cefa15bbcfad: Waiting 20:31:39 f4c1fc716caa: Pulling fs layer 20:31:39 17808c966233: Waiting 20:31:39 f4c1fc716caa: Waiting 20:31:39 5d54e960e981: Verifying Checksum 20:31:39 5d54e960e981: Download complete 20:31:39 f0e02332f6b5: Verifying Checksum 20:31:39 f0e02332f6b5: Download complete 20:31:39 cefa15bbcfad: Verifying Checksum 20:31:39 cefa15bbcfad: Download complete 20:31:39 9fda8d8052c6: Verifying Checksum 20:31:39 9fda8d8052c6: Download complete 20:31:40 f4c1fc716caa: Verifying Checksum 20:31:40 f4c1fc716caa: Download complete 20:31:40 9fda8d8052c6: Pull complete 20:31:41 5d54e960e981: Pull complete 20:31:41 c4a7e357bf2a: Verifying Checksum 20:31:41 c4a7e357bf2a: Download complete 20:31:42 17808c966233: Verifying Checksum 20:31:42 17808c966233: Download complete 20:31:43 2f39f015ded8: Pull complete 20:31:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:31:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:31:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:43 prd-ubuntu20.04-docker-8c-8g-7209 does not seem to be running inside a container 20:31:43 $ 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-344 -v /w/workspace/gexfoundry_device-rest-go_PR-344:/w/workspace/gexfoundry_device-rest-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-344@tmp:/w/workspace/gexfoundry_device-rest-go_PR-344@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:31:50 $ docker top 757354792df97527ee26d42f7efa15810d24f5551d0b405e1ac4bdb102f9751f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:50 ---> job-cost.sh 20:31:50 lf-activate-venv: SKIPPING 20:31:50 INFO: No Stack... 20:31:50 INFO: Retrieving Pricing Info for: v3-standard-8 20:31:51 INFO: Archiving Costs [Pipeline] sh 20:31:51 + cat /w/workspace/gexfoundry_device-rest-go_PR-344/archives/cost.csv 20:31:51 + cut -d, -f6 [Pipeline] lock 20:31:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] 20:31:51 Resource [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] did not exist. Created. 20:31:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:31:51 + echo total: 0.2199999988079071 [Pipeline] stash 20:31:52 Stashed 1 file(s) [Pipeline] } 20:31:52 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:31:52 $ docker stop --time=1 757354792df97527ee26d42f7efa15810d24f5551d0b405e1ac4bdb102f9751f 20:31:53 $ docker rm -f --volumes 757354792df97527ee26d42f7efa15810d24f5551d0b405e1ac4bdb102f9751f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:31:54 c4a7e357bf2a: Pull complete 20:31:54 f0e02332f6b5: Pull complete 20:31:54 cefa15bbcfad: Pull complete 20:31:59 17808c966233: Pull complete 20:32:01 f4c1fc716caa: Pull complete 20:32:01 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:32:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:32:01 ---> ea914061e18c 20:32:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:32:02 ---> Running in 5f924be8b0ec 20:32:03 Removing intermediate container 5f924be8b0ec 20:32:03 ---> 0cfecf99d199 20:32:03 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:32:03 ---> Running in 6c6aacc8a096 20:32:03 Removing intermediate container 6c6aacc8a096 20:32:03 ---> 29cd1ee720a0 20:32:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:32:03 ---> Running in 591334aaf172 20:32:03 Removing intermediate container 591334aaf172 20:32:03 ---> d93c54d7f29a 20:32:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:32:03 ---> Running in f01e2651f3ec 20:32:04 Removing intermediate container f01e2651f3ec 20:32:04 ---> d08761173592 20:32:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:32:04 ---> Running in 8cdbfa511c63 20:32:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:32:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:32:06 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:32:06 (2/4) Installing libedit (20221030.3.1-r1) 20:32:06 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:32:06 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:32:06 Executing busybox-1.36.1-r2.trigger 20:32:06 OK: 270 MiB in 56 packages 20:32:07 Removing intermediate container 8cdbfa511c63 20:32:07 ---> e237b497a1c9 20:32:07 Step 8/12 : WORKDIR /device-rest-go 20:32:07 ---> Running in 2aa7071887d5 20:32:08 Removing intermediate container 2aa7071887d5 20:32:08 ---> f3e1a1d20241 20:32:08 Step 9/12 : COPY go.mod vendor* ./ 20:32:08 ---> 2e14f01dc727 20:32:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:32:08 ---> Running in ef67cdd23c1c 20:33:16 Removing intermediate container ef67cdd23c1c 20:33:16 ---> 6a1944d6d780 20:33:16 Step 11/12 : COPY . . 20:33:16 ---> dc7e93b55cab 20:33:16 Step 12/12 : RUN $MAKE 20:33:16 ---> Running in 5be52149bd6f 20:33:17 noop 20:33:17 Removing intermediate container 5be52149bd6f 20:33:17 ---> c96ca82b5fba 20:33:17 Successfully built c96ca82b5fba 20:33:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:18 + docker inspect -f . ci-base-image-arm64 20:33:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:18 prd-ubuntu20.04-docker-arm64-4c-16g-7210 does not seem to be running inside a container 20:33:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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-arm64 cat 20:33:19 $ docker top 1d112e77f6cd0a7f2c2dcdaa830bdfa526c8c803036a81297c76ecd5cfca7d3f -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:20 + go version 20:33:20 go version go1.21.0 linux/arm64 [Pipeline] } 20:33:20 $ docker stop --time=1 1d112e77f6cd0a7f2c2dcdaa830bdfa526c8c803036a81297c76ecd5cfca7d3f 20:33:22 $ docker rm -f --volumes 1d112e77f6cd0a7f2c2dcdaa830bdfa526c8c803036a81297c76ecd5cfca7d3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:23 + docker inspect -f . ci-base-image-arm64 20:33:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:23 prd-ubuntu20.04-docker-arm64-4c-16g-7210 does not seem to be running inside a container 20:33:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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-arm64 cat 20:33:24 $ docker top 9ac7dac685e21a72149ce575a67dd7359b3da60a25b3240752b01e5266ea3dec -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:25 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:33:25 + make test 20:33:25 go test ./... -coverprofile=coverage.out ./... 20:33:31 ? github.com/edgexfoundry/device-rest-go [no test files] 20:35:07 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:35:07 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements 20:35:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:35:07 go vet ./... 20:35:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:35:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:35:17 ./bin/test-attribution-txt.sh [Pipeline] echo 20:35:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:35:18 $ docker stop --time=1 9ac7dac685e21a72149ce575a67dd7359b3da60a25b3240752b01e5266ea3dec 20:35:19 $ docker rm -f --volumes 9ac7dac685e21a72149ce575a67dd7359b3da60a25b3240752b01e5266ea3dec [Pipeline] // withDockerContainer [Pipeline] sh 20:35:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:35:21 Warning: overwriting stash ‘coverage-report’ 20:35:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:35:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:35:22 + ls -al . 20:35:22 total 184 20:35:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:33 . 20:35:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:31 .. 20:35:22 -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 20:31 .dockerignore 20:35:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:31 .git 20:35:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:31 .github 20:35:22 -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:31 .gitignore 20:35:22 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:31 .golangci.yml 20:35:22 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 20:31 Attribution.txt 20:35:22 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 20:31 CHANGELOG.md 20:35:22 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 20:31 Dockerfile 20:35:22 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:31 GOVERNANCE.md 20:35:22 -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:31 Jenkinsfile 20:35:22 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:31 LICENSE 20:35:22 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 20:31 Makefile 20:35:22 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:31 OWNERS.md 20:35:22 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 20:31 README.md 20:35:22 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 20:29 VERSION 20:35:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:31 bin 20:35:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:31 cmd 20:35:22 -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 20:34 coverage.out 20:35:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:31 driver 20:35:22 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 20:31 go.mod 20:35:22 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:31 go.sum 20:35:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:31 snap 20:35:22 -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:35:22 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2f32931ffe8d4c070bb177082ca0597a272f49c5 --label arch=arm64 --label version=0.0.0 . 20:35:22 Sending build context to Docker daemon 158.7kB 20:35:23 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:35:23 Step 2/25 : FROM ${BASE} AS builder 20:35:23 ---> c96ca82b5fba 20:35:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:35:23 ---> Running in 59b8d1af9013 20:35:23 Removing intermediate container 59b8d1af9013 20:35:23 ---> abe16b36c5d4 20:35:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:35:23 ---> Running in 257e4063c625 20:35:24 Removing intermediate container 257e4063c625 20:35:24 ---> c320862c08b2 20:35:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:35:24 ---> Running in 126437309daf 20:35:24 Removing intermediate container 126437309daf 20:35:24 ---> 121d4e07c836 20:35:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:35:24 ---> Running in 17d78a4b86a7 20:35:25 Removing intermediate container 17d78a4b86a7 20:35:25 ---> 68bd0bd4cacb 20:35:25 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:25 ---> Running in e476a4c2fbf5 20:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:35:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:35:28 OK: 270 MiB in 56 packages 20:35:31 Removing intermediate container e476a4c2fbf5 20:35:31 ---> 7393f1b123ca 20:35:31 Step 8/25 : WORKDIR /device-rest-go 20:35:31 ---> Running in cbde36e2284f 20:35:31 Removing intermediate container cbde36e2284f 20:35:31 ---> 60e97b886688 20:35:31 Step 9/25 : COPY go.mod vendor* ./ 20:35:31 ---> 4cbce9c19a72 20:35:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:32 ---> Running in a9f70403c1a6 20:35:34 Removing intermediate container a9f70403c1a6 20:35:34 ---> 9b6121c36d05 20:35:34 Step 11/25 : COPY . . 20:35:35 ---> b96cece2f291 20:35:35 Step 12/25 : RUN $MAKE 20:35:35 ---> Running in aec86c68e18d 20:35:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:37:42 Removing intermediate container aec86c68e18d 20:37:42 ---> 0530935fd2d6 20:37:42 Step 13/25 : FROM alpine:3.18 20:37:42 3.18: Pulling from library/alpine 20:37:42 9fda8d8052c6: Already exists 20:37:42 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:37:42 Status: Downloaded newer image for alpine:3.18 20:37:42 ---> f6648c04cd6c 20:37:42 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:37:42 ---> Running in 4d7c81198b4b 20:37:42 Removing intermediate container 4d7c81198b4b 20:37:42 ---> 6abb48ed0aca 20:37:42 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:37:42 ---> Running in 84e39f9cb37e 20:37:42 Removing intermediate container 84e39f9cb37e 20:37:42 ---> a0a39d606256 20:37:42 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:37:42 ---> Running in 821ec0cbeffa 20:37:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:37:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:37:43 (1/1) Installing dumb-init (1.2.5-r2) 20:37:43 Executing busybox-1.36.1-r2.trigger 20:37:43 OK: 8 MiB in 16 packages 20:37:44 Removing intermediate container 821ec0cbeffa 20:37:44 ---> 112e89f03dfe 20:37:44 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:37:46 ---> 685a139155f0 20:37:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:37:46 ---> 9101624aed0b 20:37:46 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:37:46 ---> 58e9f61aa3f4 20:37:46 Step 20/25 : EXPOSE 59986 20:37:46 ---> Running in fbf2fec5449b 20:37:47 Removing intermediate container fbf2fec5449b 20:37:47 ---> 2c61915b3860 20:37:47 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:37:47 ---> Running in 1e5f2d0c7ed4 20:37:47 Removing intermediate container 1e5f2d0c7ed4 20:37:47 ---> e8d83d399105 20:37:47 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:37:47 ---> Running in 3d28279323d6 20:37:47 Removing intermediate container 3d28279323d6 20:37:47 ---> eee7628f1297 20:37:47 Step 23/25 : LABEL arch=arm64 20:37:47 ---> Running in 68d8a83c1dbd 20:37:48 Removing intermediate container 68d8a83c1dbd 20:37:48 ---> b1dd3a9b37fa 20:37:48 Step 24/25 : LABEL git_sha=2f32931ffe8d4c070bb177082ca0597a272f49c5 20:37:48 ---> Running in 6255372717de 20:37:48 Removing intermediate container 6255372717de 20:37:48 ---> e36f327e46a3 20:37:48 Step 25/25 : LABEL version=0.0.0 20:37:48 ---> Running in d3d958488276 20:37:49 Removing intermediate container d3d958488276 20:37:49 ---> de6376c6be87 20:37:49 [Warning] One or more build-args [ARCH] were not consumed 20:37:49 Successfully built de6376c6be87 20:37:49 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:37:49 20:37:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:37:50 arm64: Pulling from edgex-lftools-log-publisher 20:37:50 8998bd30e6a1: Pulling fs layer 20:37:50 04944245beec: Pulling fs layer 20:37:50 699f458cf7ca: Pulling fs layer 20:37:50 765212b225bb: Pulling fs layer 20:37:50 f23df028b6ca: Pulling fs layer 20:37:50 d65c8cfc05b1: Pulling fs layer 20:37:50 765212b225bb: Waiting 20:37:50 f23df028b6ca: Waiting 20:37:50 d65c8cfc05b1: Waiting 20:37:50 2437ff75d9bd: Pulling fs layer 20:37:50 2437ff75d9bd: Waiting 20:37:50 04944245beec: Verifying Checksum 20:37:50 04944245beec: Download complete 20:37:50 765212b225bb: Verifying Checksum 20:37:50 765212b225bb: Download complete 20:37:50 f23df028b6ca: Verifying Checksum 20:37:50 f23df028b6ca: Download complete 20:37:50 d65c8cfc05b1: Verifying Checksum 20:37:50 d65c8cfc05b1: Download complete 20:37:50 699f458cf7ca: Verifying Checksum 20:37:50 699f458cf7ca: Download complete 20:37:51 8998bd30e6a1: Verifying Checksum 20:37:51 8998bd30e6a1: Download complete 20:37:53 2437ff75d9bd: Verifying Checksum 20:37:53 2437ff75d9bd: Download complete 20:37:55 8998bd30e6a1: Pull complete 20:37:57 04944245beec: Pull complete 20:37:58 699f458cf7ca: Pull complete 20:37:58 765212b225bb: Pull complete 20:37:59 f23df028b6ca: Pull complete 20:37:59 d65c8cfc05b1: Pull complete 20:38:14 2437ff75d9bd: Pull complete 20:38:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:38:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:38:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:15 prd-ubuntu20.04-docker-arm64-4c-16g-7210 does not seem to be running inside a container 20:38:15 $ 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/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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:arm64 cat 20:38:17 $ docker top f052d5de11781113aba5184a2bef3c0ef887ac8b914ec169ebd9e36479a35988 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:18 ---> job-cost.sh 20:38:18 lf-activate-venv: SKIPPING 20:38:18 INFO: No Stack... 20:38:18 INFO: Retrieving Pricing Info for: v3-standard-4 20:38:19 INFO: Archiving Costs [Pipeline] sh 20:38:19 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:38:19 + cut -d, -f6 [Pipeline] lock 20:38:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] 20:38:20 Resource [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] did not exist. Created. 20:38:20 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:38:20 /w/workspace/device-rest-go/1@tmp/durable-8edb2ea6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:38:21 + echo total: 0.10999999940395355 [Pipeline] stash 20:38:21 Warning: overwriting stash ‘stack-cost’ 20:38:21 Stashed 1 file(s) [Pipeline] } 20:38:21 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-344-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:38:21 $ docker stop --time=1 f052d5de11781113aba5184a2bef3c0ef887ac8b914ec169ebd9e36479a35988 20:38:22 $ docker rm -f --volumes f052d5de11781113aba5184a2bef3c0ef887ac8b914ec169ebd9e36479a35988 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:38:23 provisioning config files... 20:38:23 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/config13085101586526969848tmp [Pipeline] { [Pipeline] sh 20:38:24 + set +x 20:38:24 + bash -s -- 20:38:24 + curl -s https://codecov.io/bash 20:38:24 20:38:24 _____ _ 20:38:24 / ____| | | 20:38:24 | | ___ __| | ___ ___ _____ __ 20:38:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:38:24 | |___| (_) | (_| | __/ (_| (_) \ V / 20:38:24 \_____\___/ \__,_|\___|\___\___/ \_/ 20:38:24 Bash-1.0.6 20:38:24 20:38:24 20:38:24 ==> git version 2.25.1 found 20:38:24 ==> 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:38:24 Release-Date: 2020-01-08 20:38:24 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:38:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:38:24 ==> Jenkins CI detected. 20:38:24 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-344 20:38:24 project root: . 20:38:24 --> token set from env 20:38:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:38:24 ==> Running gcov in . (disable via -X gcov) 20:38:24 ==> Python coveragepy not found 20:38:24 ==> Searching for coverage reports in: 20:38:24 + . 20:38:24 -> Found 1 reports 20:38:24 ==> Detecting git/mercurial file structure 20:38:24 ==> Reading reports 20:38:24 + ./coverage.out bytes=14499 20:38:24 ==> Appending adjustments 20:38:24 https://docs.codecov.io/docs/fixing-reports 20:38:24 + Found adjustments 20:38:24 ==> Gzipping contents 20:38:24 4.0K /tmp/codecov.JFu9l3.gz 20:38:24 ==> Uploading reports 20:38:24 url: https://codecov.io 20:38:24 query: branch=PR-344&commit=2f32931ffe8d4c070bb177082ca0597a272f49c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-344%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=344&job=&cmd_args= 20:38:24 -> Pinging Codecov 20:38:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-344&commit=2f32931ffe8d4c070bb177082ca0597a272f49c5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-344%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=344&job=&cmd_args= 20:38:39 -> Uploading to 20:38:39 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/4E5D53B4F1F92C436F7061BF334D961C/2f32931ffe8d4c070bb177082ca0597a272f49c5/12583732-fff0-477d-8498-6d28e0c01bf3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T203837Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92fdcd496826cc3b8fd56c75ff929655cbe904ac0bac1d0fcaad8a76a26fea61 20:38:39 % Total % Received % Xferd Average Speed Time Time Time Current 20:38:39 Dload Upload Total Spent Left Speed 20:38:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 13548 --:--:-- --:--:-- --:--:-- 13548 20:38:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2f32931ffe8d4c070bb177082ca0597a272f49c5 [Pipeline] } 20:38:39 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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:38:41 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-344/archives ] 20:38:41 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-344/archives 20:38:41 total 16 20:38:41 drwxr-xr-x 3 root root 4096 Sep 20 20:31 . 20:38:41 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 20:31 .. 20:38:41 drwxr-xr-x 2 root root 4096 Sep 20 20:31 cost 20:38:41 -rw-r--r-- 1 root root 86 Sep 20 20:31 cost.csv 20:38:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-344/archives 20:38:41 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-344/archives 20:38:41 total 16 20:38:41 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:31 . 20:38:41 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 20:31 .. 20:38:41 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:31 cost 20:38:41 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 20:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:38:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:38:42 ---> package-listing.sh 20:38:42 ++ facter osfamily 20:38:42 ++ tr '[:upper:]' '[:lower:]' 20:38:42 + OS_FAMILY=debian 20:38:42 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-344 20:38:42 + START_PACKAGES=/tmp/packages_start.txt 20:38:42 + END_PACKAGES=/tmp/packages_end.txt 20:38:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:38:42 + PACKAGES=/tmp/packages_start.txt 20:38:42 + '[' /w/workspace/gexfoundry_device-rest-go_PR-344 ']' 20:38:42 + PACKAGES=/tmp/packages_end.txt 20:38:42 + case "${OS_FAMILY}" in 20:38:42 + dpkg -l 20:38:42 + grep '^ii' 20:38:42 + '[' -f /tmp/packages_start.txt ']' 20:38:42 + '[' -f /tmp/packages_end.txt ']' 20:38:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:38:42 + '[' /w/workspace/gexfoundry_device-rest-go_PR-344 ']' 20:38:42 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-344/archives/ 20:38:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-344/archives/ [Pipeline] echo 20:38:42 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-344/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:38:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:43 prd-ubuntu20.04-docker-8c-8g-7209 does not seem to be running inside a container 20:38:43 $ 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-344/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-344 -v /w/workspace/gexfoundry_device-rest-go_PR-344:/w/workspace/gexfoundry_device-rest-go_PR-344:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-344@tmp:/w/workspace/gexfoundry_device-rest-go_PR-344@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:38:44 $ docker top 729d1cba92e8ff3ced8dc1af0cab4d8625ae68006ffd11364c14b6cb83cca5b3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:38:44 + touch /tmp/pre-build-complete [Pipeline] sh 20:38:44 + mkdir -p /var/log/sysstat [Pipeline] sh 20:38:45 + ls /var/log/sa-host 20:38:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:38:45 provisioning config files... 20:38:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-344@tmp/config18049416899749302611tmp [Pipeline] { [Pipeline] echo 20:38:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:38:45 ---> create-netrc.sh [Pipeline] } 20:38:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:38:46 ---> python-tools-install.sh [Pipeline] echo 20:38:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:38:46 ---> sudo-logs.sh 20:38:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:38:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:38:46 ---> job-cost.sh 20:38:46 lf-activate-venv: SKIPPING 20:38:46 DEBUG: total: 0.2199999988079071 20:38:46 INFO: Retrieving Stack Cost... 20:38:47 INFO: Retrieving Pricing Info for: v3-standard-8 20:38:47 INFO: Archiving Costs [Pipeline] echo 20:38:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:38:47 ---> logs-deploy.sh 20:38:47 lf-activate-venv: SKIPPING 20:38:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-344/1 20:38:47 INFO: archiving workspace using pattern(s): 20:38:48 Archives upload complete. 20:38:48 INFO: archiving logs to Nexus