Pull request #46 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee+cf586b04128a22612e4c07fc62a16321cfe56fab (6a760808d9cdeba6c60b2d51fdcc777db138b70b) 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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 ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2026 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [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-46 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --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 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 --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cf586b04128a22612e4c07fc62a16321cfe56fab into PR head commit 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee Merge succeeded, producing 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee Checking out Revision 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee (PR-46) > git config core.sparsecheckout # timeout=10 > git checkout -f 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee # 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 cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" First time build. Skipping changelog. > git rev-list --no-walk 3bccbf2b5216df66fda8041dab5ff333457f8127 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:45:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:45:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:45:19 ========================================================= 20:45:19 EdgeX Global Pipelines Version Info 20:45:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:45:21 ------------------- 20:45:21 stable info: 20:45:21 ------------------- 20:45:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:45:21 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 20:45:21 Message: update stable to v1.0.131 20:45:22 ------------------- 20:45:22 experimental info: 20:45:22 ------------------- 20:45:22 Commited By: **** collab-it+edgex@linuxfoundation.org 20:45:22 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 20:45:22 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 20:45:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:45:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:45:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:45:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:45:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:45:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:45:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:45:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:45:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:45:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:45:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:45:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:45:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:45:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:45:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:45:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-46 [Pipeline] echo 20:45:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-46 [Pipeline] echo 20:45:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-46 [Pipeline] echo 20:45:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee [Pipeline] echo 20:45:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53946c6 [Pipeline] echo 20:45:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:26 + git log --format=format:%s -1 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee [Pipeline] echo 20:45:26 GIT_COMMIT: 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 [Pipeline] echo 20:45:26 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:45:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:45:27 20:45:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:45:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:45:27 latest: Pulling from edgex-devops/git-semver 20:45:27 31603596830f: Pulling fs layer 20:45:27 2a8b12db71e7: Pulling fs layer 20:45:27 6ca5941a6612: Pulling fs layer 20:45:27 ecc8261a40a4: Pulling fs layer 20:45:27 ecc8261a40a4: Waiting 20:45:27 2a8b12db71e7: Verifying Checksum 20:45:27 2a8b12db71e7: Download complete 20:45:27 31603596830f: Verifying Checksum 20:45:27 31603596830f: Download complete 20:45:27 ecc8261a40a4: Verifying Checksum 20:45:27 ecc8261a40a4: Download complete 20:45:27 6ca5941a6612: Verifying Checksum 20:45:27 6ca5941a6612: Download complete 20:45:28 31603596830f: Pull complete 20:45:28 2a8b12db71e7: Pull complete 20:45:29 6ca5941a6612: Pull complete 20:45:30 ecc8261a40a4: Pull complete 20:45:30 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 20:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:45:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:45:30 prd-centos7-docker-4c-2g-2026 does not seem to be running inside a container 20:45:30 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-46 -v /w/workspace/dgexfoundry_device-rest-go_PR-46:/w/workspace/dgexfoundry_device-rest-go_PR-46:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-46@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:45:32 $ docker top b125ed9c8618cd26a0f82582eb1b862827c6c172416e97648ef7062a1937cfac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:45:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:33 [ssh-agent] Looking for ssh-agent implementation... 20:45:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:33 $ docker exec b125ed9c8618cd26a0f82582eb1b862827c6c172416e97648ef7062a1937cfac ssh-agent 20:45:33 SSH_AUTH_SOCK=/tmp/ssh-BEXkpoqXvlVO/agent.12 20:45:33 SSH_AGENT_PID=17 20:45:33 Running ssh-add (command line suppressed) 20:45:33 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_8608726809102414766.key (/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_8608726809102414766.key) 20:45:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:34 + git describe --exact-match --tags HEAD 20:45:34 fatal: no tag exactly matches '53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee' [Pipeline] } 20:45:34 $ docker exec --env ******** --env ******** b125ed9c8618cd26a0f82582eb1b862827c6c172416e97648ef7062a1937cfac ssh-agent -k 20:45:34 unset SSH_AUTH_SOCK; 20:45:34 unset SSH_AGENT_PID; 20:45:34 echo Agent pid 17 killed; 20:45:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:45:34 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 20:45:34 This usually means this commit has not been tagged. [Pipeline] sshagent 20:45:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:34 [ssh-agent] Looking for ssh-agent implementation... 20:45:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:34 $ docker exec b125ed9c8618cd26a0f82582eb1b862827c6c172416e97648ef7062a1937cfac ssh-agent 20:45:34 SSH_AUTH_SOCK=/tmp/ssh-etOuJby9uoip/agent.47 20:45:34 SSH_AGENT_PID=52 20:45:34 Running ssh-add (command line suppressed) 20:45:34 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_2610002730974568391.key (/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_2610002730974568391.key) 20:45:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:35 + git semver init 20:45:35 # -> Open(): unable to determine branch for HEAD 20:45:35 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-46/.git 20:45:35 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-46 20:45:35 # $SEMVER_REMOTE_NAME = origin 20:45:35 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:45:35 # $SEMVER_USER_NAME = edgex-jenkins 20:45:35 # $SEMVER_BRANCH = PR-46 20:45:35 # $SEMVER_TEMP = /tmp/semver-958372718 20:45:35 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:45:36 # '/tmp/semver-958372718' -> '/w/workspace/dgexfoundry_device-rest-go_PR-46/.semver' 20:45:36 # -> Force: false 20:45:36 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-46/.semver [Pipeline] } 20:45:36 $ docker exec --env ******** --env ******** b125ed9c8618cd26a0f82582eb1b862827c6c172416e97648ef7062a1937cfac ssh-agent -k 20:45:36 unset SSH_AUTH_SOCK; 20:45:36 unset SSH_AGENT_PID; 20:45:36 echo Agent pid 52 killed; 20:45:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:45:37 + git semver [Pipeline] } 20:45:37 $ docker stop --time=1 b125ed9c8618cd26a0f82582eb1b862827c6c172416e97648ef7062a1937cfac 20:45:39 $ docker rm -f b125ed9c8618cd26a0f82582eb1b862827c6c172416e97648ef7062a1937cfac [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 20:45:40 Stashed 25 file(s) [Pipeline] echo 20:45:40 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 20:45:40 Archived original 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 20:45:56 Still waiting to schedule task 20:45:56 ‘prd-centos7-docker-4c-2g-2027’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-2024’ doesn’t have label ‘centos7-docker-4c-2g’ 20:45:56 Still waiting to schedule task 20:45:56 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2024’ is offline 20:46:03 Running on prd-centos7-docker-4c-2g-2027 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [Pipeline] { [Pipeline] ws 20:46:03 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 20:46:06 using credential edgex-jenkins-ssh 20:46:06 Cloning the remote Git repository 20:46:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:46:06 > git init /w/workspace/device-rest-go/2 # timeout=10 20:46:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:46:06 > git --version # timeout=10 20:46:06 > git --version # 'git version 2.16.5' 20:46:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:06 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:46:08 Merging remotes/origin/master commit cf586b04128a22612e4c07fc62a16321cfe56fab into PR head commit 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee 20:46:08 Merge succeeded, producing 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee 20:46:08 Checking out Revision 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee (PR-46) 20:46:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:46:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:46:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:46:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:46:07 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:07 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:46:08 > git config core.sparsecheckout # timeout=10 20:46:08 > git checkout -f 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee # timeout=10 20:46:08 > git remote # timeout=10 20:46:08 > git config --get remote.origin.url # timeout=10 20:46:08 using GIT_SSH to set credentials SSH Credentials for GitHub 20:46:08 > git merge cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 20:46:08 > git rev-parse HEAD^{commit} # timeout=10 20:46:08 > git config core.sparsecheckout # timeout=10 20:46:08 > git checkout -f 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee # timeout=10 20:46:11 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:46:13 ========================================================= 20:46:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 20:46:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:46:13 + 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 . 20:46:14 Sending build context to Docker daemon 8.062MB 20:46:14 Step 1/10 : ARG BASE=golang:1.15-alpine 20:46:14 Step 2/10 : FROM ${BASE} 20:46:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 20:46:14 df20fa9351a1: Pulling fs layer 20:46:14 ed8968b2872e: Pulling fs layer 20:46:14 a92cc7c5fd73: Pulling fs layer 20:46:14 e871e8e8d7a9: Pulling fs layer 20:46:14 e73272ec9a57: Pulling fs layer 20:46:14 1e910a182e73: Pulling fs layer 20:46:14 4e634b169226: Pulling fs layer 20:46:14 e73272ec9a57: Waiting 20:46:14 1e910a182e73: Waiting 20:46:14 4e634b169226: Waiting 20:46:14 e871e8e8d7a9: Waiting 20:46:14 a92cc7c5fd73: Verifying Checksum 20:46:14 a92cc7c5fd73: Download complete 20:46:14 ed8968b2872e: Verifying Checksum 20:46:14 ed8968b2872e: Download complete 20:46:14 e73272ec9a57: Verifying Checksum 20:46:14 e73272ec9a57: Download complete 20:46:14 1e910a182e73: Verifying Checksum 20:46:14 1e910a182e73: Download complete 20:46:14 df20fa9351a1: Verifying Checksum 20:46:14 df20fa9351a1: Download complete 20:46:14 df20fa9351a1: Pull complete 20:46:14 ed8968b2872e: Pull complete 20:46:15 a92cc7c5fd73: Pull complete 20:46:17 4e634b169226: Verifying Checksum 20:46:17 4e634b169226: Download complete 20:46:17 e871e8e8d7a9: Verifying Checksum 20:46:17 e871e8e8d7a9: Download complete 20:46:23 e871e8e8d7a9: Pull complete 20:46:23 e73272ec9a57: Pull complete 20:46:23 1e910a182e73: Pull complete 20:46:28 4e634b169226: Pull complete 20:46:28 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 20:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 20:46:28 ---> f7629b54cfaa 20:46:28 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 20:46:28 ---> Running in 8312241791ef 20:46:28 Removing intermediate container 8312241791ef 20:46:28 ---> e8da311c2bfa 20:46:28 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:46:28 ---> Running in 1875ba957e51 20:46:28 Removing intermediate container 1875ba957e51 20:46:28 ---> e6c364d5db57 20:46:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:46:28 ---> Running in 9faac9470881 20:46:29 Removing intermediate container 9faac9470881 20:46:29 ---> 8f75ee352a0f 20:46:29 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:46:29 ---> Running in 27094b752123 20:46:30 Removing intermediate container 27094b752123 20:46:30 ---> eb555e3b8488 20:46:30 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:30 ---> Running in f7090f6e6128 20:46:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 20:46:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 20:46:32 OK: 166 MiB in 39 packages 20:46:32 Removing intermediate container f7090f6e6128 20:46:32 ---> 146b5998fb06 20:46:32 Step 8/10 : WORKDIR /device-rest-go 20:46:32 ---> Running in ae739756fa4e 20:46:32 Removing intermediate container ae739756fa4e 20:46:32 ---> 8fb4dadbd522 20:46:32 Step 9/10 : COPY . . 20:46:33 ---> 8b2be272aeb4 20:46:33 Step 10/10 : RUN go mod download 20:46:33 ---> Running in 03e1ed79ccfc 20:46:45 Removing intermediate container 03e1ed79ccfc 20:46:45 ---> 57e22b541cce 20:46:45 Successfully built 57e22b541cce 20:46:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:46:46 + docker inspect -f . ci-base-image-x86_64 20:46:46 . [Pipeline] withDockerContainer 20:46:46 prd-centos7-docker-4c-2g-2027 does not seem to be running inside a container 20:46:46 $ 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 ******** ci-base-image-x86_64 cat 20:46:47 $ docker top a95afd17a07fc7ecf2522dfb95175ff4a00080b53cb495e4b5c44d476614d7f8 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:48 + go version 20:46:48 go version go1.15.2 linux/amd64 [Pipeline] } 20:46:48 $ docker stop --time=1 a95afd17a07fc7ecf2522dfb95175ff4a00080b53cb495e4b5c44d476614d7f8 20:46:49 $ docker rm -f a95afd17a07fc7ecf2522dfb95175ff4a00080b53cb495e4b5c44d476614d7f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:46:51 + docker inspect -f . ci-base-image-x86_64 20:46:51 . [Pipeline] withDockerContainer 20:46:51 prd-centos7-docker-4c-2g-2027 does not seem to be running inside a container 20:46:51 $ 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 ******** ci-base-image-x86_64 cat 20:46:51 $ docker top f2246aaf9a4fef392bd36ad90597e242cc167147bc1523fb01e17fe835172941 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:52 + make test 20:46:52 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:46:53 ? github.com/edgexfoundry/device-rest-go [no test files] 20:47:05 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:47:05 ok github.com/edgexfoundry/device-rest-go/driver 0.054s coverage: 56.3% of statements 20:47:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:47:05 gofmt -l . 20:47:05 [ "`gofmt -l .`" = "" ] 20:47:06 ./bin/test-go-mod-tidy.sh 20:47:06 ./bin/test-attribution-txt.sh 20:47:06 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 20:47:06 make: *** [Makefile:28: test] Error 1 [Pipeline] } 20:47:06 $ docker stop --time=1 f2246aaf9a4fef392bd36ad90597e242cc167147bc1523fb01e17fe835172941 20:47:08 $ docker rm -f f2246aaf9a4fef392bd36ad90597e242cc167147bc1523fb01e17fe835172941 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:47:10 Failed in branch amd64 20:47:58 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2029 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [Pipeline] { [Pipeline] ws 20:47:58 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 20:48:03 using credential edgex-jenkins-ssh 20:48:03 Cloning the remote Git repository 20:48:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:48:04 > git init /w/workspace/device-rest-go/2 # timeout=10 20:48:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:48:04 > git --version # timeout=10 20:48:04 > git --version # 'git version 2.17.1' 20:48:04 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:06 Merging remotes/origin/master commit cf586b04128a22612e4c07fc62a16321cfe56fab into PR head commit 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee 20:48:06 Merge succeeded, producing 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee 20:48:06 Checking out Revision 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee (PR-46) 20:48:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:48:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:48:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:48:05 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/46/head:refs/remotes/origin/PR-46 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:48:06 > git config core.sparsecheckout # timeout=10 20:48:06 > git checkout -f 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee # timeout=10 20:48:06 > git remote # timeout=10 20:48:06 > git config --get remote.origin.url # timeout=10 20:48:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:06 > git merge cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 20:48:06 > git rev-parse HEAD^{commit} # timeout=10 20:48:06 > git config core.sparsecheckout # timeout=10 20:48:06 > git checkout -f 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee # timeout=10 20:48:10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 20:48:12 ========================================================= 20:48:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 20:48:12 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:48:13 + 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 . 20:48:14 Sending build context to Docker daemon 8.062MB 20:48:14 Step 1/10 : ARG BASE=golang:1.15-alpine 20:48:14 Step 2/10 : FROM ${BASE} 20:48:15 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:48:15 b538f80385f9: Pulling fs layer 20:48:15 74f711af9a0d: Pulling fs layer 20:48:15 99f96fe45779: Pulling fs layer 20:48:15 8529a6b9a6be: Pulling fs layer 20:48:15 45590311c82a: Pulling fs layer 20:48:15 69ca0ff8b7b3: Pulling fs layer 20:48:15 209524e5b208: Pulling fs layer 20:48:15 45590311c82a: Waiting 20:48:15 69ca0ff8b7b3: Waiting 20:48:15 8529a6b9a6be: Waiting 20:48:15 209524e5b208: Waiting 20:48:15 99f96fe45779: Verifying Checksum 20:48:15 99f96fe45779: Download complete 20:48:15 74f711af9a0d: Verifying Checksum 20:48:15 74f711af9a0d: Download complete 20:48:15 45590311c82a: Verifying Checksum 20:48:15 45590311c82a: Download complete 20:48:15 69ca0ff8b7b3: Verifying Checksum 20:48:15 69ca0ff8b7b3: Download complete 20:48:15 b538f80385f9: Verifying Checksum 20:48:15 b538f80385f9: Download complete 20:48:16 b538f80385f9: Pull complete 20:48:16 74f711af9a0d: Pull complete 20:48:17 99f96fe45779: Pull complete 20:48:18 209524e5b208: Download complete 20:48:19 8529a6b9a6be: Verifying Checksum 20:48:19 8529a6b9a6be: Download complete 20:48:29 8529a6b9a6be: Pull complete 20:48:30 45590311c82a: Pull complete 20:48:30 69ca0ff8b7b3: Pull complete 20:48:33 209524e5b208: Pull complete 20:48:33 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 20:48:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 20:48:33 ---> 5bddaf1c2fca 20:48:33 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 20:48:37 ---> Running in 67b530e9d83d 20:48:37 Removing intermediate container 67b530e9d83d 20:48:37 ---> 3b10dd636b36 20:48:37 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 20:48:37 ---> Running in b3f976bbec23 20:48:37 Removing intermediate container b3f976bbec23 20:48:37 ---> 460c40a935f4 20:48:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:48:37 ---> Running in 3c2d7efe3efd 20:48:38 Removing intermediate container 3c2d7efe3efd 20:48:38 ---> f1417596cd98 20:48:38 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:48:38 ---> Running in 87cbbd9ea1b8 20:48:40 Removing intermediate container 87cbbd9ea1b8 20:48:40 ---> 0cc41bc70efe 20:48:40 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:48:40 ---> Running in db3854bb8c50 20:48:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 20:48:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 20:48:43 OK: 142 MiB in 39 packages 20:48:44 Removing intermediate container db3854bb8c50 20:48:44 ---> 541eb2d56409 20:48:44 Step 8/10 : WORKDIR /device-rest-go 20:48:44 ---> Running in 765ccb5d60c5 20:48:45 Removing intermediate container 765ccb5d60c5 20:48:45 ---> b5d8a698dc17 20:48:45 Step 9/10 : COPY . . 20:48:46 ---> 4f637b39018c 20:48:46 Step 10/10 : RUN go mod download 20:48:46 ---> Running in 0002dfa014c9 20:49:01 Removing intermediate container 0002dfa014c9 20:49:01 ---> 05178dbc8771 20:49:01 Successfully built 05178dbc8771 20:49:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:49:02 + docker inspect -f . ci-base-image-arm64 20:49:02 . [Pipeline] withDockerContainer 20:49:02 prd-ubuntu18.04-docker-arm64-4c-16g-2029 does not seem to be running inside a container 20:49:02 $ 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 ******** ci-base-image-arm64 cat 20:49:04 $ docker top 8b54056c35905e9a4f39340c1085b8bdcff836deed6b914704f2fb49652c0bc6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:05 + go version 20:49:05 go version go1.15.2 linux/arm64 [Pipeline] } 20:49:05 $ docker stop --time=1 8b54056c35905e9a4f39340c1085b8bdcff836deed6b914704f2fb49652c0bc6 20:49:07 $ docker rm -f 8b54056c35905e9a4f39340c1085b8bdcff836deed6b914704f2fb49652c0bc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:49:08 + docker inspect -f . ci-base-image-arm64 20:49:08 . [Pipeline] withDockerContainer 20:49:08 prd-ubuntu18.04-docker-arm64-4c-16g-2029 does not seem to be running inside a container 20:49:09 $ 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 ******** ci-base-image-arm64 cat 20:49:10 $ docker top 871da7f248d40225a8b6b56c49b99bf9d055edcbfbf33f90be8c40f5c7513a3a -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:12 + make test 20:49:12 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:49:13 ? github.com/edgexfoundry/device-rest-go [no test files] 20:49:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:49:45 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 56.3% of statements 20:49:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 20:49:52 gofmt -l . 20:49:52 [ "`gofmt -l .`" = "" ] 20:49:52 ./bin/test-go-mod-tidy.sh 20:49:52 ./bin/test-attribution-txt.sh 20:49:52 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 20:49:52 make: *** [Makefile:28: test] Error 1 [Pipeline] } 20:49:52 $ docker stop --time=1 871da7f248d40225a8b6b56c49b99bf9d055edcbfbf33f90be8c40f5c7513a3a 20:49:54 $ docker rm -f 871da7f248d40225a8b6b56c49b99bf9d055edcbfbf33f90be8c40f5c7513a3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:49:56 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 20:49:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:50:00 ---> package-listing.sh 20:50:00 ++ facter osfamily 20:50:00 ++ tr '[:upper:]' '[:lower:]' 20:50:00 + OS_FAMILY=redhat 20:50:00 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-46 20:50:00 + START_PACKAGES=/tmp/packages_start.txt 20:50:00 + END_PACKAGES=/tmp/packages_end.txt 20:50:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:50:00 + PACKAGES=/tmp/packages_start.txt 20:50:00 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-46 ']' 20:50:00 + PACKAGES=/tmp/packages_end.txt 20:50:00 + case "${OS_FAMILY}" in 20:50:00 + rpm -qa 20:50:00 + sort 20:50:04 + '[' -f /tmp/packages_start.txt ']' 20:50:04 + '[' -f /tmp/packages_end.txt ']' 20:50:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:50:04 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-46 ']' 20:50:04 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-46/archives/ 20:50:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-46/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:50:04 provisioning config files... 20:50:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/config7113879759214495394tmp [Pipeline] { [Pipeline] echo 20:50:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:50:05 ---> create-netrc.sh [Pipeline] } 20:50:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:50:05 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:50:05 ---> python-tools-install.sh 20:50:05 Generating Requirements File 20:51:27 Python 3.6.8 20:51:27 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 20:51:27 aiohttp==3.6.2 20:51:27 appdirs==1.4.3 20:51:27 argcomplete==1.12.1 20:51:27 aspy.yaml==1.3.0 20:51:27 async-timeout==3.0.1 20:51:27 attrs==19.3.0 20:51:27 Babel==2.8.0 20:51:27 beautifulsoup4==4.8.2 20:51:27 boto3==1.11.6 20:51:27 botocore==1.14.6 20:51:27 bs4==0.0.1 20:51:27 cachetools==4.1.1 20:51:27 certifi==2019.11.28 20:51:27 cffi==1.14.3 20:51:27 cfgv==2.0.1 20:51:27 chardet==3.0.4 20:51:27 click==7.1 20:51:27 cliff==3.4.0 20:51:27 cmd2==1.3.10 20:51:27 colorama==0.4.3 20:51:27 cryptography==3.1.1 20:51:27 debtcollector==2.2.0 20:51:27 decorator==4.4.2 20:51:27 defusedxml==0.6.0 20:51:27 Deprecated==1.2.7 20:51:27 distlib==0.3.1 20:51:27 distro==1.2.0 20:51:27 dnspython==1.16.0 20:51:27 docker==4.2.0 20:51:27 docutils==0.15.2 20:51:27 dogpile.cache==1.0.2 20:51:27 email-validator==1.0.5 20:51:27 filelock==3.0.12 20:51:27 future==0.18.2 20:51:27 google-auth==1.22.0 20:51:27 httplib2==0.17.0 20:51:27 identify==1.4.11 20:51:27 idna==2.9 20:51:27 idna-ssl==1.1.0 20:51:27 importlib-metadata==1.7.0 20:51:27 importlib-resources==1.5.0 20:51:27 iso8601==0.1.13 20:51:27 Jinja2==2.11.1 20:51:27 jmespath==0.10.0 20:51:27 jsonpatch==1.26 20:51:27 jsonpointer==2.0 20:51:27 jsonschema==3.2.0 20:51:27 keystoneauth1==4.2.1 20:51:27 kubernetes==11.0.0 20:51:27 lftools==0.34.2 20:51:27 lxml==4.5.0 20:51:27 MarkupSafe==0.23 20:51:27 msgpack==1.0.0 20:51:27 multi-key-dict==2.0.3 20:51:27 multidict==4.7.6 20:51:27 munch==2.5.0 20:51:27 netaddr==0.8.0 20:51:27 netifaces==0.10.9 20:51:27 niet==1.4.2 20:51:27 nodeenv==1.3.5 20:51:27 oauth2client==4.1.3 20:51:27 oauthlib==3.1.0 20:51:27 openstacksdk==0.50.0 20:51:27 os-client-config==2.1.0 20:51:27 os-service-types==1.7.0 20:51:27 osc-lib==2.2.1 20:51:27 oslo.config==8.3.2 20:51:27 oslo.context==3.1.1 20:51:27 oslo.i18n==5.0.1 20:51:27 oslo.log==4.4.0 20:51:27 oslo.serialization==4.0.1 20:51:27 oslo.utils==4.6.0 20:51:27 packaging==20.4 20:51:27 pbr==5.4.4 20:51:27 pluggy==0.13.1 20:51:27 prettytable==0.7.2 20:51:27 py==1.9.0 20:51:27 pyasn1==0.4.8 20:51:27 pyasn1-modules==0.2.8 20:51:27 pycparser==2.20 20:51:27 pygerrit2==2.0.10 20:51:27 PyGithub==1.46 20:51:27 pyinotify==0.9.6 20:51:27 PyJWT==1.7.1 20:51:27 pyparsing==2.4.7 20:51:27 pyperclip==1.8.0 20:51:27 pyroute2==0.4.13 20:51:27 pyrsistent==0.15.7 20:51:27 PySocks==1.6.8 20:51:27 python-cinderclient==7.2.0 20:51:27 python-dateutil==2.8.1 20:51:27 python-heatclient==2.2.1 20:51:27 python-jenkins==1.7.0 20:51:27 python-keystoneclient==4.1.1 20:51:27 python-magnumclient==3.2.1 20:51:27 python-novaclient==17.2.1 20:51:27 python-openstackclient==5.3.1 20:51:27 python-swiftclient==3.10.1 20:51:27 pytz==2020.1 20:51:27 PyYAML==5.3 20:51:27 requests==2.23.0 20:51:27 requests-oauthlib==1.3.0 20:51:27 requestsexceptions==1.4.0 20:51:27 rfc3986==1.4.0 20:51:27 rpm==4.11.3 20:51:27 rsa==4.0 20:51:27 ruamel.yaml==0.16.10 20:51:27 ruamel.yaml.clib==0.2.0 20:51:27 s3transfer==0.3.3 20:51:27 shade==1.27.2 20:51:27 simplejson==3.17.2 20:51:27 six==1.14.0 20:51:27 soupsieve==2.0 20:51:27 stevedore==3.2.2 20:51:27 tabulate==0.8.6 20:51:27 toml==0.10.0 20:51:27 tox==3.20.0 20:51:27 tqdm==4.43.0 20:51:27 typing-extensions==3.7.4.3 20:51:27 urllib3==1.25.8 20:51:27 virtualenv==20.0.31 20:51:27 wcwidth==0.2.5 20:51:27 websocket-client==0.57.0 20:51:27 wrapt==1.12.1 20:51:27 xdg==3.0.2 20:51:27 xmltodict==0.12.0 20:51:27 yarl==1.6.0 20:51:27 yq==2.11.1 20:51:27 zipp==3.2.0 20:51:27 Cache entry deserialization failed, entry ignored 20:51:27 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 20:51:27 Python 2.7.5 20:51:27 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 20:51:27 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. 20:51:27 ansible==2.9.7 20:51:27 Babel==0.9.6 20:51:27 backports.ssl-match-hostname==3.5.0.1 20:51:27 beautifulsoup4==4.4.1 20:51:27 bodhi==2.11.0 20:51:27 bodhi-client==2.11.0 20:51:27 CCColUtils==1.4 20:51:27 cffi==1.6.0 20:51:27 chardet==2.2.1 20:51:27 click==6.7 20:51:27 cloud-init==18.5 20:51:27 configobj==4.7.2 20:51:27 cryptography==1.7.2 20:51:27 decorator==3.4.0 20:51:27 distro==1.2.0 20:51:27 enum34==1.0.4 20:51:27 fedpkg==1.38 20:51:27 futures==3.1.1 20:51:27 gitdb==0.6.4 20:51:27 GitPython==1.0.1 20:51:27 html5lib==0.999 20:51:27 httplib2==0.9.2 20:51:27 idna==2.4 20:51:27 iniparse==0.4 20:51:27 ipaddress==1.0.16 20:51:27 IPy==0.75 20:51:27 javapackages==1.0.0 20:51:27 Jinja2==2.7.2 20:51:27 jmespath==0.9.4 20:51:27 jsonpatch==1.2 20:51:27 jsonpointer==1.9 20:51:27 kerberos==1.1 20:51:27 kitchen==1.1.1 20:51:27 langtable==0.0.31 20:51:27 lockfile==0.9.1 20:51:27 lxml==3.2.1 20:51:27 MarkupSafe==0.11 20:51:27 munch==2.0.2 20:51:27 offtrac==0.1.0 20:51:27 openidc-client==0.6.0 20:51:27 packagedb-cli==2.14.1 20:51:27 paramiko==2.1.1 20:51:27 perf==0.1 20:51:27 ply==3.4 20:51:27 policycoreutils-default-encoding==0.1 20:51:27 prettytable==0.7.2 20:51:27 pyasn1==0.1.9 20:51:27 pycparser==2.14 20:51:27 pycurl==7.19.0 20:51:27 pygobject==3.22.0 20:51:27 pygpgme==0.3 20:51:27 pyliblzma==0.5.3 20:51:27 pyOpenSSL==0.13.1 20:51:27 pyparsing==1.5.6 20:51:27 pyserial==2.6 20:51:27 python-augeas==0.5.0 20:51:27 python-bugzilla==2.3.0 20:51:27 python-dateutil==1.5 20:51:27 python-fedora==0.10.0 20:51:27 python-linux-procfs==0.4.9 20:51:27 python-yubico==1.2.3 20:51:27 pyudev==0.15 20:51:27 pyusb==1.0.0b1 20:51:27 pyxattr==0.5.1 20:51:27 PyYAML==3.10 20:51:27 requests==2.6.0 20:51:27 requests-kerberos==0.7.0 20:51:27 rpkg==1.60 20:51:27 schedutils==0.4 20:51:27 seobject==0.1 20:51:27 sepolicy==1.1 20:51:27 six==1.9.0 20:51:27 smmap==0.9.0 20:51:27 urlgrabber==3.10 20:51:27 urllib3==1.10.2 20:51:27 virtualenv==15.1.0 20:51:27 yum-langpacks==0.4.2 20:51:27 yum-metadata-parser==1.1.4 [Pipeline] echo 20:51:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:51:27 ---> sudo-logs.sh 20:51:27 Archiving 'sudo' log.. [Pipeline] echo 20:51:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:51:28 ---> job-cost.sh 20:51:28 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-vBmF 20:51:40 Cache entry deserialization failed, entry ignored 20:51:40 Cache entry deserialization failed, entry ignored 20:51:41 Cache entry deserialization failed, entry ignored 20:51:41 Cache entry deserialization failed, entry ignored 20:51:41 Cache entry deserialization failed, entry ignored 20:51:41 Cache entry deserialization failed, entry ignored 20:51:41 Cache entry deserialization failed, entry ignored 20:51:41 Cache entry deserialization failed, entry ignored 20:51:41 Cache entry deserialization failed, entry ignored 20:51:41 Cache entry deserialization failed, entry ignored 20:51:42 Cache entry deserialization failed, entry ignored 20:51:42 Cache entry deserialization failed, entry ignored 20:51:42 Cache entry deserialization failed, entry ignored 20:51:45 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:52:12 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 20:52:12 20:52:12 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 20:52:12 20:52:12 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 20:52:13 lf-activate-venv(): INFO: Adding /tmp/venv-vBmF/bin to PATH 20:52:13 INFO: No Stack... 20:52:14 INFO: Retrieving Pricing Info for: v1-standard-2 20:52:15 INFO: Archiving Costs [Pipeline] echo 20:52:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:52:15 ---> logs-deploy.sh 20:52:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-46/2 20:52:15 INFO: archiving workspace using pattern(s): 20:52:17 Archives upload complete. 20:52:17 INFO: archiving logs to Nexus 20:52:18 ---> uname -a: 20:52:18 Linux prd-centos7-docker-4c-2g-2026.vexxhost.local 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 20:52:18 20:52:18 20:52:18 ---> lscpu: 20:52:18 Architecture: x86_64 20:52:18 CPU op-mode(s): 32-bit, 64-bit 20:52:18 Byte Order: Little Endian 20:52:18 CPU(s): 4 20:52:18 On-line CPU(s) list: 0-3 20:52:18 Thread(s) per core: 1 20:52:18 Core(s) per socket: 1 20:52:18 Socket(s): 4 20:52:18 NUMA node(s): 1 20:52:18 Vendor ID: GenuineIntel 20:52:18 CPU family: 6 20:52:18 Model: 44 20:52:18 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:52:18 Stepping: 1 20:52:18 CPU MHz: 2933.442 20:52:18 BogoMIPS: 5866.88 20:52:18 Virtualization: VT-x 20:52:18 Hypervisor vendor: KVM 20:52:18 Virtualization type: full 20:52:18 L1d cache: 32K 20:52:18 L1i cache: 32K 20:52:18 L2 cache: 4096K 20:52:18 L3 cache: 16384K 20:52:18 NUMA node0 CPU(s): 0-3 20:52:18 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 20:52:18 20:52:18 20:52:18 ---> nproc: 20:52:18 4 20:52:18 20:52:18