Pull request #46 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 0f60892254390497993418a5736ab1b9fc8af45b+4f6fe4f9eeeb2b13b70d00045467dd3723511a77 (a58c95916774fb6683af90b32ca1866705c297b7) 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a 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 f3f382fce060f16c10d6f597981912fab355381a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3f382fce060f16c10d6f597981912fab355381a # timeout=10 Commit message: "Merge pull request #282 from ernestojeda/catch-log-publishing-errors" > 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-9458 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 Merging remotes/origin/master commit 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 into PR head commit 0f60892254390497993418a5736ab1b9fc8af45b Merge succeeded, producing 0f60892254390497993418a5736ab1b9fc8af45b Checking out Revision 0f60892254390497993418a5736ab1b9fc8af45b (PR-46) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f60892254390497993418a5736ab1b9fc8af45b # 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 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0f60892254390497993418a5736ab1b9fc8af45b # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" First time build. Skipping changelog. [Pipeline] } > git rev-list --no-walk 53946c652c6ed7b4a2111ed7d7baf85dd2e2f6ee # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:25:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:25:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:25:37 ========================================================= 11:25:37 EdgeX Global Pipelines Version Info 11:25:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:25:39 ------------------- 11:25:39 stable info: 11:25:39 ------------------- 11:25:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:25:39 Commit SHA: f3f382fce060f16c10d6f597981912fab355381a 11:25:39 Message: update stable to v1.0.148 11:25:40 ------------------- 11:25:40 experimental info: 11:25:40 ------------------- 11:25:40 Commited By: **** collab-it+edgex@linuxfoundation.org 11:25:40 Commit SHA: 14412ea6c559e203c60c6aec71a1cbd01eb2e17f 11:25:40 Message: update experimental to v1.0.152 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 11:25:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 11:25:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 11:25:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:25:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:25:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:25:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 11:25:41 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 11:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 11:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 11:25:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:25:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:25:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:25:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:25:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:25:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:25:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:25:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:25:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:25:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:25:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:25:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:25:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:25:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-46 [Pipeline] echo 11:25:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-46 [Pipeline] echo 11:25:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-46 [Pipeline] echo 11:25:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f60892254390497993418a5736ab1b9fc8af45b [Pipeline] echo 11:25:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f60892 [Pipeline] echo 11:25:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:25:44 + git log --format=format:%s -1 0f60892254390497993418a5736ab1b9fc8af45b [Pipeline] echo 11:25:44 GIT_COMMIT: 0f60892254390497993418a5736ab1b9fc8af45b, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.6.1 [Pipeline] echo 11:25:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 11:25:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:25:45 11:25:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:25:45 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:25:45 latest: Pulling from edgex-devops/git-semver 11:25:45 31603596830f: Pulling fs layer 11:25:45 2a8b12db71e7: Pulling fs layer 11:25:45 6ca5941a6612: Pulling fs layer 11:25:45 ecc8261a40a4: Pulling fs layer 11:25:45 ecc8261a40a4: Waiting 11:25:45 2a8b12db71e7: Verifying Checksum 11:25:45 2a8b12db71e7: Download complete 11:25:46 31603596830f: Verifying Checksum 11:25:46 31603596830f: Download complete 11:25:46 ecc8261a40a4: Verifying Checksum 11:25:46 ecc8261a40a4: Download complete 11:25:46 6ca5941a6612: Verifying Checksum 11:25:46 6ca5941a6612: Download complete 11:25:46 31603596830f: Pull complete 11:25:46 2a8b12db71e7: Pull complete 11:25:47 6ca5941a6612: Pull complete 11:25:47 ecc8261a40a4: Pull complete 11:25:47 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 11:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:25:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:25:47 prd-centos7-docker-4c-2g-9458 does not seem to be running inside a container 11:25:47 $ docker run -t -d -u 1001:1001 -u 0:0 -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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:25:49 $ docker top 9e59cc03db4cdddb76d8e0acbe0c0aa794c48da43f0d7c7d3ceae9762674c54b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:25:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:25:50 [ssh-agent] Looking for ssh-agent implementation... 11:25:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:25:50 $ docker exec 9e59cc03db4cdddb76d8e0acbe0c0aa794c48da43f0d7c7d3ceae9762674c54b ssh-agent 11:25:50 SSH_AUTH_SOCK=/tmp/ssh-BBe2p6xv21AD/agent.11 11:25:50 SSH_AGENT_PID=17 11:25:50 Running ssh-add (command line suppressed) 11:25:50 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_6849364276476916476.key (/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_6849364276476916476.key) 11:25:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:25:50 + git tag --points-at HEAD [Pipeline] } 11:25:50 $ docker exec --env ******** --env ******** 9e59cc03db4cdddb76d8e0acbe0c0aa794c48da43f0d7c7d3ceae9762674c54b ssh-agent -k 11:25:51 unset SSH_AUTH_SOCK; 11:25:51 unset SSH_AGENT_PID; 11:25:51 echo Agent pid 17 killed; 11:25:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:25:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:25:51 [ssh-agent] Looking for ssh-agent implementation... 11:25:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:25:51 $ docker exec 9e59cc03db4cdddb76d8e0acbe0c0aa794c48da43f0d7c7d3ceae9762674c54b ssh-agent 11:25:51 SSH_AUTH_SOCK=/tmp/ssh-kbUqAhxAG8uX/agent.47 11:25:51 SSH_AGENT_PID=53 11:25:51 Running ssh-add (command line suppressed) 11:25:51 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_4897308832610419643.key (/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/private_key_4897308832610419643.key) 11:25:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:25:52 + git semver init 11:25:52 # -> Open(): unable to determine branch for HEAD 11:25:52 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-46/.git 11:25:52 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-46 11:25:52 # $SEMVER_REMOTE_NAME = origin 11:25:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:25:52 # $SEMVER_USER_NAME = edgex-jenkins 11:25:52 # $SEMVER_BRANCH = PR-46 11:25:52 # $SEMVER_TEMP = /tmp/semver-456515177 11:25:52 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 11:25:53 # '/tmp/semver-456515177' -> '/w/workspace/dgexfoundry_device-rest-go_PR-46/.semver' 11:25:53 # -> Force: false 11:25:53 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-46/.semver [Pipeline] } 11:25:53 $ docker exec --env ******** --env ******** 9e59cc03db4cdddb76d8e0acbe0c0aa794c48da43f0d7c7d3ceae9762674c54b ssh-agent -k 11:25:53 unset SSH_AUTH_SOCK; 11:25:53 unset SSH_AGENT_PID; 11:25:53 echo Agent pid 53 killed; 11:25:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:25:53 + git semver [Pipeline] } 11:25:53 $ docker stop --time=1 9e59cc03db4cdddb76d8e0acbe0c0aa794c48da43f0d7c7d3ceae9762674c54b 11:25:55 $ docker rm -f 9e59cc03db4cdddb76d8e0acbe0c0aa794c48da43f0d7c7d3ceae9762674c54b [Pipeline] // withDockerContainer [Pipeline] sh 11:25:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:25:56 Stashed 1 file(s) [Pipeline] echo 11:25:56 [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 11:26:12 Still waiting to schedule task 11:26:12 ‘prd-centos7-docker-4c-2g-3642’ is offline; ‘prd-centos7-docker-4c-2g-9456’ is offline; ‘prd-centos7-docker-4c-2g-9457’ is offline; ‘prd-centos7-docker-4c-2g-9461’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-6371’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-9459’ doesn’t have label ‘centos7-docker-4c-2g’ 11:26:12 Still waiting to schedule task 11:26:12 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:28:59 Running on prd-ubuntu18.04-docker-arm64-4c-16g-9462 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [Pipeline] { [Pipeline] ws 11:28:59 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 11:29:03 using credential edgex-jenkins-ssh 11:29:03 Cloning the remote Git repository 11:29:03 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:29:03 > git init /w/workspace/device-rest-go/4 # timeout=10 11:29:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:29:04 > git --version # timeout=10 11:29:04 > git --version # 'git version 2.17.1' 11:29:04 using GIT_SSH to set credentials SSH Credentials for GitHub 11:29:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:29:06 Merging remotes/origin/master commit 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 into PR head commit 0f60892254390497993418a5736ab1b9fc8af45b 11:29:06 Merge succeeded, producing 0f60892254390497993418a5736ab1b9fc8af45b 11:29:06 Checking out Revision 0f60892254390497993418a5736ab1b9fc8af45b (PR-46) 11:29:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:29:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:29:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:29:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:29:05 using GIT_SSH to set credentials SSH Credentials for GitHub 11:29: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 11:29:06 > git config core.sparsecheckout # timeout=10 11:29:06 > git checkout -f 0f60892254390497993418a5736ab1b9fc8af45b # timeout=10 11:29:06 > git remote # timeout=10 11:29:06 > git config --get remote.origin.url # timeout=10 11:29:06 using GIT_SSH to set credentials SSH Credentials for GitHub 11:29:06 > git merge 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 11:29:06 > git rev-parse HEAD^{commit} # timeout=10 11:29:06 > git config core.sparsecheckout # timeout=10 11:29:06 > git checkout -f 0f60892254390497993418a5736ab1b9fc8af45b # timeout=10 11:29: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 11:29:11 ========================================================= 11:29:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 11:29:11 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:29:12 + 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 . 11:29:13 Sending build context to Docker daemon 79.87kB 11:29:13 Step 1/10 : ARG BASE=golang:1.15-alpine 11:29:13 Step 2/10 : FROM ${BASE} 11:29:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:29:14 b538f80385f9: Pulling fs layer 11:29:14 74f711af9a0d: Pulling fs layer 11:29:14 99f96fe45779: Pulling fs layer 11:29:14 8529a6b9a6be: Pulling fs layer 11:29:14 45590311c82a: Pulling fs layer 11:29:14 69ca0ff8b7b3: Pulling fs layer 11:29:14 209524e5b208: Pulling fs layer 11:29:14 8529a6b9a6be: Waiting 11:29:14 45590311c82a: Waiting 11:29:14 69ca0ff8b7b3: Waiting 11:29:14 99f96fe45779: Verifying Checksum 11:29:14 99f96fe45779: Download complete 11:29:14 74f711af9a0d: Verifying Checksum 11:29:14 74f711af9a0d: Download complete 11:29:14 45590311c82a: Verifying Checksum 11:29:14 45590311c82a: Download complete 11:29:14 69ca0ff8b7b3: Download complete 11:29:14 b538f80385f9: Verifying Checksum 11:29:14 b538f80385f9: Download complete 11:29:14 b538f80385f9: Pull complete 11:29:15 74f711af9a0d: Pull complete 11:29:15 99f96fe45779: Pull complete 11:29:16 209524e5b208: Download complete 11:29:17 8529a6b9a6be: Verifying Checksum 11:29:17 8529a6b9a6be: Download complete 11:29:27 8529a6b9a6be: Pull complete 11:29:27 45590311c82a: Pull complete 11:29:27 69ca0ff8b7b3: Pull complete 11:29:31 209524e5b208: Pull complete 11:29:31 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 11:29:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 11:29:31 ---> 5bddaf1c2fca 11:29:31 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 11:29:34 ---> Running in 45642dd713a8 11:29:34 Removing intermediate container 45642dd713a8 11:29:34 ---> 1f1eba4681e6 11:29:34 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:29:34 ---> Running in 4e7171c044ce 11:29:35 Removing intermediate container 4e7171c044ce 11:29:35 ---> 33aba38573d3 11:29:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:29:35 ---> Running in 0f7d5f20b017 11:29:35 Removing intermediate container 0f7d5f20b017 11:29:35 ---> 015bdbfec157 11:29:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:29:35 ---> Running in 5fd96cad5df8 11:29:38 Removing intermediate container 5fd96cad5df8 11:29:38 ---> d5ec5637edad 11:29:38 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:29:38 ---> Running in 7f0065720404 11:29:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 11:29:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 11:29:41 OK: 142 MiB in 39 packages 11:29:42 Removing intermediate container 7f0065720404 11:29:42 ---> a0c89cef56f2 11:29:42 Step 8/10 : WORKDIR /device-rest-go 11:29:42 ---> Running in 1581ac458b9c 11:29:43 Removing intermediate container 1581ac458b9c 11:29:43 ---> 3c964edc6257 11:29:43 Step 9/10 : COPY . . 11:29:44 ---> 1f4bd0348909 11:29:44 Step 10/10 : RUN go mod download 11:29:44 ---> Running in 960ceea9f65c 11:30:06 Removing intermediate container 960ceea9f65c 11:30:06 ---> 27839ac53f10 11:30:06 Successfully built 27839ac53f10 11:30:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:30:06 + docker inspect -f . ci-base-image-arm64 11:30:06 . [Pipeline] withDockerContainer 11:30:06 prd-ubuntu18.04-docker-arm64-4c-16g-9462 does not seem to be running inside a container 11:30:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** ci-base-image-arm64 cat 11:30:08 $ docker top f96347764310b89d34488315f6c8e18ffb9921ee31ae1fc2fb86c93e9cb7bd51 -eo pid,comm [Pipeline] { [Pipeline] sh 11:30:10 + go version 11:30:10 go version go1.15.2 linux/arm64 [Pipeline] } 11:30:10 $ docker stop --time=1 f96347764310b89d34488315f6c8e18ffb9921ee31ae1fc2fb86c93e9cb7bd51 11:30:12 $ docker rm -f f96347764310b89d34488315f6c8e18ffb9921ee31ae1fc2fb86c93e9cb7bd51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:30:13 + docker inspect -f . ci-base-image-arm64 11:30:13 . [Pipeline] withDockerContainer 11:30:13 prd-ubuntu18.04-docker-arm64-4c-16g-9462 does not seem to be running inside a container 11:30:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** ci-base-image-arm64 cat 11:30:15 $ docker top eb6e675ac8b35083cf6b4f05033872a4e3b248f6dd588694abe7ffaf71666bb3 -eo pid,comm [Pipeline] { [Pipeline] sh 11:30:16 + make test 11:30:16 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:30:17 ? github.com/edgexfoundry/device-rest-go [no test files] 11:30:54 Running on prd-centos7-docker-4c-2g-9464 in /w/workspace/dgexfoundry_device-rest-go_PR-46 [Pipeline] { [Pipeline] ws 11:30:54 Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout 11:30:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:30:56 ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 56.3% of statements 11:30:56 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:30:57 using credential edgex-jenkins-ssh 11:30:57 Cloning the remote Git repository 11:30:57 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 11:30:57 > git init /w/workspace/device-rest-go/4 # timeout=10 11:30:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:30:57 > git --version # timeout=10 11:30:57 > git --version # 'git version 2.16.5' 11:30:57 using GIT_SSH to set credentials SSH Credentials for GitHub 11:30:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:30:58 Merging remotes/origin/master commit 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 into PR head commit 0f60892254390497993418a5736ab1b9fc8af45b 11:30:58 Merge succeeded, producing 0f60892254390497993418a5736ab1b9fc8af45b 11:30:58 Checking out Revision 0f60892254390497993418a5736ab1b9fc8af45b (PR-46) 11:30:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:30:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:30:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 11:30:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 11:30:58 using GIT_SSH to set credentials SSH Credentials for GitHub 11:30:58 > 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 11:30:58 > git config core.sparsecheckout # timeout=10 11:30:58 > git checkout -f 0f60892254390497993418a5736ab1b9fc8af45b # timeout=10 11:30:58 > git remote # timeout=10 11:30:58 > git config --get remote.origin.url # timeout=10 11:30:58 using GIT_SSH to set credentials SSH Credentials for GitHub 11:30:58 > git merge 4f6fe4f9eeeb2b13b70d00045467dd3723511a77 # timeout=10 11:30:58 > git rev-parse HEAD^{commit} # timeout=10 11:30:58 > git config core.sparsecheckout # timeout=10 11:30:58 > git checkout -f 0f60892254390497993418a5736ab1b9fc8af45b # timeout=10 11:30:59 gofmt -l . 11:30:59 [ "`gofmt -l .`" = "" ] 11:30:59 ./bin/test-go-mod-tidy.sh 11:30:59 ./bin/test-attribution-txt.sh 11:31:00 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 11:31:00 make: *** [Makefile:28: test] Error 1 [Pipeline] } 11:31:00 $ docker stop --time=1 eb6e675ac8b35083cf6b4f05033872a4e3b248f6dd588694abe7ffaf71666bb3 11:31:02 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.5.1 to 1.6.1" 11:31:03 $ docker rm -f eb6e675ac8b35083cf6b4f05033872a4e3b248f6dd588694abe7ffaf71666bb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] withEnv [Pipeline] { Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withEnv [Pipeline] { Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // withEnv [Pipeline] } [Pipeline] unstash [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:31:04 Failed in branch arm64 [Pipeline] echo 11:31:04 ========================================================= 11:31:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 11:31:04 ========================================================= [Pipeline] isUnix [Pipeline] sh 11:31:05 + 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 . 11:31:05 Sending build context to Docker daemon 79.87kB 11:31:05 Step 1/10 : ARG BASE=golang:1.15-alpine 11:31:05 Step 2/10 : FROM ${BASE} 11:31:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 11:31:05 df20fa9351a1: Pulling fs layer 11:31:05 ed8968b2872e: Pulling fs layer 11:31:05 a92cc7c5fd73: Pulling fs layer 11:31:05 e871e8e8d7a9: Pulling fs layer 11:31:05 e73272ec9a57: Pulling fs layer 11:31:05 1e910a182e73: Pulling fs layer 11:31:05 4e634b169226: Pulling fs layer 11:31:05 e73272ec9a57: Waiting 11:31:05 1e910a182e73: Waiting 11:31:05 4e634b169226: Waiting 11:31:05 e871e8e8d7a9: Waiting 11:31:05 a92cc7c5fd73: Verifying Checksum 11:31:05 a92cc7c5fd73: Download complete 11:31:05 ed8968b2872e: Download complete 11:31:05 e73272ec9a57: Verifying Checksum 11:31:05 1e910a182e73: Download complete 11:31:06 df20fa9351a1: Verifying Checksum 11:31:06 df20fa9351a1: Download complete 11:31:07 df20fa9351a1: Pull complete 11:31:07 ed8968b2872e: Pull complete 11:31:07 a92cc7c5fd73: Pull complete 11:31:09 4e634b169226: Verifying Checksum 11:31:09 4e634b169226: Download complete 11:31:09 e871e8e8d7a9: Verifying Checksum 11:31:09 e871e8e8d7a9: Download complete 11:31:15 e871e8e8d7a9: Pull complete 11:31:15 e73272ec9a57: Pull complete 11:31:15 1e910a182e73: Pull complete 11:31:23 4e634b169226: Pull complete 11:31:23 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 11:31:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 11:31:23 ---> f7629b54cfaa 11:31:23 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 11:31:23 ---> Running in 202d12d110e9 11:31:23 Removing intermediate container 202d12d110e9 11:31:23 ---> c06e1eda5499 11:31:23 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 11:31:23 ---> Running in 5d7aaf5fd6cc 11:31:24 Removing intermediate container 5d7aaf5fd6cc 11:31:24 ---> 00503b31e48a 11:31:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:31:24 ---> Running in c51ec748d115 11:31:24 Removing intermediate container c51ec748d115 11:31:24 ---> ec814791c7bc 11:31:24 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:31:24 ---> Running in 79cc22bf4e7b 11:31:26 Removing intermediate container 79cc22bf4e7b 11:31:26 ---> b8b0136ceddb 11:31:26 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:31:26 ---> Running in 5cb2388d5850 11:31:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 11:31:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 11:31:27 OK: 166 MiB in 39 packages 11:31:28 Removing intermediate container 5cb2388d5850 11:31:28 ---> 8ccc45d1fa63 11:31:28 Step 8/10 : WORKDIR /device-rest-go 11:31:28 ---> Running in 75983e153beb 11:31:28 Removing intermediate container 75983e153beb 11:31:28 ---> 2fa90f592119 11:31:28 Step 9/10 : COPY . . 11:31:28 ---> 85faef4b5360 11:31:28 Step 10/10 : RUN go mod download 11:31:28 ---> Running in a3ddf0523e4f 11:31:51 Removing intermediate container a3ddf0523e4f 11:31:51 ---> a28b9a751f72 11:31:51 Successfully built a28b9a751f72 11:31:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:31:51 + docker inspect -f . ci-base-image-x86_64 11:31:51 . [Pipeline] withDockerContainer 11:31:51 prd-centos7-docker-4c-2g-9464 does not seem to be running inside a container 11:31:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** ci-base-image-x86_64 cat 11:31:52 $ docker top 7f4d290c1f89bd7085b6a84389c026f4b801d9050a37f48a134b9972dc5ad309 -eo pid,comm [Pipeline] { [Pipeline] sh 11:31:52 + go version 11:31:52 go version go1.15.2 linux/amd64 [Pipeline] } 11:31:52 $ docker stop --time=1 7f4d290c1f89bd7085b6a84389c026f4b801d9050a37f48a134b9972dc5ad309 11:31:54 $ docker rm -f 7f4d290c1f89bd7085b6a84389c026f4b801d9050a37f48a134b9972dc5ad309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:31:55 + docker inspect -f . ci-base-image-x86_64 11:31:55 . [Pipeline] withDockerContainer 11:31:55 prd-centos7-docker-4c-2g-9464 does not seem to be running inside a container 11:31:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@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 ******** ci-base-image-x86_64 cat 11:31:55 $ docker top af5f755020ae4cc41a8aeeeaf0aa2672fa77e040a1062209ee989525a8cb3f48 -eo pid,comm [Pipeline] { [Pipeline] sh 11:31:56 + make test 11:31:56 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 11:31:57 ? github.com/edgexfoundry/device-rest-go [no test files] 11:32:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:32:09 ok github.com/edgexfoundry/device-rest-go/driver 0.022s coverage: 56.3% of statements 11:32:09 CGO_ENABLED=0 GO111MODULE=on go vet ./... 11:32:10 gofmt -l . 11:32:10 [ "`gofmt -l .`" = "" ] 11:32:10 ./bin/test-go-mod-tidy.sh 11:32:10 ./bin/test-attribution-txt.sh 11:32:11 An attribution for gopkg.in/yaml.v3 is missing from in Attribution.txt, please add 11:32:11 make: *** [Makefile:28: test] Error 1 [Pipeline] } 11:32:11 $ docker stop --time=1 af5f755020ae4cc41a8aeeeaf0aa2672fa77e040a1062209ee989525a8cb3f48 11:32:13 $ docker rm -f af5f755020ae4cc41a8aeeeaf0aa2672fa77e040a1062209ee989525a8cb3f48 [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] } 11:32:15 Failed in branch amd64 [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 11:32:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:32:18 ---> package-listing.sh 11:32:18 ++ facter osfamily 11:32:18 ++ tr '[:upper:]' '[:lower:]' 11:32:18 + OS_FAMILY=redhat 11:32:18 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-46 11:32:18 + START_PACKAGES=/tmp/packages_start.txt 11:32:18 + END_PACKAGES=/tmp/packages_end.txt 11:32:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:32:18 + PACKAGES=/tmp/packages_start.txt 11:32:18 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-46 ']' 11:32:18 + PACKAGES=/tmp/packages_end.txt 11:32:18 + case "${OS_FAMILY}" in 11:32:18 + rpm -qa 11:32:18 + sort 11:32:22 + '[' -f /tmp/packages_start.txt ']' 11:32:22 + '[' -f /tmp/packages_end.txt ']' 11:32:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:32:22 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-46 ']' 11:32:22 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-46/archives/ 11:32:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-46/archives/ [Pipeline] echo 11:32:22 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-46/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:32:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:32:23 11:32:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 11:32:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:32:23 alpine: Pulling from edgex-lftools-log-publisher 11:32:23 df20fa9351a1: Pulling fs layer 11:32:23 36b3adc4ff6f: Pulling fs layer 11:32:23 8ad3a11d3b57: Pulling fs layer 11:32:23 46f8f816bc3b: Pulling fs layer 11:32:23 93b61091891f: Pulling fs layer 11:32:23 93b9cdb0e59b: Pulling fs layer 11:32:23 5e14af77c1be: Pulling fs layer 11:32:23 01666e4c0597: Pulling fs layer 11:32:23 aa168da1d23b: Pulling fs layer 11:32:23 46f8f816bc3b: Waiting 11:32:23 93b61091891f: Waiting 11:32:23 93b9cdb0e59b: Waiting 11:32:23 5e14af77c1be: Waiting 11:32:23 01666e4c0597: Waiting 11:32:23 aa168da1d23b: Waiting 11:32:23 36b3adc4ff6f: Verifying Checksum 11:32:23 36b3adc4ff6f: Download complete 11:32:23 46f8f816bc3b: Verifying Checksum 11:32:23 46f8f816bc3b: Download complete 11:32:23 df20fa9351a1: Download complete 11:32:23 93b9cdb0e59b: Verifying Checksum 11:32:23 93b9cdb0e59b: Download complete 11:32:23 93b61091891f: Verifying Checksum 11:32:23 93b61091891f: Download complete 11:32:24 5e14af77c1be: Verifying Checksum 11:32:24 5e14af77c1be: Download complete 11:32:24 01666e4c0597: Download complete 11:32:24 8ad3a11d3b57: Verifying Checksum 11:32:24 8ad3a11d3b57: Download complete 11:32:24 df20fa9351a1: Pull complete 11:32:24 36b3adc4ff6f: Pull complete 11:32:25 8ad3a11d3b57: Pull complete 11:32:25 46f8f816bc3b: Pull complete 11:32:25 93b61091891f: Pull complete 11:32:25 93b9cdb0e59b: Pull complete 11:32:26 5e14af77c1be: Pull complete 11:32:26 01666e4c0597: Pull complete 11:32:26 aa168da1d23b: Verifying Checksum 11:32:26 aa168da1d23b: Download complete 11:32:34 aa168da1d23b: Pull complete 11:32:34 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 11:32:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 11:32:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 11:32:35 prd-centos7-docker-4c-2g-9458 does not seem to be running inside a container 11:32:35 $ 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-46/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-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 11:32:38 $ docker top 6b332a7c9d262f1329b512d1f468dc051cd224305ed238ed37bd9a5b74c32cb4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:32:39 + touch /tmp/pre-build-complete [Pipeline] sh 11:32:39 + mkdir -p /var/log/sa [Pipeline] sh 11:32:39 + ls /var/log/sa-host 11:32:39 + sadf -c /var/log/sa-host/sa05 11:32:39 file_magic: OK 11:32:39 HZ: Using current value: 100 11:32:39 file_header: OK 11:32:39 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 11:32:39 Statistics: 11:32:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:32:39 File successfully converted to sysstat format version 12.2.1 11:32:39 + sadf -c /var/log/sa-host/sa28 11:32:39 file_magic: OK 11:32:39 HZ: Using current value: 100 11:32:39 file_header: OK 11:32:39 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 11:32:39 Statistics: 11:32:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:32:39 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:32:40 provisioning config files... 11:32:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-46@tmp/config6131095032011447791tmp [Pipeline] { [Pipeline] echo 11:32:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:32:40 ---> create-netrc.sh [Pipeline] } 11:32:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 11:32:40 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 11:32:41 ---> python-tools-install.sh [Pipeline] echo 11:32:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:32:41 ---> sudo-logs.sh 11:32:41 Archiving 'sudo' log.. [Pipeline] echo 11:32:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:32:41 ---> job-cost.sh 11:32:41 lf-activate-venv: SKIPPING 11:32:41 INFO: No Stack... 11:32:42 INFO: Retrieving Pricing Info for: v1-standard-2 11:32:43 INFO: Archiving Costs [Pipeline] echo 11:32:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:32:43 ---> logs-deploy.sh 11:32:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-46/4 11:32:43 INFO: archiving workspace using pattern(s): 11:32:45 Archives upload complete. 11:32:45 INFO: archiving logs to Nexus