Pull request #174 opened 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 hahattan for edgexfoundry/device-modbus-go Obtained Jenkinsfile from e2ee2c1de404a021a32a0b399017ad1304ef83e1+e5b81f2f6d4871b949c13603cb110c658a649c68 (39f518441f7db4e28397406200eeea5d06c53816) 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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 7909e789ffc0fecf34d47f501ec8db0a80105338 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-modbus-go/branches/PR-174/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 7909e789ffc0fecf34d47f501ec8db0a80105338 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7909e789ffc0fecf34d47f501ec8db0a80105338 # timeout=10 Commit message: "Merge pull request #245 from ernestojeda/fix-go-version-issue" > 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. [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 [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-125 in /w/workspace/xfoundry_device-modbus-go_PR-174 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-174 # timeout=10 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 --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/174/head:refs/remotes/origin/PR-174 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit e5b81f2f6d4871b949c13603cb110c658a649c68 into PR head commit e2ee2c1de404a021a32a0b399017ad1304ef83e1 Merge succeeded, producing e2ee2c1de404a021a32a0b399017ad1304ef83e1 Checking out Revision e2ee2c1de404a021a32a0b399017ad1304ef83e1 (PR-174) > git config core.sparsecheckout # timeout=10 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # 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 e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 Commit message: "build: Upgrade to Go1.15" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-09-17T08:24:49.474Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-09-17T08:24:49.884Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-09-17T08:24:50.100Z] ========================================================= [2020-09-17T08:24:50.101Z] EdgeX Global Pipelines Version Info [2020-09-17T08:24:50.101Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:24:51.556Z] ------------------- [2020-09-17T08:24:51.556Z] stable info: [2020-09-17T08:24:51.556Z] ------------------- [2020-09-17T08:24:51.556Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-09-17T08:24:51.556Z] Commit SHA: 7909e789ffc0fecf34d47f501ec8db0a80105338 [2020-09-17T08:24:51.556Z] Message: update stable to v1.0.122 [2020-09-17T08:24:52.500Z] ------------------- [2020-09-17T08:24:52.500Z] experimental info: [2020-09-17T08:24:52.500Z] ------------------- [2020-09-17T08:24:52.500Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-09-17T08:24:52.500Z] Commit SHA: 84d9a0843d1df7ebf9e0c4533e50f756df06f1d7 [2020-09-17T08:24:52.500Z] Message: update experimental to v1.0.124 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-09-17T08:24:53.092Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-09-17T08:24:53.234Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-09-17T08:24:53.373Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-09-17T08:24:53.508Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-09-17T08:24:53.647Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-09-17T08:24:53.782Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-09-17T08:24:53.933Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-09-17T08:24:54.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-09-17T08:24:54.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-09-17T08:24:54.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-09-17T08:24:54.531Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-09-17T08:24:54.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-09-17T08:24:54.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-09-17T08:24:55.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-09-17T08:24:55.157Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T08:24:55.292Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-09-17T08:24:55.424Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T08:24:55.558Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-09-17T08:24:55.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-09-17T08:24:55.818Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-09-17T08:24:55.950Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-09-17T08:24:56.083Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-09-17T08:24:56.226Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo [2020-09-17T08:24:56.364Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo [2020-09-17T08:24:56.494Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo [2020-09-17T08:24:56.626Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2ee2c1de404a021a32a0b399017ad1304ef83e1 [Pipeline] echo [2020-09-17T08:24:56.755Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2ee2c1 [Pipeline] echo [2020-09-17T08:24:56.931Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T08:24:57.709Z] + git log --format=format:%s -1 e2ee2c1de404a021a32a0b399017ad1304ef83e1 [Pipeline] echo [2020-09-17T08:24:57.794Z] GIT_COMMIT: e2ee2c1de404a021a32a0b399017ad1304ef83e1, Commit Message: build: Upgrade to Go1.15 [Pipeline] echo [2020-09-17T08:24:57.875Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:24:58.848Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:24:58.848Z] [2020-09-17T08:24:58.848Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:24:59.241Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:24:59.242Z] latest: Pulling from edgex-devops/git-semver [2020-09-17T08:24:59.242Z] 31603596830f: Pulling fs layer [2020-09-17T08:24:59.242Z] 2a8b12db71e7: Pulling fs layer [2020-09-17T08:24:59.242Z] 6ca5941a6612: Pulling fs layer [2020-09-17T08:24:59.242Z] ecc8261a40a4: Pulling fs layer [2020-09-17T08:24:59.242Z] ecc8261a40a4: Waiting [2020-09-17T08:24:59.242Z] 2a8b12db71e7: Download complete [2020-09-17T08:24:59.505Z] 31603596830f: Verifying Checksum [2020-09-17T08:24:59.505Z] 31603596830f: Download complete [2020-09-17T08:24:59.505Z] ecc8261a40a4: Verifying Checksum [2020-09-17T08:24:59.505Z] ecc8261a40a4: Download complete [2020-09-17T08:24:59.505Z] 6ca5941a6612: Verifying Checksum [2020-09-17T08:24:59.505Z] 6ca5941a6612: Download complete [2020-09-17T08:24:59.771Z] 31603596830f: Pull complete [2020-09-17T08:24:59.771Z] 2a8b12db71e7: Pull complete [2020-09-17T08:25:00.341Z] 6ca5941a6612: Pull complete [2020-09-17T08:25:00.601Z] ecc8261a40a4: Pull complete [2020-09-17T08:25:00.601Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-09-17T08:25:00.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-09-17T08:25:00.601Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-09-17T08:25:00.716Z] prd-centos7-docker-4c-2g-125 does not seem to be running inside a container [2020-09-17T08:25:00.761Z] $ docker run -t -d -u 1001:1001 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-174 -v /w/workspace/xfoundry_device-modbus-go_PR-174:/w/workspace/xfoundry_device-modbus-go_PR-174:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-174@tmp:/w/workspace/xfoundry_device-modbus-go_PR-174@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 [2020-09-17T08:25:02.506Z] $ docker top 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-09-17T08:25:02.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:25:02.914Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:25:03.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:25:03.089Z] $ docker exec 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 ssh-agent [2020-09-17T08:25:03.234Z] SSH_AUTH_SOCK=/tmp/ssh-zXZW7zwLDBXB/agent.11 [2020-09-17T08:25:03.234Z] SSH_AGENT_PID=17 [2020-09-17T08:25:03.244Z] Running ssh-add (command line suppressed) [2020-09-17T08:25:03.352Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-174@tmp/private_key_5159481543297891667.key (/w/workspace/xfoundry_device-modbus-go_PR-174@tmp/private_key_5159481543297891667.key) [2020-09-17T08:25:03.397Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:25:03.779Z] + git describe --exact-match --tags HEAD [2020-09-17T08:25:03.779Z] fatal: No names found, cannot describe anything. [Pipeline] } [2020-09-17T08:25:03.822Z] $ docker exec --env ******** --env ******** 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 ssh-agent -k [2020-09-17T08:25:03.928Z] unset SSH_AUTH_SOCK; [2020-09-17T08:25:03.929Z] unset SSH_AGENT_PID; [2020-09-17T08:25:03.929Z] echo Agent pid 17 killed; [2020-09-17T08:25:03.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2020-09-17T08:25:04.167Z] [edgeXSemver]: exception occurred checking if HEAD is tagged: hudson.AbortException: script returned exit code 128 [2020-09-17T08:25:04.167Z] This usually means this commit has not been tagged. [Pipeline] sshagent [2020-09-17T08:25:04.296Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-09-17T08:25:04.296Z] [ssh-agent] Looking for ssh-agent implementation... [2020-09-17T08:25:04.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-09-17T08:25:04.481Z] $ docker exec 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 ssh-agent [2020-09-17T08:25:04.624Z] SSH_AUTH_SOCK=/tmp/ssh-r3iMhsstTJpB/agent.46 [2020-09-17T08:25:04.624Z] SSH_AGENT_PID=51 [2020-09-17T08:25:04.631Z] Running ssh-add (command line suppressed) [2020-09-17T08:25:04.746Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-174@tmp/private_key_4582302734350669977.key (/w/workspace/xfoundry_device-modbus-go_PR-174@tmp/private_key_4582302734350669977.key) [2020-09-17T08:25:04.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-09-17T08:25:05.191Z] + git semver init [2020-09-17T08:25:05.192Z] # -> Open(): unable to determine branch for HEAD [2020-09-17T08:25:05.192Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-174/.git [2020-09-17T08:25:05.192Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-174 [2020-09-17T08:25:05.192Z] # $SEMVER_REMOTE_NAME = origin [2020-09-17T08:25:05.192Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-09-17T08:25:05.192Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-09-17T08:25:05.192Z] # $SEMVER_BRANCH = PR-174 [2020-09-17T08:25:05.192Z] # $SEMVER_TEMP = /tmp/semver-315714452 [2020-09-17T08:25:05.192Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-09-17T08:25:07.115Z] # '/tmp/semver-315714452' -> '/w/workspace/xfoundry_device-modbus-go_PR-174/.semver' [2020-09-17T08:25:07.115Z] # -> Force: false [2020-09-17T08:25:07.115Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-174/.semver [Pipeline] } [2020-09-17T08:25:07.136Z] $ docker exec --env ******** --env ******** 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 ssh-agent -k [2020-09-17T08:25:07.240Z] unset SSH_AUTH_SOCK; [2020-09-17T08:25:07.240Z] unset SSH_AGENT_PID; [2020-09-17T08:25:07.240Z] echo Agent pid 51 killed; [2020-09-17T08:25:07.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-09-17T08:25:07.902Z] + git semver [Pipeline] } [2020-09-17T08:25:07.937Z] $ docker stop --time=1 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 [2020-09-17T08:25:09.289Z] $ docker rm -f 85dcbb96cb8406c535bcbd06a190efc0c79a492a17b3b4ba41db6f17c71eaf64 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash [2020-09-17T08:25:10.054Z] Stashed 29 file(s) [Pipeline] echo [2020-09-17T08:25:10.078Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] echo [2020-09-17T08:25:10.215Z] 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 [2020-09-17T08:25:26.094Z] Still waiting to schedule task [2020-09-17T08:25:26.094Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-125’ [2020-09-17T08:25:26.121Z] Still waiting to schedule task [2020-09-17T08:25:26.121Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-09-17T08:27:20.470Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-126 in /w/workspace/xfoundry_device-modbus-go_PR-174 [Pipeline] { [Pipeline] ws [2020-09-17T08:27:20.573Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-09-17T08:27:25.610Z] using credential edgex-jenkins-ssh [2020-09-17T08:27:25.694Z] Cloning the remote Git repository [2020-09-17T08:27:25.695Z] Cloning with configured refspecs honoured and without tags [2020-09-17T08:27:26.751Z] Fetching without tags [2020-09-17T08:27:25.760Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:27:25.869Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-09-17T08:27:25.957Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:27:25.958Z] > git --version # timeout=10 [2020-09-17T08:27:25.974Z] > git --version # 'git version 2.17.1' [2020-09-17T08:27:25.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:27:26.034Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:27:26.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:27:26.690Z] > git config --add remote.origin.fetch +refs/pull/174/head:refs/remotes/origin/PR-174 # timeout=10 [2020-09-17T08:27:26.708Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:27:26.735Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:27:26.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:27:26.771Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:27:26.784Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:27:27.229Z] Merging remotes/origin/master commit e5b81f2f6d4871b949c13603cb110c658a649c68 into PR head commit e2ee2c1de404a021a32a0b399017ad1304ef83e1 [2020-09-17T08:27:27.457Z] Merge succeeded, producing e2ee2c1de404a021a32a0b399017ad1304ef83e1 [2020-09-17T08:27:27.458Z] Checking out Revision e2ee2c1de404a021a32a0b399017ad1304ef83e1 (PR-174) [2020-09-17T08:27:27.259Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:27:27.277Z] > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 [2020-09-17T08:27:27.360Z] > git remote # timeout=10 [2020-09-17T08:27:27.388Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T08:27:27.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:27:27.417Z] > git merge e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 [2020-09-17T08:27:27.442Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T08:27:27.473Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:27:27.534Z] > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 [2020-09-17T08:27:31.872Z] Commit message: "build: Upgrade to Go1.15" [2020-09-17T08:27:31.933Z] > git --version # timeout=10 [2020-09-17T08:27:31.942Z] > git --version # 'git version 2.17.1' [2020-09-17T08:27:31.953Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T08:27:33.279Z] ========================================================= [2020-09-17T08:27:33.279Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-09-17T08:27:33.279Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:27:34.448Z] + 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 . [2020-09-17T08:27:35.055Z] Sending build context to Docker daemon 675.8kB [2020-09-17T08:27:35.055Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T08:27:35.055Z] Step 2/8 : FROM ${BASE} [2020-09-17T08:27:35.655Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-09-17T08:27:35.655Z] b538f80385f9: Pulling fs layer [2020-09-17T08:27:35.655Z] 74f711af9a0d: Pulling fs layer [2020-09-17T08:27:35.655Z] 99f96fe45779: Pulling fs layer [2020-09-17T08:27:35.655Z] 8529a6b9a6be: Pulling fs layer [2020-09-17T08:27:35.655Z] 45590311c82a: Pulling fs layer [2020-09-17T08:27:35.655Z] 69ca0ff8b7b3: Pulling fs layer [2020-09-17T08:27:35.655Z] 209524e5b208: Pulling fs layer [2020-09-17T08:27:35.655Z] 45590311c82a: Waiting [2020-09-17T08:27:35.655Z] 69ca0ff8b7b3: Waiting [2020-09-17T08:27:35.655Z] 209524e5b208: Waiting [2020-09-17T08:27:35.655Z] 8529a6b9a6be: Waiting [2020-09-17T08:27:35.655Z] 99f96fe45779: Download complete [2020-09-17T08:27:35.655Z] 74f711af9a0d: Verifying Checksum [2020-09-17T08:27:35.655Z] 74f711af9a0d: Download complete [2020-09-17T08:27:35.655Z] 45590311c82a: Verifying Checksum [2020-09-17T08:27:35.655Z] 45590311c82a: Download complete [2020-09-17T08:27:35.667Z] Running on prd-centos7-docker-4c-2g-127 in /w/workspace/xfoundry_device-modbus-go_PR-174 [Pipeline] { [Pipeline] ws [2020-09-17T08:27:35.761Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-09-17T08:27:36.253Z] 69ca0ff8b7b3: Verifying Checksum [2020-09-17T08:27:36.253Z] 69ca0ff8b7b3: Download complete [2020-09-17T08:27:36.529Z] b538f80385f9: Verifying Checksum [2020-09-17T08:27:36.529Z] b538f80385f9: Download complete [2020-09-17T08:27:37.127Z] b538f80385f9: Pull complete [2020-09-17T08:27:37.741Z] 74f711af9a0d: Pull complete [2020-09-17T08:27:37.927Z] using credential edgex-jenkins-ssh [2020-09-17T08:27:37.980Z] Cloning the remote Git repository [2020-09-17T08:27:37.980Z] Cloning with configured refspecs honoured and without tags [2020-09-17T08:27:38.021Z] 99f96fe45779: Pull complete [2020-09-17T08:27:38.006Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:27:38.069Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-09-17T08:27:38.998Z] 209524e5b208: Verifying Checksum [2020-09-17T08:27:38.998Z] 209524e5b208: Download complete [2020-09-17T08:27:39.019Z] Fetching without tags [2020-09-17T08:27:38.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:27:38.423Z] > git --version # timeout=10 [2020-09-17T08:27:38.429Z] > git --version # 'git version 2.16.5' [2020-09-17T08:27:38.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:27:38.511Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:27:38.993Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:27:38.999Z] > git config --add remote.origin.fetch +refs/pull/174/head:refs/remotes/origin/PR-174 # timeout=10 [2020-09-17T08:27:39.004Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:27:39.014Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:27:39.024Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:27:39.024Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:27:39.028Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:27:39.437Z] Merging remotes/origin/master commit e5b81f2f6d4871b949c13603cb110c658a649c68 into PR head commit e2ee2c1de404a021a32a0b399017ad1304ef83e1 [2020-09-17T08:27:39.553Z] Merge succeeded, producing e2ee2c1de404a021a32a0b399017ad1304ef83e1 [2020-09-17T08:27:39.553Z] Checking out Revision e2ee2c1de404a021a32a0b399017ad1304ef83e1 (PR-174) [2020-09-17T08:27:39.981Z] 8529a6b9a6be: Verifying Checksum [2020-09-17T08:27:39.981Z] 8529a6b9a6be: Download complete [2020-09-17T08:27:39.445Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:27:39.452Z] > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 [2020-09-17T08:27:39.523Z] > git remote # timeout=10 [2020-09-17T08:27:39.528Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T08:27:39.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:27:39.536Z] > git merge e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 [2020-09-17T08:27:39.545Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T08:27:39.556Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:27:39.562Z] > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 [2020-09-17T08:27:43.109Z] Commit message: "build: Upgrade to Go1.15" [2020-09-17T08:27:43.135Z] > git --version # timeout=10 [2020-09-17T08:27:43.142Z] > git --version # 'git version 2.16.5' [2020-09-17T08:27:43.148Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo [2020-09-17T08:27:44.129Z] ========================================================= [2020-09-17T08:27:44.129Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-09-17T08:27:44.129Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:27:44.884Z] + 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 . [2020-09-17T08:27:45.153Z] Sending build context to Docker daemon 675.8kB [2020-09-17T08:27:45.153Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-09-17T08:27:45.153Z] Step 2/8 : FROM ${BASE} [2020-09-17T08:27:45.153Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-09-17T08:27:45.153Z] df20fa9351a1: Pulling fs layer [2020-09-17T08:27:45.153Z] ed8968b2872e: Pulling fs layer [2020-09-17T08:27:45.153Z] a92cc7c5fd73: Pulling fs layer [2020-09-17T08:27:45.153Z] e871e8e8d7a9: Pulling fs layer [2020-09-17T08:27:45.153Z] e73272ec9a57: Pulling fs layer [2020-09-17T08:27:45.153Z] 1e910a182e73: Pulling fs layer [2020-09-17T08:27:45.153Z] 4e634b169226: Pulling fs layer [2020-09-17T08:27:45.153Z] e871e8e8d7a9: Waiting [2020-09-17T08:27:45.153Z] e73272ec9a57: Waiting [2020-09-17T08:27:45.153Z] 4e634b169226: Waiting [2020-09-17T08:27:45.153Z] a92cc7c5fd73: Verifying Checksum [2020-09-17T08:27:45.153Z] a92cc7c5fd73: Download complete [2020-09-17T08:27:45.153Z] ed8968b2872e: Verifying Checksum [2020-09-17T08:27:45.153Z] ed8968b2872e: Download complete [2020-09-17T08:27:45.153Z] e73272ec9a57: Verifying Checksum [2020-09-17T08:27:45.153Z] e73272ec9a57: Download complete [2020-09-17T08:27:45.153Z] 1e910a182e73: Download complete [2020-09-17T08:27:45.153Z] df20fa9351a1: Verifying Checksum [2020-09-17T08:27:45.153Z] df20fa9351a1: Download complete [2020-09-17T08:27:45.735Z] df20fa9351a1: Pull complete [2020-09-17T08:27:45.735Z] ed8968b2872e: Pull complete [2020-09-17T08:27:46.000Z] a92cc7c5fd73: Pull complete [2020-09-17T08:27:46.953Z] 4e634b169226: Verifying Checksum [2020-09-17T08:27:46.953Z] 4e634b169226: Download complete [2020-09-17T08:27:47.533Z] e871e8e8d7a9: Verifying Checksum [2020-09-17T08:27:47.533Z] e871e8e8d7a9: Download complete [2020-09-17T08:27:50.164Z] 8529a6b9a6be: Pull complete [2020-09-17T08:27:50.438Z] 45590311c82a: Pull complete [2020-09-17T08:27:51.037Z] 69ca0ff8b7b3: Pull complete [2020-09-17T08:27:52.870Z] e871e8e8d7a9: Pull complete [2020-09-17T08:27:52.870Z] e73272ec9a57: Pull complete [2020-09-17T08:27:52.870Z] 1e910a182e73: Pull complete [2020-09-17T08:27:55.361Z] 209524e5b208: Pull complete [2020-09-17T08:27:55.361Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-09-17T08:27:55.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-09-17T08:27:55.361Z] ---> 5bddaf1c2fca [2020-09-17T08:27:55.361Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-17T08:27:57.977Z] ---> Running in db85c8224fc5 [2020-09-17T08:27:57.977Z] Removing intermediate container db85c8224fc5 [2020-09-17T08:27:57.977Z] ---> a9e85786ca44 [2020-09-17T08:27:57.977Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:27:57.977Z] ---> Running in 58d0ca32a4a1 [2020-09-17T08:27:58.189Z] 4e634b169226: Pull complete [2020-09-17T08:27:58.189Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-09-17T08:27:58.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-09-17T08:27:58.189Z] ---> f7629b54cfaa [2020-09-17T08:27:58.189Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-09-17T08:27:58.189Z] ---> Running in 1961ddf88313 [2020-09-17T08:27:58.189Z] Removing intermediate container 1961ddf88313 [2020-09-17T08:27:58.189Z] ---> df96b3104e6e [2020-09-17T08:27:58.189Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:27:58.189Z] ---> Running in 21f59b61dda3 [2020-09-17T08:27:59.581Z] Removing intermediate container 21f59b61dda3 [2020-09-17T08:27:59.581Z] ---> 4342e018ba38 [2020-09-17T08:27:59.581Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-17T08:27:59.581Z] ---> Running in ae40fe9eb16f [2020-09-17T08:28:00.162Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T08:28:00.602Z] Removing intermediate container 58d0ca32a4a1 [2020-09-17T08:28:00.602Z] ---> e3d038a7cb15 [2020-09-17T08:28:00.602Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-09-17T08:28:00.734Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T08:28:00.877Z] ---> Running in f8dd15bcfe43 [2020-09-17T08:28:00.998Z] (1/14) Installing libmagic (5.38-r0) [2020-09-17T08:28:01.268Z] (2/14) Installing file (5.38-r0) [2020-09-17T08:28:01.268Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-17T08:28:01.536Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-17T08:28:02.321Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T08:28:02.920Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T08:28:03.898Z] (1/14) Installing libmagic (5.38-r0) [2020-09-17T08:28:03.898Z] (2/14) Installing file (5.38-r0) [2020-09-17T08:28:03.898Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-09-17T08:28:04.169Z] (4/14) Installing g++ (9.3.0-r2) [2020-09-17T08:28:08.135Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-17T08:28:08.135Z] (6/14) Installing patch (2.7.6-r6) [2020-09-17T08:28:08.397Z] (7/14) Installing build-base (0.5-r2) [2020-09-17T08:28:08.397Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-17T08:28:08.397Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-17T08:28:08.660Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-17T08:28:09.233Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-17T08:28:09.233Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-17T08:28:09.233Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-17T08:28:09.494Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-17T08:28:09.758Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T08:28:09.758Z] OK: 237 MiB in 53 packages [2020-09-17T08:28:10.871Z] (5/14) Installing fortify-headers (1.1-r0) [2020-09-17T08:28:10.871Z] (6/14) Installing patch (2.7.6-r6) [2020-09-17T08:28:10.871Z] (7/14) Installing build-base (0.5-r2) [2020-09-17T08:28:10.871Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-09-17T08:28:10.871Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-09-17T08:28:10.871Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-09-17T08:28:11.144Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-09-17T08:28:11.144Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-09-17T08:28:11.144Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-09-17T08:28:11.417Z] (14/14) Installing openssh (8.3_p1-r0) [2020-09-17T08:28:11.417Z] Executing busybox-1.31.1-r16.trigger [2020-09-17T08:28:11.691Z] OK: 221 MiB in 53 packages [2020-09-17T08:28:13.065Z] Removing intermediate container ae40fe9eb16f [2020-09-17T08:28:13.065Z] ---> 3b2d2678e1ae [2020-09-17T08:28:13.065Z] Step 6/8 : WORKDIR /device-modbus-go [2020-09-17T08:28:13.065Z] ---> Running in 02c335b0d337 [2020-09-17T08:28:13.327Z] Removing intermediate container 02c335b0d337 [2020-09-17T08:28:13.327Z] ---> 9d1f35304002 [2020-09-17T08:28:13.327Z] Step 7/8 : COPY . . [2020-09-17T08:28:14.276Z] ---> 5e01b7556c31 [2020-09-17T08:28:14.276Z] Step 8/8 : RUN go mod download [2020-09-17T08:28:14.277Z] ---> Running in c7716cd5f6b8 [2020-09-17T08:28:16.026Z] Removing intermediate container f8dd15bcfe43 [2020-09-17T08:28:16.026Z] ---> 0c7f37479393 [2020-09-17T08:28:16.026Z] Step 6/8 : WORKDIR /device-modbus-go [2020-09-17T08:28:16.026Z] ---> Running in 814b1fc1c430 [2020-09-17T08:28:16.301Z] Removing intermediate container 814b1fc1c430 [2020-09-17T08:28:16.301Z] ---> 0bdeb6dc5b5f [2020-09-17T08:28:16.301Z] Step 7/8 : COPY . . [2020-09-17T08:28:17.283Z] ---> d68d65fb3596 [2020-09-17T08:28:17.283Z] Step 8/8 : RUN go mod download [2020-09-17T08:28:17.284Z] ---> Running in c17564b93d86 [2020-09-17T08:28:26.546Z] Removing intermediate container c7716cd5f6b8 [2020-09-17T08:28:26.546Z] ---> 38a82408bea5 [2020-09-17T08:28:26.546Z] Successfully built 38a82408bea5 [2020-09-17T08:28:26.546Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:28:27.055Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T08:28:27.055Z] . [Pipeline] withDockerContainer [2020-09-17T08:28:27.177Z] prd-centos7-docker-4c-2g-127 does not seem to be running inside a container [2020-09-17T08:28:27.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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 ******** ci-base-image-x86_64 cat [2020-09-17T08:28:28.338Z] $ docker top a3eb589a1e8ad43346a88fbb96ebd0b8486eb21d137454ea8ee650463fc3b221 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:28:28.928Z] + go version [2020-09-17T08:28:28.928Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-09-17T08:28:28.960Z] $ docker stop --time=1 a3eb589a1e8ad43346a88fbb96ebd0b8486eb21d137454ea8ee650463fc3b221 [2020-09-17T08:28:30.308Z] $ docker rm -f a3eb589a1e8ad43346a88fbb96ebd0b8486eb21d137454ea8ee650463fc3b221 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:28:31.526Z] + docker inspect -f . ci-base-image-x86_64 [2020-09-17T08:28:31.526Z] . [Pipeline] withDockerContainer [2020-09-17T08:28:31.637Z] prd-centos7-docker-4c-2g-127 does not seem to be running inside a container [2020-09-17T08:28:31.682Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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 ******** ci-base-image-x86_64 cat [2020-09-17T08:28:32.285Z] $ docker top 6605c443a87c67c5c5027b83c73d82594c440cabb8c75e9a8044db2834e46fa8 -eo pid,comm [2020-09-17T08:28:32.374Z] Removing intermediate container c17564b93d86 [2020-09-17T08:28:32.374Z] ---> 28a2458d3550 [2020-09-17T08:28:32.374Z] Successfully built 28a2458d3550 [2020-09-17T08:28:32.374Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:28:32.848Z] + make test [2020-09-17T08:28:32.848Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-17T08:28:33.000Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T08:28:33.000Z] . [Pipeline] withDockerContainer [2020-09-17T08:28:33.310Z] prd-ubuntu18.04-docker-arm64-4c-16g-126 does not seem to be running inside a container [2020-09-17T08:28:33.401Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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 [2020-09-17T08:28:33.430Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-09-17T08:28:35.397Z] $ docker top a3b49027045e8d8267f3baebbd495f3e83fb33171c509b1a2048cff06cc3445b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:28:36.901Z] + go version [2020-09-17T08:28:36.901Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-09-17T08:28:36.948Z] $ docker stop --time=1 a3b49027045e8d8267f3baebbd495f3e83fb33171c509b1a2048cff06cc3445b [2020-09-17T08:28:38.995Z] $ docker rm -f a3b49027045e8d8267f3baebbd495f3e83fb33171c509b1a2048cff06cc3445b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:28:40.349Z] + docker inspect -f . ci-base-image-arm64 [2020-09-17T08:28:40.349Z] . [Pipeline] withDockerContainer [2020-09-17T08:28:40.596Z] prd-ubuntu18.04-docker-arm64-4c-16g-126 does not seem to be running inside a container [2020-09-17T08:28:40.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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 [2020-09-17T08:28:42.450Z] $ docker top 1fe7bb51731d37f655e2dd470937efdae07bcb613b68c354f7367ea2c968dfa5 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:28:43.553Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-09-17T08:28:43.553Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.258s coverage: 50.3% of statements [2020-09-17T08:28:43.553Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-17T08:28:43.939Z] + make test [2020-09-17T08:28:43.939Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-09-17T08:28:44.510Z] gofmt -l . [2020-09-17T08:28:44.510Z] [ "`gofmt -l .`" = "" ] [2020-09-17T08:28:44.510Z] ./bin/test-attribution-txt.sh [2020-09-17T08:28:44.932Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-09-17T08:28:45.085Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-17T08:28:45.366Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T08:28:45.390Z] $ docker stop --time=1 6605c443a87c67c5c5027b83c73d82594c440cabb8c75e9a8044db2834e46fa8 [2020-09-17T08:28:47.658Z] $ docker rm -f 6605c443a87c67c5c5027b83c73d82594c440cabb8c75e9a8044db2834e46fa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T08:28:50.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T08:28:51.102Z] + ls -al . [2020-09-17T08:28:51.102Z] total 104 [2020-09-17T08:28:51.102Z] drwxrwxr-x. 10 jenkins jenkins 4096 Sep 17 08:28 . [2020-09-17T08:28:51.102Z] drwxrwxr-x. 4 jenkins jenkins 28 Sep 17 08:27 .. [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 4913 Sep 17 08:27 Attribution.txt [2020-09-17T08:28:51.102Z] drwxrwxr-x. 2 jenkins jenkins 87 Sep 17 08:27 bin [2020-09-17T08:28:51.102Z] drwxrwxr-x. 3 jenkins jenkins 32 Sep 17 08:27 cmd [2020-09-17T08:28:51.102Z] -rw-r--r--. 1 jenkins jenkins 22364 Sep 17 08:28 coverage.out [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 1430 Sep 17 08:27 Dockerfile [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 954 Sep 17 08:27 Dockerfile.build [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 140 Sep 17 08:27 .dockerignore [2020-09-17T08:28:51.102Z] drwxrwxr-x. 8 jenkins jenkins 179 Sep 17 08:27 .git [2020-09-17T08:28:51.102Z] drwxrwxr-x. 2 jenkins jenkins 38 Sep 17 08:27 .github [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 338 Sep 17 08:27 .gitignore [2020-09-17T08:28:51.102Z] -rw-r--r--. 1 jenkins jenkins 559 Sep 17 08:28 go.mod [2020-09-17T08:28:51.102Z] -rw-r--r--. 1 jenkins jenkins 13471 Sep 17 08:28 go.sum [2020-09-17T08:28:51.102Z] drwxrwxr-x. 3 jenkins jenkins 20 Sep 17 08:27 internal [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 679 Sep 17 08:27 Jenkinsfile [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 11340 Sep 17 08:27 LICENSE [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 880 Sep 17 08:27 Makefile [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 591 Sep 17 08:27 README.md [2020-09-17T08:28:51.102Z] drwxrwxr-x. 3 jenkins jenkins 58 Sep 17 08:27 .semver [2020-09-17T08:28:51.102Z] drwxrwxr-x. 2 jenkins jenkins 52 Sep 17 08:27 simulator [2020-09-17T08:28:51.102Z] drwxrwxr-x. 4 jenkins jenkins 54 Sep 17 08:27 snap [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 5 Sep 17 08:25 VERSION [2020-09-17T08:28:51.102Z] -rw-rw-r--. 1 jenkins jenkins 229 Sep 17 08:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:28:51.459Z] + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e2ee2c1de404a021a32a0b399017ad1304ef83e1 --label arch=amd64 --label version=0.0.0 . [2020-09-17T08:28:51.459Z] Sending build context to Docker daemon 707.1kB [2020-09-17T08:28:51.459Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-09-17T08:28:51.459Z] Step 2/20 : FROM ${BASE} AS builder [2020-09-17T08:28:51.459Z] ---> 38a82408bea5 [2020-09-17T08:28:51.459Z] Step 3/20 : ARG MAKE='make build' [2020-09-17T08:28:51.724Z] ---> Running in fc80659d5e69 [2020-09-17T08:28:51.992Z] Removing intermediate container fc80659d5e69 [2020-09-17T08:28:51.992Z] ---> afcde5bcff59 [2020-09-17T08:28:51.992Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:28:51.993Z] ---> Running in 85d3ffd35678 [2020-09-17T08:28:52.938Z] Removing intermediate container 85d3ffd35678 [2020-09-17T08:28:52.938Z] ---> e56422084be7 [2020-09-17T08:28:52.939Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-09-17T08:28:52.939Z] ---> Running in a940be68c8ca [2020-09-17T08:28:53.526Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-09-17T08:28:54.103Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-09-17T08:28:54.685Z] OK: 237 MiB in 53 packages [2020-09-17T08:28:55.630Z] Removing intermediate container a940be68c8ca [2020-09-17T08:28:55.630Z] ---> 6d5ffe2d203c [2020-09-17T08:28:55.630Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-09-17T08:28:55.630Z] ---> Running in 58fbb25cd0c7 [2020-09-17T08:28:55.897Z] Removing intermediate container 58fbb25cd0c7 [2020-09-17T08:28:55.897Z] ---> 69b3863f00cd [2020-09-17T08:28:55.897Z] Step 7/20 : COPY . . [2020-09-17T08:28:56.471Z] ---> b1211ae50922 [2020-09-17T08:28:56.471Z] Step 8/20 : RUN ${MAKE} [2020-09-17T08:28:56.735Z] ---> Running in 47521b91e46b [2020-09-17T08:28:57.002Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-09-17T08:29:05.218Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T08:29:07.778Z] Removing intermediate container 47521b91e46b [2020-09-17T08:29:07.778Z] ---> 5ea297693302 [2020-09-17T08:29:07.778Z] Step 9/20 : FROM scratch [2020-09-17T08:29:07.778Z] ---> [2020-09-17T08:29:07.778Z] Step 10/20 : ENV APP_PORT=49991 [2020-09-17T08:29:07.778Z] ---> Running in 862755b17d50 [2020-09-17T08:29:07.778Z] Removing intermediate container 862755b17d50 [2020-09-17T08:29:07.778Z] ---> 28e53e6bf5be [2020-09-17T08:29:07.778Z] Step 11/20 : EXPOSE $APP_PORT [2020-09-17T08:29:07.778Z] ---> Running in ec45590ca38e [2020-09-17T08:29:07.778Z] Removing intermediate container ec45590ca38e [2020-09-17T08:29:07.778Z] ---> fcb08a4b33ce [2020-09-17T08:29:07.778Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-09-17T08:29:08.353Z] ---> d891a30b6a47 [2020-09-17T08:29:08.353Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-09-17T08:29:08.619Z] ---> 9e4c7afac86f [2020-09-17T08:29:08.619Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-09-17T08:29:08.619Z] ---> 3186620166bb [2020-09-17T08:29:08.619Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-09-17T08:29:08.881Z] ---> Running in 0594e6431723 [2020-09-17T08:29:08.881Z] Removing intermediate container 0594e6431723 [2020-09-17T08:29:08.881Z] ---> 441b2b10f1f5 [2020-09-17T08:29:08.881Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-09-17T08:29:09.146Z] ---> Running in 2ef35045b09e [2020-09-17T08:29:09.146Z] Removing intermediate container 2ef35045b09e [2020-09-17T08:29:09.146Z] ---> a63e9d95eb0a [2020-09-17T08:29:09.146Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-17T08:29:09.146Z] ---> Running in 056c1469591e [2020-09-17T08:29:09.409Z] Removing intermediate container 056c1469591e [2020-09-17T08:29:09.409Z] ---> cb8fdaf7716f [2020-09-17T08:29:09.409Z] Step 18/20 : LABEL arch=amd64 [2020-09-17T08:29:09.409Z] ---> Running in ee6bb13dc1a6 [2020-09-17T08:29:09.670Z] Removing intermediate container ee6bb13dc1a6 [2020-09-17T08:29:09.670Z] ---> 663043ff0cc1 [2020-09-17T08:29:09.670Z] Step 19/20 : LABEL git_sha=e2ee2c1de404a021a32a0b399017ad1304ef83e1 [2020-09-17T08:29:09.670Z] ---> Running in ab99db2b74de [2020-09-17T08:29:09.932Z] Removing intermediate container ab99db2b74de [2020-09-17T08:29:09.932Z] ---> d022db9444b0 [2020-09-17T08:29:09.933Z] Step 20/20 : LABEL version=0.0.0 [2020-09-17T08:29:09.933Z] ---> Running in de988855a0bd [2020-09-17T08:29:10.198Z] Removing intermediate container de988855a0bd [2020-09-17T08:29:10.198Z] ---> b14e55d525ce [2020-09-17T08:29:10.198Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T08:29:10.198Z] Successfully built b14e55d525ce [2020-09-17T08:29:10.198Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2020-09-17T08:29:17.295Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-09-17T08:29:17.295Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.562s coverage: 50.3% of statements [2020-09-17T08:29:17.295Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-09-17T08:29:19.264Z] gofmt -l . [2020-09-17T08:29:19.264Z] [ "`gofmt -l .`" = "" ] [2020-09-17T08:29:19.264Z] ./bin/test-attribution-txt.sh [2020-09-17T08:29:20.238Z] ./bin/test-go-mod-tidy.sh [Pipeline] stash [2020-09-17T08:29:20.558Z] Warning: overwriting stash ‘coverage-report’ [2020-09-17T08:29:21.333Z] Stashed 1 file(s) [Pipeline] } [2020-09-17T08:29:21.361Z] $ docker stop --time=1 1fe7bb51731d37f655e2dd470937efdae07bcb613b68c354f7367ea2c968dfa5 [2020-09-17T08:29:23.594Z] $ docker rm -f 1fe7bb51731d37f655e2dd470937efdae07bcb613b68c354f7367ea2c968dfa5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-09-17T08:29:24.987Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-09-17T08:29:25.400Z] + ls -al . [2020-09-17T08:29:25.400Z] total 140 [2020-09-17T08:29:25.400Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 17 08:29 . [2020-09-17T08:29:25.400Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:27 .. [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 17 08:27 .dockerignore [2020-09-17T08:29:25.400Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 17 08:27 .git [2020-09-17T08:29:25.400Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:27 .github [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 338 Sep 17 08:27 .gitignore [2020-09-17T08:29:25.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:27 .semver [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 4913 Sep 17 08:27 Attribution.txt [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 1430 Sep 17 08:27 Dockerfile [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 954 Sep 17 08:27 Dockerfile.build [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 679 Sep 17 08:27 Jenkinsfile [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 17 08:27 LICENSE [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 880 Sep 17 08:27 Makefile [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 591 Sep 17 08:27 README.md [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 17 08:25 VERSION [2020-09-17T08:29:25.400Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:27 bin [2020-09-17T08:29:25.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:27 cmd [2020-09-17T08:29:25.400Z] -rw-r--r-- 1 jenkins jenkins 22364 Sep 17 08:29 coverage.out [2020-09-17T08:29:25.400Z] -rw-r--r-- 1 jenkins jenkins 559 Sep 17 08:29 go.mod [2020-09-17T08:29:25.400Z] -rw-r--r-- 1 jenkins jenkins 13471 Sep 17 08:29 go.sum [2020-09-17T08:29:25.400Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 17 08:27 internal [2020-09-17T08:29:25.400Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 17 08:27 simulator [2020-09-17T08:29:25.400Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 17 08:27 snap [2020-09-17T08:29:25.400Z] -rw-rw-r-- 1 jenkins jenkins 229 Sep 17 08:27 version.go [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:29:25.793Z] + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e2ee2c1de404a021a32a0b399017ad1304ef83e1 --label arch=arm64 --label version=0.0.0 . [2020-09-17T08:29:26.083Z] Sending build context to Docker daemon 707.1kB [2020-09-17T08:29:26.083Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-09-17T08:29:26.083Z] Step 2/20 : FROM ${BASE} AS builder [2020-09-17T08:29:26.083Z] ---> 28a2458d3550 [2020-09-17T08:29:26.083Z] Step 3/20 : ARG MAKE='make build' [2020-09-17T08:29:26.273Z] Still waiting to schedule task [2020-09-17T08:29:26.273Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-09-17T08:29:26.364Z] ---> Running in 6117c0f8134a [2020-09-17T08:29:26.968Z] Removing intermediate container 6117c0f8134a [2020-09-17T08:29:26.968Z] ---> 6b0a7ef722ce [2020-09-17T08:29:26.968Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-09-17T08:29:26.968Z] ---> Running in c352260e158a [2020-09-17T08:29:29.612Z] Removing intermediate container c352260e158a [2020-09-17T08:29:29.612Z] ---> 10ba93e41a30 [2020-09-17T08:29:29.612Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-09-17T08:29:29.612Z] ---> Running in 0827cc73465b [2020-09-17T08:29:31.051Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-09-17T08:29:32.031Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-09-17T08:29:32.628Z] OK: 221 MiB in 53 packages [2020-09-17T08:29:33.614Z] Removing intermediate container 0827cc73465b [2020-09-17T08:29:33.614Z] ---> 268e210ea9b6 [2020-09-17T08:29:33.614Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-09-17T08:29:33.888Z] ---> Running in 1451c2125e06 [2020-09-17T08:29:34.164Z] Removing intermediate container 1451c2125e06 [2020-09-17T08:29:34.164Z] ---> 9717756b113f [2020-09-17T08:29:34.164Z] Step 7/20 : COPY . . [2020-09-17T08:29:35.159Z] ---> daa809ab1dc4 [2020-09-17T08:29:35.160Z] Step 8/20 : RUN ${MAKE} [2020-09-17T08:29:35.433Z] ---> Running in 194a296a7832 [2020-09-17T08:29:36.871Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-09-17T08:29:59.070Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T08:30:04.487Z] Removing intermediate container 194a296a7832 [2020-09-17T08:30:04.487Z] ---> 65400711a6cb [2020-09-17T08:30:04.487Z] Step 9/20 : FROM scratch [2020-09-17T08:30:04.487Z] ---> [2020-09-17T08:30:04.487Z] Step 10/20 : ENV APP_PORT=49991 [2020-09-17T08:30:04.487Z] ---> Running in f2d7d84d2487 [2020-09-17T08:30:04.761Z] Removing intermediate container f2d7d84d2487 [2020-09-17T08:30:04.761Z] ---> 68b2ff810b6d [2020-09-17T08:30:04.761Z] Step 11/20 : EXPOSE $APP_PORT [2020-09-17T08:30:05.033Z] ---> Running in 49074f5fd6cf [2020-09-17T08:30:05.306Z] Removing intermediate container 49074f5fd6cf [2020-09-17T08:30:05.306Z] ---> 5f42fa3646b9 [2020-09-17T08:30:05.306Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-09-17T08:30:06.294Z] ---> 6d883f003803 [2020-09-17T08:30:06.294Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-09-17T08:30:07.274Z] ---> 33767c12ca5b [2020-09-17T08:30:07.274Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-09-17T08:30:07.868Z] ---> 2d760b90d676 [2020-09-17T08:30:07.868Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-09-17T08:30:07.868Z] ---> Running in 10d58ac52aa1 [2020-09-17T08:30:08.465Z] Removing intermediate container 10d58ac52aa1 [2020-09-17T08:30:08.465Z] ---> 25e7c290e2ba [2020-09-17T08:30:08.465Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-09-17T08:30:08.465Z] ---> Running in 97460650daf7 [2020-09-17T08:30:08.738Z] Removing intermediate container 97460650daf7 [2020-09-17T08:30:08.738Z] ---> 074610146168 [2020-09-17T08:30:08.738Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-09-17T08:30:09.012Z] ---> Running in d5a178fe3c09 [2020-09-17T08:30:09.285Z] Removing intermediate container d5a178fe3c09 [2020-09-17T08:30:09.285Z] ---> 6e204361bdbb [2020-09-17T08:30:09.285Z] Step 18/20 : LABEL arch=arm64 [2020-09-17T08:30:09.559Z] ---> Running in 5997517fccc9 [2020-09-17T08:30:10.159Z] Removing intermediate container 5997517fccc9 [2020-09-17T08:30:10.159Z] ---> e8faaffc0e8b [2020-09-17T08:30:10.159Z] Step 19/20 : LABEL git_sha=e2ee2c1de404a021a32a0b399017ad1304ef83e1 [2020-09-17T08:30:10.159Z] ---> Running in e4da33fa2a58 [2020-09-17T08:30:10.432Z] Removing intermediate container e4da33fa2a58 [2020-09-17T08:30:10.432Z] ---> 848116028165 [2020-09-17T08:30:10.432Z] Step 20/20 : LABEL version=0.0.0 [2020-09-17T08:30:10.712Z] ---> Running in 4a50d6f9c9bd [2020-09-17T08:30:10.983Z] Removing intermediate container 4a50d6f9c9bd [2020-09-17T08:30:10.983Z] ---> 63b6b3ce5edd [2020-09-17T08:30:10.983Z] [Warning] One or more build-args [ARCH] were not consumed [2020-09-17T08:30:10.983Z] Successfully built 63b6b3ce5edd [2020-09-17T08:30:11.255Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [2020-09-17T08:30:27.259Z] Still waiting to schedule task [2020-09-17T08:30:27.259Z] All nodes of label ‘ubuntu18.04-docker-arm64-16c-16g’ are offline [2020-09-17T08:30:38.051Z] Running on prd-centos7-docker-8c-8g-129 in /w/workspace/xfoundry_device-modbus-go_PR-174 [Pipeline] { [Pipeline] ws [2020-09-17T08:30:38.142Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-09-17T08:30:40.630Z] using credential edgex-jenkins-ssh [2020-09-17T08:30:40.693Z] Cloning the remote Git repository [2020-09-17T08:30:40.693Z] Cloning with configured refspecs honoured and without tags [2020-09-17T08:30:41.300Z] Fetching without tags [2020-09-17T08:30:40.717Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:30:40.785Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-09-17T08:30:40.809Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:30:40.809Z] > git --version # timeout=10 [2020-09-17T08:30:40.816Z] > git --version # 'git version 2.16.5' [2020-09-17T08:30:40.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:30:40.841Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:30:41.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:30:41.278Z] > git config --add remote.origin.fetch +refs/pull/174/head:refs/remotes/origin/PR-174 # timeout=10 [2020-09-17T08:30:41.282Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:30:41.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:30:41.304Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:30:41.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:30:41.309Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:30:41.730Z] Merging remotes/origin/master commit e5b81f2f6d4871b949c13603cb110c658a649c68 into PR head commit e2ee2c1de404a021a32a0b399017ad1304ef83e1 [2020-09-17T08:30:41.804Z] Merge succeeded, producing e2ee2c1de404a021a32a0b399017ad1304ef83e1 [2020-09-17T08:30:41.804Z] Checking out Revision e2ee2c1de404a021a32a0b399017ad1304ef83e1 (PR-174) [2020-09-17T08:30:41.740Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:30:41.746Z] > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 [2020-09-17T08:30:41.777Z] > git remote # timeout=10 [2020-09-17T08:30:41.782Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T08:30:41.788Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:30:41.790Z] > git merge e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 [2020-09-17T08:30:41.798Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T08:30:41.808Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:30:41.813Z] > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 [2020-09-17T08:30:45.421Z] Commit message: "build: Upgrade to Go1.15" [2020-09-17T08:30:45.449Z] > git --version # timeout=10 [2020-09-17T08:30:45.454Z] > git --version # 'git version 2.16.5' [2020-09-17T08:30:45.458Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T08:30:47.726Z] ++ find /w/workspace/device-modbus-go/1 [2020-09-17T08:30:47.726Z] ++ grep snapcraft.yaml [2020-09-17T08:30:47.726Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T08:30:47.935Z] provisioning config files... [2020-09-17T08:30:47.950Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config3182314799413822043tmp [Pipeline] { [Pipeline] sh [2020-09-17T08:30:48.392Z] + cp /w/workspace/device-modbus-go/1@tmp/config3182314799413822043tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-09-17T08:30:48.715Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-09-17T08:30:48.715Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-09-17T08:30:48.979Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-09-17T08:30:48.979Z] f08d8e2a3ba1: Pulling fs layer [2020-09-17T08:30:48.979Z] 3baa9cb2483b: Pulling fs layer [2020-09-17T08:30:48.979Z] 94e5ff4c0b15: Pulling fs layer [2020-09-17T08:30:48.979Z] 1860925334f9: Pulling fs layer [2020-09-17T08:30:48.979Z] 2daf38717194: Pulling fs layer [2020-09-17T08:30:48.979Z] 309017e8d7a4: Pulling fs layer [2020-09-17T08:30:48.979Z] f7790dc9fd0f: Pulling fs layer [2020-09-17T08:30:48.979Z] cac0ae9282c2: Pulling fs layer [2020-09-17T08:30:48.979Z] 1f4cadf9a1ed: Pulling fs layer [2020-09-17T08:30:48.979Z] 1860925334f9: Waiting [2020-09-17T08:30:48.979Z] 2daf38717194: Waiting [2020-09-17T08:30:48.979Z] cac0ae9282c2: Waiting [2020-09-17T08:30:48.979Z] 1f4cadf9a1ed: Waiting [2020-09-17T08:30:48.979Z] 309017e8d7a4: Waiting [2020-09-17T08:30:48.979Z] f7790dc9fd0f: Waiting [2020-09-17T08:30:48.979Z] 94e5ff4c0b15: Verifying Checksum [2020-09-17T08:30:48.979Z] 94e5ff4c0b15: Download complete [2020-09-17T08:30:48.979Z] 3baa9cb2483b: Download complete [2020-09-17T08:30:48.979Z] 1860925334f9: Download complete [2020-09-17T08:30:48.979Z] 309017e8d7a4: Download complete [2020-09-17T08:30:48.979Z] f7790dc9fd0f: Verifying Checksum [2020-09-17T08:30:48.979Z] f7790dc9fd0f: Download complete [2020-09-17T08:30:49.557Z] cac0ae9282c2: Verifying Checksum [2020-09-17T08:30:51.482Z] 1f4cadf9a1ed: Verifying Checksum [2020-09-17T08:30:51.482Z] 1f4cadf9a1ed: Download complete [2020-09-17T08:30:51.745Z] f08d8e2a3ba1: Verifying Checksum [2020-09-17T08:30:51.745Z] f08d8e2a3ba1: Download complete [2020-09-17T08:30:52.692Z] f08d8e2a3ba1: Pull complete [2020-09-17T08:30:52.692Z] 3baa9cb2483b: Pull complete [2020-09-17T08:30:52.954Z] 94e5ff4c0b15: Pull complete [2020-09-17T08:30:52.954Z] 1860925334f9: Pull complete [2020-09-17T08:30:57.170Z] 2daf38717194: Verifying Checksum [2020-09-17T08:30:57.170Z] 2daf38717194: Download complete [2020-09-17T08:31:12.098Z] 2daf38717194: Pull complete [2020-09-17T08:31:12.098Z] 309017e8d7a4: Pull complete [2020-09-17T08:31:12.098Z] f7790dc9fd0f: Pull complete [2020-09-17T08:31:12.098Z] cac0ae9282c2: Pull complete [2020-09-17T08:31:12.098Z] 1f4cadf9a1ed: Pull complete [2020-09-17T08:31:12.098Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-09-17T08:31:12.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-09-17T08:31:13.508Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-09-17T08:31:13.508Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-09-17T08:31:13.771Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-09-17T08:31:13.771Z] Get:4 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [901 kB] [2020-09-17T08:31:13.771Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [10.1 kB] [2020-09-17T08:31:13.771Z] Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1089 kB] [2020-09-17T08:31:13.771Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [116 kB] [2020-09-17T08:31:14.032Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-09-17T08:31:14.032Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [27.7 kB] [2020-09-17T08:31:14.296Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [132 kB] [2020-09-17T08:31:14.296Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1429 kB] [2020-09-17T08:31:14.565Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1385 kB] [2020-09-17T08:31:14.828Z] Fetched 5342 kB in 1s (4053 kB/s) [2020-09-17T08:31:15.775Z] Reading package lists... [2020-09-17T08:31:17.973Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-09-17T08:31:17.973Z] 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-09-17T08:31:17.973Z] 0% [Waiting for headers] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-09-17T08:31:18.235Z] 0% [1 InRelease gpgv 88.7 kB] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-09-17T08:31:19.344Z] 0% [2 InRelease gpgv 242 kB] 0% [Working] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 64% Reading package lists... 64% Reading package lists... 65% Reading package lists... 65% Reading package lists... 74% Reading package lists... 74% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 88% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-09-17T08:31:20.289Z] Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 [2020-09-17T08:31:21.138Z] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 64% Reading package lists... 64% Reading package lists... 65% Reading package lists... 65% Reading package lists... 74% Reading package lists... 74% Reading package lists... 75% Reading package lists... 75% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 85% Reading package lists... 92% Reading package lists... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-09-17T08:31:21.399Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-09-17T08:31:21.399Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-09-17T08:31:21.399Z] The following packages were automatically installed and are no longer required: [2020-09-17T08:31:21.399Z] libjq1 libonig4 [2020-09-17T08:31:21.399Z] Use 'sudo apt autoremove' to remove them. [2020-09-17T08:31:21.399Z] Suggested packages: [2020-09-17T08:31:21.399Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-09-17T08:31:21.399Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-09-17T08:31:21.399Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-09-17T08:31:21.399Z] | libterm-readline-perl-perl [2020-09-17T08:31:21.662Z] The following NEW packages will be installed: [2020-09-17T08:31:21.662Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-09-17T08:31:21.662Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-09-17T08:31:21.662Z] 0 upgraded, 14 newly installed, 0 to remove and 4 not upgraded. [2020-09-17T08:31:21.662Z] Need to get 12.0 MB of archives. [2020-09-17T08:31:21.662Z] After this operation, 77.5 MB of additional disk space will be used. [2020-09-17T08:31:21.925Z] 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-09-17T08:31:22.760Z] 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 2% [1 perl-modules-5.26 332 kB/2763 kB 12%] 20% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-09-17T08:31:22.760Z] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-09-17T08:31:22.760Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.3 [3527 kB] [2020-09-17T08:31:23.022Z] 23% [4 libperl5.26 69.3 kB/3527 kB 2%] 48% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.3 [201 kB] [2020-09-17T08:31:23.022Z] 48% [5 perl 33.5 kB/201 kB 17%] 51% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-09-17T08:31:23.022Z] 51% [6 less 28.4 kB/112 kB 25%] 53% [Working] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-09-17T08:31:23.022Z] 53% [7 netbase 12.7 kB/12.7 kB 100%] 54% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] [2020-09-17T08:31:23.022Z] 54% [8 curl 34.7 kB/159 kB 22%] 57% [Working] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] [2020-09-17T08:31:23.022Z] 57% [9 libcurl3-gnutls 0 B/213 kB 0%] 60% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-09-17T08:31:23.022Z] 60% [10 liberror-perl 22.8 kB/22.8 kB 100%] 61% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-09-17T08:31:23.022Z] 61% [11 git-man 33.0 kB/804 kB 4%] 68% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-09-17T08:31:23.286Z] 68% [12 git 65.5 kB/3915 kB 2%] 95% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-09-17T08:31:23.286Z] 96% [13 make 32.7 kB/154 kB 21%] 98% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-09-17T08:31:23.286Z] 98% [14 patch 65.5 kB/102 kB 64%] 100% [Working] Fetched 12.0 MB in 2s (7521 kB/s) [2020-09-17T08:31:23.286Z] debconf: delaying package configuration, since apt-utils is not installed [2020-09-17T08:31:23.548Z] Selecting previously unselected package perl-modules-5.26. [2020-09-17T08:31:23.548Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) [2020-09-17T08:31:23.548Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-09-17T08:31:23.548Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-17T08:31:24.497Z] Selecting previously unselected package libgdbm5:amd64. [2020-09-17T08:31:24.497Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-09-17T08:31:24.497Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-09-17T08:31:24.497Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-09-17T08:31:24.497Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-09-17T08:31:24.497Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-09-17T08:31:24.497Z] Selecting previously unselected package libperl5.26:amd64. [2020-09-17T08:31:24.497Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_amd64.deb ... [2020-09-17T08:31:24.497Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-09-17T08:31:25.078Z] Selecting previously unselected package perl. [2020-09-17T08:31:25.078Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_amd64.deb ... [2020-09-17T08:31:25.078Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-09-17T08:31:25.078Z] Selecting previously unselected package less. [2020-09-17T08:31:25.078Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-09-17T08:31:25.078Z] Unpacking less (487-0.1) ... [2020-09-17T08:31:25.078Z] Selecting previously unselected package netbase. [2020-09-17T08:31:25.078Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-09-17T08:31:25.078Z] Unpacking netbase (5.4) ... [2020-09-17T08:31:25.078Z] Selecting previously unselected package curl. [2020-09-17T08:31:25.078Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-09-17T08:31:25.342Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-09-17T08:31:25.342Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-09-17T08:31:25.342Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-09-17T08:31:25.342Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-09-17T08:31:25.342Z] Selecting previously unselected package liberror-perl. [2020-09-17T08:31:25.342Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-09-17T08:31:25.342Z] Unpacking liberror-perl (0.17025-1) ... [2020-09-17T08:31:25.342Z] Selecting previously unselected package git-man. [2020-09-17T08:31:25.342Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-09-17T08:31:25.342Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-17T08:31:25.606Z] Selecting previously unselected package git. [2020-09-17T08:31:25.606Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-09-17T08:31:25.606Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-09-17T08:31:26.180Z] Selecting previously unselected package make. [2020-09-17T08:31:26.180Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-09-17T08:31:26.180Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-09-17T08:31:26.180Z] Selecting previously unselected package patch. [2020-09-17T08:31:26.180Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-09-17T08:31:26.180Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-09-17T08:31:26.180Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-17T08:31:26.180Z] Setting up less (487-0.1) ... [2020-09-17T08:31:26.443Z] Setting up make (4.1-9.1ubuntu1) ... [2020-09-17T08:31:26.443Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-09-17T08:31:26.443Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-09-17T08:31:26.443Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-17T08:31:26.443Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-09-17T08:31:26.443Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-09-17T08:31:26.443Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-09-17T08:31:26.443Z] Setting up netbase (5.4) ... [2020-09-17T08:31:26.443Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.3) ... [2020-09-17T08:31:26.443Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-09-17T08:31:26.705Z] Setting up liberror-perl (0.17025-1) ... [2020-09-17T08:31:26.705Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-09-17T08:31:26.705Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-09-17T08:31:26.705Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-09-17T08:31:28.102Z] curl set to automatically installed. [2020-09-17T08:31:28.102Z] git set to automatically installed. [2020-09-17T08:31:28.102Z] git-man set to automatically installed. [2020-09-17T08:31:28.102Z] less set to automatically installed. [2020-09-17T08:31:28.102Z] libcurl3-gnutls set to automatically installed. [2020-09-17T08:31:28.102Z] liberror-perl set to automatically installed. [2020-09-17T08:31:28.102Z] libgdbm-compat4 set to automatically installed. [2020-09-17T08:31:28.102Z] libgdbm5 set to automatically installed. [2020-09-17T08:31:28.102Z] libperl5.26 set to automatically installed. [2020-09-17T08:31:28.102Z] make set to automatically installed. [2020-09-17T08:31:28.102Z] netbase set to automatically installed. [2020-09-17T08:31:28.102Z] patch set to automatically installed. [2020-09-17T08:31:28.102Z] perl set to automatically installed. [2020-09-17T08:31:28.102Z] perl-modules-5.26 set to automatically installed. [2020-09-17T08:31:28.102Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-09-17T08:31:28.102Z] Please ensure the environment is properly setup before continuing. [2020-09-17T08:31:28.102Z] Ignore this message if the appropriate measures have already been taken [2020-09-17T08:31:28.676Z] Pulling go  [2020-09-17T08:31:29.630Z] 'device-modbus' has dependencies that need to be staged: go [2020-09-17T08:31:29.630Z] Skipping pull go (already ran) [2020-09-17T08:31:29.630Z] Building go  [2020-09-17T08:31:29.630Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-17T08:31:29.630Z] Dload Upload Total Spent Left Speed [2020-09-17T08:31:31.187Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 39 115M 39 45.8M 0 0 52.2M 0 0:00:02 --:--:-- 0:00:02 52.2M 100 115M 100 115M 0 0 62.3M 0 0:00:01 0:00:01 --:--:-- 62.3M [2020-09-17T08:31:31.806Z] go1.15.2.linux-amd64.tar.gz: OK [2020-09-17T08:31:37.259Z] Staging go  [2020-09-17T08:31:37.259Z] Pulling device-modbus  [2020-09-17T08:31:37.540Z] Skipping build go (already ran) [2020-09-17T08:31:37.540Z] Building device-modbus  [2020-09-17T08:31:37.540Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-09-17T08:31:38.507Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-17T08:31:38.507Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-09-17T08:31:38.507Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-17T08:31:38.507Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-09-17T08:31:38.507Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-09-17T08:31:38.507Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-17T08:31:38.507Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-09-17T08:31:38.507Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-09-17T08:31:38.507Z] go: downloading github.com/google/uuid v1.1.1 [2020-09-17T08:31:38.507Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-17T08:31:38.507Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-09-17T08:31:38.507Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-17T08:31:38.507Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-17T08:31:38.507Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-09-17T08:31:38.507Z] go: downloading github.com/pkg/errors v0.8.1 [2020-09-17T08:31:38.507Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-09-17T08:31:38.507Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-17T08:31:38.507Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-09-17T08:31:38.507Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-17T08:31:38.507Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-09-17T08:31:38.507Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-17T08:31:38.507Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-09-17T08:31:38.507Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-09-17T08:31:38.507Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-17T08:31:38.507Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-17T08:31:38.507Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-09-17T08:31:38.507Z] go: downloading github.com/x448/float16 v0.8.4 [2020-09-17T08:31:38.507Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-09-17T08:31:38.772Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-17T08:31:38.772Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-17T08:31:38.772Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-09-17T08:31:44.173Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T08:31:46.125Z] Skipping stage go (already ran) [2020-09-17T08:31:46.125Z] Staging device-modbus  [2020-09-17T08:31:46.721Z] Priming go  [2020-09-17T08:31:47.705Z] Priming device-modbus  [2020-09-17T08:31:47.982Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-09-17T08:31:47.982Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-09-17T08:31:47.982Z] Determining the version from the project repo (version-script). [2020-09-17T08:31:47.982Z] The version has been set to 'local-dev-20200917+e2ee2c1' [2020-09-17T08:31:48.828Z] Snapping | Snapping / Snapping - Snapping | [2020-09-17T08:31:48.828Z] Snapped edgex-device-modbus_local-dev-20200917+e2ee2c1_amd64.snap [Pipeline] } [2020-09-17T08:31:50.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-09-17T08:32:29.636Z] Running on prd-ubuntu18.04-docker-arm64-16c-16g-131 in /w/workspace/xfoundry_device-modbus-go_PR-174 [Pipeline] { [Pipeline] ws [2020-09-17T08:32:29.735Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-09-17T08:32:34.190Z] using credential edgex-jenkins-ssh [2020-09-17T08:32:34.279Z] Cloning the remote Git repository [2020-09-17T08:32:34.279Z] Cloning with configured refspecs honoured and without tags [2020-09-17T08:32:34.357Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:32:34.459Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-09-17T08:32:34.516Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:32:34.516Z] > git --version # timeout=10 [2020-09-17T08:32:34.531Z] > git --version # 'git version 2.17.1' [2020-09-17T08:32:34.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:32:34.615Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:32:35.296Z] Fetching without tags [2020-09-17T08:32:35.748Z] Merging remotes/origin/master commit e5b81f2f6d4871b949c13603cb110c658a649c68 into PR head commit e2ee2c1de404a021a32a0b399017ad1304ef83e1 [2020-09-17T08:32:35.915Z] Merge succeeded, producing e2ee2c1de404a021a32a0b399017ad1304ef83e1 [2020-09-17T08:32:35.916Z] Checking out Revision e2ee2c1de404a021a32a0b399017ad1304ef83e1 (PR-174) [2020-09-17T08:32:35.247Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:32:35.262Z] > git config --add remote.origin.fetch +refs/pull/174/head:refs/remotes/origin/PR-174 # timeout=10 [2020-09-17T08:32:35.276Z] > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:32:35.302Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-09-17T08:32:35.327Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-09-17T08:32:35.328Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:32:35.342Z] > git fetch --no-tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-09-17T08:32:35.788Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:32:35.800Z] > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 [2020-09-17T08:32:35.871Z] > git remote # timeout=10 [2020-09-17T08:32:35.884Z] > git config --get remote.origin.url # timeout=10 [2020-09-17T08:32:35.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-09-17T08:32:35.904Z] > git merge e5b81f2f6d4871b949c13603cb110c658a649c68 # timeout=10 [2020-09-17T08:32:35.923Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-09-17T08:32:35.942Z] > git config core.sparsecheckout # timeout=10 [2020-09-17T08:32:35.952Z] > git checkout -f e2ee2c1de404a021a32a0b399017ad1304ef83e1 # timeout=10 [2020-09-17T08:32:40.100Z] Commit message: "build: Upgrade to Go1.15" [2020-09-17T08:32:40.173Z] > git --version # timeout=10 [2020-09-17T08:32:40.184Z] > git --version # 'git version 2.17.1' [2020-09-17T08:32:40.193Z] fatal: bad object 7909e789ffc0fecf34d47f501ec8db0a80105338 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-09-17T08:32:41.456Z] + find /w/workspace/device-modbus-go/1 [2020-09-17T08:32:41.456Z] + grep snapcraft.yaml [2020-09-17T08:32:41.456Z] + grep -Po ^name: \K(.*) /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T08:32:41.766Z] provisioning config files... [2020-09-17T08:32:41.795Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config7859234491285052290tmp [Pipeline] { [Pipeline] sh [2020-09-17T08:32:42.246Z] + cp /w/workspace/device-modbus-go/1@tmp/config7859234491285052290tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-09-17T08:32:42.622Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-09-17T08:32:43.227Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest' locally [2020-09-17T08:32:43.503Z] latest: Pulling from edgex-devops/edgex-snap-builder-arm64 [2020-09-17T08:32:43.503Z] 237528ba509b: Pulling fs layer [2020-09-17T08:32:43.503Z] 393b96f31d8b: Pulling fs layer [2020-09-17T08:32:43.503Z] 4d82b0e39008: Pulling fs layer [2020-09-17T08:32:43.503Z] e7ca375b8d34: Pulling fs layer [2020-09-17T08:32:43.503Z] 418f656485bb: Pulling fs layer [2020-09-17T08:32:43.503Z] aebe8db9254c: Pulling fs layer [2020-09-17T08:32:43.503Z] 4f5f7b207d3f: Pulling fs layer [2020-09-17T08:32:43.503Z] d19ca6af091a: Pulling fs layer [2020-09-17T08:32:43.503Z] 16b5a0711add: Pulling fs layer [2020-09-17T08:32:43.503Z] 16b5a0711add: Waiting [2020-09-17T08:32:43.503Z] d19ca6af091a: Waiting [2020-09-17T08:32:43.503Z] e7ca375b8d34: Waiting [2020-09-17T08:32:43.503Z] aebe8db9254c: Waiting [2020-09-17T08:32:43.503Z] 418f656485bb: Waiting [2020-09-17T08:32:43.503Z] 4f5f7b207d3f: Waiting [2020-09-17T08:32:43.503Z] 4d82b0e39008: Verifying Checksum [2020-09-17T08:32:43.503Z] 4d82b0e39008: Download complete [2020-09-17T08:32:43.779Z] 393b96f31d8b: Verifying Checksum [2020-09-17T08:32:43.779Z] 393b96f31d8b: Download complete [2020-09-17T08:32:43.779Z] e7ca375b8d34: Verifying Checksum [2020-09-17T08:32:43.779Z] e7ca375b8d34: Download complete [2020-09-17T08:32:43.779Z] aebe8db9254c: Verifying Checksum [2020-09-17T08:32:43.779Z] aebe8db9254c: Download complete [2020-09-17T08:32:45.765Z] 4f5f7b207d3f: Download complete [2020-09-17T08:32:45.765Z] d19ca6af091a: Verifying Checksum [2020-09-17T08:32:45.765Z] d19ca6af091a: Download complete [2020-09-17T08:32:46.051Z] 16b5a0711add: Verifying Checksum [2020-09-17T08:32:46.653Z] 237528ba509b: Verifying Checksum [2020-09-17T08:32:46.653Z] 237528ba509b: Download complete [2020-09-17T08:32:50.055Z] 237528ba509b: Pull complete [2020-09-17T08:32:50.055Z] 393b96f31d8b: Pull complete [2020-09-17T08:32:50.333Z] 4d82b0e39008: Pull complete [2020-09-17T08:32:50.606Z] e7ca375b8d34: Pull complete [2020-09-17T08:32:57.321Z] 418f656485bb: Verifying Checksum [2020-09-17T08:32:57.321Z] 418f656485bb: Download complete [2020-09-17T08:33:44.360Z] 418f656485bb: Pull complete [2020-09-17T08:33:44.360Z] aebe8db9254c: Pull complete [2020-09-17T08:33:44.360Z] 4f5f7b207d3f: Pull complete [2020-09-17T08:33:44.360Z] d19ca6af091a: Pull complete [2020-09-17T08:33:44.360Z] 16b5a0711add: Pull complete [2020-09-17T08:33:44.360Z] Digest: sha256:9ca9034cebc7408d83a32dada391ac179c4174cde852b5731596ec8e47bf0b3e [2020-09-17T08:33:44.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder-arm64:latest [2020-09-17T08:33:44.360Z] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-09-17T08:33:44.360Z] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB] [2020-09-17T08:33:44.360Z] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB] [2020-09-17T08:33:44.360Z] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB] [2020-09-17T08:33:44.360Z] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [943 kB] [2020-09-17T08:33:44.638Z] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1264 kB] [2020-09-17T08:33:44.909Z] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [672 kB] [2020-09-17T08:33:44.910Z] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [787 kB] [2020-09-17T08:33:45.507Z] Fetched 3917 kB in 2s (1694 kB/s) [2020-09-17T08:33:49.805Z] Reading package lists... [2020-09-17T08:34:04.882Z] 0% [Working] Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease [2020-09-17T08:34:04.882Z] 0% [Working] 0% [1 InRelease gpgv 242 kB] [Waiting for headers] Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [2020-09-17T08:34:04.882Z] 0% [1 InRelease gpgv 242 kB] Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [2020-09-17T08:34:04.882Z] 0% [1 InRelease gpgv 242 kB] Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [2020-09-17T08:34:10.124Z] 0% [1 InRelease gpgv 242 kB] 0% [Working] 0% [2 InRelease gpgv 88.7 kB] 0% [Working] 0% [3 InRelease gpgv 74.6 kB] 0% [Working] 0% [4 InRelease gpgv 88.7 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 8% Reading package lists... 29% Reading package lists... 47% Reading package lists... 63% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 77% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-09-17T08:34:16.832Z] Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-modules-5.26 [2020-09-17T08:34:22.143Z] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 7% Reading package lists... 8% Reading package lists... 24% Reading package lists... 39% Reading package lists... 53% Reading package lists... 69% Reading package lists... 72% Reading package lists... 72% Reading package lists... 73% Reading package lists... 73% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 79% Reading package lists... 85% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 89% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-09-17T08:34:23.289Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 2% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 92% Building dependency tree [2020-09-17T08:34:23.289Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-09-17T08:34:24.270Z] The following packages were automatically installed and are no longer required: [2020-09-17T08:34:24.270Z] libjq1 libonig4 [2020-09-17T08:34:24.270Z] Use 'sudo apt autoremove' to remove them. [2020-09-17T08:34:24.270Z] Suggested packages: [2020-09-17T08:34:24.270Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-09-17T08:34:24.270Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-09-17T08:34:24.270Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-09-17T08:34:24.270Z] | libterm-readline-perl-perl [2020-09-17T08:34:24.867Z] The following NEW packages will be installed: [2020-09-17T08:34:24.867Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-09-17T08:34:24.867Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-09-17T08:34:24.867Z] 0 upgraded, 14 newly installed, 0 to remove and 4 not upgraded. [2020-09-17T08:34:24.867Z] Need to get 10.8 MB of archives. [2020-09-17T08:34:24.867Z] After this operation, 73.6 MB of additional disk space will be used. [2020-09-17T08:34:25.140Z] 0% [Working] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.3 [2763 kB] [2020-09-17T08:34:25.693Z] 0% [1 perl-modules-5.26 12.6 kB/2763 kB 0%] 5% [1 perl-modules-5.26 622 kB/2763 kB 23%] 22% [Working] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm5 arm64 1.14.1-6 [23.1 kB] [2020-09-17T08:34:25.693Z] 22% [2 libgdbm5 23.1 kB/23.1 kB 100%] 24% [Working] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 libgdbm-compat4 arm64 1.14.1-6 [5536 B] [2020-09-17T08:34:25.693Z] 24% [3 libgdbm-compat4 5536 B/5536 B 100%] 25% [Working] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.3 [3326 kB] [2020-09-17T08:34:25.978Z] 25% [4 libperl5.26 0 B/3326 kB 0%] 51% [Working] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.3 [201 kB] [2020-09-17T08:34:25.979Z] 51% [5 perl 42.3 kB/201 kB 21%] 54% [Working] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 less arm64 487-0.1 [99.7 kB] [2020-09-17T08:34:25.979Z] 54% [6 less 37.3 kB/99.7 kB 37%] 56% [Working] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 netbase all 5.4 [12.7 kB] [2020-09-17T08:34:25.979Z] 56% [7 netbase 12.7 kB/12.7 kB 100%] 58% [Working] Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.10 [152 kB] [2020-09-17T08:34:25.979Z] 58% [8 curl 53.2 kB/152 kB 35%] 60% [Working] Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.10 [179 kB] [2020-09-17T08:34:25.979Z] 61% [9 libcurl3-gnutls 24.6 kB/179 kB 14%] 63% [Working] Get:10 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 liberror-perl all 0.17025-1 [22.8 kB] [2020-09-17T08:34:25.979Z] 63% [10 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Working] Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-09-17T08:34:26.253Z] 65% [11 git-man 28.5 kB/804 kB 4%] 72% [Working] Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.7 [2952 kB] [2020-09-17T08:34:26.253Z] 72% [12 git 41.0 kB/2952 kB 1%] 95% [Working] Get:13 http://ports.ubuntu.com/ubuntu-ports bionic/main arm64 make arm64 4.1-9.1ubuntu1 [139 kB] [2020-09-17T08:34:26.253Z] 96% [13 make 65.5 kB/139 kB 47%] 98% [Working] Get:14 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 patch arm64 2.7.6-2ubuntu1.1 [91.8 kB] [2020-09-17T08:34:26.253Z] 98% [14 patch 65.5 kB/91.8 kB 71%] 100% [Working] Fetched 10.8 MB in 1s (7263 kB/s) [2020-09-17T08:34:27.241Z] debconf: delaying package configuration, since apt-utils is not installed [2020-09-17T08:34:27.241Z] Selecting previously unselected package perl-modules-5.26. [2020-09-17T08:34:27.241Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9882 files and directories currently installed.) [2020-09-17T08:34:27.241Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.3_all.deb ... [2020-09-17T08:34:27.241Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-17T08:34:28.677Z] Selecting previously unselected package libgdbm5:arm64. [2020-09-17T08:34:28.677Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_arm64.deb ... [2020-09-17T08:34:28.956Z] Unpacking libgdbm5:arm64 (1.14.1-6) ... [2020-09-17T08:34:28.956Z] Selecting previously unselected package libgdbm-compat4:arm64. [2020-09-17T08:34:28.956Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_arm64.deb ... [2020-09-17T08:34:28.956Z] Unpacking libgdbm-compat4:arm64 (1.14.1-6) ... [2020-09-17T08:34:29.229Z] Selecting previously unselected package libperl5.26:arm64. [2020-09-17T08:34:29.229Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.3_arm64.deb ... [2020-09-17T08:34:29.229Z] Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-09-17T08:34:30.665Z] Selecting previously unselected package perl. [2020-09-17T08:34:30.665Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.3_arm64.deb ... [2020-09-17T08:34:30.665Z] Unpacking perl (5.26.1-6ubuntu0.3) ... [2020-09-17T08:34:30.665Z] Selecting previously unselected package less. [2020-09-17T08:34:30.665Z] Preparing to unpack .../05-less_487-0.1_arm64.deb ... [2020-09-17T08:34:30.665Z] Unpacking less (487-0.1) ... [2020-09-17T08:34:30.940Z] Selecting previously unselected package netbase. [2020-09-17T08:34:30.940Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-09-17T08:34:30.940Z] Unpacking netbase (5.4) ... [2020-09-17T08:34:30.940Z] Selecting previously unselected package curl. [2020-09-17T08:34:30.940Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_arm64.deb ... [2020-09-17T08:34:30.940Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-09-17T08:34:31.214Z] Selecting previously unselected package libcurl3-gnutls:arm64. [2020-09-17T08:34:31.214Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_arm64.deb ... [2020-09-17T08:34:31.214Z] Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-09-17T08:34:31.214Z] Selecting previously unselected package liberror-perl. [2020-09-17T08:34:31.214Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-09-17T08:34:31.214Z] Unpacking liberror-perl (0.17025-1) ... [2020-09-17T08:34:31.487Z] Selecting previously unselected package git-man. [2020-09-17T08:34:31.487Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-09-17T08:34:31.487Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-17T08:34:31.759Z] Selecting previously unselected package git. [2020-09-17T08:34:31.759Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_arm64.deb ... [2020-09-17T08:34:31.759Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-09-17T08:34:33.196Z] Selecting previously unselected package make. [2020-09-17T08:34:33.196Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_arm64.deb ... [2020-09-17T08:34:33.196Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-09-17T08:34:33.196Z] Selecting previously unselected package patch. [2020-09-17T08:34:33.196Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_arm64.deb ... [2020-09-17T08:34:33.196Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-09-17T08:34:33.469Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-09-17T08:34:33.469Z] Setting up less (487-0.1) ... [2020-09-17T08:34:34.070Z] Setting up make (4.1-9.1ubuntu1) ... [2020-09-17T08:34:34.070Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-09-17T08:34:34.070Z] Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.10) ... [2020-09-17T08:34:34.071Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.3) ... [2020-09-17T08:34:34.071Z] Setting up libgdbm5:arm64 (1.14.1-6) ... [2020-09-17T08:34:34.071Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-09-17T08:34:34.071Z] Setting up libgdbm-compat4:arm64 (1.14.1-6) ... [2020-09-17T08:34:34.071Z] Setting up netbase (5.4) ... [2020-09-17T08:34:34.346Z] Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.3) ... [2020-09-17T08:34:34.346Z] Setting up perl (5.26.1-6ubuntu0.3) ... [2020-09-17T08:34:34.346Z] Setting up liberror-perl (0.17025-1) ... [2020-09-17T08:34:34.346Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-09-17T08:34:34.620Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-09-17T08:34:34.620Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-09-17T08:34:41.355Z] curl set to automatically installed. [2020-09-17T08:34:41.355Z] git set to automatically installed. [2020-09-17T08:34:41.355Z] git-man set to automatically installed. [2020-09-17T08:34:41.355Z] less set to automatically installed. [2020-09-17T08:34:41.355Z] libcurl3-gnutls set to automatically installed. [2020-09-17T08:34:41.355Z] liberror-perl set to automatically installed. [2020-09-17T08:34:41.355Z] libgdbm-compat4 set to automatically installed. [2020-09-17T08:34:41.355Z] libgdbm5 set to automatically installed. [2020-09-17T08:34:41.355Z] libperl5.26 set to automatically installed. [2020-09-17T08:34:41.355Z] make set to automatically installed. [2020-09-17T08:34:41.355Z] netbase set to automatically installed. [2020-09-17T08:34:41.355Z] patch set to automatically installed. [2020-09-17T08:34:41.355Z] perl set to automatically installed. [2020-09-17T08:34:41.355Z] perl-modules-5.26 set to automatically installed. [2020-09-17T08:34:41.355Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-09-17T08:34:41.355Z] Please ensure the environment is properly setup before continuing. [2020-09-17T08:34:41.355Z] Ignore this message if the appropriate measures have already been taken [2020-09-17T08:34:42.336Z] Pulling go  [2020-09-17T08:34:47.739Z] 'device-modbus' has dependencies that need to be staged: go [2020-09-17T08:34:47.739Z] Skipping pull go (already ran) [2020-09-17T08:34:47.739Z] Building go  [2020-09-17T08:34:47.739Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-09-17T08:34:47.739Z] Dload Upload Total Spent Left Speed [2020-09-17T08:34:49.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 4 93.2M 4 4351k 0 0 12.8M 0 0:00:07 --:--:-- 0:00:07 12.8M 49 93.2M 49 46.5M 0 0 34.0M 0 0:00:02 0:00:01 0:00:01 34.0M 93 93.2M 93 87.2M 0 0 37.4M 0 0:00:02 0:00:02 --:--:-- 37.4M 100 93.2M 100 93.2M 0 0 37.9M 0 0:00:02 0:00:02 --:--:-- 37.9M [2020-09-17T08:34:50.752Z] go1.15.2.linux-arm64.tar.gz: OK [2020-09-17T08:35:12.969Z] Staging go  [2020-09-17T08:35:16.357Z] Pulling device-modbus  [2020-09-17T08:35:20.659Z] Skipping build go (already ran) [2020-09-17T08:35:20.659Z] Building device-modbus  [2020-09-17T08:35:20.659Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-09-17T08:35:21.258Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.2.3 [2020-09-17T08:35:21.258Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.58 [2020-09-17T08:35:21.258Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-09-17T08:35:21.258Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-09-17T08:35:21.532Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-09-17T08:35:21.532Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.36 [2020-09-17T08:35:21.532Z] go: downloading github.com/google/uuid v1.1.1 [2020-09-17T08:35:21.532Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-09-17T08:35:21.532Z] go: downloading gopkg.in/yaml.v2 v2.2.8 [2020-09-17T08:35:21.533Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-09-17T08:35:21.533Z] go: downloading github.com/OneOfOne/xxhash v1.2.6 [2020-09-17T08:35:21.533Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.17 [2020-09-17T08:35:21.533Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.20 [2020-09-17T08:35:21.533Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.3 [2020-09-17T08:35:21.533Z] go: downloading github.com/pkg/errors v0.8.1 [2020-09-17T08:35:21.533Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-09-17T08:35:21.533Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-09-17T08:35:21.808Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-09-17T08:35:21.808Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-09-17T08:35:21.808Z] go: downloading github.com/x448/float16 v0.8.4 [2020-09-17T08:35:21.808Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-09-17T08:35:21.808Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-09-17T08:35:21.808Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-09-17T08:35:21.808Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-09-17T08:35:21.808Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-09-17T08:35:21.808Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-09-17T08:35:21.808Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-09-17T08:35:22.081Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-09-17T08:35:22.081Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-09-17T08:35:22.353Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-09-17T08:35:22.353Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-09-17T08:35:40.677Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-09-17T08:35:59.090Z] Skipping stage go (already ran) [2020-09-17T08:35:59.090Z] Staging device-modbus  [2020-09-17T08:35:59.690Z] Priming go  [2020-09-17T08:36:03.082Z] Priming device-modbus  [2020-09-17T08:36:07.379Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-09-17T08:36:07.379Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-09-17T08:36:07.379Z] Determining the version from the project repo (version-script). [2020-09-17T08:36:07.379Z] The version has been set to 'local-dev-20200917+e2ee2c1' [2020-09-17T08:36:07.925Z] Snapping | Snapping / Snapping - Snapping \ Snapping | Snapping | [2020-09-17T08:36:07.925Z] Snapped edgex-device-modbus_local-dev-20200917+e2ee2c1_arm64.snap [Pipeline] } [2020-09-17T08:36:10.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-09-17T08:36:13.398Z] provisioning config files... [2020-09-17T08:36:13.420Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-174@tmp/config7932375409687168123tmp [Pipeline] { [Pipeline] sh [2020-09-17T08:36:13.839Z] + curl -s https://codecov.io/bash [2020-09-17T08:36:13.839Z] + bash -s - -t @/w/workspace/xfoundry_device-modbus-go_PR-174@tmp/config7932375409687168123tmp [Pipeline] } [2020-09-17T08:36:14.127Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:36:17.477Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:36:18.085Z] ---> package-listing.sh [2020-09-17T08:36:18.085Z] ++ facter osfamily [2020-09-17T08:36:18.085Z] ++ tr '[:upper:]' '[:lower:]' [2020-09-17T08:36:18.085Z] + OS_FAMILY=redhat [2020-09-17T08:36:18.085Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-174 [2020-09-17T08:36:18.085Z] + START_PACKAGES=/tmp/packages_start.txt [2020-09-17T08:36:18.085Z] + END_PACKAGES=/tmp/packages_end.txt [2020-09-17T08:36:18.085Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-09-17T08:36:18.085Z] + PACKAGES=/tmp/packages_start.txt [2020-09-17T08:36:18.085Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-174 ']' [2020-09-17T08:36:18.085Z] + PACKAGES=/tmp/packages_end.txt [2020-09-17T08:36:18.085Z] + case "${OS_FAMILY}" in [2020-09-17T08:36:18.085Z] + rpm -qa [2020-09-17T08:36:18.085Z] + sort [2020-09-17T08:36:22.299Z] + '[' -f /tmp/packages_start.txt ']' [2020-09-17T08:36:22.299Z] + '[' -f /tmp/packages_end.txt ']' [2020-09-17T08:36:22.299Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-09-17T08:36:22.299Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-174 ']' [2020-09-17T08:36:22.299Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-174/archives/ [2020-09-17T08:36:22.299Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-174/archives/ [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:36:22.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T08:36:22.814Z] [2020-09-17T08:36:22.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-09-17T08:36:23.232Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T08:36:23.232Z] alpine: Pulling from edgex-lftools-log-publisher [2020-09-17T08:36:23.232Z] df20fa9351a1: Pulling fs layer [2020-09-17T08:36:23.232Z] 36b3adc4ff6f: Pulling fs layer [2020-09-17T08:36:23.232Z] 8ad3a11d3b57: Pulling fs layer [2020-09-17T08:36:23.232Z] 46f8f816bc3b: Pulling fs layer [2020-09-17T08:36:23.232Z] 0dadc02b9964: Pulling fs layer [2020-09-17T08:36:23.232Z] ce6a7cf60c04: Pulling fs layer [2020-09-17T08:36:23.232Z] 7a184a31f384: Pulling fs layer [2020-09-17T08:36:23.232Z] 0879bd2ef858: Pulling fs layer [2020-09-17T08:36:23.232Z] 0dadc02b9964: Waiting [2020-09-17T08:36:23.232Z] ce6a7cf60c04: Waiting [2020-09-17T08:36:23.232Z] 7a184a31f384: Waiting [2020-09-17T08:36:23.232Z] 0879bd2ef858: Waiting [2020-09-17T08:36:23.232Z] 36b3adc4ff6f: Download complete [2020-09-17T08:36:23.232Z] 46f8f816bc3b: Verifying Checksum [2020-09-17T08:36:23.232Z] 46f8f816bc3b: Download complete [2020-09-17T08:36:23.498Z] df20fa9351a1: Verifying Checksum [2020-09-17T08:36:23.498Z] ce6a7cf60c04: Verifying Checksum [2020-09-17T08:36:23.498Z] ce6a7cf60c04: Download complete [2020-09-17T08:36:23.498Z] 7a184a31f384: Download complete [2020-09-17T08:36:23.498Z] 0dadc02b9964: Verifying Checksum [2020-09-17T08:36:23.498Z] 0dadc02b9964: Download complete [2020-09-17T08:36:23.498Z] df20fa9351a1: Pull complete [2020-09-17T08:36:23.764Z] 36b3adc4ff6f: Pull complete [2020-09-17T08:36:23.764Z] 8ad3a11d3b57: Verifying Checksum [2020-09-17T08:36:23.764Z] 8ad3a11d3b57: Download complete [2020-09-17T08:36:24.342Z] 8ad3a11d3b57: Pull complete [2020-09-17T08:36:24.609Z] 46f8f816bc3b: Pull complete [2020-09-17T08:36:24.876Z] 0dadc02b9964: Pull complete [2020-09-17T08:36:24.876Z] 0879bd2ef858: Verifying Checksum [2020-09-17T08:36:24.876Z] ce6a7cf60c04: Pull complete [2020-09-17T08:36:25.144Z] 7a184a31f384: Pull complete [2020-09-17T08:36:27.717Z] 0879bd2ef858: Pull complete [2020-09-17T08:36:27.717Z] Digest: sha256:6a0b98a82ad2e848da155b214a5d490c0357af837e10dd363e416ea0d50debb0 [2020-09-17T08:36:27.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-09-17T08:36:27.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-09-17T08:36:27.868Z] prd-centos7-docker-4c-2g-125 does not seem to be running inside a container [2020-09-17T08:36:27.931Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 -v /var/log/sa:/var/log/sa-host -w /w/workspace/xfoundry_device-modbus-go_PR-174 -v /w/workspace/xfoundry_device-modbus-go_PR-174:/w/workspace/xfoundry_device-modbus-go_PR-174:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-174@tmp:/w/workspace/xfoundry_device-modbus-go_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-09-17T08:36:32.813Z] $ docker top de6f49ef599857567d0dd4c83e646ecad7c673be25aa67b795bbf13890754465 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-09-17T08:36:33.388Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-09-17T08:36:33.716Z] + ls /var/log/sa-host [2020-09-17T08:36:33.716Z] + sadf -c /var/log/sa-host/sa05 [2020-09-17T08:36:33.716Z] file_magic: OK [2020-09-17T08:36:33.716Z] HZ: Using current value: 100 [2020-09-17T08:36:33.716Z] file_header: OK [2020-09-17T08:36:33.716Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-17T08:36:33.716Z] Statistics: [2020-09-17T08:36:33.716Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T08:36:33.716Z] File successfully converted to sysstat format version 12.2.1 [2020-09-17T08:36:33.716Z] + sadf -c /var/log/sa-host/sa17 [2020-09-17T08:36:33.716Z] file_magic: OK [2020-09-17T08:36:33.716Z] HZ: Using current value: 100 [2020-09-17T08:36:33.716Z] file_header: OK [2020-09-17T08:36:33.716Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-09-17T08:36:33.716Z] Statistics: [2020-09-17T08:36:33.716Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-09-17T08:36:33.716Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-09-17T08:36:33.850Z] provisioning config files... [2020-09-17T08:36:33.869Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-174@tmp/config6514655407803576275tmp [Pipeline] { [Pipeline] echo [2020-09-17T08:36:33.998Z] Running global-jjb/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:36:34.363Z] ---> create-netrc.sh [Pipeline] echo [2020-09-17T08:36:34.415Z] Running global-jjb/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-09-17T08:36:34.762Z] ---> logs-deploy.sh [2020-09-17T08:36:34.762Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-174/1 [2020-09-17T08:36:34.762Z] INFO: archiving workspace using pattern(s): [2020-09-17T08:36:36.358Z] Archives upload complete. [2020-09-17T08:36:36.358Z] INFO: archiving logs to Nexus