Pull request #49 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 22feab844836c3b95f79d1d775a43e839c03b325+cf586b04128a22612e4c07fc62a16321cfe56fab (4bcc99cf33fbb32309d7c02ddfa89fa85513ecf2) Running in Durability level: MAX_SURVIVABILITY 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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-49/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-49/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d 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-3400 in /w/workspace/dgexfoundry_device-rest-go_PR-49 [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-49 # 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/49/head:refs/remotes/origin/PR-49 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit cf586b04128a22612e4c07fc62a16321cfe56fab into PR head commit 22feab844836c3b95f79d1d775a43e839c03b325 Merge succeeded, producing 22feab844836c3b95f79d1d775a43e839c03b325 Checking out Revision 22feab844836c3b95f79d1d775a43e839c03b325 (PR-49) > git config core.sparsecheckout # timeout=10 > git checkout -f 22feab844836c3b95f79d1d775a43e839c03b325 # 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 22feab844836c3b95f79d1d775a43e839c03b325 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:29:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:29:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:29:03 ========================================================= 06:29:03 EdgeX Global Pipelines Version Info 06:29:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:29:06 ------------------- 06:29:06 stable info: 06:29:06 ------------------- 06:29:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:29:06 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 06:29:06 Message: update stable to v1.0.131 06:29:07 ------------------- 06:29:07 experimental info: 06:29:07 ------------------- 06:29:07 Commited By: **** collab-it+edgex@linuxfoundation.org 06:29:07 Commit SHA: 570db4806bfd36b7d07759f4849a4530ec9e8d2a 06:29:07 Message: update experimental to v1.0.134 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:29:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:29:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:29:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:29:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:29:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:29:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:29:08 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:29:09 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:29:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:29:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:29:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:29:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 06:29:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:29:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:29:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:29:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:29:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:29:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:29:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:29:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:29:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:29:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:29:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:29:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:29:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:29:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-49 [Pipeline] echo 06:29:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-49 [Pipeline] echo 06:29:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-49 [Pipeline] echo 06:29:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22feab844836c3b95f79d1d775a43e839c03b325 [Pipeline] echo 06:29:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22feab8 [Pipeline] echo 06:29:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:29:13 + git log --format=format:%s -1 22feab844836c3b95f79d1d775a43e839c03b325 [Pipeline] echo 06:29:13 GIT_COMMIT: 22feab844836c3b95f79d1d775a43e839c03b325, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go [Pipeline] echo 06:29:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:29:14 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:29:14 06:29:14 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:29:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:29:15 latest: Pulling from edgex-devops/git-semver 06:29:15 31603596830f: Pulling fs layer 06:29:15 2a8b12db71e7: Pulling fs layer 06:29:15 6ca5941a6612: Pulling fs layer 06:29:15 ecc8261a40a4: Pulling fs layer 06:29:15 ecc8261a40a4: Waiting 06:29:15 2a8b12db71e7: Verifying Checksum 06:29:15 2a8b12db71e7: Download complete 06:29:15 31603596830f: Verifying Checksum 06:29:15 31603596830f: Download complete 06:29:16 6ca5941a6612: Verifying Checksum 06:29:16 6ca5941a6612: Download complete 06:29:16 ecc8261a40a4: Verifying Checksum 06:29:16 ecc8261a40a4: Download complete 06:29:16 31603596830f: Pull complete 06:29:16 2a8b12db71e7: Pull complete 06:29:18 6ca5941a6612: Pull complete 06:29:19 ecc8261a40a4: Pull complete 06:29:19 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:29:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:29:19 prd-centos7-docker-4c-2g-3400 does not seem to be running inside a container 06:29:19 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-49 -v /w/workspace/dgexfoundry_device-rest-go_PR-49:/w/workspace/dgexfoundry_device-rest-go_PR-49:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-49@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-49@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 06:29:21 $ docker top 090fa939e9f2fd52358e9f297dd17afdf79404a2fc51f906bc43c0fae3ff82af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:29:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:22 [ssh-agent] Looking for ssh-agent implementation... 06:29:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:22 $ docker exec 090fa939e9f2fd52358e9f297dd17afdf79404a2fc51f906bc43c0fae3ff82af ssh-agent 06:29:23 SSH_AUTH_SOCK=/tmp/ssh-7Knq945It7sc/agent.12 06:29:23 SSH_AGENT_PID=18 06:29:23 Running ssh-add (command line suppressed) 06:29:23 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-49@tmp/private_key_484326366310783109.key (/w/workspace/dgexfoundry_device-rest-go_PR-49@tmp/private_key_484326366310783109.key) 06:29:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:24 + git describe --exact-match --tags HEAD 06:29:24 fatal: no tag exactly matches '22feab844836c3b95f79d1d775a43e839c03b325' [Pipeline] } 06:29:24 $ docker exec --env ******** --env ******** 090fa939e9f2fd52358e9f297dd17afdf79404a2fc51f906bc43c0fae3ff82af ssh-agent -k 06:29:24 unset SSH_AUTH_SOCK; 06:29:24 unset SSH_AGENT_PID; 06:29:24 echo Agent pid 18 killed; 06:29:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 06:29:25 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 06:29:25 This usually means this commit has not been tagged. [Pipeline] sshagent 06:29:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:25 [ssh-agent] Looking for ssh-agent implementation... 06:29:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:25 $ docker exec 090fa939e9f2fd52358e9f297dd17afdf79404a2fc51f906bc43c0fae3ff82af ssh-agent 06:29:25 SSH_AUTH_SOCK=/tmp/ssh-tiMnOCu676GS/agent.46 06:29:25 SSH_AGENT_PID=51 06:29:25 Running ssh-add (command line suppressed) 06:29:25 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-49@tmp/private_key_4793070358856700540.key (/w/workspace/dgexfoundry_device-rest-go_PR-49@tmp/private_key_4793070358856700540.key) 06:29:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:26 + git semver init 06:29:26 # -> Open(): unable to determine branch for HEAD 06:29:26 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-49/.git 06:29:26 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-49 06:29:26 # $SEMVER_REMOTE_NAME = origin 06:29:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:29:26 # $SEMVER_USER_NAME = edgex-jenkins 06:29:26 # $SEMVER_BRANCH = PR-49 06:29:26 # $SEMVER_TEMP = /tmp/semver-129184012 06:29:26 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:29:29 # '/tmp/semver-129184012' -> '/w/workspace/dgexfoundry_device-rest-go_PR-49/.semver' 06:29:29 # -> Force: false 06:29:29 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-49/.semver [Pipeline] } 06:29:29 $ docker exec --env ******** --env ******** 090fa939e9f2fd52358e9f297dd17afdf79404a2fc51f906bc43c0fae3ff82af ssh-agent -k 06:29:29 unset SSH_AUTH_SOCK; 06:29:29 unset SSH_AGENT_PID; 06:29:29 echo Agent pid 51 killed; 06:29:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:29:30 + git semver [Pipeline] } 06:29:30 $ docker stop --time=1 090fa939e9f2fd52358e9f297dd17afdf79404a2fc51f906bc43c0fae3ff82af 06:29:32 $ docker rm -f 090fa939e9f2fd52358e9f297dd17afdf79404a2fc51f906bc43c0fae3ff82af [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 06:29:34 Stashed 26 file(s) [Pipeline] echo 06:29:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 06:29:34 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 06:29:50 Still waiting to schedule task 06:29:50 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:29:50 Still waiting to schedule task 06:29:50 ‘prd-centos7-docker-4c-2g-3394’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-3395’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3406’ is offline 06:31:19 Running on prd-centos7-docker-4c-2g-3411 in /w/workspace/dgexfoundry_device-rest-go_PR-49 [Pipeline] { [Pipeline] ws 06:31:19 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 06:31:22 using credential edgex-jenkins-ssh 06:31:23 Cloning the remote Git repository 06:31:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:31:23 > git init /w/workspace/device-rest-go/1 # timeout=10 06:31:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:31:23 > git --version # timeout=10 06:31:23 > git --version # 'git version 2.16.5' 06:31:23 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:31:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:24 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:31:24 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:31:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/49/head:refs/remotes/origin/PR-49 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:31:24 Merging remotes/origin/master commit cf586b04128a22612e4c07fc62a16321cfe56fab into PR head commit 22feab844836c3b95f79d1d775a43e839c03b325 06:31:24 Merge succeeded, producing 22feab844836c3b95f79d1d775a43e839c03b325 06:31:24 Checking out Revision 22feab844836c3b95f79d1d775a43e839c03b325 (PR-49) 06:31:24 > git config core.sparsecheckout # timeout=10 06:31:24 > git checkout -f 22feab844836c3b95f79d1d775a43e839c03b325 # timeout=10 06:31:24 > git remote # timeout=10 06:31:24 > git config --get remote.origin.url # timeout=10 06:31:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:24 > git merge cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 06:31:24 > git rev-parse HEAD^{commit} # timeout=10 06:31:24 > git config core.sparsecheckout # timeout=10 06:31:24 > git checkout -f 22feab844836c3b95f79d1d775a43e839c03b325 # timeout=10 06:31:28 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 06:31:28 > git --version # timeout=10 06:31:28 > git --version # 'git version 2.16.5' 06:31:28 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:31:30 ========================================================= 06:31:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:31:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:31:31 + 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 . 06:31:31 Sending build context to Docker daemon 8.066MB 06:31:31 Step 1/10 : ARG BASE=golang:1.15-alpine 06:31:31 Step 2/10 : FROM ${BASE} 06:31:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:31:31 df20fa9351a1: Pulling fs layer 06:31:31 ed8968b2872e: Pulling fs layer 06:31:31 a92cc7c5fd73: Pulling fs layer 06:31:31 e871e8e8d7a9: Pulling fs layer 06:31:31 e73272ec9a57: Pulling fs layer 06:31:31 1e910a182e73: Pulling fs layer 06:31:31 4e634b169226: Pulling fs layer 06:31:31 e871e8e8d7a9: Waiting 06:31:31 e73272ec9a57: Waiting 06:31:31 1e910a182e73: Waiting 06:31:31 4e634b169226: Waiting 06:31:31 a92cc7c5fd73: Download complete 06:31:31 ed8968b2872e: Verifying Checksum 06:31:31 ed8968b2872e: Download complete 06:31:31 e73272ec9a57: Verifying Checksum 06:31:31 e73272ec9a57: Download complete 06:31:31 1e910a182e73: Verifying Checksum 06:31:31 1e910a182e73: Download complete 06:31:32 df20fa9351a1: Verifying Checksum 06:31:32 df20fa9351a1: Download complete 06:31:33 df20fa9351a1: Pull complete 06:31:33 ed8968b2872e: Pull complete 06:31:33 a92cc7c5fd73: Pull complete 06:31:35 4e634b169226: Verifying Checksum 06:31:35 4e634b169226: Download complete 06:31:36 e871e8e8d7a9: Verifying Checksum 06:31:36 e871e8e8d7a9: Download complete 06:31:42 e871e8e8d7a9: Pull complete 06:31:42 e73272ec9a57: Pull complete 06:31:42 1e910a182e73: Pull complete 06:31:50 4e634b169226: Pull complete 06:31:50 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:31:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:31:50 ---> f7629b54cfaa 06:31:50 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:31:50 ---> Running in 72d09f2e2e18 06:31:50 Removing intermediate container 72d09f2e2e18 06:31:50 ---> adceb44f52b4 06:31:50 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:31:50 ---> Running in 6a582ab5c73e 06:31:50 Removing intermediate container 6a582ab5c73e 06:31:50 ---> 17949fd496de 06:31:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:31:50 ---> Running in d0304357add0 06:31:50 Removing intermediate container d0304357add0 06:31:50 ---> d51d2424c892 06:31:50 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:31:50 ---> Running in 41e66d1f2651 06:31:52 Removing intermediate container 41e66d1f2651 06:31:52 ---> 19cce65e1d6f 06:31:52 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:31:52 ---> Running in 31dfa7e2492f 06:31:52 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:31:53 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:31:54 OK: 166 MiB in 39 packages 06:31:55 Removing intermediate container 31dfa7e2492f 06:31:55 ---> 9bd427582362 06:31:55 Step 8/10 : WORKDIR /device-rest-go 06:31:55 ---> Running in bd9de8b191e4 06:31:55 Removing intermediate container bd9de8b191e4 06:31:55 ---> 23ea9e38e24e 06:31:55 Step 9/10 : COPY . . 06:31:55 ---> 6340a465d66b 06:31:55 Step 10/10 : RUN go mod download 06:31:55 ---> Running in fc1078ec3b44 06:32:28 Removing intermediate container fc1078ec3b44 06:32:28 ---> 82cf72b07a51 06:32:28 Successfully built 82cf72b07a51 06:32:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:32:28 + docker inspect -f . ci-base-image-x86_64 06:32:28 . [Pipeline] withDockerContainer 06:32:28 prd-centos7-docker-4c-2g-3411 does not seem to be running inside a container 06:32:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:32:29 $ docker top 773bc8f2e869b4d93a03f2dd0a1f996d519006a594525053f062d9092186516d -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:29 + go version 06:32:29 go version go1.15.2 linux/amd64 [Pipeline] } 06:32:29 $ docker stop --time=1 773bc8f2e869b4d93a03f2dd0a1f996d519006a594525053f062d9092186516d 06:32:31 $ docker rm -f 773bc8f2e869b4d93a03f2dd0a1f996d519006a594525053f062d9092186516d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:32:32 + docker inspect -f . ci-base-image-x86_64 06:32:32 . [Pipeline] withDockerContainer 06:32:32 prd-centos7-docker-4c-2g-3411 does not seem to be running inside a container 06:32:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:32:33 $ docker top 3627f53ac315a7665e2bc6ec42abfb727d00d92da8e1c3d721a9eaa6d383de0e -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:33 + make test 06:32:33 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:32:34 ? github.com/edgexfoundry/device-rest-go [no test files] 06:32:44 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:32:44 ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.3% of statements 06:32:44 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:32:46 gofmt -l . 06:32:46 [ "`gofmt -l .`" = "" ] 06:32:46 ./bin/test-go-mod-tidy.sh 06:32:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-3413 in /w/workspace/dgexfoundry_device-rest-go_PR-49 [Pipeline] { [Pipeline] ws 06:32:47 Running in /w/workspace/device-rest-go/1 [Pipeline] { 06:32:47 ./bin/test-attribution-txt.sh [Pipeline] checkout 06:32:47 An attribution for bitbucket.org/bertimus9/systemstat is missing from in Attribution.txt, please add 06:32:47 An attribution for github.com/go-playground/locales is missing from in Attribution.txt, please add 06:32:47 An attribution for github.com/go-playground/universal-translator is missing from in Attribution.txt, please add 06:32:47 An attribution for github.com/go-playground/validator/v10 is missing from in Attribution.txt, please add 06:32:47 An attribution for github.com/leodido/go-urn is missing from in Attribution.txt, please add 06:32:47 make: *** [Makefile:28: test] Error 1 [Pipeline] } 06:32:47 $ docker stop --time=1 3627f53ac315a7665e2bc6ec42abfb727d00d92da8e1c3d721a9eaa6d383de0e 06:32:49 $ docker rm -f 3627f53ac315a7665e2bc6ec42abfb727d00d92da8e1c3d721a9eaa6d383de0e [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] } 06:32:52 using credential edgex-jenkins-ssh 06:32:52 Cloning the remote Git repository [Pipeline] // stage [Pipeline] } 06:32:52 Failed in branch amd64 06:32:52 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:32:52 > git init /w/workspace/device-rest-go/1 # timeout=10 06:32:52 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:32:52 > git --version # timeout=10 06:32:52 > git --version # 'git version 2.17.1' 06:32:52 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:32:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:32:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:32:55 Merging remotes/origin/master commit cf586b04128a22612e4c07fc62a16321cfe56fab into PR head commit 22feab844836c3b95f79d1d775a43e839c03b325 06:32:55 Merge succeeded, producing 22feab844836c3b95f79d1d775a43e839c03b325 06:32:55 Checking out Revision 22feab844836c3b95f79d1d775a43e839c03b325 (PR-49) 06:32:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:32:54 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/49/head:refs/remotes/origin/PR-49 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:32:55 > git config core.sparsecheckout # timeout=10 06:32:55 > git checkout -f 22feab844836c3b95f79d1d775a43e839c03b325 # timeout=10 06:32:55 > git remote # timeout=10 06:32:55 > git config --get remote.origin.url # timeout=10 06:32:55 using GIT_SSH to set credentials SSH Credentials for GitHub 06:32:55 > git merge cf586b04128a22612e4c07fc62a16321cfe56fab # timeout=10 06:32:55 > git rev-parse HEAD^{commit} # timeout=10 06:32:55 > git config core.sparsecheckout # timeout=10 06:32:55 > git checkout -f 22feab844836c3b95f79d1d775a43e839c03b325 # timeout=10 06:33:00 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go" 06:33:00 > git --version # timeout=10 06:33:00 > git --version # 'git version 2.17.1' 06:33:00 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 06:33:02 ========================================================= 06:33:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:33:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:33:03 + 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 . 06:33:04 Sending build context to Docker daemon 8.066MB 06:33:04 Step 1/10 : ARG BASE=golang:1.15-alpine 06:33:04 Step 2/10 : FROM ${BASE} 06:33:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:33:05 b538f80385f9: Pulling fs layer 06:33:05 74f711af9a0d: Pulling fs layer 06:33:05 99f96fe45779: Pulling fs layer 06:33:05 8529a6b9a6be: Pulling fs layer 06:33:05 45590311c82a: Pulling fs layer 06:33:05 69ca0ff8b7b3: Pulling fs layer 06:33:05 209524e5b208: Pulling fs layer 06:33:05 45590311c82a: Waiting 06:33:05 69ca0ff8b7b3: Waiting 06:33:05 209524e5b208: Waiting 06:33:05 8529a6b9a6be: Waiting 06:33:05 99f96fe45779: Verifying Checksum 06:33:05 99f96fe45779: Download complete 06:33:05 74f711af9a0d: Verifying Checksum 06:33:05 74f711af9a0d: Download complete 06:33:05 45590311c82a: Verifying Checksum 06:33:05 45590311c82a: Download complete 06:33:05 69ca0ff8b7b3: Verifying Checksum 06:33:05 69ca0ff8b7b3: Download complete 06:33:05 b538f80385f9: Verifying Checksum 06:33:05 b538f80385f9: Download complete 06:33:06 b538f80385f9: Pull complete 06:33:06 74f711af9a0d: Pull complete 06:33:07 99f96fe45779: Pull complete 06:33:07 209524e5b208: Verifying Checksum 06:33:07 209524e5b208: Download complete 06:33:09 8529a6b9a6be: Verifying Checksum 06:33:09 8529a6b9a6be: Download complete 06:33:19 8529a6b9a6be: Pull complete 06:33:20 45590311c82a: Pull complete 06:33:20 69ca0ff8b7b3: Pull complete 06:33:24 209524e5b208: Pull complete 06:33:24 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:33:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:33:24 ---> 5bddaf1c2fca 06:33:24 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:33:27 ---> Running in c4b0cae86740 06:33:27 Removing intermediate container c4b0cae86740 06:33:27 ---> 1a9a6762d9ee 06:33:27 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:33:27 ---> Running in bd90f22a79ae 06:33:28 Removing intermediate container bd90f22a79ae 06:33:28 ---> 12583c10f84e 06:33:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:33:28 ---> Running in a263bdf13639 06:33:28 Removing intermediate container a263bdf13639 06:33:28 ---> d4a3e84402f1 06:33:28 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:33:28 ---> Running in 5827eb734f77 06:33:31 Removing intermediate container 5827eb734f77 06:33:31 ---> 09433a42e405 06:33:31 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:33:31 ---> Running in 0b6ccf6ab4aa 06:33:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:33:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:33:34 OK: 142 MiB in 39 packages 06:33:36 Removing intermediate container 0b6ccf6ab4aa 06:33:36 ---> f6cd2032f61c 06:33:36 Step 8/10 : WORKDIR /device-rest-go 06:33:36 ---> Running in f6a28a497e18 06:33:36 Removing intermediate container f6a28a497e18 06:33:36 ---> 243080846a1b 06:33:36 Step 9/10 : COPY . . 06:33:37 ---> ba5dcac320da 06:33:37 Step 10/10 : RUN go mod download 06:33:38 ---> Running in c32e1051759b 06:34:00 Removing intermediate container c32e1051759b 06:34:00 ---> 99c1f930aeca 06:34:00 Successfully built 99c1f930aeca 06:34:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:34:00 + docker inspect -f . ci-base-image-arm64 06:34:00 . [Pipeline] withDockerContainer 06:34:01 prd-ubuntu18.04-docker-arm64-4c-16g-3413 does not seem to be running inside a container 06:34:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:34:03 $ docker top 34f3684b0f5bee27fcaab6297d5c485f95968c7b94ead951d5341b7a1b4319be -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:04 + go version 06:34:04 go version go1.15.2 linux/arm64 [Pipeline] } 06:34:04 $ docker stop --time=1 34f3684b0f5bee27fcaab6297d5c485f95968c7b94ead951d5341b7a1b4319be 06:34:06 $ docker rm -f 34f3684b0f5bee27fcaab6297d5c485f95968c7b94ead951d5341b7a1b4319be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:34:07 + docker inspect -f . ci-base-image-arm64 06:34:07 . [Pipeline] withDockerContainer 06:34:08 prd-ubuntu18.04-docker-arm64-4c-16g-3413 does not seem to be running inside a container 06:34:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:34:10 $ docker top 8dcc54e2e73235c08d454f7a8c3603dec8992300e8d6ece08af6db534f0fa315 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:11 + make test 06:34:11 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:34:12 ? github.com/edgexfoundry/device-rest-go [no test files] 06:34:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:34:45 ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 56.3% of statements 06:34:45 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:34:52 gofmt -l . 06:34:52 [ "`gofmt -l .`" = "" ] 06:34:52 ./bin/test-go-mod-tidy.sh 06:34:52 ./bin/test-attribution-txt.sh 06:34:53 An attribution for bitbucket.org/bertimus9/systemstat is missing from in Attribution.txt, please add 06:34:53 An attribution for github.com/go-playground/locales is missing from in Attribution.txt, please add 06:34:53 An attribution for github.com/go-playground/universal-translator is missing from in Attribution.txt, please add 06:34:53 An attribution for github.com/go-playground/validator/v10 is missing from in Attribution.txt, please add 06:34:53 An attribution for github.com/leodido/go-urn is missing from in Attribution.txt, please add 06:34:53 make: *** [Makefile:28: test] Error 1 [Pipeline] } 06:34:53 $ docker stop --time=1 8dcc54e2e73235c08d454f7a8c3603dec8992300e8d6ece08af6db534f0fa315 06:34:55 $ docker rm -f 8dcc54e2e73235c08d454f7a8c3603dec8992300e8d6ece08af6db534f0fa315 [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] } 06:34:58 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 06:35:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:35:03 ---> package-listing.sh 06:35:03 ++ facter osfamily 06:35:03 ++ tr '[:upper:]' '[:lower:]' 06:35:04 + OS_FAMILY=redhat 06:35:04 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-49 06:35:04 + START_PACKAGES=/tmp/packages_start.txt 06:35:04 + END_PACKAGES=/tmp/packages_end.txt 06:35:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:35:04 + PACKAGES=/tmp/packages_start.txt 06:35:04 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-49 ']' 06:35:04 + PACKAGES=/tmp/packages_end.txt 06:35:04 + case "${OS_FAMILY}" in 06:35:04 + rpm -qa 06:35:04 + sort 06:35:08 + '[' -f /tmp/packages_start.txt ']' 06:35:08 + '[' -f /tmp/packages_end.txt ']' 06:35:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:35:08 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-49 ']' 06:35:08 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-49/archives/ 06:35:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-49/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:35:08 provisioning config files... 06:35:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-49@tmp/config188755979482725297tmp [Pipeline] { [Pipeline] echo 06:35:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:35:09 ---> create-netrc.sh [Pipeline] } 06:35:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:35:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:35:09 ---> python-tools-install.sh 06:35:09 Generating Requirements File 06:37:01 Python 3.6.8 06:37:01 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 06:37:01 aiohttp==3.6.2 06:37:01 appdirs==1.4.3 06:37:01 argcomplete==1.12.1 06:37:01 aspy.yaml==1.3.0 06:37:01 async-timeout==3.0.1 06:37:01 attrs==19.3.0 06:37:01 Babel==2.8.0 06:37:01 beautifulsoup4==4.8.2 06:37:01 boto3==1.11.6 06:37:01 botocore==1.14.6 06:37:01 bs4==0.0.1 06:37:01 cachetools==4.1.1 06:37:01 certifi==2019.11.28 06:37:01 cffi==1.14.3 06:37:01 cfgv==2.0.1 06:37:01 chardet==3.0.4 06:37:01 click==7.1 06:37:01 cliff==3.4.0 06:37:01 cmd2==1.3.11 06:37:01 colorama==0.4.3 06:37:01 cryptography==3.1.1 06:37:01 debtcollector==2.2.0 06:37:01 decorator==4.4.2 06:37:01 defusedxml==0.6.0 06:37:01 Deprecated==1.2.7 06:37:01 distlib==0.3.1 06:37:01 distro==1.2.0 06:37:01 dnspython==1.16.0 06:37:01 docker==4.2.0 06:37:01 docutils==0.15.2 06:37:01 dogpile.cache==1.0.2 06:37:01 email-validator==1.0.5 06:37:01 filelock==3.0.12 06:37:01 future==0.18.2 06:37:01 google-auth==1.22.0 06:37:01 httplib2==0.17.0 06:37:01 identify==1.4.11 06:37:01 idna==2.9 06:37:01 idna-ssl==1.1.0 06:37:01 importlib-metadata==1.7.0 06:37:01 importlib-resources==1.5.0 06:37:01 iso8601==0.1.13 06:37:01 Jinja2==2.11.1 06:37:01 jmespath==0.10.0 06:37:01 jsonpatch==1.26 06:37:01 jsonpointer==2.0 06:37:01 jsonschema==3.2.0 06:37:01 keystoneauth1==4.2.1 06:37:01 kubernetes==11.0.0 06:37:01 lftools==0.34.2 06:37:01 lxml==4.5.0 06:37:01 MarkupSafe==0.23 06:37:01 msgpack==1.0.0 06:37:01 multi-key-dict==2.0.3 06:37:01 multidict==4.7.6 06:37:01 munch==2.5.0 06:37:01 netaddr==0.8.0 06:37:01 netifaces==0.10.9 06:37:01 niet==1.4.2 06:37:01 nodeenv==1.3.5 06:37:01 oauth2client==4.1.3 06:37:01 oauthlib==3.1.0 06:37:01 openstacksdk==0.50.0 06:37:01 os-client-config==2.1.0 06:37:01 os-service-types==1.7.0 06:37:01 osc-lib==2.2.1 06:37:01 oslo.config==8.3.2 06:37:01 oslo.context==3.1.1 06:37:01 oslo.i18n==5.0.1 06:37:01 oslo.log==4.4.0 06:37:01 oslo.serialization==4.0.1 06:37:01 oslo.utils==4.6.0 06:37:01 packaging==20.4 06:37:01 pbr==5.4.4 06:37:01 pluggy==0.13.1 06:37:01 prettytable==0.7.2 06:37:01 py==1.9.0 06:37:01 pyasn1==0.4.8 06:37:01 pyasn1-modules==0.2.8 06:37:01 pycparser==2.20 06:37:01 pygerrit2==2.0.10 06:37:01 PyGithub==1.46 06:37:01 pyinotify==0.9.6 06:37:01 PyJWT==1.7.1 06:37:01 pyparsing==2.4.7 06:37:01 pyperclip==1.8.0 06:37:01 pyroute2==0.4.13 06:37:01 pyrsistent==0.15.7 06:37:01 PySocks==1.6.8 06:37:01 python-cinderclient==7.2.0 06:37:01 python-dateutil==2.8.1 06:37:01 python-heatclient==2.2.1 06:37:01 python-jenkins==1.7.0 06:37:01 python-keystoneclient==4.1.1 06:37:01 python-magnumclient==3.2.1 06:37:01 python-novaclient==17.2.1 06:37:01 python-openstackclient==5.4.0 06:37:01 python-swiftclient==3.10.1 06:37:01 pytz==2020.1 06:37:01 PyYAML==5.3 06:37:01 requests==2.23.0 06:37:01 requests-oauthlib==1.3.0 06:37:01 requestsexceptions==1.4.0 06:37:01 rfc3986==1.4.0 06:37:01 rpm==4.11.3 06:37:01 rsa==4.0 06:37:01 ruamel.yaml==0.16.10 06:37:01 ruamel.yaml.clib==0.2.0 06:37:01 s3transfer==0.3.3 06:37:01 shade==1.27.2 06:37:01 simplejson==3.17.2 06:37:01 six==1.14.0 06:37:01 soupsieve==2.0 06:37:01 stevedore==3.2.2 06:37:01 tabulate==0.8.6 06:37:01 toml==0.10.0 06:37:01 tox==3.20.0 06:37:01 tqdm==4.43.0 06:37:01 typing-extensions==3.7.4.3 06:37:01 urllib3==1.25.8 06:37:01 virtualenv==20.0.33 06:37:01 wcwidth==0.2.5 06:37:01 websocket-client==0.57.0 06:37:01 wrapt==1.12.1 06:37:01 xdg==3.0.2 06:37:01 xmltodict==0.12.0 06:37:01 yarl==1.6.0 06:37:01 yq==2.11.1 06:37:01 zipp==3.3.0 06:37:01 Cache entry deserialization failed, entry ignored 06:37:01 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. 06:37:04 Python 2.7.5 06:37:04 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 06:37:05 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. 06:37:05 ansible==2.9.7 06:37:05 Babel==0.9.6 06:37:05 backports.ssl-match-hostname==3.5.0.1 06:37:05 beautifulsoup4==4.4.1 06:37:05 bodhi==2.11.0 06:37:05 bodhi-client==2.11.0 06:37:05 CCColUtils==1.4 06:37:05 cffi==1.6.0 06:37:05 chardet==2.2.1 06:37:05 click==6.7 06:37:05 cloud-init==18.5 06:37:05 configobj==4.7.2 06:37:05 cryptography==1.7.2 06:37:05 decorator==3.4.0 06:37:05 distro==1.2.0 06:37:05 enum34==1.0.4 06:37:05 fedpkg==1.38 06:37:05 futures==3.1.1 06:37:05 gitdb==0.6.4 06:37:05 GitPython==1.0.1 06:37:05 html5lib==0.999 06:37:05 httplib2==0.9.2 06:37:05 idna==2.4 06:37:05 iniparse==0.4 06:37:05 ipaddress==1.0.16 06:37:05 IPy==0.75 06:37:05 javapackages==1.0.0 06:37:05 Jinja2==2.7.2 06:37:05 jmespath==0.9.4 06:37:05 jsonpatch==1.2 06:37:05 jsonpointer==1.9 06:37:05 kerberos==1.1 06:37:05 kitchen==1.1.1 06:37:05 langtable==0.0.31 06:37:05 lockfile==0.9.1 06:37:05 lxml==3.2.1 06:37:05 MarkupSafe==0.11 06:37:05 munch==2.0.2 06:37:05 offtrac==0.1.0 06:37:05 openidc-client==0.6.0 06:37:05 packagedb-cli==2.14.1 06:37:05 paramiko==2.1.1 06:37:05 perf==0.1 06:37:05 ply==3.4 06:37:05 policycoreutils-default-encoding==0.1 06:37:05 prettytable==0.7.2 06:37:05 pyasn1==0.1.9 06:37:05 pycparser==2.14 06:37:05 pycurl==7.19.0 06:37:05 pygobject==3.22.0 06:37:05 pygpgme==0.3 06:37:05 pyliblzma==0.5.3 06:37:05 pyOpenSSL==0.13.1 06:37:05 pyparsing==1.5.6 06:37:05 pyserial==2.6 06:37:05 python-augeas==0.5.0 06:37:05 python-bugzilla==2.3.0 06:37:05 python-dateutil==1.5 06:37:05 python-fedora==0.10.0 06:37:05 python-linux-procfs==0.4.9 06:37:05 python-yubico==1.2.3 06:37:05 pyudev==0.15 06:37:05 pyusb==1.0.0b1 06:37:05 pyxattr==0.5.1 06:37:05 PyYAML==3.10 06:37:05 requests==2.6.0 06:37:05 requests-kerberos==0.7.0 06:37:05 rpkg==1.60 06:37:05 schedutils==0.4 06:37:05 seobject==0.1 06:37:05 sepolicy==1.1 06:37:05 six==1.9.0 06:37:05 smmap==0.9.0 06:37:05 urlgrabber==3.10 06:37:05 urllib3==1.10.2 06:37:05 virtualenv==15.1.0 06:37:05 yum-langpacks==0.4.2 06:37:05 yum-metadata-parser==1.1.4 [Pipeline] echo 06:37:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:37:06 ---> sudo-logs.sh 06:37:06 Archiving 'sudo' log.. [Pipeline] echo 06:37:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:37:06 ---> job-cost.sh 06:37:06 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-MXlt 06:37:19 Cache entry deserialization failed, entry ignored 06:37:19 Cache entry deserialization failed, entry ignored 06:37:20 Cache entry deserialization failed, entry ignored 06:37:20 Cache entry deserialization failed, entry ignored 06:37:20 Cache entry deserialization failed, entry ignored 06:37:21 Cache entry deserialization failed, entry ignored 06:37:21 Cache entry deserialization failed, entry ignored 06:37:21 Cache entry deserialization failed, entry ignored 06:37:21 Cache entry deserialization failed, entry ignored 06:37:21 Cache entry deserialization failed, entry ignored 06:37:21 Cache entry deserialization failed, entry ignored 06:37:21 Cache entry deserialization failed, entry ignored 06:37:26 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 06:38:13 lf-activate-venv(): INFO: Adding /tmp/venv-MXlt/bin to PATH 06:38:13 INFO: No Stack... 06:38:13 INFO: Retrieving Pricing Info for: v1-standard-2 06:38:13 INFO: Archiving Costs [Pipeline] echo 06:38:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:38:13 ---> logs-deploy.sh 06:38:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-49/1 06:38:13 INFO: archiving workspace using pattern(s): 06:38:16 Archives upload complete. 06:38:16 INFO: archiving logs to Nexus