Pull request #59 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of siggiskulason for edgexfoundry/device-rest-go Loading trusted files from base branch master at cbc1fb126fca16d22f986b5cd5c305caa6710614 rather than 4b44503a94f05668b63b360ac259385a0ac0866a Obtained Jenkinsfile from cbc1fb126fca16d22f986b5cd5c305caa6710614 Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eca33996f4fbe88610f9be003a62d5383d966c7d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 eca33996f4fbe88610f9be003a62d5383d966c7d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eca33996f4fbe88610f9be003a62d5383d966c7d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eca33996f4fbe88610f9be003a62d5383d966c7d # timeout=10 Commit message: "Merge pull request #304 from ernestojeda/alter-go-mod-versions" > 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 shared 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 shared 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: [[centos7-docker-4c-2g, ubuntu18.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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14497 in /w/workspace/dgexfoundry_device-rest-go_PR-59 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-59 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit cbc1fb126fca16d22f986b5cd5c305caa6710614 into PR head commit 4b44503a94f05668b63b360ac259385a0ac0866a Merge succeeded, producing 4b44503a94f05668b63b360ac259385a0ac0866a Checking out Revision 4b44503a94f05668b63b360ac259385a0ac0866a (PR-59) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/59/head:refs/remotes/origin/PR-59 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b44503a94f05668b63b360ac259385a0ac0866a # 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 cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b44503a94f05668b63b360ac259385a0ac0866a # timeout=10 Commit message: "feat(snap): add startup-duration and startup-interval configure options" First time build. Skipping changelog. > git rev-list --no-walk 0b395e9d78bf6cc38a91a5b14c1f4dd9b7e85720 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:58:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:58:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:58:28 ========================================================= 16:58:28 EdgeX Global Pipelines Version Info 16:58:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:58:30 ------------------- 16:58:30 stable info: 16:58:30 ------------------- 16:58:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:58:30 Commit SHA: eca33996f4fbe88610f9be003a62d5383d966c7d 16:58:30 Message: update stable to v1.0.170 16:58:30 ------------------- 16:58:30 experimental info: 16:58:30 ------------------- 16:58:30 Commited By: **** collab-it+edgex@linuxfoundation.org 16:58:30 Commit SHA: eca33996f4fbe88610f9be003a62d5383d966c7d 16:58:30 Message: update experimental to v1.0.170 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:58:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:58:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:58:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:58:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:58:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:58:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:58:32 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 16:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:58:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:58:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:58:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:58:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:58:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:58:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:58:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:58:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:58:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:58:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:58:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:58:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:58:34 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:58:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-59 [Pipeline] echo 16:58:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-59 [Pipeline] echo 16:58:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-59 [Pipeline] echo 16:58:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b44503a94f05668b63b360ac259385a0ac0866a [Pipeline] echo 16:58:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b44503 [Pipeline] echo 16:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:58:35 provisioning config files... 16:58:35 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/config2276106391193204075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:58:35 ---> docker-login.sh 16:58:35 nexus3.edgexfoundry.org:10001 16:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:36 Configure a credential helper to remove this warning. See 16:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:36 16:58:36 Login Succeeded 16:58:36 nexus3.edgexfoundry.org:10002 16:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:36 Configure a credential helper to remove this warning. See 16:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:36 16:58:36 Login Succeeded 16:58:36 nexus3.edgexfoundry.org:10003 16:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:36 Configure a credential helper to remove this warning. See 16:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:36 16:58:36 Login Succeeded 16:58:36 nexus3.edgexfoundry.org:10004 16:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:36 Configure a credential helper to remove this warning. See 16:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:36 16:58:36 Login Succeeded 16:58:36 docker.io 16:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:58:37 Configure a credential helper to remove this warning. See 16:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:58:37 16:58:37 Login Succeeded 16:58:37 ---> docker-login.sh ends [Pipeline] } 16:58:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:58:38 + git log --format=format:%s -1 4b44503a94f05668b63b360ac259385a0ac0866a [Pipeline] echo 16:58:38 GIT_COMMIT: 4b44503a94f05668b63b360ac259385a0ac0866a, Commit Message: feat(snap): add startup-duration and startup-interval configure options [Pipeline] echo 16:58:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:58:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:58:39 16:58:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:58:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:58:39 latest: Pulling from edgex-devops/git-semver 16:58:39 31603596830f: Pulling fs layer 16:58:39 2a8b12db71e7: Pulling fs layer 16:58:39 6ca5941a6612: Pulling fs layer 16:58:39 ecc8261a40a4: Pulling fs layer 16:58:39 ecc8261a40a4: Waiting 16:58:39 2a8b12db71e7: Verifying Checksum 16:58:39 2a8b12db71e7: Download complete 16:58:39 31603596830f: Verifying Checksum 16:58:39 31603596830f: Download complete 16:58:40 ecc8261a40a4: Verifying Checksum 16:58:40 ecc8261a40a4: Download complete 16:58:40 6ca5941a6612: Verifying Checksum 16:58:40 6ca5941a6612: Download complete 16:58:40 31603596830f: Pull complete 16:58:40 2a8b12db71e7: Pull complete 16:58:41 6ca5941a6612: Pull complete 16:58:41 ecc8261a40a4: Pull complete 16:58:41 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:58:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:58:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:58:41 prd-centos7-docker-4c-2g-14497 does not seem to be running inside a container 16:58:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-59 -v /w/workspace/dgexfoundry_device-rest-go_PR-59:/w/workspace/dgexfoundry_device-rest-go_PR-59:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-59@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:58:44 $ docker top c1819245b515ca84618093ff5801455ad053c339be21b39cc05197374bbc4863 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:58:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:58:44 [ssh-agent] Looking for ssh-agent implementation... 16:58:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:58:44 $ docker exec c1819245b515ca84618093ff5801455ad053c339be21b39cc05197374bbc4863 ssh-agent 16:58:44 SSH_AUTH_SOCK=/tmp/ssh-eu9nSjApm25D/agent.11 16:58:44 SSH_AGENT_PID=16 16:58:44 Running ssh-add (command line suppressed) 16:58:44 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/private_key_1750636078092775251.key (/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/private_key_1750636078092775251.key) 16:58:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:58:45 + git tag --points-at HEAD [Pipeline] } 16:58:45 $ docker exec --env ******** --env ******** c1819245b515ca84618093ff5801455ad053c339be21b39cc05197374bbc4863 ssh-agent -k 16:58:45 unset SSH_AUTH_SOCK; 16:58:45 unset SSH_AGENT_PID; 16:58:45 echo Agent pid 16 killed; 16:58:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:58:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:58:45 [ssh-agent] Looking for ssh-agent implementation... 16:58:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:58:45 $ docker exec c1819245b515ca84618093ff5801455ad053c339be21b39cc05197374bbc4863 ssh-agent 16:58:46 SSH_AUTH_SOCK=/tmp/ssh-O34QmwRuluVc/agent.45 16:58:46 SSH_AGENT_PID=50 16:58:46 Running ssh-add (command line suppressed) 16:58:46 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/private_key_8575998734991072467.key (/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/private_key_8575998734991072467.key) 16:58:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:58:46 + git semver init 16:58:46 # -> Open(): unable to determine branch for HEAD 16:58:46 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-59/.git 16:58:46 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-59 16:58:46 # $SEMVER_REMOTE_NAME = origin 16:58:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:58:46 # $SEMVER_USER_NAME = edgex-jenkins 16:58:46 # $SEMVER_BRANCH = PR-59 16:58:46 # $SEMVER_TEMP = /tmp/semver-861049361 16:58:46 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 16:58:48 # '/tmp/semver-861049361' -> '/w/workspace/dgexfoundry_device-rest-go_PR-59/.semver' 16:58:48 # -> Force: false 16:58:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-59/.semver [Pipeline] } 16:58:48 $ docker exec --env ******** --env ******** c1819245b515ca84618093ff5801455ad053c339be21b39cc05197374bbc4863 ssh-agent -k 16:58:48 unset SSH_AUTH_SOCK; 16:58:48 unset SSH_AGENT_PID; 16:58:48 echo Agent pid 50 killed; 16:58:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:58:48 + git semver [Pipeline] } 16:58:48 $ docker stop --time=1 c1819245b515ca84618093ff5801455ad053c339be21b39cc05197374bbc4863 16:58:50 $ docker rm -f c1819245b515ca84618093ff5801455ad053c339be21b39cc05197374bbc4863 [Pipeline] // withDockerContainer [Pipeline] sh 16:58:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:58:51 Stashed 1 file(s) [Pipeline] echo 16:58:51 [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] node [Pipeline] node 16:59:06 Still waiting to schedule task 16:59:06 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-14497’ 16:59:06 Still waiting to schedule task 16:59:06 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 17:01:12 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14498 in /w/workspace/dgexfoundry_device-rest-go_PR-59 [Pipeline] { [Pipeline] ws 17:01:12 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 17:01:17 using credential edgex-jenkins-ssh 17:01:18 Cloning the remote Git repository 17:01:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:01:18 > git init /w/workspace/device-rest-go/2 # timeout=10 17:01:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:01:18 > git --version # timeout=10 17:01:18 > git --version # 'git version 2.17.1' 17:01:18 using GIT_SSH to set credentials SSH Credentials for GitHub 17:01:18 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:01:20 Merging remotes/origin/master commit cbc1fb126fca16d22f986b5cd5c305caa6710614 into PR head commit 4b44503a94f05668b63b360ac259385a0ac0866a 17:01:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:01:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:01:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:01:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:01:20 using GIT_SSH to set credentials SSH Credentials for GitHub 17:01:20 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/59/head:refs/remotes/origin/PR-59 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:01:20 > git config core.sparsecheckout # timeout=10 17:01:20 > git checkout -f 4b44503a94f05668b63b360ac259385a0ac0866a # timeout=10 17:01:20 Merge succeeded, producing 4b44503a94f05668b63b360ac259385a0ac0866a 17:01:20 Checking out Revision 4b44503a94f05668b63b360ac259385a0ac0866a (PR-59) 17:01:20 > git remote # timeout=10 17:01:20 > git config --get remote.origin.url # timeout=10 17:01:20 using GIT_SSH to set credentials SSH Credentials for GitHub 17:01:20 > git merge cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 17:01:20 > git rev-parse HEAD^{commit} # timeout=10 17:01:20 > git config core.sparsecheckout # timeout=10 17:01:20 > git checkout -f 4b44503a94f05668b63b360ac259385a0ac0866a # timeout=10 17:01:25 Commit message: "feat(snap): add startup-duration and startup-interval configure options" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:01:26 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:01:27 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:01:27 + true 17:01:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:01:30 provisioning config files... 17:01:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config4839715488840403596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:30 ---> docker-login.sh 17:01:30 nexus3.edgexfoundry.org:10001 17:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:32 Configure a credential helper to remove this warning. See 17:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:32 17:01:32 Login Succeeded 17:01:32 nexus3.edgexfoundry.org:10002 17:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:32 Configure a credential helper to remove this warning. See 17:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:32 17:01:32 Login Succeeded 17:01:32 nexus3.edgexfoundry.org:10003 17:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:33 Configure a credential helper to remove this warning. See 17:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:33 17:01:33 Login Succeeded 17:01:33 nexus3.edgexfoundry.org:10004 17:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:33 Configure a credential helper to remove this warning. See 17:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:33 17:01:33 Login Succeeded 17:01:33 docker.io 17:01:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:01:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:01:34 Configure a credential helper to remove this warning. See 17:01:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:01:34 17:01:34 Login Succeeded 17:01:34 ---> docker-login.sh ends [Pipeline] } 17:01:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:01:35 ========================================================= 17:01:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:01:35 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:01:35 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 17:01:35 Sending build context to Docker daemon 84.48kB 17:01:35 Step 1/10 : ARG BASE=golang:1.15-alpine 17:01:35 Step 2/10 : FROM ${BASE} 17:01:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:01:35 5f621e34cdf4: Pulling fs layer 17:01:35 a4357932f1b6: Pulling fs layer 17:01:35 18c013af1878: Pulling fs layer 17:01:35 00ac8860ef70: Pulling fs layer 17:01:35 63d7cb157983: Pulling fs layer 17:01:35 b116817d02f9: Pulling fs layer 17:01:35 745a02a5169b: Pulling fs layer 17:01:35 00ac8860ef70: Waiting 17:01:35 63d7cb157983: Waiting 17:01:35 b116817d02f9: Waiting 17:01:35 745a02a5169b: Waiting 17:01:35 18c013af1878: Verifying Checksum 17:01:35 18c013af1878: Download complete 17:01:36 a4357932f1b6: Verifying Checksum 17:01:36 a4357932f1b6: Download complete 17:01:36 63d7cb157983: Verifying Checksum 17:01:36 63d7cb157983: Download complete 17:01:36 b116817d02f9: Verifying Checksum 17:01:36 b116817d02f9: Download complete 17:01:36 5f621e34cdf4: Verifying Checksum 17:01:36 5f621e34cdf4: Download complete 17:01:36 5f621e34cdf4: Pull complete 17:01:37 a4357932f1b6: Pull complete 17:01:37 18c013af1878: Pull complete 17:01:38 745a02a5169b: Verifying Checksum 17:01:38 745a02a5169b: Download complete 17:01:39 00ac8860ef70: Verifying Checksum 17:01:39 00ac8860ef70: Download complete 17:01:50 00ac8860ef70: Pull complete 17:01:50 63d7cb157983: Pull complete 17:01:50 b116817d02f9: Pull complete 17:01:53 745a02a5169b: Pull complete 17:01:53 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:01:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:01:53 ---> b7e6874047d6 17:01:53 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 17:01:56 ---> Running in 83609ac6eb29 17:01:56 Removing intermediate container 83609ac6eb29 17:01:56 ---> 03ae715d8c32 17:01:56 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:01:56 ---> Running in 0b5f507009f9 17:01:57 Removing intermediate container 0b5f507009f9 17:01:57 ---> b7e1f0949db8 17:01:57 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:01:57 ---> Running in 7cb5c4389104 17:01:58 Removing intermediate container 7cb5c4389104 17:01:58 ---> 2ef4b34cbc5c 17:01:58 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:01:58 ---> Running in c64fda913c5b 17:02:00 Removing intermediate container c64fda913c5b 17:02:00 ---> 9419d4b42b9a 17:02:00 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:02:00 ---> Running in 411bcdc041af 17:02:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:02:02 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:02:03 OK: 142 MiB in 39 packages 17:02:04 Removing intermediate container 411bcdc041af 17:02:04 ---> f0c25b11c14e 17:02:04 Step 8/10 : WORKDIR /device-rest-go 17:02:04 ---> Running in 3db81abb7f87 17:02:04 Removing intermediate container 3db81abb7f87 17:02:04 ---> c6f2334fbcc8 17:02:04 Step 9/10 : COPY . . 17:02:05 ---> 2492dc422a6e 17:02:05 Step 10/10 : RUN go mod download 17:02:05 ---> Running in 1bd67a5c3072 17:02:07 Running on prd-centos7-docker-4c-2g-14499 in /w/workspace/dgexfoundry_device-rest-go_PR-59 [Pipeline] { [Pipeline] ws 17:02:07 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 17:02:14 using credential edgex-jenkins-ssh 17:02:14 Cloning the remote Git repository 17:02:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:02:15 > git init /w/workspace/device-rest-go/2 # timeout=10 17:02:15 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:02:15 > git --version # timeout=10 17:02:15 > git --version # 'git version 2.24.3' 17:02:15 using GIT_SSH to set credentials SSH Credentials for GitHub 17:02:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:02:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:02:17 Merging remotes/origin/master commit cbc1fb126fca16d22f986b5cd5c305caa6710614 into PR head commit 4b44503a94f05668b63b360ac259385a0ac0866a 17:02:17 Merge succeeded, producing 4b44503a94f05668b63b360ac259385a0ac0866a 17:02:17 Checking out Revision 4b44503a94f05668b63b360ac259385a0ac0866a (PR-59) 17:02:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:02:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:02:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:02:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:02:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/59/head:refs/remotes/origin/PR-59 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:02:17 > git config core.sparsecheckout # timeout=10 17:02:17 > git checkout -f 4b44503a94f05668b63b360ac259385a0ac0866a # timeout=10 17:02:17 > git remote # timeout=10 17:02:17 > git config --get remote.origin.url # timeout=10 17:02:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:02:17 > git merge cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 17:02:17 > git rev-parse HEAD^{commit} # timeout=10 17:02:18 > git config core.sparsecheckout # timeout=10 17:02:18 > git checkout -f 4b44503a94f05668b63b360ac259385a0ac0866a # timeout=10 17:02:22 Commit message: "feat(snap): add startup-duration and startup-interval configure options" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:02:23 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:02:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:02:24 + sudo service docker restart 17:02:24 + true 17:02:24 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:02:26 provisioning config files... 17:02:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config1081415262924339789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:02:26 ---> docker-login.sh 17:02:26 nexus3.edgexfoundry.org:10001 17:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:27 Configure a credential helper to remove this warning. See 17:02:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:27 17:02:27 Login Succeeded 17:02:27 nexus3.edgexfoundry.org:10002 17:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:28 Configure a credential helper to remove this warning. See 17:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:28 17:02:28 Login Succeeded 17:02:28 nexus3.edgexfoundry.org:10003 17:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:28 Configure a credential helper to remove this warning. See 17:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:28 17:02:28 Login Succeeded 17:02:28 nexus3.edgexfoundry.org:10004 17:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:28 Configure a credential helper to remove this warning. See 17:02:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:28 17:02:28 Login Succeeded 17:02:28 docker.io 17:02:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:02:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:02:29 Configure a credential helper to remove this warning. See 17:02:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:02:29 17:02:29 Login Succeeded 17:02:29 ---> docker-login.sh ends [Pipeline] } 17:02:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:02:29 ========================================================= 17:02:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:02:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:02:30 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 17:02:30 Sending build context to Docker daemon 84.48kB 17:02:30 Step 1/10 : ARG BASE=golang:1.15-alpine 17:02:30 Step 2/10 : FROM ${BASE} 17:02:30 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:02:30 188c0c94c7c5: Pulling fs layer 17:02:30 0ef7d3d256c8: Pulling fs layer 17:02:30 de9db76c5a1d: Pulling fs layer 17:02:30 bca2f99d35d6: Pulling fs layer 17:02:30 93359f2a8cfa: Pulling fs layer 17:02:30 7c6f9722023f: Pulling fs layer 17:02:30 a35cf1a2eb13: Pulling fs layer 17:02:30 bca2f99d35d6: Waiting 17:02:30 7c6f9722023f: Waiting 17:02:30 93359f2a8cfa: Waiting 17:02:30 a35cf1a2eb13: Waiting 17:02:30 de9db76c5a1d: Download complete 17:02:30 0ef7d3d256c8: Verifying Checksum 17:02:30 0ef7d3d256c8: Download complete 17:02:30 93359f2a8cfa: Verifying Checksum 17:02:30 93359f2a8cfa: Download complete 17:02:30 7c6f9722023f: Verifying Checksum 17:02:30 7c6f9722023f: Download complete 17:02:30 188c0c94c7c5: Verifying Checksum 17:02:30 188c0c94c7c5: Download complete 17:02:31 188c0c94c7c5: Pull complete 17:02:31 0ef7d3d256c8: Pull complete 17:02:31 de9db76c5a1d: Pull complete 17:02:32 Removing intermediate container 1bd67a5c3072 17:02:32 ---> 0f622b657342 17:02:32 Successfully built 0f622b657342 17:02:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:02:32 + docker inspect -f . ci-base-image-arm64 17:02:32 . [Pipeline] withDockerContainer 17:02:32 prd-ubuntu18.04-docker-arm64-4c-16g-14498 does not seem to be running inside a container 17:02:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-arm64 cat 17:02:34 $ docker top 063e1367d74368fe49ccbc890045bc975e7c8dc0a873b870c45627f20b038fe7 -eo pid,comm 17:02:34 a35cf1a2eb13: Verifying Checksum 17:02:34 a35cf1a2eb13: Download complete [Pipeline] { [Pipeline] sh 17:02:35 + go version 17:02:35 go version go1.15.5 linux/arm64 [Pipeline] } 17:02:35 $ docker stop --time=1 063e1367d74368fe49ccbc890045bc975e7c8dc0a873b870c45627f20b038fe7 17:02:36 bca2f99d35d6: Verifying Checksum 17:02:36 bca2f99d35d6: Download complete 17:02:37 $ docker rm -f 063e1367d74368fe49ccbc890045bc975e7c8dc0a873b870c45627f20b038fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:02:38 + docker inspect -f . ci-base-image-arm64 17:02:38 . [Pipeline] withDockerContainer 17:02:38 prd-ubuntu18.04-docker-arm64-4c-16g-14498 does not seem to be running inside a container 17:02:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-arm64 cat 17:02:40 $ docker top 2148957f76d0fc0a1fc48d8ec87e3340697e0976fdfe5682e972551a01225458 -eo pid,comm [Pipeline] { [Pipeline] sh 17:02:41 + make test 17:02:41 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:02:42 ? github.com/edgexfoundry/device-rest-go [no test files] 17:02:46 bca2f99d35d6: Pull complete 17:02:46 93359f2a8cfa: Pull complete 17:02:46 7c6f9722023f: Pull complete 17:02:53 a35cf1a2eb13: Pull complete 17:02:53 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:02:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:02:53 ---> a62c8e92a672 17:02:53 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 17:02:53 ---> Running in 5413ea823033 17:02:53 Removing intermediate container 5413ea823033 17:02:53 ---> 20404bbe4ef0 17:02:53 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:02:53 ---> Running in b4b4f16d7769 17:02:53 Removing intermediate container b4b4f16d7769 17:02:53 ---> 97d669763829 17:02:53 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:02:53 ---> Running in 78b184f3000d 17:02:54 Removing intermediate container 78b184f3000d 17:02:54 ---> b2c099e57824 17:02:54 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:02:54 ---> Running in 2d6c83542511 17:02:56 Removing intermediate container 2d6c83542511 17:02:56 ---> 9e10fb5824aa 17:02:56 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:02:56 ---> Running in 62fd30306bcb 17:02:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:02:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:02:58 OK: 166 MiB in 39 packages 17:02:59 Removing intermediate container 62fd30306bcb 17:02:59 ---> ce41dace30f5 17:02:59 Step 8/10 : WORKDIR /device-rest-go 17:02:59 ---> Running in 5987b37544fe 17:02:59 Removing intermediate container 5987b37544fe 17:02:59 ---> 43e22c06e6ed 17:02:59 Step 9/10 : COPY . . 17:03:00 ---> 1ac99492d660 17:03:00 Step 10/10 : RUN go mod download 17:03:00 ---> Running in 034594d2ea4f 17:03:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:03:21 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 56.3% of statements 17:03:21 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:03:24 gofmt -l . 17:03:24 [ "`gofmt -l .`" = "" ] 17:03:24 ./bin/test-go-mod-tidy.sh 17:03:24 ./bin/test-attribution-txt.sh [Pipeline] } 17:03:25 $ docker stop --time=1 2148957f76d0fc0a1fc48d8ec87e3340697e0976fdfe5682e972551a01225458 17:03:27 Removing intermediate container 034594d2ea4f 17:03:27 ---> da3df31d94df 17:03:27 Successfully built da3df31d94df 17:03:27 Successfully tagged ci-base-image-x86_64:latest 17:03:28 $ docker rm -f 2148957f76d0fc0a1fc48d8ec87e3340697e0976fdfe5682e972551a01225458 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 17:03:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:03:29 + docker inspect -f . ci-base-image-x86_64 17:03:29 . [Pipeline] withDockerContainer 17:03:29 Stashed 1 file(s) 17:03:29 prd-centos7-docker-4c-2g-14499 does not seem to be running inside a container 17:03:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-x86_64 cat 17:03:31 $ docker top a2c1a2c02b0cdb71d8a5e0a8334502228d4c33a0b4add3683f35af91394aac34 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh 17:03:32 + go version 17:03:32 go version go1.15.5 linux/amd64 [Pipeline] // stage [Pipeline] } 17:03:32 $ docker stop --time=1 a2c1a2c02b0cdb71d8a5e0a8334502228d4c33a0b4add3683f35af91394aac34 17:03:35 $ docker rm -f a2c1a2c02b0cdb71d8a5e0a8334502228d4c33a0b4add3683f35af91394aac34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] stage [Pipeline] { (Build) [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 17:03:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:03:38 + docker inspect -f . ci-base-image-x86_64 17:03:38 . [Pipeline] withDockerContainer 17:03:38 prd-centos7-docker-4c-2g-14499 does not seem to be running inside a container 17:03:38 + ls -al . 17:03:38 total 124 17:03:38 drwxrwxr-x 8 jenkins jenkins 4096 Dec 4 17:03 . 17:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 4 17:01 .. 17:03:38 -rw-rw-r-- 1 jenkins jenkins 151 Dec 4 17:01 .dockerignore 17:03:38 drwxrwxr-x 8 jenkins jenkins 4096 Dec 4 17:01 .git 17:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 17:01 .github 17:03:38 -rw-rw-r-- 1 jenkins jenkins 339 Dec 4 17:01 .gitignore 17:03:38 -rw-rw-r-- 1 jenkins jenkins 5294 Dec 4 17:01 Attribution.txt 17:03:38 -rw-rw-r-- 1 jenkins jenkins 1519 Dec 4 17:01 Dockerfile 17:03:38 -rw-rw-r-- 1 jenkins jenkins 989 Dec 4 17:01 Dockerfile.build 17:03:38 -rw-rw-r-- 1 jenkins jenkins 680 Dec 4 17:01 Jenkinsfile 17:03:38 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 4 17:01 LICENSE 17:03:38 -rw-rw-r-- 1 jenkins jenkins 951 Dec 4 17:01 Makefile 17:03:38 -rw-rw-r-- 1 jenkins jenkins 5917 Dec 4 17:01 README.md 17:03:38 -rw-rw-r-- 1 jenkins jenkins 5 Dec 4 16:58 VERSION 17:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 17:01 bin 17:03:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 4 17:01 cmd 17:03:38 -rw-r--r-- 1 jenkins jenkins 9369 Dec 4 17:03 coverage.out 17:03:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 4 17:03 driver 17:03:38 -rw-r--r-- 1 jenkins jenkins 267 Dec 4 17:03 go.mod 17:03:38 -rw-r--r-- 1 jenkins jenkins 13790 Dec 4 17:03 go.sum 17:03:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 4 17:01 snap 17:03:38 -rw-rw-r-- 1 jenkins jenkins 713 Dec 4 17:01 version.go 17:03:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** ci-base-image-x86_64 cat 17:03:39 $ docker top f11936a27c2be5289451c54f76c56070a863979f797e70472208a93366b54f8d -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 17:03:40 + make test 17:03:40 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:03:40 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4b44503a94f05668b63b360ac259385a0ac0866a --label arch=arm64 --label version=0.0.0 . 17:03:40 Sending build context to Docker daemon 96.26kB 17:03:40 Step 1/25 : ARG BASE=golang:1.15-alpine 17:03:40 Step 2/25 : FROM ${BASE} AS builder 17:03:40 ---> 0f622b657342 17:03:40 Step 3/25 : ARG MAKE='make build' 17:03:40 ---> Running in 59941dcca77f 17:03:41 Removing intermediate container 59941dcca77f 17:03:41 ---> 1e3820b4f326 17:03:41 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 17:03:41 ---> Running in 3dd6f293b2f9 17:03:41 ? github.com/edgexfoundry/device-rest-go [no test files] 17:03:41 Removing intermediate container 3dd6f293b2f9 17:03:41 ---> 60772f5d73af 17:03:41 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:03:41 ---> Running in cf5962c7380f 17:03:42 Removing intermediate container cf5962c7380f 17:03:42 ---> 8fba02df7898 17:03:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:03:42 ---> Running in d256231fbb10 17:03:45 Removing intermediate container d256231fbb10 17:03:45 ---> d08222beafd5 17:03:45 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:03:45 ---> Running in cf41ecdef384 17:03:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:03:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:03:47 OK: 142 MiB in 39 packages 17:03:48 Removing intermediate container cf41ecdef384 17:03:48 ---> 1cd8e313920a 17:03:48 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 17:03:48 ---> Running in 2a9b0a74d66e 17:03:49 Removing intermediate container 2a9b0a74d66e 17:03:49 ---> 6be9cb2d0661 17:03:49 Step 9/25 : COPY go.mod . 17:03:49 ---> b3713fe595c7 17:03:49 Step 10/25 : COPY Makefile . 17:03:50 ---> 924de2b8a912 17:03:50 Step 11/25 : RUN make update 17:03:50 ---> Running in 6fc29b6f46e0 17:03:51 CGO_ENABLED=0 GO111MODULE=on go mod download 17:03:53 Removing intermediate container 6fc29b6f46e0 17:03:53 ---> cf94de8c9cb4 17:03:53 Step 12/25 : COPY . . 17:03:53 ---> 5a745f27e73f 17:03:53 Step 13/25 : RUN $MAKE 17:03:53 ---> Running in 58b5bf2955f8 17:03:55 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 17:04:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:04:09 ok github.com/edgexfoundry/device-rest-go/driver 0.122s coverage: 56.3% of statements 17:04:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:04:14 gofmt -l . 17:04:14 [ "`gofmt -l .`" = "" ] 17:04:14 ./bin/test-go-mod-tidy.sh 17:04:15 ./bin/test-attribution-txt.sh [Pipeline] } 17:04:15 $ docker stop --time=1 f11936a27c2be5289451c54f76c56070a863979f797e70472208a93366b54f8d 17:04:18 $ docker rm -f f11936a27c2be5289451c54f76c56070a863979f797e70472208a93366b54f8d [Pipeline] // withDockerContainer [Pipeline] sh 17:04:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:04:19 Warning: overwriting stash ‘coverage-report’ 17:04:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:04:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:04:20 + ls -al . 17:04:20 total 96 17:04:20 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 4 17:04 . 17:04:20 drwxrwxr-x. 4 jenkins jenkins 28 Dec 4 17:02 .. 17:04:20 -rw-rw-r--. 1 jenkins jenkins 5294 Dec 4 17:02 Attribution.txt 17:04:20 drwxrwxr-x. 2 jenkins jenkins 64 Dec 4 17:02 bin 17:04:20 drwxrwxr-x. 3 jenkins jenkins 32 Dec 4 17:02 cmd 17:04:20 -rw-r--r--. 1 jenkins jenkins 9369 Dec 4 17:04 coverage.out 17:04:20 -rw-rw-r--. 1 jenkins jenkins 1519 Dec 4 17:02 Dockerfile 17:04:20 -rw-rw-r--. 1 jenkins jenkins 989 Dec 4 17:02 Dockerfile.build 17:04:20 -rw-rw-r--. 1 jenkins jenkins 151 Dec 4 17:02 .dockerignore 17:04:20 drwxrwxr-x. 2 jenkins jenkins 93 Dec 4 17:04 driver 17:04:20 drwxrwxr-x. 8 jenkins jenkins 179 Dec 4 17:02 .git 17:04:20 drwxrwxr-x. 2 jenkins jenkins 60 Dec 4 17:02 .github 17:04:20 -rw-rw-r--. 1 jenkins jenkins 339 Dec 4 17:02 .gitignore 17:04:20 -rw-r--r--. 1 jenkins jenkins 267 Dec 4 17:04 go.mod 17:04:20 -rw-r--r--. 1 jenkins jenkins 13790 Dec 4 17:04 go.sum 17:04:20 -rw-rw-r--. 1 jenkins jenkins 680 Dec 4 17:02 Jenkinsfile 17:04:20 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 4 17:02 LICENSE 17:04:20 -rw-rw-r--. 1 jenkins jenkins 951 Dec 4 17:02 Makefile 17:04:20 -rw-rw-r--. 1 jenkins jenkins 5917 Dec 4 17:02 README.md 17:04:20 drwxrwxr-x. 4 jenkins jenkins 71 Dec 4 17:02 snap 17:04:20 -rw-rw-r--. 1 jenkins jenkins 5 Dec 4 16:58 VERSION 17:04:20 -rw-rw-r--. 1 jenkins jenkins 713 Dec 4 17:02 version.go [Pipeline] isUnix [Pipeline] sh 17:04:21 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=4b44503a94f05668b63b360ac259385a0ac0866a --label arch=amd64 --label version=0.0.0 . 17:04:21 Sending build context to Docker daemon 96.26kB 17:04:21 Step 1/25 : ARG BASE=golang:1.15-alpine 17:04:21 Step 2/25 : FROM ${BASE} AS builder 17:04:21 ---> da3df31d94df 17:04:21 Step 3/25 : ARG MAKE='make build' 17:04:21 ---> Running in effafde3171c 17:04:22 Removing intermediate container effafde3171c 17:04:22 ---> 68ae2393c4c1 17:04:22 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 17:04:22 ---> Running in b3bec5706cc7 17:04:22 Removing intermediate container b3bec5706cc7 17:04:22 ---> dd015dc6e84e 17:04:22 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:04:22 ---> Running in 453326ca7727 17:04:22 Removing intermediate container 453326ca7727 17:04:22 ---> a7de63ebc90a 17:04:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:04:22 ---> Running in 7d544f585ad4 17:04:24 Removing intermediate container 7d544f585ad4 17:04:24 ---> 4fb8f135cd78 17:04:24 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:04:24 ---> Running in b48b3b1c6c8a 17:04:25 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:04:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:04:26 OK: 166 MiB in 39 packages 17:04:27 Removing intermediate container 58b5bf2955f8 17:04:27 ---> 96a3141367db 17:04:27 Step 14/25 : FROM alpine:latest 17:04:27 latest: Pulling from library/alpine 17:04:27 5f621e34cdf4: Already exists 17:04:27 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 17:04:27 Status: Downloaded newer image for alpine:latest 17:04:27 ---> 2e77e061c27f 17:04:27 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:04:27 ---> Running in fcc72ebf5c1c 17:04:27 Removing intermediate container fcc72ebf5c1c 17:04:27 ---> 907dbd8331f3 17:04:27 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 17:04:27 ---> Running in 7ef24a9dcdcb 17:04:27 Removing intermediate container 7ef24a9dcdcb 17:04:27 ---> 162b3553f698 17:04:27 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 17:04:27 ---> eb9eda7d2269 17:04:27 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 17:04:27 ---> a66a9f41fa2b 17:04:27 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 17:04:27 ---> 28dad17c43fc 17:04:27 Step 20/25 : EXPOSE 49986 17:04:27 ---> Running in c3d61f63aefd 17:04:27 Removing intermediate container c3d61f63aefd 17:04:27 ---> b73385368b97 17:04:27 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 17:04:27 ---> Running in 13f032765a2e 17:04:27 Removing intermediate container 13f032765a2e 17:04:27 ---> 58d207b10be7 17:04:27 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:04:27 Removing intermediate container b48b3b1c6c8a 17:04:27 ---> 232394d115c8 17:04:27 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 17:04:27 ---> Running in e3f11d04bbbf 17:04:28 ---> Running in feb8135050e1 17:04:28 Removing intermediate container e3f11d04bbbf 17:04:28 ---> 629379fe5785 17:04:28 Step 9/25 : COPY go.mod . 17:04:28 Removing intermediate container feb8135050e1 17:04:28 ---> c4bb809ac8dc 17:04:28 Step 23/25 : LABEL arch=arm64 17:04:28 ---> Running in 0b41db031d11 17:04:28 ---> 404750a17ed2 17:04:28 Step 10/25 : COPY Makefile . 17:04:29 ---> c2d1a3ef1aa8 17:04:29 Step 11/25 : RUN make update 17:04:29 ---> Running in 0c5aaa0e94c1 17:04:29 Removing intermediate container 0b41db031d11 17:04:29 ---> 68d105c80a79 17:04:29 Step 24/25 : LABEL git_sha=4b44503a94f05668b63b360ac259385a0ac0866a 17:04:29 ---> Running in 0bef95583218 17:04:29 Removing intermediate container 0bef95583218 17:04:29 ---> 38f38d52e5c9 17:04:29 Step 25/25 : LABEL version=0.0.0 17:04:29 ---> Running in fa3be883cd81 17:04:30 CGO_ENABLED=0 GO111MODULE=on go mod download 17:04:30 Removing intermediate container fa3be883cd81 17:04:30 ---> f96634e09061 17:04:30 [Warning] One or more build-args [ARCH] were not consumed 17:04:30 Successfully built f96634e09061 17:04:30 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv 17:04:31 Removing intermediate container 0c5aaa0e94c1 17:04:31 ---> d5e7f776fc47 17:04:31 Step 12/25 : COPY . . [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:04:32 ---> 39e83a1fe1dc 17:04:32 Step 13/25 : RUN $MAKE 17:04:32 ---> Running in 298d052be74b 17:04:33 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 17:04:56 Removing intermediate container 298d052be74b 17:04:56 ---> 9f257d1e4694 17:04:56 Step 14/25 : FROM alpine:latest 17:04:56 latest: Pulling from library/alpine 17:04:56 188c0c94c7c5: Already exists 17:04:56 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 17:04:56 Status: Downloaded newer image for alpine:latest 17:04:56 ---> d6e46aa2470d 17:04:56 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:04:56 ---> Running in a7844d1111b9 17:04:57 Removing intermediate container a7844d1111b9 17:04:57 ---> 109dd6eb7c65 17:04:57 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 17:04:57 ---> Running in 5265fa73d3df 17:04:57 Removing intermediate container 5265fa73d3df 17:04:57 ---> 83669a85bad5 17:04:57 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 17:04:58 ---> 51461b51a2be 17:04:58 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 17:04:58 ---> 9a1d1c775330 17:04:58 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 17:04:59 ---> 4c32bf84d2d9 17:04:59 Step 20/25 : EXPOSE 49986 17:04:59 ---> Running in abdb0aef524c 17:04:59 Removing intermediate container abdb0aef524c 17:04:59 ---> c539b3983600 17:04:59 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 17:05:00 ---> Running in e63567444b13 17:05:00 Removing intermediate container e63567444b13 17:05:00 ---> 4b1d58ab7e22 17:05:00 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:05:00 ---> Running in 31c46fd17167 17:05:00 Removing intermediate container 31c46fd17167 17:05:00 ---> 3e4b530d48a5 17:05:00 Step 23/25 : LABEL arch=amd64 17:05:00 ---> Running in 2dbab311e20f 17:05:01 Removing intermediate container 2dbab311e20f 17:05:01 ---> 8c01fe4fbd27 17:05:01 Step 24/25 : LABEL git_sha=4b44503a94f05668b63b360ac259385a0ac0866a 17:05:01 ---> Running in 406851da94ff 17:05:01 Removing intermediate container 406851da94ff 17:05:01 ---> f2c1fbdb28d2 17:05:01 Step 25/25 : LABEL version=0.0.0 17:05:01 ---> Running in ef96ff5aa2a5 17:05:02 Removing intermediate container ef96ff5aa2a5 17:05:02 ---> bfed86707f16 17:05:02 [Warning] One or more build-args [ARCH] were not consumed 17:05:02 Successfully built bfed86707f16 17:05:02 Successfully tagged docker-device-rest-go:latest [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 [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] wrap 17:05:04 provisioning config files... 17:05:04 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/config2275488662999050409tmp [Pipeline] { [Pipeline] sh 17:05:05 + set +x 17:05:05 + curl -s https://codecov.io/bash 17:05:05 + bash -s -- 17:05:05 17:05:05 _____ _ 17:05:05 / ____| | | 17:05:05 | | ___ __| | ___ ___ _____ __ 17:05:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:05:05 | |___| (_) | (_| | __/ (_| (_) \ V / 17:05:05 \_____\___/ \__,_|\___|\___\___/ \_/ 17:05:05 Bash-20201130-cc6d3fe 17:05:05 17:05:05 17:05:05 ==> Jenkins CI detected. 17:05:05 project root: . 17:05:05 --> token set from env 17:05:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:05:05 ==> Running gcov in . (disable via -X gcov) 17:05:05 ==> Python coveragepy not found 17:05:05 ==> Searching for coverage reports in: 17:05:05 + . 17:05:05 -> Found 1 reports 17:05:05 ==> Detecting git/mercurial file structure 17:05:05 ==> Reading reports 17:05:05 + ./coverage.out bytes=9369 17:05:05 ==> Appending adjustments 17:05:05 https://docs.codecov.io/docs/fixing-reports 17:05:05 + Found adjustments 17:05:05 ==> Gzipping contents 17:05:05 4.0K /tmp/codecov.kBxgLe.gz 17:05:05 ==> Uploading reports 17:05:05 url: https://codecov.io 17:05:05 query: branch=PR-59&commit=4b44503a94f05668b63b360ac259385a0ac0866a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-59%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=59&job=&cmd_args= 17:05:05 -> Pinging Codecov 17:05:05 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-59&commit=4b44503a94f05668b63b360ac259385a0ac0866a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-59%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=59&job=&cmd_args= 17:05:06 -> Uploading to 17:05:06 https://storage.googleapis.com/codecov/v4/raw/2020-12-04/4E5D53B4F1F92C436F7061BF334D961C/4b44503a94f05668b63b360ac259385a0ac0866a/65f87812-2e54-4ebb-bba9-395cd70f654e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201204%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201204T170505Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e21cac225a0dfa6c3db8ef9bfce67b75dd2a2f24869fba17edf6811dd9c11ce 17:05:06 % Total % Received % Xferd Average Speed Time Time Time Current 17:05:06 Dload Upload Total Spent Left Speed 17:05:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4066 --:--:-- --:--:-- --:--:-- 4070 17:05:06 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4b44503a94f05668b63b360ac259385a0ac0866a [Pipeline] } 17:05:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 17:05:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:05:10 ---> package-listing.sh 17:05:10 ++ facter osfamily 17:05:10 ++ tr '[:upper:]' '[:lower:]' 17:05:10 + OS_FAMILY=redhat 17:05:10 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-59 17:05:10 + START_PACKAGES=/tmp/packages_start.txt 17:05:10 + END_PACKAGES=/tmp/packages_end.txt 17:05:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:05:10 + PACKAGES=/tmp/packages_start.txt 17:05:10 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-59 ']' 17:05:10 + PACKAGES=/tmp/packages_end.txt 17:05:10 + case "${OS_FAMILY}" in 17:05:10 + rpm -qa 17:05:10 + sort 17:05:15 + '[' -f /tmp/packages_start.txt ']' 17:05:15 + '[' -f /tmp/packages_end.txt ']' 17:05:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:05:15 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-59 ']' 17:05:15 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-59/archives/ 17:05:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-59/archives/ [Pipeline] echo 17:05:15 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-59/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:05:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:05:16 17:05:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:05:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:05:16 alpine: Pulling from edgex-lftools-log-publisher 17:05:16 df20fa9351a1: Pulling fs layer 17:05:16 36b3adc4ff6f: Pulling fs layer 17:05:16 8ad3a11d3b57: Pulling fs layer 17:05:16 46f8f816bc3b: Pulling fs layer 17:05:16 93b61091891f: Pulling fs layer 17:05:16 93b9cdb0e59b: Pulling fs layer 17:05:16 5e14af77c1be: Pulling fs layer 17:05:16 01666e4c0597: Pulling fs layer 17:05:16 aa168da1d23b: Pulling fs layer 17:05:16 93b9cdb0e59b: Waiting 17:05:16 5e14af77c1be: Waiting 17:05:16 01666e4c0597: Waiting 17:05:16 aa168da1d23b: Waiting 17:05:16 46f8f816bc3b: Waiting 17:05:16 93b61091891f: Waiting 17:05:16 36b3adc4ff6f: Verifying Checksum 17:05:16 36b3adc4ff6f: Download complete 17:05:16 46f8f816bc3b: Verifying Checksum 17:05:16 46f8f816bc3b: Download complete 17:05:16 df20fa9351a1: Verifying Checksum 17:05:16 df20fa9351a1: Download complete 17:05:16 93b9cdb0e59b: Verifying Checksum 17:05:16 93b9cdb0e59b: Download complete 17:05:16 93b61091891f: Verifying Checksum 17:05:16 93b61091891f: Download complete 17:05:16 5e14af77c1be: Download complete 17:05:16 01666e4c0597: Verifying Checksum 17:05:16 01666e4c0597: Download complete 17:05:17 df20fa9351a1: Pull complete 17:05:17 8ad3a11d3b57: Verifying Checksum 17:05:17 8ad3a11d3b57: Download complete 17:05:17 36b3adc4ff6f: Pull complete 17:05:17 8ad3a11d3b57: Pull complete 17:05:18 46f8f816bc3b: Pull complete 17:05:18 93b61091891f: Pull complete 17:05:19 93b9cdb0e59b: Pull complete 17:05:19 aa168da1d23b: Verifying Checksum 17:05:19 aa168da1d23b: Download complete 17:05:19 5e14af77c1be: Pull complete 17:05:19 01666e4c0597: Pull complete 17:05:25 aa168da1d23b: Pull complete 17:05:25 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:05:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:05:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:05:26 prd-centos7-docker-4c-2g-14497 does not seem to be running inside a container 17:05:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-rest-go_PR-59/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-59 -v /w/workspace/dgexfoundry_device-rest-go_PR-59:/w/workspace/dgexfoundry_device-rest-go_PR-59:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-59@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:05:29 $ docker top 2a1dee4bf42ac0e244c7508d8c0f898eaa7321d6a45a868dc23f98ba3fd5df29 -eo pid,comm [Pipeline] { [Pipeline] sh 17:05:30 + touch /tmp/pre-build-complete [Pipeline] sh 17:05:30 + mkdir -p /var/log/sa [Pipeline] sh 17:05:31 + ls /var/log/sa-host 17:05:31 + sadf -c /var/log/sa-host/sa04 17:05:31 file_magic: OK 17:05:31 HZ: Using current value: 100 17:05:31 file_header: OK 17:05:31 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:05:31 Statistics: 17:05:31 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:05:31 File successfully converted to sysstat format version 12.2.1 17:05:31 + sadf -c /var/log/sa-host/sa23 17:05:31 file_magic: OK 17:05:31 HZ: Using current value: 100 17:05:31 file_header: OK 17:05:31 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 17:05:31 Statistics: 17:05:31 Hnuu...uuuununununu... 17:05:31 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:05:31 provisioning config files... 17:05:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-59@tmp/config734021744345538484tmp [Pipeline] { [Pipeline] echo 17:05:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:05:32 ---> create-netrc.sh [Pipeline] } 17:05:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:05:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:05:32 ---> python-tools-install.sh [Pipeline] echo 17:05:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:05:32 ---> sudo-logs.sh 17:05:32 Archiving 'sudo' log.. [Pipeline] echo 17:05:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:05:33 ---> job-cost.sh 17:05:33 lf-activate-venv: SKIPPING 17:05:33 INFO: No Stack... 17:05:34 INFO: Retrieving Pricing Info for: v1-standard-2 17:05:34 INFO: Archiving Costs [Pipeline] echo 17:05:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:05:35 ---> logs-deploy.sh 17:05:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-59/2 17:05:35 INFO: archiving workspace using pattern(s): 17:05:37 Archives upload complete. 17:05:37 INFO: archiving logs to Nexus