Pull request #229 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from d2bc890bc176b4cc1965b65c35a7dd1f7a85ecd8+7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (9d409ecb6dbd44a71c86d47588430396946666f9) 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-ssh1670648938764665288.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13465145604563378234.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh155895915135190162.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4941280390485766624.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14530719762611801752.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 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-2893 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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-229 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit d2bc890bc176b4cc1965b65c35a7dd1f7a85ecd8 Merge succeeded, producing fa97278359b60271305dfc79d43659d10e23f940 Checking out Revision fa97278359b60271305dfc79d43659d10e23f940 (PR-229) 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/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d2bc890bc176b4cc1965b65c35a7dd1f7a85ecd8 # 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 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa97278359b60271305dfc79d43659d10e23f940 # timeout=10 Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:10:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:10:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:10:22 ========================================================= 07:10:22 EdgeX Global Pipelines Version Info 07:10:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 939fcac84ab68858f7c2a17ce4194403d8f19198 # timeout=10 07:10:23 ------------------- 07:10:23 stable info: 07:10:23 ------------------- 07:10:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:10:23 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:10:23 Message: update stable to v1.0.244 07:10:24 ------------------- 07:10:24 experimental info: 07:10:24 ------------------- 07:10:24 Commited By: **** collab-it+edgex@linuxfoundation.org 07:10:24 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 07:10:24 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa97278359b60271305dfc79d43659d10e23f940 [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa97278 [Pipeline] echo 07:10:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:10:24 provisioning config files... 07:10:24 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config4898776106551230590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:10:25 ---> docker-login.sh 07:10:25 nexus3.edgexfoundry.org:10001 07:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:25 Configure a credential helper to remove this warning. See 07:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:25 07:10:25 Login Succeeded 07:10:25 nexus3.edgexfoundry.org:10002 07:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:25 Configure a credential helper to remove this warning. See 07:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:25 07:10:25 Login Succeeded 07:10:25 nexus3.edgexfoundry.org:10003 07:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:25 Configure a credential helper to remove this warning. See 07:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:25 07:10:25 Login Succeeded 07:10:25 nexus3.edgexfoundry.org:10004 07:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:25 Configure a credential helper to remove this warning. See 07:10:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:25 07:10:25 Login Succeeded 07:10:25 docker.io 07:10:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:26 Configure a credential helper to remove this warning. See 07:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:26 07:10:26 Login Succeeded 07:10:26 ---> docker-login.sh ends [Pipeline] } 07:10:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:10:26 + git rev-list -1 --merges fa97278359b60271305dfc79d43659d10e23f940~1..fa97278359b60271305dfc79d43659d10e23f940 [Pipeline] echo 07:10:26 -----------> git rev-list -1 --merges fa97278359b60271305dfc79d43659d10e23f940~1..fa97278359b60271305dfc79d43659d10e23f940 fa97278359b60271305dfc79d43659d10e23f940 07:10:26 fa97278359b60271305dfc79d43659d10e23f940 [false] [Pipeline] sh 07:10:26 + git log --format=format:%s -1 fa97278359b60271305dfc79d43659d10e23f940 [Pipeline] echo 07:10:26 ========================================================= 07:10:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:10:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:10:27 + git log --format=format:%s -1 fa97278359b60271305dfc79d43659d10e23f940 [Pipeline] echo 07:10:27 [semverPrep] GIT_COMMIT: fa97278359b60271305dfc79d43659d10e23f940, Commit Message: Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD [Pipeline] echo 07:10:27 [semverPrep] This is not a build commit. [Pipeline] sh 07:10:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:10:27 + grep -v github /etc/ssh/ssh_known_hosts 07:10:27 + [ -e /tmp/ssh_known_hosts ] 07:10:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:10:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:10:27 + sudo tee -a /etc/ssh/ssh_known_hosts 07:10:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:10:27 07:10:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:10:28 0.1.4: Pulling from edgex-devops/py-git-semver 07:10:28 b85a868b505f: Pulling fs layer 07:10:28 e2be974225ed: Pulling fs layer 07:10:28 339a4e72a1f5: Pulling fs layer 07:10:28 988bab9f4d93: Pulling fs layer 07:10:28 1469e6f7b9e6: Pulling fs layer 07:10:28 eaf3925da568: Pulling fs layer 07:10:28 bab4dde63d76: Pulling fs layer 07:10:28 bde34c3a00c8: Pulling fs layer 07:10:28 b352a97aabf1: Pulling fs layer 07:10:28 4872d77fe225: Pulling fs layer 07:10:28 5851b861e8e6: Pulling fs layer 07:10:28 eaf3925da568: Waiting 07:10:28 4872d77fe225: Waiting 07:10:28 5851b861e8e6: Waiting 07:10:28 988bab9f4d93: Waiting 07:10:28 1469e6f7b9e6: Waiting 07:10:28 b352a97aabf1: Waiting 07:10:28 bab4dde63d76: Waiting 07:10:28 bde34c3a00c8: Waiting 07:10:28 e2be974225ed: Download complete 07:10:28 988bab9f4d93: Verifying Checksum 07:10:28 988bab9f4d93: Download complete 07:10:28 1469e6f7b9e6: Verifying Checksum 07:10:28 1469e6f7b9e6: Download complete 07:10:28 eaf3925da568: Verifying Checksum 07:10:28 eaf3925da568: Download complete 07:10:28 339a4e72a1f5: Verifying Checksum 07:10:28 339a4e72a1f5: Download complete 07:10:28 bde34c3a00c8: Verifying Checksum 07:10:28 bde34c3a00c8: Download complete 07:10:28 b352a97aabf1: Verifying Checksum 07:10:28 b352a97aabf1: Download complete 07:10:28 4872d77fe225: Verifying Checksum 07:10:28 4872d77fe225: Download complete 07:10:28 5851b861e8e6: Download complete 07:10:28 b85a868b505f: Verifying Checksum 07:10:28 b85a868b505f: Download complete 07:10:29 bab4dde63d76: Verifying Checksum 07:10:29 bab4dde63d76: Download complete 07:10:30 b85a868b505f: Pull complete 07:10:30 e2be974225ed: Pull complete 07:10:31 339a4e72a1f5: Pull complete 07:10:31 988bab9f4d93: Pull complete 07:10:31 1469e6f7b9e6: Pull complete 07:10:31 eaf3925da568: Pull complete 07:10:33 bab4dde63d76: Pull complete 07:10:33 bde34c3a00c8: Pull complete 07:10:33 b352a97aabf1: Pull complete 07:10:33 4872d77fe225: Pull complete 07:10:34 5851b861e8e6: Pull complete 07:10:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:10:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:10:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:10:34 prd-ubuntu20.04-docker-8c-8g-2893 does not seem to be running inside a container 07:10:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:10:37 $ docker top 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e -eo pid,comm 07:10:37 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). 07:10:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:10:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:10:38 [ssh-agent] Looking for ssh-agent implementation... 07:10:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:10:38 $ docker exec 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e ssh-agent 07:10:38 SSH_AUTH_SOCK=/tmp/ssh-neTMEi3UhmVZ/agent.31 07:10:38 SSH_AGENT_PID=37 07:10:38 Running ssh-add (command line suppressed) 07:10:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_2194687959645027969.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_2194687959645027969.key) 07:10:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:10:38 + git tag --points-at HEAD [Pipeline] } 07:10:38 $ docker exec --env ******** --env ******** 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e ssh-agent -k 07:10:38 unset SSH_AUTH_SOCK; 07:10:38 unset SSH_AGENT_PID; 07:10:38 echo Agent pid 37 killed; 07:10:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:10:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:10:38 [ssh-agent] Looking for ssh-agent implementation... 07:10:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:10:38 $ docker exec 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e ssh-agent 07:10:39 SSH_AUTH_SOCK=/tmp/ssh-NZuXVe3Sits3/agent.69 07:10:39 SSH_AGENT_PID=75 07:10:39 Running ssh-add (command line suppressed) 07:10:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_6814279408583755050.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_6814279408583755050.key) 07:10:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:10:39 + git semver init 07:10:39 2023-01-18 07:10:39,699 [run_init] DEBUG init version:0.0.0 force:False 07:10:39 2023-01-18 07:10:39,700 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver 07:10:39 2023-01-18 07:10:39,700 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver 07:10:39 2023-01-18 07:10:39,701 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) 07:10:41 2023-01-18 07:10:40,874 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude 07:10:41 2023-01-18 07:10:40,875 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False 07:10:41 2023-01-18 07:10:40,875 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 07:10:41 2023-01-18 07:10:40,879 [execute] INFO git cat-file --batch-check 07:10:41 2023-01-18 07:10:40,880 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 07:10:41 2023-01-18 07:10:40,885 [execute] INFO git cat-file --batch 07:10:41 2023-01-18 07:10:40,885 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 07:10:41 2023-01-18 07:10:40,889 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 07:10:41 0.0.0 [Pipeline] } 07:10:41 $ docker exec --env ******** --env ******** 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e ssh-agent -k 07:10:41 unset SSH_AUTH_SOCK; 07:10:41 unset SSH_AGENT_PID; 07:10:41 echo Agent pid 75 killed; 07:10:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:10:41 + git semver [Pipeline] } 07:10:41 $ docker stop --time=1 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e 07:10:43 $ docker rm -f --volumes 793ec08ef866403f5b1396d3c88aa06c4cbb52ccd864a78961bbba28dc3e850e [Pipeline] // withDockerContainer [Pipeline] sh 07:10:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:10:43 Stashed 1 file(s) [Pipeline] echo 07:10:43 [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 07:10:43 provisioning config files... 07:10:43 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config11260050461085601390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:10:44 ---> docker-login.sh 07:10:44 nexus3.edgexfoundry.org:10001 07:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:44 Configure a credential helper to remove this warning. See 07:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:44 07:10:44 Login Succeeded 07:10:44 nexus3.edgexfoundry.org:10002 07:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:44 Configure a credential helper to remove this warning. See 07:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:44 07:10:44 Login Succeeded 07:10:44 nexus3.edgexfoundry.org:10003 07:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:44 Configure a credential helper to remove this warning. See 07:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:44 07:10:44 Login Succeeded 07:10:44 nexus3.edgexfoundry.org:10004 07:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:44 Configure a credential helper to remove this warning. See 07:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:44 07:10:44 Login Succeeded 07:10:44 docker.io 07:10:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:10:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:10:44 Configure a credential helper to remove this warning. See 07:10:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:10:44 07:10:44 Login Succeeded 07:10:44 ---> docker-login.sh ends [Pipeline] } 07:10:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:10:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:10:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:10:45 ========================================================= 07:10:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:10:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:10:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:10:45 Sending build context to Docker daemon 10.81MB 07:10:45 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 07:10:45 Step 2/12 : FROM ${BASE} AS builder 07:10:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:10:45 213ec9aee27d: Pulling fs layer 07:10:45 4583459ba037: Pulling fs layer 07:10:45 93c1e223e6f2: Pulling fs layer 07:10:45 53926ce57604: Pulling fs layer 07:10:45 21b2b0c7a3f4: Pulling fs layer 07:10:45 22ff95d597cd: Pulling fs layer 07:10:45 12d6caf4c0d1: Pulling fs layer 07:10:45 96b7cbca73a9: Pulling fs layer 07:10:45 a7acece74701: Pulling fs layer 07:10:45 21b2b0c7a3f4: Waiting 07:10:45 12d6caf4c0d1: Waiting 07:10:45 96b7cbca73a9: Waiting 07:10:45 a7acece74701: Waiting 07:10:45 22ff95d597cd: Waiting 07:10:45 53926ce57604: Waiting 07:10:45 93c1e223e6f2: Verifying Checksum 07:10:45 93c1e223e6f2: Download complete 07:10:45 4583459ba037: Verifying Checksum 07:10:45 4583459ba037: Download complete 07:10:45 21b2b0c7a3f4: Verifying Checksum 07:10:45 21b2b0c7a3f4: Download complete 07:10:45 22ff95d597cd: Verifying Checksum 07:10:45 22ff95d597cd: Download complete 07:10:45 213ec9aee27d: Verifying Checksum 07:10:45 213ec9aee27d: Download complete 07:10:45 12d6caf4c0d1: Verifying Checksum 07:10:45 12d6caf4c0d1: Download complete 07:10:45 213ec9aee27d: Pull complete 07:10:45 4583459ba037: Pull complete 07:10:46 93c1e223e6f2: Pull complete 07:10:46 a7acece74701: Verifying Checksum 07:10:46 a7acece74701: Download complete 07:10:47 53926ce57604: Verifying Checksum 07:10:47 53926ce57604: Download complete 07:10:47 96b7cbca73a9: Verifying Checksum 07:10:47 96b7cbca73a9: Download complete 07:10:51 53926ce57604: Pull complete 07:10:51 21b2b0c7a3f4: Pull complete 07:10:51 22ff95d597cd: Pull complete 07:10:51 12d6caf4c0d1: Pull complete 07:10:53 96b7cbca73a9: Pull complete 07:10:53 a7acece74701: Pull complete 07:10:53 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 07:10:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:10:53 ---> db6d94c90886 07:10:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:10:58 Still waiting to schedule task 07:10:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:11:00 ---> Running in 68f3c3586a37 07:11:00 Removing intermediate container 68f3c3586a37 07:11:00 ---> 7b0d640f3ae6 07:11:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:11:00 ---> Running in c009e9e4d349 07:11:00 Removing intermediate container c009e9e4d349 07:11:00 ---> 00389da07877 07:11:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:11:00 ---> Running in 6cedda4f3066 07:11:00 Removing intermediate container 6cedda4f3066 07:11:00 ---> 8ca8180f9cb3 07:11:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:11:00 ---> Running in 729a96ef82b0 07:11:00 Removing intermediate container 729a96ef82b0 07:11:00 ---> 4981b6be4b69 07:11:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:11:00 ---> Running in f6ebe5213801 07:11:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:11:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:11:01 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:11:01 (2/4) Installing libedit (20210910.3.1-r0) 07:11:01 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:11:01 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:11:01 Executing busybox-1.35.0-r17.trigger 07:11:01 OK: 216 MiB in 55 packages 07:11:01 Removing intermediate container f6ebe5213801 07:11:01 ---> b762901446b2 07:11:01 Step 8/12 : WORKDIR /device-rest-go 07:11:01 ---> Running in 6f777480b5e9 07:11:01 Removing intermediate container 6f777480b5e9 07:11:01 ---> 902135fcbaab 07:11:01 Step 9/12 : COPY go.mod vendor* ./ 07:11:01 ---> e4744b560ff4 07:11:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:11:01 ---> Running in 6e25609529d9 07:11:34 Removing intermediate container 6e25609529d9 07:11:34 ---> abe8a8ba6f62 07:11:34 Step 11/12 : COPY . . 07:11:34 ---> a4b22c0fff04 07:11:34 Step 12/12 : RUN $MAKE 07:11:34 ---> Running in 01c45afaab7f 07:11:34 noop 07:11:34 Removing intermediate container 01c45afaab7f 07:11:34 ---> 771b34828251 07:11:34 Successfully built 771b34828251 07:11:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:34 + docker inspect -f . ci-base-image-x86_64 07:11:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:34 prd-ubuntu20.04-docker-8c-8g-2893 does not seem to be running inside a container 07:11:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:11:34 $ docker top e71198c4a87eca35ffda7d166a23fe82d4caf0a5f00cf126c2fb935a754cc8cb -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:35 + go version 07:11:35 go version go1.18.7 linux/amd64 [Pipeline] } 07:11:35 $ docker stop --time=1 e71198c4a87eca35ffda7d166a23fe82d4caf0a5f00cf126c2fb935a754cc8cb 07:11:36 $ docker rm -f --volumes e71198c4a87eca35ffda7d166a23fe82d4caf0a5f00cf126c2fb935a754cc8cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:11:36 + docker inspect -f . ci-base-image-x86_64 07:11:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:11:37 prd-ubuntu20.04-docker-8c-8g-2893 does not seem to be running inside a container 07:11:37 $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:11:37 $ docker top f253c637d2545a12a7c1d97e1c5420838cf79f90af0e83780814c786bfbbf211 -eo pid,comm [Pipeline] { [Pipeline] sh 07:11:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh 07:11:38 + make test 07:11:38 go test ./... -coverprofile=coverage.out ./... 07:11:38 ? github.com/edgexfoundry/device-rest-go [no test files] 07:11:48 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:11:48 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 34.0% of statements 07:11:54 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 07:11:54 go vet ./... 07:11:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:11:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:11:58 ./bin/test-attribution-txt.sh [Pipeline] echo 07:11:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:11:58 $ docker stop --time=1 f253c637d2545a12a7c1d97e1c5420838cf79f90af0e83780814c786bfbbf211 07:12:02 $ docker rm -f --volumes f253c637d2545a12a7c1d97e1c5420838cf79f90af0e83780814c786bfbbf211 [Pipeline] // withDockerContainer [Pipeline] sh 07:12:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:12:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:12:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:12:04 + ls -al . 07:12:04 total 196 07:12:04 drwxrwxr-x 9 jenkins jenkins 4096 Jan 18 07:11 . 07:12:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 07:10 .. 07:12:04 -rw-rw-r-- 1 jenkins jenkins 151 Jan 18 07:10 .dockerignore 07:12:04 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 07:11 .git 07:12:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 07:10 .github 07:12:04 -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 07:10 .gitignore 07:12:04 -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 07:10 .golangci.yml 07:12:04 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 07:10 .semver 07:12:04 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 18 07:10 Attribution.txt 07:12:04 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 18 07:10 CHANGELOG.md 07:12:04 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 18 07:10 Dockerfile 07:12:04 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 07:10 GOVERNANCE.md 07:12:04 -rw-rw-r-- 1 jenkins jenkins 680 Jan 18 07:10 Jenkinsfile 07:12:04 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 07:10 LICENSE 07:12:04 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 18 07:10 Makefile 07:12:04 -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 07:10 OWNERS.md 07:12:04 -rw-rw-r-- 1 jenkins jenkins 12785 Jan 18 07:10 README.md 07:12:04 -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 07:10 VERSION 07:12:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 07:10 bin 07:12:04 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 07:10 cmd 07:12:04 -rw-r--r-- 1 jenkins jenkins 13744 Jan 18 07:11 coverage.out 07:12:04 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 07:10 driver 07:12:04 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 18 07:10 go.mod 07:12:04 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 18 07:10 go.sum 07:12:04 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 07:10 snap 07:12:04 -rw-rw-r-- 1 jenkins jenkins 713 Jan 18 07:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:04 + 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=fa97278359b60271305dfc79d43659d10e23f940 --label arch=amd64 --label version=0.0.0 . 07:12:04 Sending build context to Docker daemon 10.83MB 07:12:04 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:12:04 Step 2/25 : FROM ${BASE} AS builder 07:12:04 ---> 771b34828251 07:12:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:12:05 ---> Running in a9d66479300f 07:12:05 Removing intermediate container a9d66479300f 07:12:05 ---> d3d0fb95f334 07:12:05 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:12:05 ---> Running in 09e30a374470 07:12:05 Removing intermediate container 09e30a374470 07:12:05 ---> 8e0ae67f590c 07:12:05 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:12:05 ---> Running in 8a60e716281e 07:12:05 Removing intermediate container 8a60e716281e 07:12:05 ---> 945e3e290d22 07:12:05 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:12:05 ---> Running in 474619db7a36 07:12:05 Removing intermediate container 474619db7a36 07:12:05 ---> 49c7a498e10b 07:12:05 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:12:05 ---> Running in 8d68d89258be 07:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:12:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:12:06 OK: 216 MiB in 55 packages 07:12:06 Removing intermediate container 8d68d89258be 07:12:06 ---> 2208da648781 07:12:06 Step 8/25 : WORKDIR /device-rest-go 07:12:06 ---> Running in 97939572b784 07:12:06 Removing intermediate container 97939572b784 07:12:06 ---> edf40e28aebc 07:12:06 Step 9/25 : COPY go.mod vendor* ./ 07:12:06 ---> d3d94a601349 07:12:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:12:06 ---> Running in 529934ada3ba 07:12:07 Removing intermediate container 529934ada3ba 07:12:07 ---> d7bda1258ba1 07:12:07 Step 11/25 : COPY . . 07:12:08 ---> 6cd0c294093d 07:12:08 Step 12/25 : RUN $MAKE 07:12:08 ---> Running in 2589e3eb8eab 07:12:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 07:12:30 Removing intermediate container 2589e3eb8eab 07:12:30 ---> d81f01c6a28c 07:12:30 Step 13/25 : FROM alpine:3.16 07:12:30 3.16: Pulling from library/alpine 07:12:30 ca7dd9ec2225: Pulling fs layer 07:12:30 ca7dd9ec2225: Verifying Checksum 07:12:30 ca7dd9ec2225: Download complete 07:12:30 ca7dd9ec2225: Pull complete 07:12:30 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 07:12:30 Status: Downloaded newer image for alpine:3.16 07:12:30 ---> bfe296a52501 07:12:30 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:12:30 ---> Running in 2b83fd2e29b9 07:12:30 Removing intermediate container 2b83fd2e29b9 07:12:30 ---> a1999b69f0b2 07:12:30 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:12:30 ---> Running in f59367fd2059 07:12:30 Removing intermediate container f59367fd2059 07:12:30 ---> 0b31e1c824a2 07:12:30 Step 16/25 : RUN apk add --update --no-cache dumb-init 07:12:30 ---> Running in baa00896270a 07:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:12:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:12:31 (1/1) Installing dumb-init (1.2.5-r1) 07:12:31 Executing busybox-1.35.0-r17.trigger 07:12:31 OK: 6 MiB in 15 packages 07:12:32 Removing intermediate container baa00896270a 07:12:32 ---> 127fa13b420b 07:12:32 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:12:32 ---> 62ddb2fd1d37 07:12:32 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:12:32 ---> 7b3ba678d9e3 07:12:32 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:12:32 ---> 9c91f344d7fb 07:12:32 Step 20/25 : EXPOSE 59986 07:12:32 ---> Running in d80a964c23ff 07:12:33 Removing intermediate container d80a964c23ff 07:12:33 ---> 11b288b8956e 07:12:33 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:12:33 ---> Running in 2ae0a050a437 07:12:33 Removing intermediate container 2ae0a050a437 07:12:33 ---> 60ab6aab05dd 07:12:33 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:12:33 ---> Running in 18a9d11f4eac 07:12:33 Removing intermediate container 18a9d11f4eac 07:12:33 ---> 807dbf123d3b 07:12:33 Step 23/25 : LABEL arch=amd64 07:12:33 ---> Running in 0953cebd39e7 07:12:33 Removing intermediate container 0953cebd39e7 07:12:33 ---> 3354e603dfc2 07:12:33 Step 24/25 : LABEL git_sha=fa97278359b60271305dfc79d43659d10e23f940 07:12:33 ---> Running in 9ac1c277dae9 07:12:33 Removing intermediate container 9ac1c277dae9 07:12:33 ---> 25c456126b6d 07:12:33 Step 25/25 : LABEL version=0.0.0 07:12:33 ---> Running in 6796610656c2 07:12:33 Removing intermediate container 6796610656c2 07:12:33 ---> 9bee379bda40 07:12:33 [Warning] One or more build-args [ARCH] were not consumed 07:12:33 Successfully built 9bee379bda40 07:12:33 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [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 07:12:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:12:34 07:12:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:12:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:12:34 latest: Pulling from edgex-lftools-log-publisher 07:12:34 5eb5b503b376: Pulling fs layer 07:12:34 5c69ac0246d0: Pulling fs layer 07:12:34 ec43610c2a17: Pulling fs layer 07:12:34 3a2ae6a8a46f: Pulling fs layer 07:12:34 33b1e0a273af: Pulling fs layer 07:12:34 5d3b04190fa2: Pulling fs layer 07:12:34 2f39f015ded8: Pulling fs layer 07:12:34 3a2ae6a8a46f: Waiting 07:12:34 33b1e0a273af: Waiting 07:12:34 5d3b04190fa2: Waiting 07:12:34 5c69ac0246d0: Download complete 07:12:34 3a2ae6a8a46f: Download complete 07:12:34 33b1e0a273af: Verifying Checksum 07:12:34 33b1e0a273af: Download complete 07:12:34 5d3b04190fa2: Download complete 07:12:34 ec43610c2a17: Verifying Checksum 07:12:34 ec43610c2a17: Download complete 07:12:35 5eb5b503b376: Verifying Checksum 07:12:35 5eb5b503b376: Download complete 07:12:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2894 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws 07:12:35 Running in /w/workspace/device-rest-go/14 [Pipeline] { [Pipeline] checkout 07:12:35 The recommended git tool is: git 07:12:35 2f39f015ded8: Download complete 07:12:36 5eb5b503b376: Pull complete 07:12:36 5c69ac0246d0: Pull complete 07:12:36 ec43610c2a17: Pull complete 07:12:36 3a2ae6a8a46f: Pull complete 07:12:37 33b1e0a273af: Pull complete 07:12:37 5d3b04190fa2: Pull complete 07:12:40 using credential edgex-jenkins-ssh 07:12:40 Cloning the remote Git repository 07:12:40 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 07:12:40 > git init /w/workspace/device-rest-go/14 # timeout=10 07:12:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:12:40 > git --version # timeout=10 07:12:40 > git --version # 'git version 2.25.1' 07:12:40 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:12:42 2f39f015ded8: Pull complete 07:12:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:12:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:12:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:12:42 prd-ubuntu20.04-docker-8c-8g-2893 does not seem to be running inside a container 07:12:42 $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:12:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:12:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:12:43 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 07:12:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 07:12:43 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:12:44 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit d2bc890bc176b4cc1965b65c35a7dd1f7a85ecd8 07:12:44 Merge succeeded, producing 11c03acc42a0449a13a6850e2a355907c1eed642 07:12:44 Checking out Revision 11c03acc42a0449a13a6850e2a355907c1eed642 (PR-229) 07:12:44 > git config core.sparsecheckout # timeout=10 07:12:44 > git checkout -f d2bc890bc176b4cc1965b65c35a7dd1f7a85ecd8 # timeout=10 07:12:44 > git remote # timeout=10 07:12:44 > git config --get remote.origin.url # timeout=10 07:12:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:12:44 > git merge 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 07:12:44 > git rev-parse HEAD^{commit} # timeout=10 07:12:44 > git config core.sparsecheckout # timeout=10 07:12:44 > git checkout -f 11c03acc42a0449a13a6850e2a355907c1eed642 # timeout=10 07:12:48 Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" 07:12:48 First time build. Skipping changelog. 07:12:48 > git rev-list --no-walk 939fcac84ab68858f7c2a17ce4194403d8f19198 # timeout=10 07:12:48 07:12:48 GitHub has been notified of this commit’s build result 07:12:48 07:12:49 $ docker top b061789aafac003b313b165941d42829e55296557aa218d823ff9947baea589c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:12:50 ---> job-cost.sh 07:12:50 lf-activate-venv: SKIPPING 07:12:50 INFO: No Stack... 07:12:50 INFO: Retrieving Pricing Info for: v3-standard-8 07:12:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:12:50 % Total % Received % Xferd Average Speed Time Time Time Current 07:12:50 Dload Upload Total Spent Left Speed 07:12:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 07:12:50 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 07:12:51 + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv 07:12:51 + cut -d, -f6 [Pipeline] lock 07:12:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] 07:12:51 Resource [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] did not exist. Created. 07:12:51 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:12:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:12:51 + echo total: 0.2199999988079071 [Pipeline] stash 07:12:51 Stashed 1 file(s) [Pipeline] } 07:12:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] [Pipeline] // lock [Pipeline] } 07:12:51 $ docker stop --time=1 b061789aafac003b313b165941d42829e55296557aa218d823ff9947baea589c 07:12:51 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 07:12:51 /etc/docker/daemon.new 07:12:51 { 07:12:51 "registry-mirrors": [ 07:12:51 "https://nexus3.edgexfoundry.org:10001" 07:12:51 ], 07:12:51 "bip": "10.250.0.254/24", 07:12:51 "hosts": [ 07:12:51 "tcp://0.0.0.0:5555", 07:12:51 "unix:///var/run/docker.sock" 07:12:51 ], 07:12:51 "mtu": 1458, 07:12:51 "selinux-enabled": true, 07:12:51 "seccomp-profile": "/etc/docker/seccomp.json" 07:12:51 } 07:12:52 $ docker rm -f --volumes b061789aafac003b313b165941d42829e55296557aa218d823ff9947baea589c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:12:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:12:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:13:11 provisioning config files... 07:13:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/14@tmp/config1255144079913066543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:13:12 ---> docker-login.sh 07:13:12 nexus3.edgexfoundry.org:10001 07:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:12 Configure a credential helper to remove this warning. See 07:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:12 07:13:12 Login Succeeded 07:13:12 nexus3.edgexfoundry.org:10002 07:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:13 Configure a credential helper to remove this warning. See 07:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:13 07:13:13 Login Succeeded 07:13:13 nexus3.edgexfoundry.org:10003 07:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:13 Configure a credential helper to remove this warning. See 07:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:13 07:13:13 Login Succeeded 07:13:13 nexus3.edgexfoundry.org:10004 07:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:14 Configure a credential helper to remove this warning. See 07:13:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:14 07:13:14 Login Succeeded 07:13:14 docker.io 07:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:13:14 Configure a credential helper to remove this warning. See 07:13:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:13:14 07:13:14 Login Succeeded 07:13:14 ---> docker-login.sh ends [Pipeline] } 07:13:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:13:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:13:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:13:14 ========================================================= 07:13:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:13:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:13:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 07:13:14 Sending build context to Docker daemon 142.8kB 07:13:15 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 07:13:15 Step 2/12 : FROM ${BASE} AS builder 07:13:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:13:15 9b18e9b68314: Pulling fs layer 07:13:15 35d82f9e3411: Pulling fs layer 07:13:15 e16973657156: Pulling fs layer 07:13:15 fc693d55d65f: Pulling fs layer 07:13:15 7e9fc2657dce: Pulling fs layer 07:13:15 dda99020689f: Pulling fs layer 07:13:15 db1c61fa0a46: Pulling fs layer 07:13:15 891c053d2c06: Pulling fs layer 07:13:15 7e9fc2657dce: Waiting 07:13:15 dda99020689f: Waiting 07:13:15 db1c61fa0a46: Waiting 07:13:15 891c053d2c06: Waiting 07:13:15 fc693d55d65f: Waiting 07:13:15 e16973657156: Verifying Checksum 07:13:15 e16973657156: Download complete 07:13:15 35d82f9e3411: Verifying Checksum 07:13:15 35d82f9e3411: Download complete 07:13:15 7e9fc2657dce: Verifying Checksum 07:13:15 7e9fc2657dce: Download complete 07:13:15 dda99020689f: Verifying Checksum 07:13:15 dda99020689f: Download complete 07:13:15 9b18e9b68314: Verifying Checksum 07:13:15 9b18e9b68314: Download complete 07:13:16 9b18e9b68314: Pull complete 07:13:16 891c053d2c06: Verifying Checksum 07:13:16 891c053d2c06: Download complete 07:13:16 35d82f9e3411: Pull complete 07:13:17 e16973657156: Pull complete 07:13:17 db1c61fa0a46: Verifying Checksum 07:13:17 db1c61fa0a46: Download complete 07:13:18 fc693d55d65f: Verifying Checksum 07:13:18 fc693d55d65f: Download complete 07:13:28 fc693d55d65f: Pull complete 07:13:28 7e9fc2657dce: Pull complete 07:13:28 dda99020689f: Pull complete 07:13:34 db1c61fa0a46: Pull complete 07:13:36 891c053d2c06: Pull complete 07:13:36 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 07:13:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:13:36 ---> f96f9c87975a 07:13:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:13:38 ---> Running in d79d0e75c1f2 07:13:38 Removing intermediate container d79d0e75c1f2 07:13:38 ---> 7484a048ae2e 07:13:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:13:38 ---> Running in 262faac06ed0 07:13:38 Removing intermediate container 262faac06ed0 07:13:38 ---> 14e75c9b22df 07:13:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:13:38 ---> Running in ba26d6dde881 07:13:38 Removing intermediate container ba26d6dde881 07:13:38 ---> a917a8f3f842 07:13:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:13:38 ---> Running in ff8a198bf27f 07:13:39 Removing intermediate container ff8a198bf27f 07:13:39 ---> 44af6ecbd53d 07:13:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:13:39 ---> Running in fb4576939867 07:13:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:13:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:13:41 (1/4) Installing openssh-keygen (9.0_p1-r2) 07:13:41 (2/4) Installing libedit (20210910.3.1-r0) 07:13:41 (3/4) Installing openssh-client-common (9.0_p1-r2) 07:13:41 (4/4) Installing openssh-client-default (9.0_p1-r2) 07:13:41 Executing busybox-1.35.0-r17.trigger 07:13:41 OK: 226 MiB in 55 packages 07:13:42 Removing intermediate container fb4576939867 07:13:42 ---> c925e3c390c5 07:13:42 Step 8/12 : WORKDIR /device-rest-go 07:13:42 ---> Running in 5eb6743cc36a 07:13:42 Removing intermediate container 5eb6743cc36a 07:13:42 ---> b9c7c898680e 07:13:42 Step 9/12 : COPY go.mod vendor* ./ 07:13:43 ---> aebd2aa597a8 07:13:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:13:43 ---> Running in 954a86b7a97a 07:14:39 Removing intermediate container 954a86b7a97a 07:14:39 ---> 66840f147767 07:14:39 Step 11/12 : COPY . . 07:14:39 ---> 87ede04d9290 07:14:39 Step 12/12 : RUN $MAKE 07:14:39 ---> Running in 6cae8157e0d0 07:14:39 noop 07:14:39 Removing intermediate container 6cae8157e0d0 07:14:39 ---> c6e0712dec6a 07:14:39 Successfully built c6e0712dec6a 07:14:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:40 + docker inspect -f . ci-base-image-arm64 07:14:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:40 prd-ubuntu20.04-docker-arm64-4c-16g-2894 does not seem to be running inside a container 07:14:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:14:41 $ docker top 6b9d430c93f22075cb5a8fac9bea65f10b2f3512e991988dfaf81841970e8231 -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:42 + go version 07:14:42 go version go1.18.7 linux/arm64 [Pipeline] } 07:14:42 $ docker stop --time=1 6b9d430c93f22075cb5a8fac9bea65f10b2f3512e991988dfaf81841970e8231 07:14:44 $ docker rm -f --volumes 6b9d430c93f22075cb5a8fac9bea65f10b2f3512e991988dfaf81841970e8231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:44 + docker inspect -f . ci-base-image-arm64 07:14:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:14:44 prd-ubuntu20.04-docker-arm64-4c-16g-2894 does not seem to be running inside a container 07:14:44 $ 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/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:14:45 $ docker top e190ca3c84e394dfb57c3e5fbb673435fcc0f33500e4adac9acb0fdfb7d7a46b -eo pid,comm [Pipeline] { [Pipeline] sh 07:14:46 + git config --global --add safe.directory /w/workspace/device-rest-go/14 [Pipeline] fileExists [Pipeline] sh 07:14:46 + make test 07:14:46 go test ./... -coverprofile=coverage.out ./... 07:14:48 ? github.com/edgexfoundry/device-rest-go [no test files] 07:16:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 07:16:10 ok github.com/edgexfoundry/device-rest-go/driver 0.060s coverage: 34.0% of statements 07:16:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:16:10 go vet ./... 07:16:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:16:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:16:25 ./bin/test-attribution-txt.sh [Pipeline] echo 07:16:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:16:25 $ docker stop --time=1 e190ca3c84e394dfb57c3e5fbb673435fcc0f33500e4adac9acb0fdfb7d7a46b 07:16:27 $ docker rm -f --volumes e190ca3c84e394dfb57c3e5fbb673435fcc0f33500e4adac9acb0fdfb7d7a46b [Pipeline] // withDockerContainer [Pipeline] sh 07:16:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:16:28 Warning: overwriting stash ‘coverage-report’ 07:16:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:16:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:16:29 + ls -al . 07:16:29 total 192 07:16:29 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 07:14 . 07:16:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 07:12 .. 07:16:29 -rw-rw-r-- 1 jenkins jenkins 151 Jan 18 07:12 .dockerignore 07:16:29 drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 07:12 .git 07:16:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 07:12 .github 07:16:29 -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 07:12 .gitignore 07:16:29 -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 07:12 .golangci.yml 07:16:29 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 18 07:12 Attribution.txt 07:16:29 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 18 07:12 CHANGELOG.md 07:16:29 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 18 07:12 Dockerfile 07:16:29 -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 07:12 GOVERNANCE.md 07:16:29 -rw-rw-r-- 1 jenkins jenkins 680 Jan 18 07:12 Jenkinsfile 07:16:29 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 07:12 LICENSE 07:16:29 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 18 07:12 Makefile 07:16:29 -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 07:12 OWNERS.md 07:16:29 -rw-rw-r-- 1 jenkins jenkins 12785 Jan 18 07:12 README.md 07:16:29 -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 07:10 VERSION 07:16:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 07:12 bin 07:16:29 drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 07:12 cmd 07:16:29 -rw-r--r-- 1 jenkins jenkins 13744 Jan 18 07:16 coverage.out 07:16:29 drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 07:12 driver 07:16:29 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 18 07:12 go.mod 07:16:29 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 18 07:12 go.sum 07:16:29 drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 07:12 snap 07:16:29 -rw-rw-r-- 1 jenkins jenkins 713 Jan 18 07:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:29 + 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=11c03acc42a0449a13a6850e2a355907c1eed642 --label arch=arm64 --label version=0.0.0 . 07:16:29 Sending build context to Docker daemon 157.2kB 07:16:30 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:16:30 Step 2/25 : FROM ${BASE} AS builder 07:16:30 ---> c6e0712dec6a 07:16:30 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:16:30 ---> Running in 7e5f9f76be20 07:16:30 Removing intermediate container 7e5f9f76be20 07:16:30 ---> 3e6b980579e7 07:16:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:16:30 ---> Running in 738e1a732d01 07:16:30 Removing intermediate container 738e1a732d01 07:16:30 ---> 9e7d271f088c 07:16:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:16:30 ---> Running in 9f8b1ebf7315 07:16:31 Removing intermediate container 9f8b1ebf7315 07:16:31 ---> aaf9eda6948f 07:16:31 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:16:31 ---> Running in 3bbdf7de40b4 07:16:31 Removing intermediate container 3bbdf7de40b4 07:16:31 ---> 3fbf19d37c9b 07:16:31 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:16:31 ---> Running in 1a723c337e0c 07:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:16:33 OK: 226 MiB in 55 packages 07:16:34 Removing intermediate container 1a723c337e0c 07:16:34 ---> 514c1f5de6ec 07:16:34 Step 8/25 : WORKDIR /device-rest-go 07:16:34 ---> Running in d63dcd603729 07:16:34 Removing intermediate container d63dcd603729 07:16:34 ---> cd0885878517 07:16:34 Step 9/25 : COPY go.mod vendor* ./ 07:16:35 ---> bb489be04c96 07:16:35 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:16:35 ---> Running in ea5b7581d557 07:16:37 Removing intermediate container ea5b7581d557 07:16:37 ---> cc006ed9a9e4 07:16:37 Step 11/25 : COPY . . 07:16:37 ---> 92d5f8e50a7b 07:16:37 Step 12/25 : RUN $MAKE 07:16:37 ---> Running in d376c2dce16d 07:16:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd 07:19:00 Removing intermediate container d376c2dce16d 07:19:00 ---> f1cab65da6f2 07:19:00 Step 13/25 : FROM alpine:3.16 07:19:00 3.16: Pulling from library/alpine 07:19:00 6875df1f5354: Pulling fs layer 07:19:00 6875df1f5354: Verifying Checksum 07:19:00 6875df1f5354: Download complete 07:19:00 6875df1f5354: Pull complete 07:19:00 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 07:19:00 Status: Downloaded newer image for alpine:3.16 07:19:00 ---> 2b4661558fb8 07:19:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:19:00 ---> Running in e8d5db5f2f95 07:19:00 Removing intermediate container e8d5db5f2f95 07:19:00 ---> ca867c0561c8 07:19:00 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 07:19:00 ---> Running in 5c4f69297596 07:19:00 Removing intermediate container 5c4f69297596 07:19:00 ---> ee48bb43a5df 07:19:00 Step 16/25 : RUN apk add --update --no-cache dumb-init 07:19:00 ---> Running in 0ae6318ef41d 07:19:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:19:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:19:00 (1/1) Installing dumb-init (1.2.5-r1) 07:19:00 Executing busybox-1.35.0-r17.trigger 07:19:00 OK: 5 MiB in 15 packages 07:19:00 Removing intermediate container 0ae6318ef41d 07:19:00 ---> 7b3b53df8aa1 07:19:00 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 07:19:00 ---> c812c376e2c0 07:19:00 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 07:19:00 ---> 3bcb1ffea441 07:19:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 07:19:00 ---> b6c698bbf662 07:19:00 Step 20/25 : EXPOSE 59986 07:19:00 ---> Running in c7a1d5f00bfe 07:19:00 Removing intermediate container c7a1d5f00bfe 07:19:00 ---> 8ddaf69815cc 07:19:00 Step 21/25 : ENTRYPOINT ["/device-rest"] 07:19:00 ---> Running in 1313520b3310 07:19:00 Removing intermediate container 1313520b3310 07:19:00 ---> 58458a53cb09 07:19:00 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:19:01 ---> Running in b2e73d168e53 07:19:01 Removing intermediate container b2e73d168e53 07:19:01 ---> 495225bf3c88 07:19:01 Step 23/25 : LABEL arch=arm64 07:19:01 ---> Running in 358b270a6cac 07:19:01 Removing intermediate container 358b270a6cac 07:19:01 ---> 0e5b5d23d070 07:19:01 Step 24/25 : LABEL git_sha=11c03acc42a0449a13a6850e2a355907c1eed642 07:19:01 ---> Running in 024f87592057 07:19:01 Removing intermediate container 024f87592057 07:19:01 ---> b8e1b165a47a 07:19:01 Step 25/25 : LABEL version=0.0.0 07:19:01 ---> Running in 48a46a5a3536 07:19:02 Removing intermediate container 48a46a5a3536 07:19:02 ---> ef509a99ff32 07:19:02 [Warning] One or more build-args [ARCH] were not consumed 07:19:02 Successfully built ef509a99ff32 07:19:02 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 07:19:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:19:02 07:19:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:19:02 arm64: Pulling from edgex-lftools-log-publisher 07:19:02 8998bd30e6a1: Pulling fs layer 07:19:02 04944245beec: Pulling fs layer 07:19:02 699f458cf7ca: Pulling fs layer 07:19:02 765212b225bb: Pulling fs layer 07:19:02 f23df028b6ca: Pulling fs layer 07:19:02 d65c8cfc05b1: Pulling fs layer 07:19:02 2437ff75d9bd: Pulling fs layer 07:19:02 f23df028b6ca: Waiting 07:19:02 d65c8cfc05b1: Waiting 07:19:02 2437ff75d9bd: Waiting 07:19:02 765212b225bb: Waiting 07:19:03 04944245beec: Verifying Checksum 07:19:03 04944245beec: Download complete 07:19:03 765212b225bb: Verifying Checksum 07:19:03 765212b225bb: Download complete 07:19:03 f23df028b6ca: Download complete 07:19:03 699f458cf7ca: Verifying Checksum 07:19:03 699f458cf7ca: Download complete 07:19:03 d65c8cfc05b1: Verifying Checksum 07:19:03 d65c8cfc05b1: Download complete 07:19:03 8998bd30e6a1: Verifying Checksum 07:19:03 8998bd30e6a1: Download complete 07:19:05 2437ff75d9bd: Verifying Checksum 07:19:05 2437ff75d9bd: Download complete 07:19:07 8998bd30e6a1: Pull complete 07:19:07 04944245beec: Pull complete 07:19:09 699f458cf7ca: Pull complete 07:19:09 765212b225bb: Pull complete 07:19:10 f23df028b6ca: Pull complete 07:19:10 d65c8cfc05b1: Pull complete 07:19:23 2437ff75d9bd: Pull complete 07:19:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:19:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:19:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:23 prd-ubuntu20.04-docker-arm64-4c-16g-2894 does not seem to be running inside a container 07:19:23 $ 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/14 -v /w/workspace/device-rest-go/14:/w/workspace/device-rest-go/14:rw,z -v /w/workspace/device-rest-go/14@tmp:/w/workspace/device-rest-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:19:25 $ docker top 30b8e531ab1864951527d3ae5be0961835b3be3200deca58d4b87412704b0dc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:19:26 ---> job-cost.sh 07:19:26 lf-activate-venv: SKIPPING 07:19:26 INFO: No Stack... 07:19:26 INFO: Retrieving Pricing Info for: v3-standard-4 07:19:27 INFO: Archiving Costs [Pipeline] sh 07:19:28 + cat /w/workspace/device-rest-go/14/archives/cost.csv 07:19:28 + cut -d, -f6 [Pipeline] lock 07:19:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] 07:19:28 Resource [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] did not exist. Created. 07:19:28 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:19:28 /w/workspace/device-rest-go/14@tmp/durable-f857bcd0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:19:28 + echo total: 0.10999999940395355 [Pipeline] stash 07:19:28 Warning: overwriting stash ‘stack-cost’ 07:19:28 Stashed 1 file(s) [Pipeline] } 07:19:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-14-stack-cost] [Pipeline] // lock [Pipeline] } 07:19:28 $ docker stop --time=1 30b8e531ab1864951527d3ae5be0961835b3be3200deca58d4b87412704b0dc9 07:19:30 $ docker rm -f --volumes 30b8e531ab1864951527d3ae5be0961835b3be3200deca58d4b87412704b0dc9 [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 07:19:30 provisioning config files... 07:19:30 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config10835203765681937392tmp [Pipeline] { [Pipeline] sh 07:19:31 + set +x 07:19:31 + curl -s https://codecov.io/bash 07:19:31 + bash -s -- 07:19:31 07:19:31 _____ _ 07:19:31 / ____| | | 07:19:31 | | ___ __| | ___ ___ _____ __ 07:19:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:19:31 | |___| (_) | (_| | __/ (_| (_) \ V / 07:19:31 \_____\___/ \__,_|\___|\___\___/ \_/ 07:19:31 Bash-1.0.6 07:19:31 07:19:31 07:19:31 ==> git version 2.25.1 found 07:19:31 ==> 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 07:19:31 Release-Date: 2020-01-08 07:19:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:19:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:19:31 ==> Jenkins CI detected. 07:19:31 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-229 07:19:31 project root: . 07:19:31 --> token set from env 07:19:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:19:31 ==> Running gcov in . (disable via -X gcov) 07:19:31 ==> Python coveragepy not found 07:19:31 ==> Searching for coverage reports in: 07:19:31 + . 07:19:31 -> Found 1 reports 07:19:31 ==> Detecting git/mercurial file structure 07:19:31 ==> Reading reports 07:19:31 + ./coverage.out bytes=13744 07:19:31 ==> Appending adjustments 07:19:31 https://docs.codecov.io/docs/fixing-reports 07:19:31 + Found adjustments 07:19:31 ==> Gzipping contents 07:19:31 4.0K /tmp/codecov.JzLSVo.gz 07:19:31 ==> Uploading reports 07:19:31 url: https://codecov.io 07:19:31 query: branch=PR-229&commit=fa97278359b60271305dfc79d43659d10e23f940&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= 07:19:31 -> Pinging Codecov 07:19:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-229&commit=fa97278359b60271305dfc79d43659d10e23f940&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= 07:19:31 -> Uploading to 07:19:31 https://storage.googleapis.com/codecov/v4/raw/2023-01-18/4E5D53B4F1F92C436F7061BF334D961C/fa97278359b60271305dfc79d43659d10e23f940/63cff6ca-a46a-41d9-9f18-ba53d6f1f292.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230118T071931Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b15666ded17ddeb7f17a6a5df6f0bce771ae91c98680d58dbdcc5f00ed03189e 07:19:31 % Total % Received % Xferd Average Speed Time Time Time Current 07:19:31 Dload Upload Total Spent Left Speed 07:19:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2434 0 0 100 2434 0 9582 --:--:-- --:--:-- --:--:-- 9620 07:19:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fa97278359b60271305dfc79d43659d10e23f940 [Pipeline] } 07:19:31 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 07:19:32 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] 07:19:32 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives 07:19:32 total 16 07:19:32 drwxr-xr-x 3 root root 4096 Jan 18 07:12 . 07:19:32 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 07:12 .. 07:19:32 drwxr-xr-x 2 root root 4096 Jan 18 07:12 cost 07:19:32 -rw-r--r-- 1 root root 87 Jan 18 07:12 cost.csv 07:19:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives 07:19:32 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives 07:19:32 total 16 07:19:32 drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 07:12 . 07:19:32 drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 07:12 .. 07:19:32 drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 07:12 cost 07:19:32 -rw-r--r-- 1 jenkins jenkins 87 Jan 18 07:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:19:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:19:33 ---> package-listing.sh 07:19:33 ++ facter osfamily 07:19:33 ++ tr '[:upper:]' '[:lower:]' 07:19:33 + OS_FAMILY=debian 07:19:33 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 07:19:33 + START_PACKAGES=/tmp/packages_start.txt 07:19:33 + END_PACKAGES=/tmp/packages_end.txt 07:19:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:19:33 + PACKAGES=/tmp/packages_start.txt 07:19:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' 07:19:33 + PACKAGES=/tmp/packages_end.txt 07:19:33 + case "${OS_FAMILY}" in 07:19:33 + dpkg -l 07:19:33 + grep '^ii' 07:19:33 + '[' -f /tmp/packages_start.txt ']' 07:19:33 + '[' -f /tmp/packages_end.txt ']' 07:19:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:19:33 + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' 07:19:33 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ 07:19:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo 07:19:33 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:19:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:19:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:34 prd-ubuntu20.04-docker-8c-8g-2893 does not seem to be running inside a container 07:19:34 $ 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-229/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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:19:35 $ docker top 87afe32454681c6610542d72b9aba4c9fdb8ff539227c1860be711f487fdb900 -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:35 + touch /tmp/pre-build-complete [Pipeline] sh 07:19:35 + mkdir -p /var/log/sysstat [Pipeline] sh 07:19:35 + ls /var/log/sa-host 07:19:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:19:36 provisioning config files... 07:19:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config7935333580922358997tmp [Pipeline] { [Pipeline] echo 07:19:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:19:36 ---> create-netrc.sh [Pipeline] } 07:19:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:19:36 ---> python-tools-install.sh [Pipeline] echo 07:19:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:19:36 ---> sudo-logs.sh 07:19:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:19:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:19:37 ---> job-cost.sh 07:19:37 lf-activate-venv: SKIPPING 07:19:37 DEBUG: total: 0.2199999988079071 07:19:37 INFO: Retrieving Stack Cost... 07:19:37 INFO: Retrieving Pricing Info for: v3-standard-8 07:19:38 INFO: Archiving Costs [Pipeline] echo 07:19:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:19:38 ---> logs-deploy.sh 07:19:38 lf-activate-venv: SKIPPING 07:19:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/14 07:19:38 INFO: archiving workspace using pattern(s): 07:19:39 Archives upload complete. 07:19:39 INFO: archiving logs to Nexus