Pull request #48 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 1ac8299463d7524cad4c20be56fd24c92d62b5fe+172864091628f91237888ceec3b813680f51db30 (303c3c82b6f01049cdd007adb08847bfa1ddd897) 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-48/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-48/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 ‘prd-centos7-docker-4c-2g-2004’ is offline Running on prd-centos7-docker-4c-2g-2009 in /w/workspace/dgexfoundry_device-rest-go_PR-48 [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-48 # 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 172864091628f91237888ceec3b813680f51db30 into PR head commit 1ac8299463d7524cad4c20be56fd24c92d62b5fe Merge succeeded, producing 1ac8299463d7524cad4c20be56fd24c92d62b5fe Checking out Revision 1ac8299463d7524cad4c20be56fd24c92d62b5fe (PR-48) > 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/48/head:refs/remotes/origin/PR-48 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ac8299463d7524cad4c20be56fd24c92d62b5fe # 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 172864091628f91237888ceec3b813680f51db30 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1ac8299463d7524cad4c20be56fd24c92d62b5fe # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" 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 18:35:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:35:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:35:03 ========================================================= 18:35:03 EdgeX Global Pipelines Version Info 18:35:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:35:05 ------------------- 18:35:05 stable info: 18:35:05 ------------------- 18:35:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:35:05 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 18:35:05 Message: update stable to v1.0.131 18:35:05 ------------------- 18:35:05 experimental info: 18:35:05 ------------------- 18:35:05 Commited By: **** collab-it+edgex@linuxfoundation.org 18:35:05 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 18:35:05 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 18:35:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:35:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:35:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:35:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:35:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:35:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 18:35:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 18:35:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 18:35:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:35:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:35:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:35:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 18:35:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:35:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:35:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:35:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:35:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:35:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:35:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:35:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:35:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:35:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:35:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:35:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:35:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:35:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-48 [Pipeline] echo 18:35:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-48 [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-48 [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1ac8299463d7524cad4c20be56fd24c92d62b5fe [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1ac8299 [Pipeline] echo 18:35:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:35:11 + git log --format=format:%s -1 1ac8299463d7524cad4c20be56fd24c92d62b5fe [Pipeline] echo 18:35:11 GIT_COMMIT: 1ac8299463d7524cad4c20be56fd24c92d62b5fe, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 18:35:11 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:35:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:35:12 18:35:12 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:35:12 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:35:12 latest: Pulling from edgex-devops/git-semver 18:35:12 31603596830f: Pulling fs layer 18:35:12 2a8b12db71e7: Pulling fs layer 18:35:12 6ca5941a6612: Pulling fs layer 18:35:12 ecc8261a40a4: Pulling fs layer 18:35:12 ecc8261a40a4: Waiting 18:35:12 2a8b12db71e7: Verifying Checksum 18:35:12 2a8b12db71e7: Download complete 18:35:13 31603596830f: Verifying Checksum 18:35:13 31603596830f: Download complete 18:35:13 6ca5941a6612: Verifying Checksum 18:35:13 6ca5941a6612: Download complete 18:35:13 ecc8261a40a4: Verifying Checksum 18:35:13 ecc8261a40a4: Download complete 18:35:13 31603596830f: Pull complete 18:35:13 2a8b12db71e7: Pull complete 18:35:14 6ca5941a6612: Pull complete 18:35:14 ecc8261a40a4: Pull complete 18:35:14 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 18:35:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:35:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:35:14 prd-centos7-docker-4c-2g-2009 does not seem to be running inside a container 18:35:14 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-48 -v /w/workspace/dgexfoundry_device-rest-go_PR-48:/w/workspace/dgexfoundry_device-rest-go_PR-48:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-48@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-48@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:35:16 $ docker top 70d0fab36cc98464c028ac81d8f0cef37a1ccc8092e0b762fc31490de5c8fad5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:35:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:35:17 [ssh-agent] Looking for ssh-agent implementation... 18:35:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:35:17 $ docker exec 70d0fab36cc98464c028ac81d8f0cef37a1ccc8092e0b762fc31490de5c8fad5 ssh-agent 18:35:17 SSH_AUTH_SOCK=/tmp/ssh-L1vNZ2eY1oCz/agent.11 18:35:17 SSH_AGENT_PID=16 18:35:17 Running ssh-add (command line suppressed) 18:35:17 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-48@tmp/private_key_6345145110758629684.key (/w/workspace/dgexfoundry_device-rest-go_PR-48@tmp/private_key_6345145110758629684.key) 18:35:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:35:18 + git describe --exact-match --tags HEAD 18:35:18 fatal: no tag exactly matches '1ac8299463d7524cad4c20be56fd24c92d62b5fe' [Pipeline] } 18:35:18 $ docker exec --env ******** --env ******** 70d0fab36cc98464c028ac81d8f0cef37a1ccc8092e0b762fc31490de5c8fad5 ssh-agent -k 18:35:18 unset SSH_AUTH_SOCK; 18:35:18 unset SSH_AGENT_PID; 18:35:18 echo Agent pid 16 killed; 18:35:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:35:18 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 18:35:18 This usually means this commit has not been tagged. [Pipeline] sshagent 18:35:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:35:18 [ssh-agent] Looking for ssh-agent implementation... 18:35:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:35:19 $ docker exec 70d0fab36cc98464c028ac81d8f0cef37a1ccc8092e0b762fc31490de5c8fad5 ssh-agent 18:35:19 SSH_AUTH_SOCK=/tmp/ssh-pkcyJQdBMos8/agent.46 18:35:19 SSH_AGENT_PID=51 18:35:19 Running ssh-add (command line suppressed) 18:35:19 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-48@tmp/private_key_4212553253638786413.key (/w/workspace/dgexfoundry_device-rest-go_PR-48@tmp/private_key_4212553253638786413.key) 18:35:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:35:19 + git semver init 18:35:19 # -> Open(): unable to determine branch for HEAD 18:35:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-48/.git 18:35:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-48 18:35:19 # $SEMVER_REMOTE_NAME = origin 18:35:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:35:19 # $SEMVER_USER_NAME = edgex-jenkins 18:35:19 # $SEMVER_BRANCH = PR-48 18:35:19 # $SEMVER_TEMP = /tmp/semver-575024335 18:35:19 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:35:24 # '/tmp/semver-575024335' -> '/w/workspace/dgexfoundry_device-rest-go_PR-48/.semver' 18:35:24 # -> Force: false 18:35:24 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-48/.semver [Pipeline] } 18:35:24 $ docker exec --env ******** --env ******** 70d0fab36cc98464c028ac81d8f0cef37a1ccc8092e0b762fc31490de5c8fad5 ssh-agent -k 18:35:24 unset SSH_AUTH_SOCK; 18:35:24 unset SSH_AGENT_PID; 18:35:24 echo Agent pid 51 killed; 18:35:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:35:24 + git semver [Pipeline] } 18:35:24 $ docker stop --time=1 70d0fab36cc98464c028ac81d8f0cef37a1ccc8092e0b762fc31490de5c8fad5 18:35:26 $ docker rm -f 70d0fab36cc98464c028ac81d8f0cef37a1ccc8092e0b762fc31490de5c8fad5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 18:35:27 Stashed 24 file(s) [Pipeline] echo 18:35:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 18:35:27 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 18:35:43 Still waiting to schedule task 18:35:43 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:35:43 Still waiting to schedule task 18:35:43 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2007’ 18:38:18 Running on prd-centos7-docker-4c-2g-2018 in /w/workspace/dgexfoundry_device-rest-go_PR-48 [Pipeline] { [Pipeline] ws 18:38:18 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:38:21 using credential edgex-jenkins-ssh 18:38:21 Cloning the remote Git repository 18:38:21 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:38:21 > git init /w/workspace/device-rest-go/1 # timeout=10 18:38:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:38:21 > git --version # timeout=10 18:38:21 > git --version # 'git version 2.16.5' 18:38:21 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:38:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:38:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:38:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:38:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:38:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/48/head:refs/remotes/origin/PR-48 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:38:36 Merging remotes/origin/master commit 172864091628f91237888ceec3b813680f51db30 into PR head commit 1ac8299463d7524cad4c20be56fd24c92d62b5fe 18:38:36 Merge succeeded, producing 1ac8299463d7524cad4c20be56fd24c92d62b5fe 18:38:36 Checking out Revision 1ac8299463d7524cad4c20be56fd24c92d62b5fe (PR-48) 18:38:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2015 in /w/workspace/dgexfoundry_device-rest-go_PR-48 [Pipeline] { [Pipeline] ws 18:38:37 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:38:36 > git config core.sparsecheckout # timeout=10 18:38:36 > git checkout -f 1ac8299463d7524cad4c20be56fd24c92d62b5fe # timeout=10 18:38:36 > git remote # timeout=10 18:38:36 > git config --get remote.origin.url # timeout=10 18:38:36 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:36 > git merge 172864091628f91237888ceec3b813680f51db30 # timeout=10 18:38:36 > git rev-parse HEAD^{commit} # timeout=10 18:38:36 > git config core.sparsecheckout # timeout=10 18:38:36 > git checkout -f 1ac8299463d7524cad4c20be56fd24c92d62b5fe # timeout=10 18:38:40 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" 18:38:40 > git --version # timeout=10 18:38:40 > git --version # 'git version 2.16.5' 18:38:40 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:38:41 ========================================================= 18:38:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 18:38:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:38:42 using credential edgex-jenkins-ssh 18:38:42 Cloning the remote Git repository 18:38:42 + 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 . 18:38:43 Sending build context to Docker daemon 8.059MB 18:38:43 Step 1/10 : ARG BASE=golang:1.15-alpine 18:38:43 Step 2/10 : FROM ${BASE} 18:38:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 18:38:43 df20fa9351a1: Pulling fs layer 18:38:43 ed8968b2872e: Pulling fs layer 18:38:43 a92cc7c5fd73: Pulling fs layer 18:38:43 e871e8e8d7a9: Pulling fs layer 18:38:43 e73272ec9a57: Pulling fs layer 18:38:43 1e910a182e73: Pulling fs layer 18:38:43 4e634b169226: Pulling fs layer 18:38:43 e871e8e8d7a9: Waiting 18:38:43 e73272ec9a57: Waiting 18:38:43 1e910a182e73: Waiting 18:38:43 4e634b169226: Waiting 18:38:43 a92cc7c5fd73: Verifying Checksum 18:38:43 a92cc7c5fd73: Download complete 18:38:43 ed8968b2872e: Verifying Checksum 18:38:43 ed8968b2872e: Download complete 18:38:43 e73272ec9a57: Verifying Checksum 18:38:43 e73272ec9a57: Download complete 18:38:43 1e910a182e73: Verifying Checksum 18:38:43 1e910a182e73: Download complete 18:38:43 df20fa9351a1: Verifying Checksum 18:38:43 df20fa9351a1: Download complete 18:38:43 df20fa9351a1: Pull complete 18:38:42 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:38:42 > git init /w/workspace/device-rest-go/1 # timeout=10 18:38:42 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:38:42 > git --version # timeout=10 18:38:42 > git --version # 'git version 2.17.1' 18:38:42 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:42 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:38:43 ed8968b2872e: Pull complete 18:38:43 a92cc7c5fd73: Pull complete 18:38:45 4e634b169226: Verifying Checksum 18:38:45 4e634b169226: Download complete 18:38:45 e871e8e8d7a9: Download complete 18:38:47 Merging remotes/origin/master commit 172864091628f91237888ceec3b813680f51db30 into PR head commit 1ac8299463d7524cad4c20be56fd24c92d62b5fe 18:38:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:38:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:38:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:38:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:38:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/48/head:refs/remotes/origin/PR-48 +refs/heads/master:refs/remotes/origin/master # timeout=10 18:38:47 > git config core.sparsecheckout # timeout=10 18:38:47 > git checkout -f 1ac8299463d7524cad4c20be56fd24c92d62b5fe # timeout=10 18:38:47 Merge succeeded, producing 1ac8299463d7524cad4c20be56fd24c92d62b5fe 18:38:47 Checking out Revision 1ac8299463d7524cad4c20be56fd24c92d62b5fe (PR-48) 18:38:47 > git remote # timeout=10 18:38:47 > git config --get remote.origin.url # timeout=10 18:38:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:38:47 > git merge 172864091628f91237888ceec3b813680f51db30 # timeout=10 18:38:47 > git rev-parse HEAD^{commit} # timeout=10 18:38:47 > git config core.sparsecheckout # timeout=10 18:38:47 > git checkout -f 1ac8299463d7524cad4c20be56fd24c92d62b5fe # timeout=10 18:38:51 e871e8e8d7a9: Pull complete 18:38:51 e73272ec9a57: Pull complete 18:38:51 1e910a182e73: Pull complete 18:38:52 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts" 18:38:52 > git --version # timeout=10 18:38:52 > git --version # 'git version 2.17.1' 18:38:52 fatal: bad object ad104866bbc8c98dca93091e1a8abeb835fd4e4d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 18:38:54 ========================================================= 18:38:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 18:38:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 18:38:55 + 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 . 18:38:56 Sending build context to Docker daemon 8.059MB 18:38:56 Step 1/10 : ARG BASE=golang:1.15-alpine 18:38:56 Step 2/10 : FROM ${BASE} 18:38:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:38:57 b538f80385f9: Pulling fs layer 18:38:57 74f711af9a0d: Pulling fs layer 18:38:57 99f96fe45779: Pulling fs layer 18:38:57 8529a6b9a6be: Pulling fs layer 18:38:57 45590311c82a: Pulling fs layer 18:38:57 69ca0ff8b7b3: Pulling fs layer 18:38:57 209524e5b208: Pulling fs layer 18:38:57 8529a6b9a6be: Waiting 18:38:57 45590311c82a: Waiting 18:38:57 69ca0ff8b7b3: Waiting 18:38:57 209524e5b208: Waiting 18:38:57 99f96fe45779: Verifying Checksum 18:38:57 99f96fe45779: Download complete 18:38:57 74f711af9a0d: Verifying Checksum 18:38:57 45590311c82a: Verifying Checksum 18:38:57 45590311c82a: Download complete 18:38:57 69ca0ff8b7b3: Verifying Checksum 18:38:57 69ca0ff8b7b3: Download complete 18:38:57 b538f80385f9: Verifying Checksum 18:38:57 b538f80385f9: Download complete 18:38:58 b538f80385f9: Pull complete 18:38:58 74f711af9a0d: Pull complete 18:38:59 99f96fe45779: Pull complete 18:38:59 209524e5b208: Verifying Checksum 18:39:01 8529a6b9a6be: Verifying Checksum 18:39:01 8529a6b9a6be: Download complete 18:39:01 4e634b169226: Pull complete 18:39:01 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 18:39:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 18:39:01 ---> f7629b54cfaa 18:39:01 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:39:01 ---> Running in 1e27f46e1953 18:39:01 Removing intermediate container 1e27f46e1953 18:39:01 ---> 1a30d9885cc7 18:39:01 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:39:01 ---> Running in d8bf8540a6f9 18:39:01 Removing intermediate container d8bf8540a6f9 18:39:01 ---> 1731b894b361 18:39:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:39:01 ---> Running in cdc89af12804 18:39:01 Removing intermediate container cdc89af12804 18:39:01 ---> f886ac1df24e 18:39:01 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:39:01 ---> Running in 59a9390ad844 18:39:02 Removing intermediate container 59a9390ad844 18:39:02 ---> 5c239e868210 18:39:02 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:02 ---> Running in ec7cd55f6427 18:39:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 18:39:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 18:39:04 OK: 166 MiB in 39 packages 18:39:05 Removing intermediate container ec7cd55f6427 18:39:05 ---> 01ea56ecc1d3 18:39:05 Step 8/10 : WORKDIR /device-rest-go 18:39:05 ---> Running in 1c8e071e8d9d 18:39:05 Removing intermediate container 1c8e071e8d9d 18:39:05 ---> 9a95208c3d09 18:39:05 Step 9/10 : COPY . . 18:39:06 ---> 2cae27b5e363 18:39:06 Step 10/10 : RUN go mod download 18:39:06 ---> Running in 206aa4f13e1e 18:39:11 8529a6b9a6be: Pull complete 18:39:11 45590311c82a: Pull complete 18:39:12 69ca0ff8b7b3: Pull complete 18:39:16 209524e5b208: Pull complete 18:39:16 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 18:39:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 18:39:16 ---> 5bddaf1c2fca 18:39:16 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 18:39:19 ---> Running in 72eae4547aab 18:39:19 Removing intermediate container 72eae4547aab 18:39:19 ---> 39d9434046b3 18:39:19 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 18:39:19 ---> Running in 0bf8b414cdb9 18:39:19 Removing intermediate container 0bf8b414cdb9 18:39:19 ---> 7f8a3dceac72 18:39:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:39:19 ---> Running in a5ad44f39696 18:39:20 Removing intermediate container a5ad44f39696 18:39:20 ---> 7fb9f6905a5c 18:39:20 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:39:20 ---> Running in 96974d729387 18:39:22 Removing intermediate container 96974d729387 18:39:22 ---> d61f1f1fff7f 18:39:22 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:39:23 ---> Running in f388b145d7ae 18:39:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 18:39:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 18:39:26 OK: 142 MiB in 39 packages 18:39:27 Removing intermediate container f388b145d7ae 18:39:27 ---> f25043d5701d 18:39:27 Step 8/10 : WORKDIR /device-rest-go 18:39:27 ---> Running in 539017cd1a29 18:39:28 Removing intermediate container 206aa4f13e1e 18:39:28 ---> 0612d56891a2 18:39:28 Successfully built 0612d56891a2 18:39:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:39:28 Removing intermediate container 539017cd1a29 18:39:28 ---> 50062af4e0b6 18:39:28 Step 9/10 : COPY . . 18:39:28 + docker inspect -f . ci-base-image-x86_64 18:39:28 . [Pipeline] withDockerContainer 18:39:28 prd-centos7-docker-4c-2g-2018 does not seem to be running inside a container 18:39:29 $ 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 18:39:29 ---> 517386d631a0 18:39:29 Step 10/10 : RUN go mod download 18:39:29 ---> Running in a7b28d58e486 18:39:29 $ docker top e8466f4f5d5db1968247bf7f81b231e818f2f4261ded7769fe2c252f437a321c -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:30 + go version 18:39:30 go version go1.15.2 linux/amd64 [Pipeline] } 18:39:30 $ docker stop --time=1 e8466f4f5d5db1968247bf7f81b231e818f2f4261ded7769fe2c252f437a321c 18:39:31 $ docker rm -f e8466f4f5d5db1968247bf7f81b231e818f2f4261ded7769fe2c252f437a321c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:39:32 + docker inspect -f . ci-base-image-x86_64 18:39:32 . [Pipeline] withDockerContainer 18:39:33 prd-centos7-docker-4c-2g-2018 does not seem to be running inside a container 18:39:33 $ 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 18:39:33 $ docker top af021e5f5d1f1461eab9cd67b306896ac1b5cdbf0f2c64b3faaa96311b0b4083 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:34 + make test 18:39:34 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:39:35 ? github.com/edgexfoundry/device-rest-go [no test files] 18:39:43 # github.com/edgexfoundry/device-sdk-go/internal/transformer 18:39:43 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.2.4-dev.15/internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 18:39:44 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 18:39:44 make: *** [Makefile:23: test] Error 2 [Pipeline] } 18:39:44 $ docker stop --time=1 af021e5f5d1f1461eab9cd67b306896ac1b5cdbf0f2c64b3faaa96311b0b4083 18:39:46 $ docker rm -f af021e5f5d1f1461eab9cd67b306896ac1b5cdbf0f2c64b3faaa96311b0b4083 [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] } 18:39:49 Failed in branch amd64 18:39:51 Removing intermediate container a7b28d58e486 18:39:51 ---> b0cf95ecea6a 18:39:51 Successfully built b0cf95ecea6a 18:39:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:39:52 + docker inspect -f . ci-base-image-arm64 18:39:52 . [Pipeline] withDockerContainer 18:39:52 prd-ubuntu18.04-docker-arm64-4c-16g-2015 does not seem to be running inside a container 18:39:52 $ 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 ******** ci-base-image-arm64 cat 18:39:54 $ docker top d90c72eb6edfa63c4c074e4edfdeaad255ff1c332be75b98426ef11f1ceb457d -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:56 + go version 18:39:56 go version go1.15.2 linux/arm64 [Pipeline] } 18:39:56 $ docker stop --time=1 d90c72eb6edfa63c4c074e4edfdeaad255ff1c332be75b98426ef11f1ceb457d 18:39:58 $ docker rm -f d90c72eb6edfa63c4c074e4edfdeaad255ff1c332be75b98426ef11f1ceb457d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:39:59 + docker inspect -f . ci-base-image-arm64 18:39:59 . [Pipeline] withDockerContainer 18:39:59 prd-ubuntu18.04-docker-arm64-4c-16g-2015 does not seem to be running inside a container 18:39:59 $ 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 ******** ci-base-image-arm64 cat 18:40:01 $ docker top a8ab37587429e3b483a12f04c0ff80c372a1ed04f0aede5f3a36c0d34cf815ab -eo pid,comm [Pipeline] { [Pipeline] sh 18:40:03 + make test 18:40:03 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:40:04 ? github.com/edgexfoundry/device-rest-go [no test files] 18:40:26 # github.com/edgexfoundry/device-sdk-go/internal/transformer 18:40:26 /go/pkg/mod/github.com/edgexfoundry/device-sdk-go@v1.2.4-dev.15/internal/transformer/transformresult.go:604:57: cannot use "github.com/edgexfoundry/go-mod-core-contracts/models".Disabled (type string) as type operating.UpdateRequest in argument to common.DeviceClient.UpdateOpStateByName 18:40:31 FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] 18:40:32 make: *** [Makefile:23: test] Error 2 [Pipeline] } 18:40:32 $ docker stop --time=1 a8ab37587429e3b483a12f04c0ff80c372a1ed04f0aede5f3a36c0d34cf815ab 18:40:34 $ docker rm -f a8ab37587429e3b483a12f04c0ff80c372a1ed04f0aede5f3a36c0d34cf815ab [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] } 18:40:37 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 18:40:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:40:42 ---> package-listing.sh 18:40:42 ++ facter osfamily 18:40:42 ++ tr '[:upper:]' '[:lower:]' 18:40:42 + OS_FAMILY=redhat 18:40:42 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-48 18:40:42 + START_PACKAGES=/tmp/packages_start.txt 18:40:42 + END_PACKAGES=/tmp/packages_end.txt 18:40:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:40:42 + PACKAGES=/tmp/packages_start.txt 18:40:42 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-48 ']' 18:40:42 + PACKAGES=/tmp/packages_end.txt 18:40:42 + case "${OS_FAMILY}" in 18:40:42 + rpm -qa 18:40:42 + sort 18:40:46 + '[' -f /tmp/packages_start.txt ']' 18:40:46 + '[' -f /tmp/packages_end.txt ']' 18:40:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:40:46 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-48 ']' 18:40:46 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-48/archives/ 18:40:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-48/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:47 provisioning config files... 18:40:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-48@tmp/config7175899278180305729tmp [Pipeline] { [Pipeline] echo 18:40:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:40:47 ---> create-netrc.sh [Pipeline] } 18:40:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 18:40:47 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 18:40:48 ---> python-tools-install.sh 18:40:48 Generating Requirements File 18:42:09 Python 3.6.8 18:42:09 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 18:42:09 aiohttp==3.6.2 18:42:09 appdirs==1.4.3 18:42:09 argcomplete==1.12.1 18:42:09 aspy.yaml==1.3.0 18:42:09 async-timeout==3.0.1 18:42:09 attrs==19.3.0 18:42:09 Babel==2.8.0 18:42:09 beautifulsoup4==4.8.2 18:42:09 boto3==1.11.6 18:42:09 botocore==1.14.6 18:42:09 bs4==0.0.1 18:42:09 cachetools==4.1.1 18:42:09 certifi==2019.11.28 18:42:09 cffi==1.14.3 18:42:09 cfgv==2.0.1 18:42:09 chardet==3.0.4 18:42:09 click==7.1 18:42:09 cliff==3.4.0 18:42:09 cmd2==1.3.10 18:42:09 colorama==0.4.3 18:42:09 cryptography==3.1.1 18:42:09 debtcollector==2.2.0 18:42:09 decorator==4.4.2 18:42:09 defusedxml==0.6.0 18:42:09 Deprecated==1.2.7 18:42:09 distlib==0.3.1 18:42:09 distro==1.2.0 18:42:09 dnspython==1.16.0 18:42:09 docker==4.2.0 18:42:09 docutils==0.15.2 18:42:09 dogpile.cache==1.0.2 18:42:09 email-validator==1.0.5 18:42:09 filelock==3.0.12 18:42:09 future==0.18.2 18:42:09 google-auth==1.22.0 18:42:09 httplib2==0.17.0 18:42:09 identify==1.4.11 18:42:09 idna==2.9 18:42:09 idna-ssl==1.1.0 18:42:09 importlib-metadata==1.7.0 18:42:09 importlib-resources==1.5.0 18:42:09 iso8601==0.1.13 18:42:09 Jinja2==2.11.1 18:42:09 jmespath==0.10.0 18:42:09 jsonpatch==1.26 18:42:09 jsonpointer==2.0 18:42:09 jsonschema==3.2.0 18:42:09 keystoneauth1==4.2.1 18:42:09 kubernetes==11.0.0 18:42:09 lftools==0.34.2 18:42:09 lxml==4.5.0 18:42:09 MarkupSafe==0.23 18:42:09 msgpack==1.0.0 18:42:09 multi-key-dict==2.0.3 18:42:09 multidict==4.7.6 18:42:09 munch==2.5.0 18:42:09 netaddr==0.8.0 18:42:09 netifaces==0.10.9 18:42:09 niet==1.4.2 18:42:09 nodeenv==1.3.5 18:42:09 oauth2client==4.1.3 18:42:09 oauthlib==3.1.0 18:42:09 openstacksdk==0.50.0 18:42:09 os-client-config==2.1.0 18:42:09 os-service-types==1.7.0 18:42:09 osc-lib==2.2.1 18:42:09 oslo.config==8.3.2 18:42:09 oslo.context==3.1.1 18:42:09 oslo.i18n==5.0.1 18:42:09 oslo.log==4.4.0 18:42:09 oslo.serialization==4.0.1 18:42:09 oslo.utils==4.6.0 18:42:09 packaging==20.4 18:42:09 pbr==5.4.4 18:42:09 pluggy==0.13.1 18:42:09 prettytable==0.7.2 18:42:09 py==1.9.0 18:42:09 pyasn1==0.4.8 18:42:09 pyasn1-modules==0.2.8 18:42:09 pycparser==2.20 18:42:09 pygerrit2==2.0.10 18:42:09 PyGithub==1.46 18:42:09 pyinotify==0.9.6 18:42:09 PyJWT==1.7.1 18:42:09 pyparsing==2.4.7 18:42:09 pyperclip==1.8.0 18:42:09 pyroute2==0.4.13 18:42:09 pyrsistent==0.15.7 18:42:09 PySocks==1.6.8 18:42:09 python-cinderclient==7.2.0 18:42:09 python-dateutil==2.8.1 18:42:09 python-heatclient==2.2.1 18:42:09 python-jenkins==1.7.0 18:42:09 python-keystoneclient==4.1.1 18:42:09 python-magnumclient==3.2.1 18:42:09 python-novaclient==17.2.1 18:42:09 python-openstackclient==5.3.1 18:42:09 python-swiftclient==3.10.1 18:42:09 pytz==2020.1 18:42:09 PyYAML==5.3 18:42:09 requests==2.23.0 18:42:09 requests-oauthlib==1.3.0 18:42:09 requestsexceptions==1.4.0 18:42:09 rfc3986==1.4.0 18:42:09 rpm==4.11.3 18:42:09 rsa==4.0 18:42:09 ruamel.yaml==0.16.10 18:42:09 ruamel.yaml.clib==0.2.0 18:42:09 s3transfer==0.3.3 18:42:09 shade==1.27.2 18:42:09 simplejson==3.17.2 18:42:09 six==1.14.0 18:42:09 soupsieve==2.0 18:42:09 stevedore==3.2.2 18:42:09 tabulate==0.8.6 18:42:09 toml==0.10.0 18:42:09 tox==3.20.0 18:42:09 tqdm==4.43.0 18:42:09 typing-extensions==3.7.4.3 18:42:09 urllib3==1.25.8 18:42:09 virtualenv==20.0.31 18:42:09 wcwidth==0.2.5 18:42:09 websocket-client==0.57.0 18:42:09 wrapt==1.12.1 18:42:09 xdg==3.0.2 18:42:09 xmltodict==0.12.0 18:42:09 yarl==1.6.0 18:42:09 yq==2.11.1 18:42:09 zipp==3.2.0 18:42:09 Cache entry deserialization failed, entry ignored 18:42:09 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. 18:42:09 Python 2.7.5 18:42:09 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 18:42:09 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. 18:42:10 ansible==2.9.7 18:42:10 Babel==0.9.6 18:42:10 backports.ssl-match-hostname==3.5.0.1 18:42:10 beautifulsoup4==4.4.1 18:42:10 bodhi==2.11.0 18:42:10 bodhi-client==2.11.0 18:42:10 CCColUtils==1.4 18:42:10 cffi==1.6.0 18:42:10 chardet==2.2.1 18:42:10 click==6.7 18:42:10 cloud-init==18.5 18:42:10 configobj==4.7.2 18:42:10 cryptography==1.7.2 18:42:10 decorator==3.4.0 18:42:10 distro==1.2.0 18:42:10 enum34==1.0.4 18:42:10 fedpkg==1.38 18:42:10 futures==3.1.1 18:42:10 gitdb==0.6.4 18:42:10 GitPython==1.0.1 18:42:10 html5lib==0.999 18:42:10 httplib2==0.9.2 18:42:10 idna==2.4 18:42:10 iniparse==0.4 18:42:10 ipaddress==1.0.16 18:42:10 IPy==0.75 18:42:10 javapackages==1.0.0 18:42:10 Jinja2==2.7.2 18:42:10 jmespath==0.9.4 18:42:10 jsonpatch==1.2 18:42:10 jsonpointer==1.9 18:42:10 kerberos==1.1 18:42:10 kitchen==1.1.1 18:42:10 langtable==0.0.31 18:42:10 lockfile==0.9.1 18:42:10 lxml==3.2.1 18:42:10 MarkupSafe==0.11 18:42:10 munch==2.0.2 18:42:10 offtrac==0.1.0 18:42:10 openidc-client==0.6.0 18:42:10 packagedb-cli==2.14.1 18:42:10 paramiko==2.1.1 18:42:10 perf==0.1 18:42:10 ply==3.4 18:42:10 policycoreutils-default-encoding==0.1 18:42:10 prettytable==0.7.2 18:42:10 pyasn1==0.1.9 18:42:10 pycparser==2.14 18:42:10 pycurl==7.19.0 18:42:10 pygobject==3.22.0 18:42:10 pygpgme==0.3 18:42:10 pyliblzma==0.5.3 18:42:10 pyOpenSSL==0.13.1 18:42:10 pyparsing==1.5.6 18:42:10 pyserial==2.6 18:42:10 python-augeas==0.5.0 18:42:10 python-bugzilla==2.3.0 18:42:10 python-dateutil==1.5 18:42:10 python-fedora==0.10.0 18:42:10 python-linux-procfs==0.4.9 18:42:10 python-yubico==1.2.3 18:42:10 pyudev==0.15 18:42:10 pyusb==1.0.0b1 18:42:10 pyxattr==0.5.1 18:42:10 PyYAML==3.10 18:42:10 requests==2.6.0 18:42:10 requests-kerberos==0.7.0 18:42:10 rpkg==1.60 18:42:10 schedutils==0.4 18:42:10 seobject==0.1 18:42:10 sepolicy==1.1 18:42:10 six==1.9.0 18:42:10 smmap==0.9.0 18:42:10 urlgrabber==3.10 18:42:10 urllib3==1.10.2 18:42:10 virtualenv==15.1.0 18:42:10 yum-langpacks==0.4.2 18:42:10 yum-metadata-parser==1.1.4 [Pipeline] echo 18:42:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:42:10 ---> sudo-logs.sh 18:42:10 Archiving 'sudo' log.. [Pipeline] echo 18:42:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:42:11 ---> job-cost.sh 18:42:11 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-BgtS 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:23 Cache entry deserialization failed, entry ignored 18:42:26 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 18:42:58 ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. 18:42:58 18:42:58 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 18:42:58 18:42:58 virtualenv 20.0.31 requires importlib-metadata<2,>=0.12; python_version < "3.8", but you'll have importlib-metadata 2.0.0 which is incompatible. 18:42:58 lf-activate-venv(): INFO: Adding /tmp/venv-BgtS/bin to PATH 18:42:58 INFO: No Stack... 18:42:58 INFO: Retrieving Pricing Info for: v1-standard-2 18:42:58 INFO: Archiving Costs [Pipeline] echo 18:42:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:42:58 ---> logs-deploy.sh 18:42:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-48/1 18:42:58 INFO: archiving workspace using pattern(s): 18:43:00 Archives upload complete. 18:43:00 INFO: archiving logs to Nexus