Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of wlgardner for edgexfoundry/device-modbus-go Loading trusted files from base branch master at ba9e6d923d70383f307bed2756b0cea3beca13c3 rather than 205d20470621f6877b30549a0d87a32e67fc54e2 Obtained Jenkinsfile from ba9e6d923d70383f307bed2756b0cea3beca13c3 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision ad104866bbc8c98dca93091e1a8abeb835fd4e4d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f ad104866bbc8c98dca93091e1a8abeb835fd4e4d # timeout=10 Commit message: "Merge pull request #251 from ernestojeda/fix-codecov-uploader" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh 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-modbus-go/branches/PR-171/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 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-modbus-go, buildSnap:true] ========================================================= [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-modbus-go-settings PROJECT: device-modbus-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-modbus-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: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true [Pipeline] node Running on prd-centos7-docker-4c-2g-2080 in /w/workspace/xfoundry_device-modbus-go_PR-171 [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-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-171 # timeout=10 Merging remotes/origin/master commit ba9e6d923d70383f307bed2756b0cea3beca13c3 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 Merge succeeded, producing 9507faab20eb4164d353d9b0deafefd8823c2b15 Checking out Revision 9507faab20eb4164d353d9b0deafefd8823c2b15 (PR-171) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ba9e6d923d70383f307bed2756b0cea3beca13c3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9507faab20eb4164d353d9b0deafefd8823c2b15 # timeout=10 Commit message: "Merge commit 'ba9e6d923d70383f307bed2756b0cea3beca13c3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:51:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:51:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:51:28 ========================================================= 00:51:28 EdgeX Global Pipelines Version Info 00:51:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 678d87d9fe6cb5824e92961becea3811d12baa5e # timeout=10 00:51:29 ------------------- 00:51:29 stable info: 00:51:29 ------------------- 00:51:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:51:29 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 00:51:29 Message: update stable to v1.0.131 00:51:30 ------------------- 00:51:30 experimental info: 00:51:30 ------------------- 00:51:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:51:30 Commit SHA: ad104866bbc8c98dca93091e1a8abeb835fd4e4d 00:51:30 Message: update experimental to v1.0.131 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 00:51:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:51:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:51:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:51:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:51:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:51:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:51:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:51:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:51:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:51:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:51:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:51:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:51:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:51:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:51:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:51:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo 00:51:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo 00:51:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo 00:51:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9507faab20eb4164d353d9b0deafefd8823c2b15 [Pipeline] echo 00:51:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9507faa [Pipeline] echo 00:51:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:51:34 + git log --format=format:%s -1 9507faab20eb4164d353d9b0deafefd8823c2b15 [Pipeline] echo 00:51:34 GIT_COMMIT: 9507faab20eb4164d353d9b0deafefd8823c2b15, Commit Message: Merge commit 'ba9e6d923d70383f307bed2756b0cea3beca13c3' into HEAD [Pipeline] echo 00:51:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:51:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:51:36 00:51:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:51:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:51:36 latest: Pulling from edgex-devops/git-semver 00:51:36 31603596830f: Pulling fs layer 00:51:36 2a8b12db71e7: Pulling fs layer 00:51:36 6ca5941a6612: Pulling fs layer 00:51:36 ecc8261a40a4: Pulling fs layer 00:51:36 ecc8261a40a4: Waiting 00:51:36 2a8b12db71e7: Verifying Checksum 00:51:36 2a8b12db71e7: Download complete 00:51:36 31603596830f: Download complete 00:51:36 ecc8261a40a4: Verifying Checksum 00:51:36 ecc8261a40a4: Download complete 00:51:36 6ca5941a6612: Verifying Checksum 00:51:36 6ca5941a6612: Download complete 00:51:37 31603596830f: Pull complete 00:51:37 2a8b12db71e7: Pull complete 00:51:37 6ca5941a6612: Pull complete 00:51:38 ecc8261a40a4: Pull complete 00:51:38 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:51:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:51:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:51:38 prd-centos7-docker-4c-2g-2080 does not seem to be running inside a container 00:51:38 $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:51:40 $ docker top 8a0f777313d833fd6f7bec06a63db58136ac3766702db45abf378e216241b3c5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:51:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:41 [ssh-agent] Looking for ssh-agent implementation... 00:51:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:41 $ docker exec 8a0f777313d833fd6f7bec06a63db58136ac3766702db45abf378e216241b3c5 ssh-agent 00:51:41 SSH_AUTH_SOCK=/tmp/ssh-gMLhPpVlBSAE/agent.12 00:51:41 SSH_AGENT_PID=18 00:51:41 Running ssh-add (command line suppressed) 00:51:41 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_8022721190993079642.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_8022721190993079642.key) 00:51:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:42 + git describe --exact-match --tags HEAD 00:51:42 fatal: no tag exactly matches '9507faab20eb4164d353d9b0deafefd8823c2b15' [Pipeline] } 00:51:42 $ docker exec --env ******** --env ******** 8a0f777313d833fd6f7bec06a63db58136ac3766702db45abf378e216241b3c5 ssh-agent -k 00:51:42 unset SSH_AUTH_SOCK; 00:51:42 unset SSH_AGENT_PID; 00:51:42 echo Agent pid 18 killed; 00:51:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 00:51:42 [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 00:51:42 This usually means this commit has not been tagged. [Pipeline] sshagent 00:51:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:51:42 [ssh-agent] Looking for ssh-agent implementation... 00:51:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:51:42 $ docker exec 8a0f777313d833fd6f7bec06a63db58136ac3766702db45abf378e216241b3c5 ssh-agent 00:51:42 SSH_AUTH_SOCK=/tmp/ssh-Zf1oAgMDVVaW/agent.47 00:51:42 SSH_AGENT_PID=53 00:51:42 Running ssh-add (command line suppressed) 00:51:42 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_4356675063769680890.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_4356675063769680890.key) 00:51:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:51:43 + git semver init 00:51:43 # -> Open(): unable to determine branch for HEAD 00:51:43 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git 00:51:43 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 00:51:43 # $SEMVER_REMOTE_NAME = origin 00:51:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:51:43 # $SEMVER_USER_NAME = edgex-jenkins 00:51:43 # $SEMVER_BRANCH = PR-171 00:51:43 # $SEMVER_TEMP = /tmp/semver-584266185 00:51:43 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 00:51:43 # '/tmp/semver-584266185' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' 00:51:43 # -> Force: false 00:51:43 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } 00:51:43 $ docker exec --env ******** --env ******** 8a0f777313d833fd6f7bec06a63db58136ac3766702db45abf378e216241b3c5 ssh-agent -k 00:51:43 unset SSH_AUTH_SOCK; 00:51:43 unset SSH_AGENT_PID; 00:51:43 echo Agent pid 53 killed; 00:51:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:51:44 + git semver [Pipeline] } 00:51:44 $ docker stop --time=1 8a0f777313d833fd6f7bec06a63db58136ac3766702db45abf378e216241b3c5 00:51:46 $ docker rm -f 8a0f777313d833fd6f7bec06a63db58136ac3766702db45abf378e216241b3c5 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 00:51:46 Stashed 31 file(s) [Pipeline] echo 00:51:46 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo 00:51:47 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 00:51:47 Running on prd-centos7-docker-4c-2g-2079 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws 00:51:47 Running in /w/workspace/device-modbus-go/7 [Pipeline] { [Pipeline] checkout 00:51:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2086 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws 00:51:47 Running in /w/workspace/device-modbus-go/7 [Pipeline] { [Pipeline] checkout 00:51:50 using credential edgex-jenkins-ssh 00:51:50 Cloning the remote Git repository 00:51:50 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:51:50 > git init /w/workspace/device-modbus-go/7 # timeout=10 00:51:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:51:50 > git --version # timeout=10 00:51:50 > git --version # 'git version 2.16.5' 00:51:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:51:51 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:51:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:51:51 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:51:51 Merging remotes/origin/master commit ba9e6d923d70383f307bed2756b0cea3beca13c3 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 00:51:51 Merge succeeded, producing 4244dbcdd25fe038932eb386830214da2f154082 00:51:51 Checking out Revision 4244dbcdd25fe038932eb386830214da2f154082 (PR-171) 00:51:51 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:51:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:51 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:51:51 > git config core.sparsecheckout # timeout=10 00:51:51 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 00:51:51 > git remote # timeout=10 00:51:51 > git config --get remote.origin.url # timeout=10 00:51:51 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:51 > git merge ba9e6d923d70383f307bed2756b0cea3beca13c3 # timeout=10 00:51:51 > git rev-parse HEAD^{commit} # timeout=10 00:51:51 > git config core.sparsecheckout # timeout=10 00:51:51 > git checkout -f 4244dbcdd25fe038932eb386830214da2f154082 # timeout=10 00:51:54 using credential edgex-jenkins-ssh 00:51:54 Cloning the remote Git repository 00:51:55 Commit message: "Merge commit 'ba9e6d923d70383f307bed2756b0cea3beca13c3' into HEAD" 00:51:55 First time build. Skipping changelog. 00:51:54 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:51:54 > git init /w/workspace/device-modbus-go/7 # timeout=10 00:51:54 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:51:54 > git --version # timeout=10 00:51:54 > git --version # 'git version 2.17.1' 00:51:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:51:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:51:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:51:55 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:51:56 ========================================================= 00:51:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:51:56 ========================================================= 00:51:55 > git rev-list --no-walk 678d87d9fe6cb5824e92961becea3811d12baa5e # timeout=10 [Pipeline] isUnix [Pipeline] sh 00:51:56 Merging remotes/origin/master commit ba9e6d923d70383f307bed2756b0cea3beca13c3 into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 00:51:56 Merge succeeded, producing 3239248e2357f4f997dd1a674e1fbcccefc51c70 00:51:56 Checking out Revision 3239248e2357f4f997dd1a674e1fbcccefc51c70 (PR-171) 00:51:56 + 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 . 00:51:55 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:51:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:55 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:51:56 > git config core.sparsecheckout # timeout=10 00:51:56 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 00:51:56 > git remote # timeout=10 00:51:56 > git config --get remote.origin.url # timeout=10 00:51:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:51:56 > git merge ba9e6d923d70383f307bed2756b0cea3beca13c3 # timeout=10 00:51:56 > git rev-parse HEAD^{commit} # timeout=10 00:51:56 > git config core.sparsecheckout # timeout=10 00:51:56 > git checkout -f 3239248e2357f4f997dd1a674e1fbcccefc51c70 # timeout=10 00:51:57 Sending build context to Docker daemon 852kB 00:51:57 Step 1/8 : ARG BASE=golang:1.15-alpine 00:51:57 Step 2/8 : FROM ${BASE} 00:51:57 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:51:57 df20fa9351a1: Pulling fs layer 00:51:57 ed8968b2872e: Pulling fs layer 00:51:57 a92cc7c5fd73: Pulling fs layer 00:51:57 e871e8e8d7a9: Pulling fs layer 00:51:57 e73272ec9a57: Pulling fs layer 00:51:57 1e910a182e73: Pulling fs layer 00:51:57 4e634b169226: Pulling fs layer 00:51:57 e871e8e8d7a9: Waiting 00:51:57 e73272ec9a57: Waiting 00:51:57 1e910a182e73: Waiting 00:51:57 4e634b169226: Waiting 00:51:57 a92cc7c5fd73: Download complete 00:51:57 ed8968b2872e: Download complete 00:51:57 e73272ec9a57: Verifying Checksum 00:51:57 e73272ec9a57: Download complete 00:51:57 1e910a182e73: Verifying Checksum 00:51:57 1e910a182e73: Download complete 00:51:58 df20fa9351a1: Verifying Checksum 00:51:58 df20fa9351a1: Download complete 00:51:58 df20fa9351a1: Pull complete 00:51:58 ed8968b2872e: Pull complete 00:51:58 a92cc7c5fd73: Pull complete 00:51:59 4e634b169226: Verifying Checksum 00:51:59 4e634b169226: Download complete 00:52:00 e871e8e8d7a9: Verifying Checksum 00:52:00 e871e8e8d7a9: Download complete 00:52:01 Commit message: "Merge commit 'ba9e6d923d70383f307bed2756b0cea3beca13c3' into HEAD" 00:52:01 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 00:52:02 ========================================================= 00:52:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:52:02 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:52:01 > git rev-list --no-walk 678d87d9fe6cb5824e92961becea3811d12baa5e # timeout=10 00:52: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 . 00:52:04 Sending build context to Docker daemon 852kB 00:52:04 Step 1/8 : ARG BASE=golang:1.15-alpine 00:52:04 Step 2/8 : FROM ${BASE} 00:52:05 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:52:05 b538f80385f9: Pulling fs layer 00:52:05 74f711af9a0d: Pulling fs layer 00:52:05 99f96fe45779: Pulling fs layer 00:52:05 8529a6b9a6be: Pulling fs layer 00:52:05 45590311c82a: Pulling fs layer 00:52:05 69ca0ff8b7b3: Pulling fs layer 00:52:05 209524e5b208: Pulling fs layer 00:52:05 8529a6b9a6be: Waiting 00:52:05 45590311c82a: Waiting 00:52:05 69ca0ff8b7b3: Waiting 00:52:05 209524e5b208: Waiting 00:52:05 99f96fe45779: Download complete 00:52:05 74f711af9a0d: Verifying Checksum 00:52:05 74f711af9a0d: Download complete 00:52:05 45590311c82a: Download complete 00:52:05 69ca0ff8b7b3: Verifying Checksum 00:52:05 69ca0ff8b7b3: Download complete 00:52:05 b538f80385f9: Verifying Checksum 00:52:05 b538f80385f9: Download complete 00:52:05 e871e8e8d7a9: Pull complete 00:52:05 e73272ec9a57: Pull complete 00:52:06 b538f80385f9: Pull complete 00:52:06 1e910a182e73: Pull complete 00:52:07 74f711af9a0d: Pull complete 00:52:07 99f96fe45779: Pull complete 00:52:08 209524e5b208: Verifying Checksum 00:52:08 209524e5b208: Download complete 00:52:09 8529a6b9a6be: Verifying Checksum 00:52:09 8529a6b9a6be: Download complete 00:52:11 4e634b169226: Pull complete 00:52:11 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 00:52:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:52:11 ---> f7629b54cfaa 00:52:11 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:52:12 ---> Running in 772b33212a42 00:52:12 Removing intermediate container 772b33212a42 00:52:12 ---> 18685f5b9e50 00:52:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:52:12 ---> Running in 3c9c6805dd63 00:52:13 Removing intermediate container 3c9c6805dd63 00:52:13 ---> c739b444d0d2 00:52:13 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:52:13 ---> Running in 1f0c2075a32f 00:52:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:52:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:52:15 (1/14) Installing libmagic (5.38-r0) 00:52:15 (2/14) Installing file (5.38-r0) 00:52:15 (3/14) Installing libc-dev (0.7.2-r3) 00:52:15 (4/14) Installing g++ (9.3.0-r2) 00:52:19 8529a6b9a6be: Pull complete 00:52:19 (5/14) Installing fortify-headers (1.1-r0) 00:52:19 (6/14) Installing patch (2.7.6-r6) 00:52:19 45590311c82a: Pull complete 00:52:19 (7/14) Installing build-base (0.5-r2) 00:52:19 (8/14) Installing openssh-keygen (8.3_p1-r0) 00:52:19 (9/14) Installing libedit (20191231.3.1-r0) 00:52:19 (10/14) Installing openssh-client (8.3_p1-r0) 00:52:20 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 00:52:20 (12/14) Installing openssh-server-common (8.3_p1-r0) 00:52:20 69ca0ff8b7b3: Pull complete 00:52:20 (13/14) Installing openssh-server (8.3_p1-r0) 00:52:20 (14/14) Installing openssh (8.3_p1-r0) 00:52:20 Executing busybox-1.31.1-r16.trigger 00:52:20 OK: 237 MiB in 53 packages 00:52:23 Removing intermediate container 1f0c2075a32f 00:52:23 ---> bf0272f00e99 00:52:23 Step 6/8 : WORKDIR /device-modbus-go 00:52:23 ---> Running in 01627397548a 00:52:23 Removing intermediate container 01627397548a 00:52:23 ---> fd16bc95f155 00:52:23 Step 7/8 : COPY . . 00:52:24 209524e5b208: Pull complete 00:52:24 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 00:52:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:52:24 ---> 5bddaf1c2fca 00:52:24 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:52:24 ---> bfc1f99e9dc6 00:52:24 Step 8/8 : RUN go mod download 00:52:24 ---> Running in dcdf0347c6ab 00:52:27 ---> Running in dce4d73990a9 00:52:27 Removing intermediate container dce4d73990a9 00:52:27 ---> 5770ea77323d 00:52:27 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:52:27 ---> Running in 99ca72cd89c2 00:52:30 Removing intermediate container 99ca72cd89c2 00:52:30 ---> 39ff48a762ec 00:52:30 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:52:30 ---> Running in bd98e7c3018f 00:52:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:52:33 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:52:33 (1/14) Installing libmagic (5.38-r0) 00:52:33 (2/14) Installing file (5.38-r0) 00:52:34 (3/14) Installing libc-dev (0.7.2-r3) 00:52:34 (4/14) Installing g++ (9.3.0-r2) 00:52:36 Removing intermediate container dcdf0347c6ab 00:52:36 ---> 5eb94b5ad30a 00:52:36 Successfully built 5eb94b5ad30a 00:52:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:52:37 + docker inspect -f . ci-base-image-x86_64 00:52:37 . [Pipeline] withDockerContainer 00:52:37 prd-centos7-docker-4c-2g-2079 does not seem to be running inside a container 00:52:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/7 -v /w/workspace/device-modbus-go/7:/w/workspace/device-modbus-go/7:rw,z -v /w/workspace/device-modbus-go/7@tmp:/w/workspace/device-modbus-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:52:38 $ docker top b70e36bfc663dffd7ecc5a5f92508043466bbada32ae186169d5293824b660db -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:39 + go version 00:52:39 go version go1.15.2 linux/amd64 [Pipeline] } 00:52:39 $ docker stop --time=1 b70e36bfc663dffd7ecc5a5f92508043466bbada32ae186169d5293824b660db 00:52:40 $ docker rm -f b70e36bfc663dffd7ecc5a5f92508043466bbada32ae186169d5293824b660db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:52:41 + docker inspect -f . ci-base-image-x86_64 00:52:41 . [Pipeline] withDockerContainer 00:52:41 prd-centos7-docker-4c-2g-2079 does not seem to be running inside a container 00:52:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/7 -v /w/workspace/device-modbus-go/7:/w/workspace/device-modbus-go/7:rw,z -v /w/workspace/device-modbus-go/7@tmp:/w/workspace/device-modbus-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:52:42 $ docker top 33668bc77ac750458e27595bfc9d7379e76ca185be394f1a2034ec7ae218ead3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:52:42 + make test 00:52:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:52:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:52:44 (5/14) Installing fortify-headers (1.1-r0) 00:52:44 (6/14) Installing patch (2.7.6-r6) 00:52:44 (7/14) Installing build-base (0.5-r2) 00:52:44 (8/14) Installing openssh-keygen (8.3_p1-r0) 00:52:44 (9/14) Installing libedit (20191231.3.1-r0) 00:52:44 (10/14) Installing openssh-client (8.3_p1-r0) 00:52:44 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 00:52:44 (12/14) Installing openssh-server-common (8.3_p1-r0) 00:52:45 (13/14) Installing openssh-server (8.3_p1-r0) 00:52:45 (14/14) Installing openssh (8.3_p1-r0) 00:52:46 Executing busybox-1.31.1-r16.trigger 00:52:46 OK: 221 MiB in 53 packages 00:52:50 Removing intermediate container bd98e7c3018f 00:52:50 ---> f163d5b9e769 00:52:50 Step 6/8 : WORKDIR /device-modbus-go 00:52:50 ---> Running in e0ac49aa8177 00:52:51 Removing intermediate container e0ac49aa8177 00:52:51 ---> 390d4b676fe9 00:52:51 Step 7/8 : COPY . . 00:52:52 ---> 17167d67a4ee 00:52:52 Step 8/8 : RUN go mod download 00:52:52 ---> Running in 314e172c56c0 00:52:53 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:52:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.320s coverage: 50.2% of statements 00:52:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:52:54 gofmt -l . 00:52:54 internal/driver/config.go 00:52:54 internal/driver/config_test.go 00:52:54 internal/driver/protocolpropertykey.go 00:52:54 [ "`gofmt -l .`" = "" ] 00:52:54 make: *** [Makefile:27: test] Error 1 [Pipeline] } 00:52:54 $ docker stop --time=1 33668bc77ac750458e27595bfc9d7379e76ca185be394f1a2034ec7ae218ead3 00:52:56 $ docker rm -f 33668bc77ac750458e27595bfc9d7379e76ca185be394f1a2034ec7ae218ead3 [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] } 00:52:58 Failed in branch amd64 00:53:07 Removing intermediate container 314e172c56c0 00:53:07 ---> e342a2ac57b6 00:53:07 Successfully built e342a2ac57b6 00:53:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:53:08 + docker inspect -f . ci-base-image-arm64 00:53:08 . [Pipeline] withDockerContainer 00:53:08 prd-ubuntu18.04-docker-arm64-4c-16g-2086 does not seem to be running inside a container 00:53:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/7 -v /w/workspace/device-modbus-go/7:/w/workspace/device-modbus-go/7:rw,z -v /w/workspace/device-modbus-go/7@tmp:/w/workspace/device-modbus-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:53:10 $ docker top caf9d4924c80848f02744e28376604fce27c72b1f722cbd57bd56a151f490553 -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:11 + go version 00:53:11 go version go1.15.2 linux/arm64 [Pipeline] } 00:53:11 $ docker stop --time=1 caf9d4924c80848f02744e28376604fce27c72b1f722cbd57bd56a151f490553 00:53:13 $ docker rm -f caf9d4924c80848f02744e28376604fce27c72b1f722cbd57bd56a151f490553 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:53:14 + docker inspect -f . ci-base-image-arm64 00:53:14 . [Pipeline] withDockerContainer 00:53:15 prd-ubuntu18.04-docker-arm64-4c-16g-2086 does not seem to be running inside a container 00:53:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/7 -v /w/workspace/device-modbus-go/7:/w/workspace/device-modbus-go/7:rw,z -v /w/workspace/device-modbus-go/7@tmp:/w/workspace/device-modbus-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:53:17 $ docker top 3f07188357978829dbea472a46644131a7a61a4285014004d83e5d79e76b170d -eo pid,comm [Pipeline] { [Pipeline] sh 00:53:18 + make test 00:53:18 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:53:19 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:53:52 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:53:52 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.399s coverage: 50.2% of statements 00:53:52 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:53:55 gofmt -l . 00:53:55 internal/driver/config.go 00:53:55 internal/driver/config_test.go 00:53:55 internal/driver/protocolpropertykey.go 00:53:55 [ "`gofmt -l .`" = "" ] 00:53:55 make: *** [Makefile:27: test] Error 1 [Pipeline] } 00:53:55 $ docker stop --time=1 3f07188357978829dbea472a46644131a7a61a4285014004d83e5d79e76b170d 00:53:57 $ docker rm -f 3f07188357978829dbea472a46644131a7a61a4285014004d83e5d79e76b170d [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] } 00:53:59 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 00:54:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:54:04 ---> package-listing.sh 00:54:04 ++ facter osfamily 00:54:04 ++ tr '[:upper:]' '[:lower:]' 00:54:04 + OS_FAMILY=redhat 00:54:04 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 00:54:04 + START_PACKAGES=/tmp/packages_start.txt 00:54:04 + END_PACKAGES=/tmp/packages_end.txt 00:54:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:54:04 + PACKAGES=/tmp/packages_start.txt 00:54:04 + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' 00:54:04 + PACKAGES=/tmp/packages_end.txt 00:54:04 + case "${OS_FAMILY}" in 00:54:04 + rpm -qa 00:54:04 + sort 00:54:08 + '[' -f /tmp/packages_start.txt ']' 00:54:08 + '[' -f /tmp/packages_end.txt ']' 00:54:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:54:08 + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' 00:54:08 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ 00:54:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:08 provisioning config files... 00:54:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config1327108550976092243tmp [Pipeline] { [Pipeline] echo 00:54:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:54:09 ---> create-netrc.sh [Pipeline] } 00:54:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:54:09 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:54:09 ---> python-tools-install.sh 00:54:09 Generating Requirements File 00:55:31 Python 3.6.8 00:55:31 pip 20.2.3 from /home/jenkins/.local/lib/python3.6/site-packages/pip (python 3.6) 00:55:31 aiohttp==3.6.2 00:55:31 appdirs==1.4.3 00:55:31 argcomplete==1.12.1 00:55:31 aspy.yaml==1.3.0 00:55:31 async-timeout==3.0.1 00:55:31 attrs==19.3.0 00:55:31 Babel==2.8.0 00:55:31 beautifulsoup4==4.8.2 00:55:31 boto3==1.11.6 00:55:31 botocore==1.14.6 00:55:31 bs4==0.0.1 00:55:31 cachetools==4.1.1 00:55:31 certifi==2019.11.28 00:55:31 cffi==1.14.3 00:55:31 cfgv==2.0.1 00:55:31 chardet==3.0.4 00:55:31 click==7.1 00:55:31 cliff==3.4.0 00:55:31 cmd2==1.3.10 00:55:31 colorama==0.4.3 00:55:31 cryptography==3.1.1 00:55:31 debtcollector==2.2.0 00:55:31 decorator==4.4.2 00:55:31 defusedxml==0.6.0 00:55:31 Deprecated==1.2.7 00:55:31 distlib==0.3.1 00:55:31 distro==1.2.0 00:55:31 dnspython==1.16.0 00:55:31 docker==4.2.0 00:55:31 docutils==0.15.2 00:55:31 dogpile.cache==1.0.2 00:55:31 email-validator==1.0.5 00:55:31 filelock==3.0.12 00:55:31 future==0.18.2 00:55:31 google-auth==1.22.0 00:55:31 httplib2==0.17.0 00:55:31 identify==1.4.11 00:55:31 idna==2.9 00:55:31 idna-ssl==1.1.0 00:55:31 importlib-metadata==1.7.0 00:55:31 importlib-resources==1.5.0 00:55:31 iso8601==0.1.13 00:55:31 Jinja2==2.11.1 00:55:31 jmespath==0.10.0 00:55:31 jsonpatch==1.26 00:55:31 jsonpointer==2.0 00:55:31 jsonschema==3.2.0 00:55:31 keystoneauth1==4.2.1 00:55:31 kubernetes==11.0.0 00:55:31 lftools==0.34.2 00:55:31 lxml==4.5.0 00:55:31 MarkupSafe==0.23 00:55:31 msgpack==1.0.0 00:55:31 multi-key-dict==2.0.3 00:55:31 multidict==4.7.6 00:55:31 munch==2.5.0 00:55:31 netaddr==0.8.0 00:55:31 netifaces==0.10.9 00:55:31 niet==1.4.2 00:55:31 nodeenv==1.3.5 00:55:31 oauth2client==4.1.3 00:55:31 oauthlib==3.1.0 00:55:31 openstacksdk==0.50.0 00:55:31 os-client-config==2.1.0 00:55:31 os-service-types==1.7.0 00:55:31 osc-lib==2.2.1 00:55:31 oslo.config==8.3.2 00:55:31 oslo.context==3.1.1 00:55:31 oslo.i18n==5.0.1 00:55:31 oslo.log==4.4.0 00:55:31 oslo.serialization==4.0.1 00:55:31 oslo.utils==4.6.0 00:55:31 packaging==20.4 00:55:31 pbr==5.4.4 00:55:31 pluggy==0.13.1 00:55:31 prettytable==0.7.2 00:55:31 py==1.9.0 00:55:31 pyasn1==0.4.8 00:55:31 pyasn1-modules==0.2.8 00:55:31 pycparser==2.20 00:55:31 pygerrit2==2.0.10 00:55:31 PyGithub==1.46 00:55:31 pyinotify==0.9.6 00:55:31 PyJWT==1.7.1 00:55:31 pyparsing==2.4.7 00:55:31 pyperclip==1.8.0 00:55:31 pyroute2==0.4.13 00:55:31 pyrsistent==0.15.7 00:55:31 PySocks==1.6.8 00:55:31 python-cinderclient==7.2.0 00:55:31 python-dateutil==2.8.1 00:55:31 python-heatclient==2.2.1 00:55:31 python-jenkins==1.7.0 00:55:31 python-keystoneclient==4.1.1 00:55:31 python-magnumclient==3.2.1 00:55:31 python-novaclient==17.2.1 00:55:31 python-openstackclient==5.3.1 00:55:31 python-swiftclient==3.10.1 00:55:31 pytz==2020.1 00:55:31 PyYAML==5.3 00:55:31 requests==2.23.0 00:55:31 requests-oauthlib==1.3.0 00:55:31 requestsexceptions==1.4.0 00:55:31 rfc3986==1.4.0 00:55:31 rpm==4.11.3 00:55:31 rsa==4.0 00:55:31 ruamel.yaml==0.16.10 00:55:31 ruamel.yaml.clib==0.2.0 00:55:31 s3transfer==0.3.3 00:55:31 shade==1.27.2 00:55:31 simplejson==3.17.2 00:55:31 six==1.14.0 00:55:31 soupsieve==2.0 00:55:31 stevedore==3.2.2 00:55:31 tabulate==0.8.6 00:55:31 toml==0.10.0 00:55:31 tox==3.20.0 00:55:31 tqdm==4.43.0 00:55:31 typing-extensions==3.7.4.3 00:55:31 urllib3==1.25.8 00:55:31 virtualenv==20.0.31 00:55:31 wcwidth==0.2.5 00:55:31 websocket-client==0.57.0 00:55:31 wrapt==1.12.1 00:55:31 xdg==3.0.2 00:55:31 xmltodict==0.12.0 00:55:31 yarl==1.6.0 00:55:31 yq==2.11.1 00:55:31 zipp==3.2.0 00:55:31 Cache entry deserialization failed, entry ignored 00:55:31 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. 00:55:31 Python 2.7.5 00:55:31 pip 20.2.3 from /home/jenkins/.local/lib/python2.7/site-packages/pip (python 2.7) 00:55:31 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. 00:55:31 ansible==2.9.7 00:55:31 Babel==0.9.6 00:55:31 backports.ssl-match-hostname==3.5.0.1 00:55:31 beautifulsoup4==4.4.1 00:55:31 bodhi==2.11.0 00:55:31 bodhi-client==2.11.0 00:55:31 CCColUtils==1.4 00:55:31 cffi==1.6.0 00:55:31 chardet==2.2.1 00:55:31 click==6.7 00:55:31 cloud-init==18.5 00:55:31 configobj==4.7.2 00:55:31 cryptography==1.7.2 00:55:31 decorator==3.4.0 00:55:31 distro==1.2.0 00:55:31 enum34==1.0.4 00:55:31 fedpkg==1.38 00:55:31 futures==3.1.1 00:55:31 gitdb==0.6.4 00:55:31 GitPython==1.0.1 00:55:31 html5lib==0.999 00:55:31 httplib2==0.9.2 00:55:31 idna==2.4 00:55:31 iniparse==0.4 00:55:31 ipaddress==1.0.16 00:55:31 IPy==0.75 00:55:31 javapackages==1.0.0 00:55:31 Jinja2==2.7.2 00:55:31 jmespath==0.9.4 00:55:31 jsonpatch==1.2 00:55:31 jsonpointer==1.9 00:55:31 kerberos==1.1 00:55:31 kitchen==1.1.1 00:55:31 langtable==0.0.31 00:55:31 lockfile==0.9.1 00:55:31 lxml==3.2.1 00:55:31 MarkupSafe==0.11 00:55:31 munch==2.0.2 00:55:31 offtrac==0.1.0 00:55:31 openidc-client==0.6.0 00:55:31 packagedb-cli==2.14.1 00:55:31 paramiko==2.1.1 00:55:31 perf==0.1 00:55:31 ply==3.4 00:55:31 policycoreutils-default-encoding==0.1 00:55:31 prettytable==0.7.2 00:55:31 pyasn1==0.1.9 00:55:31 pycparser==2.14 00:55:31 pycurl==7.19.0 00:55:31 pygobject==3.22.0 00:55:31 pygpgme==0.3 00:55:31 pyliblzma==0.5.3 00:55:31 pyOpenSSL==0.13.1 00:55:31 pyparsing==1.5.6 00:55:31 pyserial==2.6 00:55:31 python-augeas==0.5.0 00:55:31 python-bugzilla==2.3.0 00:55:31 python-dateutil==1.5 00:55:31 python-fedora==0.10.0 00:55:31 python-linux-procfs==0.4.9 00:55:31 python-yubico==1.2.3 00:55:31 pyudev==0.15 00:55:31 pyusb==1.0.0b1 00:55:31 pyxattr==0.5.1 00:55:31 PyYAML==3.10 00:55:31 requests==2.6.0 00:55:31 requests-kerberos==0.7.0 00:55:31 rpkg==1.60 00:55:31 schedutils==0.4 00:55:31 seobject==0.1 00:55:31 sepolicy==1.1 00:55:31 six==1.9.0 00:55:31 smmap==0.9.0 00:55:31 urlgrabber==3.10 00:55:31 urllib3==1.10.2 00:55:31 virtualenv==15.1.0 00:55:31 yum-langpacks==0.4.2 00:55:31 yum-metadata-parser==1.1.4 [Pipeline] echo 00:55:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:55:31 ---> sudo-logs.sh 00:55:31 Archiving 'sudo' log.. [Pipeline] echo 00:55:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:55:32 ---> job-cost.sh 00:55:32 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eCBj 00:55:44 Cache entry deserialization failed, entry ignored 00:55:44 Cache entry deserialization failed, entry ignored 00:55:44 Cache entry deserialization failed, entry ignored 00:55:44 Cache entry deserialization failed, entry ignored 00:55:45 Cache entry deserialization failed, entry ignored 00:55:45 Cache entry deserialization failed, entry ignored 00:55:45 Cache entry deserialization failed, entry ignored 00:55:45 Cache entry deserialization failed, entry ignored 00:55:45 Cache entry deserialization failed, entry ignored 00:55:45 Cache entry deserialization failed, entry ignored 00:55:45 Cache entry deserialization failed, entry ignored 00:55:45 Cache entry deserialization failed, entry ignored 00:55:45 Cache entry deserialization failed, entry ignored 00:55:49 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 00:56:15 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. 00:56:15 00:56:15 We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. 00:56:15 00:56:15 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. 00:56:15 lf-activate-venv(): INFO: Adding /tmp/venv-eCBj/bin to PATH 00:56:15 INFO: No Stack... 00:56:17 INFO: Retrieving Pricing Info for: v1-standard-2 00:56:17 INFO: Archiving Costs [Pipeline] echo 00:56:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:56:18 ---> logs-deploy.sh 00:56:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/7 00:56:18 INFO: archiving workspace using pattern(s): 00:56:20 Archives upload complete. 00:56:20 INFO: archiving logs to Nexus