Pull request #189 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from d094e2e09fbacf0a1efb1ad068d604fcbb11ce00+8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b (fdd9e9fb2133f60bd4b3342896d142f812526ba4) 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 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-189/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 d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-189/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13229 in /w/workspace/xfoundry_device-modbus-go_PR-189 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-189 # 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 --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 Merge succeeded, producing d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 Checking out Revision d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 (PR-189) > git config core.sparsecheckout # timeout=10 > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # 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 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.16.5' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:39:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:39:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:39:49 ========================================================= 06:39:49 EdgeX Global Pipelines Version Info 06:39:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:39:51 ------------------- 06:39:51 stable info: 06:39:51 ------------------- 06:39:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:39:51 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 06:39:51 Message: update stable to v1.0.167 06:39:52 ------------------- 06:39:52 experimental info: 06:39:52 ------------------- 06:39:52 Commited By: **** collab-it+edgex@linuxfoundation.org 06:39:52 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 06:39:52 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:39:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 06:39:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 06:39:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:39:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:39:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:39:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:39:53 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:39:53 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:39:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:39:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:39:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:39:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 06:39:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:39:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:39:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:39:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:39:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:39:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:39:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:39:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 06:39:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:39:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:39:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:39:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:39:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:39:56 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:39:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-189 [Pipeline] echo 06:39:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-189 [Pipeline] echo 06:39:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-189 [Pipeline] echo 06:39:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [Pipeline] echo 06:39:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d094e2e [Pipeline] echo 06:39:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:39:57 provisioning config files... 06:39:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-189@tmp/config9000497596187056184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:58 ---> docker-login.sh 06:39:58 nexus3.edgexfoundry.org:10001 06:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:58 Configure a credential helper to remove this warning. See 06:39:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:58 06:39:58 Login Succeeded 06:39:58 nexus3.edgexfoundry.org:10002 06:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:58 Configure a credential helper to remove this warning. See 06:39:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:58 06:39:58 Login Succeeded 06:39:58 nexus3.edgexfoundry.org:10003 06:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:58 Configure a credential helper to remove this warning. See 06:39:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:58 06:39:58 Login Succeeded 06:39:58 nexus3.edgexfoundry.org:10004 06:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:59 Configure a credential helper to remove this warning. See 06:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:59 06:39:59 Login Succeeded 06:39:59 docker.io 06:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:39:59 Configure a credential helper to remove this warning. See 06:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:39:59 06:39:59 Login Succeeded 06:39:59 ---> docker-login.sh ends [Pipeline] } 06:39:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:40:00 + git log --format=format:%s -1 d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [Pipeline] echo 06:40:00 GIT_COMMIT: d094e2e09fbacf0a1efb1ad068d604fcbb11ce00, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:40:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:40:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:01 06:40:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:40:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:01 latest: Pulling from edgex-devops/git-semver 06:40:01 31603596830f: Pulling fs layer 06:40:01 2a8b12db71e7: Pulling fs layer 06:40:01 6ca5941a6612: Pulling fs layer 06:40:01 ecc8261a40a4: Pulling fs layer 06:40:01 ecc8261a40a4: Waiting 06:40:01 2a8b12db71e7: Verifying Checksum 06:40:01 2a8b12db71e7: Download complete 06:40:02 31603596830f: Verifying Checksum 06:40:02 31603596830f: Download complete 06:40:02 6ca5941a6612: Verifying Checksum 06:40:02 6ca5941a6612: Download complete 06:40:02 ecc8261a40a4: Verifying Checksum 06:40:02 ecc8261a40a4: Download complete 06:40:02 31603596830f: Pull complete 06:40:02 2a8b12db71e7: Pull complete 06:40:03 6ca5941a6612: Pull complete 06:40:03 ecc8261a40a4: Pull complete 06:40:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:40:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:40:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:40:03 prd-centos7-docker-4c-2g-13229 does not seem to be running inside a container 06:40:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-189 -v /w/workspace/xfoundry_device-modbus-go_PR-189:/w/workspace/xfoundry_device-modbus-go_PR-189:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-189@tmp:/w/workspace/xfoundry_device-modbus-go_PR-189@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:10004/edgex-devops/git-semver:latest cat 06:40:06 $ docker top 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:40:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:06 [ssh-agent] Looking for ssh-agent implementation... 06:40:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:07 $ docker exec 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af ssh-agent 06:40:07 SSH_AUTH_SOCK=/tmp/ssh-naoHhHpWFJvP/agent.11 06:40:07 SSH_AGENT_PID=16 06:40:07 Running ssh-add (command line suppressed) 06:40:07 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-189@tmp/private_key_2182639266233211951.key (/w/workspace/xfoundry_device-modbus-go_PR-189@tmp/private_key_2182639266233211951.key) 06:40:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:07 + git tag --points-at HEAD [Pipeline] } 06:40:07 $ docker exec --env ******** --env ******** 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af ssh-agent -k 06:40:08 unset SSH_AUTH_SOCK; 06:40:08 unset SSH_AGENT_PID; 06:40:08 echo Agent pid 16 killed; 06:40:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:40:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:08 [ssh-agent] Looking for ssh-agent implementation... 06:40:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:08 $ docker exec 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af ssh-agent 06:40:08 SSH_AUTH_SOCK=/tmp/ssh-5T7Dt4TSKqR3/agent.45 06:40:08 SSH_AGENT_PID=50 06:40:08 Running ssh-add (command line suppressed) 06:40:08 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-189@tmp/private_key_5940569114164003776.key (/w/workspace/xfoundry_device-modbus-go_PR-189@tmp/private_key_5940569114164003776.key) 06:40:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:09 + git semver init 06:40:09 # -> Open(): unable to determine branch for HEAD 06:40:09 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-189/.git 06:40:09 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-189 06:40:09 # $SEMVER_REMOTE_NAME = origin 06:40:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:40:09 # $SEMVER_USER_NAME = edgex-jenkins 06:40:09 # $SEMVER_BRANCH = PR-189 06:40:09 # $SEMVER_TEMP = /tmp/semver-125524279 06:40:09 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 06:40:09 # '/tmp/semver-125524279' -> '/w/workspace/xfoundry_device-modbus-go_PR-189/.semver' 06:40:09 # -> Force: false 06:40:09 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-189/.semver [Pipeline] } 06:40:09 $ docker exec --env ******** --env ******** 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af ssh-agent -k 06:40:09 unset SSH_AUTH_SOCK; 06:40:09 unset SSH_AGENT_PID; 06:40:09 echo Agent pid 50 killed; 06:40:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:40:10 + git semver [Pipeline] } 06:40:10 $ docker stop --time=1 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af 06:40:11 $ docker rm -f 730075d39c90fdcd75137333819fc7f53abef68dc57df4645bc5cc69a45bd2af [Pipeline] // withDockerContainer [Pipeline] sh 06:40:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:40:12 Stashed 1 file(s) [Pipeline] echo 06:40:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:40:28 Still waiting to schedule task 06:40:28 ‘prd-centos7-docker-4c-2g-13216’ is offline; ‘prd-centos7-docker-4c-2g-13218’ is offline; ‘prd-centos7-docker-4c-2g-13228’ is offline; ‘prd-centos7-docker-4c-2g-13233’ is offline; ‘prd-centos7-docker-8c-8g-13219’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13232’ doesn’t have label ‘centos7-docker-4c-2g’ 06:40:28 Still waiting to schedule task 06:40:28 ‘prd-centos7-docker-4c-2g-13216’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-13218’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-13228’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-4c-2g-13233’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-centos7-docker-8c-8g-13219’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13232’ is offline 06:41:20 Running on prd-centos7-docker-4c-2g-13237 in /w/workspace/xfoundry_device-modbus-go_PR-189 [Pipeline] { [Pipeline] ws 06:41:20 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:41:24 using credential edgex-jenkins-ssh 06:41:24 Cloning the remote Git repository 06:41:24 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:41:24 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:41:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:41:24 > git --version # timeout=10 06:41:24 > git --version # 'git version 2.16.5' 06:41:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:41:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:41:25 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:41:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:41:25 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:41:25 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:41:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:41:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:41:25 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 06:41:26 Merge succeeded, producing d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 06:41:26 Checking out Revision d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 (PR-189) 06:41:25 > git config core.sparsecheckout # timeout=10 06:41:25 > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 06:41:25 > git remote # timeout=10 06:41:26 > git config --get remote.origin.url # timeout=10 06:41:26 using GIT_SSH to set credentials SSH Credentials for GitHub 06:41:26 > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 06:41:26 > git rev-parse HEAD^{commit} # timeout=10 06:41:26 > git config core.sparsecheckout # timeout=10 06:41:26 > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 06:41:29 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:41:29 > git --version # timeout=10 06:41:29 > git --version # 'git version 2.16.5' 06:41:30 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:41:31 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:41:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:41:32 + sudo service docker restart 06:41:32 + true 06:41:32 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:41:33 provisioning config files... 06:41:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config4728152874362566546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:33 ---> docker-login.sh 06:41:33 nexus3.edgexfoundry.org:10001 06:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:34 Configure a credential helper to remove this warning. See 06:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:34 06:41:34 Login Succeeded 06:41:34 nexus3.edgexfoundry.org:10002 06:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:34 Configure a credential helper to remove this warning. See 06:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:34 06:41:34 Login Succeeded 06:41:34 nexus3.edgexfoundry.org:10003 06:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:34 Configure a credential helper to remove this warning. See 06:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:34 06:41:34 Login Succeeded 06:41:34 nexus3.edgexfoundry.org:10004 06:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:34 Configure a credential helper to remove this warning. See 06:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:34 06:41:34 Login Succeeded 06:41:34 docker.io 06:41:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:35 Configure a credential helper to remove this warning. See 06:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:35 06:41:35 Login Succeeded 06:41:35 ---> docker-login.sh ends [Pipeline] } 06:41:35 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:41:36 ========================================================= 06:41:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:41:36 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:41:36 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 06:41:36 Sending build context to Docker daemon 508.4kB 06:41:36 Step 1/8 : ARG BASE=golang:1.15-alpine 06:41:36 Step 2/8 : FROM ${BASE} 06:41:36 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:41:36 df20fa9351a1: Pulling fs layer 06:41:36 ed8968b2872e: Pulling fs layer 06:41:36 a92cc7c5fd73: Pulling fs layer 06:41:36 e871e8e8d7a9: Pulling fs layer 06:41:36 e73272ec9a57: Pulling fs layer 06:41:36 1e910a182e73: Pulling fs layer 06:41:36 4e634b169226: Pulling fs layer 06:41:36 e73272ec9a57: Waiting 06:41:36 1e910a182e73: Waiting 06:41:36 4e634b169226: Waiting 06:41:36 e871e8e8d7a9: Waiting 06:41:36 a92cc7c5fd73: Download complete 06:41:36 ed8968b2872e: Download complete 06:41:36 e73272ec9a57: Verifying Checksum 06:41:36 e73272ec9a57: Download complete 06:41:36 1e910a182e73: Verifying Checksum 06:41:36 1e910a182e73: Download complete 06:41:37 df20fa9351a1: Verifying Checksum 06:41:37 df20fa9351a1: Download complete 06:41:37 df20fa9351a1: Pull complete 06:41:37 ed8968b2872e: Pull complete 06:41:37 a92cc7c5fd73: Pull complete 06:41:38 4e634b169226: Verifying Checksum 06:41:38 4e634b169226: Download complete 06:41:39 e871e8e8d7a9: Verifying Checksum 06:41:39 e871e8e8d7a9: Download complete 06:41:46 e871e8e8d7a9: Pull complete 06:41:46 e73272ec9a57: Pull complete 06:41:46 1e910a182e73: Pull complete 06:41:50 4e634b169226: Pull complete 06:41:50 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 06:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:41:50 ---> f7629b54cfaa 06:41:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:41:51 ---> Running in 20c287979726 06:41:51 Removing intermediate container 20c287979726 06:41:51 ---> b370ffc88914 06:41:51 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:41:51 ---> Running in 868198df0bc1 06:41:52 Removing intermediate container 868198df0bc1 06:41:52 ---> 5f37313cf348 06:41:52 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:41:52 ---> Running in 54564a18c07d 06:41:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:41:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:41:56 (1/14) Installing libmagic (5.38-r0) 06:41:56 (2/14) Installing file (5.38-r0) 06:41:56 (3/14) Installing libc-dev (0.7.2-r3) 06:41:56 (4/14) Installing g++ (9.3.0-r2) 06:42:23 (5/14) Installing fortify-headers (1.1-r0) 06:42:23 (6/14) Installing patch (2.7.6-r6) 06:42:23 (7/14) Installing build-base (0.5-r2) 06:42:23 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:42:23 (9/14) Installing libedit (20191231.3.1-r0) 06:42:23 (10/14) Installing openssh-client (8.3_p1-r0) 06:42:23 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:42:23 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:42:23 (13/14) Installing openssh-server (8.3_p1-r0) 06:42:23 (14/14) Installing openssh (8.3_p1-r0) 06:42:23 Executing busybox-1.31.1-r16.trigger 06:42:23 OK: 237 MiB in 53 packages 06:42:27 Removing intermediate container 54564a18c07d 06:42:27 ---> a0a2100429f7 06:42:27 Step 6/8 : WORKDIR /device-modbus-go 06:42:27 ---> Running in 05b8c04439a9 06:42:27 Removing intermediate container 05b8c04439a9 06:42:27 ---> e163bc72d1d0 06:42:27 Step 7/8 : COPY . . 06:42:28 ---> 1c055fdb1d70 06:42:28 Step 8/8 : RUN go mod download 06:42:28 ---> Running in bee28329b6a2 06:42:50 Removing intermediate container bee28329b6a2 06:42:50 ---> d314f85b8690 06:42:50 Successfully built d314f85b8690 06:42:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:42:51 + docker inspect -f . ci-base-image-x86_64 06:42:51 . [Pipeline] withDockerContainer 06:42:51 prd-centos7-docker-4c-2g-13237 does not seem to be running inside a container 06:42:51 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:52 $ docker top 8517d4d4acc77db9439f392d632d97b7d2e31efb2a6864efa26c15eb4d9ce5de -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:52 + go version 06:42:52 go version go1.15.2 linux/amd64 [Pipeline] } 06:42:52 $ docker stop --time=1 8517d4d4acc77db9439f392d632d97b7d2e31efb2a6864efa26c15eb4d9ce5de 06:42:54 $ docker rm -f 8517d4d4acc77db9439f392d632d97b7d2e31efb2a6864efa26c15eb4d9ce5de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:42:55 + docker inspect -f . ci-base-image-x86_64 06:42:55 . [Pipeline] withDockerContainer 06:42:55 prd-centos7-docker-4c-2g-13237 does not seem to be running inside a container 06:42:55 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:56 $ docker top 0c0d5988a666b7f87947a8ae7e9efde1864b6f8d4c58d6e1993b1fffe5cdcbef -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:56 + make test 06:42:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:42:57 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:43:10 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:43:10 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.222s coverage: 50.3% of statements 06:43:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:43:11 gofmt -l . 06:43:11 [ "`gofmt -l .`" = "" ] 06:43:11 ./bin/test-attribution-txt.sh 06:43:11 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:43:12 $ docker stop --time=1 0c0d5988a666b7f87947a8ae7e9efde1864b6f8d4c58d6e1993b1fffe5cdcbef 06:43:14 $ docker rm -f 0c0d5988a666b7f87947a8ae7e9efde1864b6f8d4c58d6e1993b1fffe5cdcbef [Pipeline] // withDockerContainer [Pipeline] sh 06:43:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:43:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:43:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:43:18 + ls -al . 06:43:18 total 104 06:43:18 drwxrwxr-x. 9 jenkins jenkins 4096 Nov 23 06:43 . 06:43:18 drwxrwxr-x. 4 jenkins jenkins 28 Nov 23 06:41 .. 06:43:18 -rw-rw-r--. 1 jenkins jenkins 5589 Nov 23 06:41 Attribution.txt 06:43:18 drwxrwxr-x. 2 jenkins jenkins 87 Nov 23 06:41 bin 06:43:18 drwxrwxr-x. 3 jenkins jenkins 32 Nov 23 06:41 cmd 06:43:18 -rw-r--r--. 1 jenkins jenkins 22364 Nov 23 06:43 coverage.out 06:43:18 -rw-rw-r--. 1 jenkins jenkins 1430 Nov 23 06:41 Dockerfile 06:43:18 -rw-rw-r--. 1 jenkins jenkins 954 Nov 23 06:41 Dockerfile.build 06:43:18 -rw-rw-r--. 1 jenkins jenkins 140 Nov 23 06:41 .dockerignore 06:43:18 drwxrwxr-x. 8 jenkins jenkins 179 Nov 23 06:41 .git 06:43:18 drwxrwxr-x. 2 jenkins jenkins 60 Nov 23 06:41 .github 06:43:18 -rw-rw-r--. 1 jenkins jenkins 338 Nov 23 06:41 .gitignore 06:43:18 -rw-r--r--. 1 jenkins jenkins 517 Nov 23 06:43 go.mod 06:43:18 -rw-r--r--. 1 jenkins jenkins 14753 Nov 23 06:43 go.sum 06:43:18 drwxrwxr-x. 3 jenkins jenkins 20 Nov 23 06:41 internal 06:43:18 -rw-rw-r--. 1 jenkins jenkins 679 Nov 23 06:41 Jenkinsfile 06:43:18 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 23 06:41 LICENSE 06:43:18 -rw-rw-r--. 1 jenkins jenkins 880 Nov 23 06:41 Makefile 06:43:18 -rw-rw-r--. 1 jenkins jenkins 591 Nov 23 06:41 README.md 06:43:18 drwxrwxr-x. 2 jenkins jenkins 52 Nov 23 06:41 simulator 06:43:18 drwxrwxr-x. 4 jenkins jenkins 54 Nov 23 06:41 snap 06:43:18 -rw-rw-r--. 1 jenkins jenkins 5 Nov 23 06:40 VERSION 06:43:18 -rw-rw-r--. 1 jenkins jenkins 229 Nov 23 06:41 version.go [Pipeline] isUnix [Pipeline] sh 06:43:18 + 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=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 --label arch=amd64 --label version=0.0.0 . 06:43:19 Sending build context to Docker daemon 539.6kB 06:43:19 Step 1/20 : ARG BASE=golang:1.15-alpine 06:43:19 Step 2/20 : FROM ${BASE} AS builder 06:43:19 ---> d314f85b8690 06:43:19 Step 3/20 : ARG MAKE='make build' 06:43:19 ---> Running in ce41fea8d655 06:43:19 Removing intermediate container ce41fea8d655 06:43:19 ---> 251fb26b08a2 06:43:19 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:43:19 ---> Running in 1469dc377e30 06:43:20 Removing intermediate container 1469dc377e30 06:43:20 ---> f93e009ae6d5 06:43:20 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 06:43:20 ---> Running in 0fc37620d739 06:43:20 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:43:21 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:43:22 OK: 237 MiB in 53 packages 06:43:22 Removing intermediate container 0fc37620d739 06:43:22 ---> 961a3ede3047 06:43:22 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 06:43:22 ---> Running in 616f50cfd358 06:43:22 Removing intermediate container 616f50cfd358 06:43:22 ---> 450bb6ea0316 06:43:22 Step 7/20 : COPY . . 06:43:23 ---> 19132de453c4 06:43:23 Step 8/20 : RUN ${MAKE} 06:43:23 ---> Running in ba33275cafa5 06:43:24 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:43:25 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13243 in /w/workspace/xfoundry_device-modbus-go_PR-189 [Pipeline] { [Pipeline] ws 06:43:25 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:43:31 using credential edgex-jenkins-ssh 06:43:31 Cloning the remote Git repository 06:43:31 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:43:31 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:43:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:43:31 > git --version # timeout=10 06:43:31 > git --version # 'git version 2.17.1' 06:43:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:32 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 06:43:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:43:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:32 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:43:32 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:43:32 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:43:32 > git config core.sparsecheckout # timeout=10 06:43:33 > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 06:43:33 Merge succeeded, producing d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 06:43:33 Checking out Revision d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 (PR-189) 06:43:33 > git remote # timeout=10 06:43:33 > git config --get remote.origin.url # timeout=10 06:43:33 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:33 > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 06:43:33 > git rev-parse HEAD^{commit} # timeout=10 06:43:33 > git config core.sparsecheckout # timeout=10 06:43:33 > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 06:43:34 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:43:37 Removing intermediate container ba33275cafa5 06:43:37 ---> e09ce24b1e0c 06:43:37 Step 9/20 : FROM scratch 06:43:37 ---> 06:43:37 Step 10/20 : ENV APP_PORT=49991 06:43:37 ---> Running in db5f74345014 06:43:37 Removing intermediate container db5f74345014 06:43:37 ---> d5de26d0e5ad 06:43:37 Step 11/20 : EXPOSE $APP_PORT 06:43:37 ---> Running in 1c59922f84dd 06:43:37 Removing intermediate container 1c59922f84dd 06:43:37 ---> 6f60855bb352 06:43:37 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 06:43:37 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:43:37 ---> 14d312cf9200 06:43:37 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 06:43:37 ---> 1177806f7ffb 06:43:37 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 06:43:37 > git --version # timeout=10 06:43:37 > git --version # 'git version 2.17.1' 06:43:37 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 06:43:38 ---> 583dda7e06f1 06:43:38 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 06:43:38 ---> Running in 8d35bedebfa2 [Pipeline] withEnv [Pipeline] { 06:43:38 Removing intermediate container 8d35bedebfa2 06:43:38 ---> 7907c427a4b6 06:43:38 Step 16/20 : ENTRYPOINT ["/device-modbus"] 06:43:38 ---> Running in 4fe17b8909ed [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:43:39 Removing intermediate container 4fe17b8909ed 06:43:39 ---> aeb2ec265452 06:43:39 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:43:39 ---> Running in 9ed140cddf4e 06:43:39 Removing intermediate container 9ed140cddf4e 06:43:39 ---> f688bd93f4d2 06:43:39 Step 18/20 : LABEL arch=amd64 06:43:39 ---> Running in 3ce9f1cedf81 06:43:39 Removing intermediate container 3ce9f1cedf81 06:43:39 ---> 97bc22d6aab4 06:43:39 Step 19/20 : LABEL git_sha=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 06:43:39 ---> Running in 899e01a6f20b 06:43:39 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 06:43:39 Removing intermediate container 899e01a6f20b 06:43:39 ---> 9eeb55c8ec14 06:43:39 Step 20/20 : LABEL version=0.0.0 06:43:39 ---> Running in 7c68ab0260e4 06:43:40 Removing intermediate container 7c68ab0260e4 06:43:40 ---> fa77b5663241 06:43:40 [Warning] One or more build-args [ARCH] were not consumed 06:43:40 Successfully built fa77b5663241 06:43:40 Successfully tagged docker-device-modbus-go:latest 06:43:40 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 06:43:40 + sudo service docker restart 06:43:40 + true [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:43:43 provisioning config files... 06:43:43 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2491752395062652564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:44 ---> docker-login.sh 06:43:44 nexus3.edgexfoundry.org:10001 06:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:45 Configure a credential helper to remove this warning. See 06:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:45 06:43:45 Login Succeeded 06:43:45 nexus3.edgexfoundry.org:10002 06:43:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:45 Configure a credential helper to remove this warning. See 06:43:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:45 06:43:45 Login Succeeded 06:43:45 nexus3.edgexfoundry.org:10003 06:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:46 Configure a credential helper to remove this warning. See 06:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:46 06:43:46 Login Succeeded 06:43:46 nexus3.edgexfoundry.org:10004 06:43:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:46 Configure a credential helper to remove this warning. See 06:43:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:46 06:43:46 Login Succeeded 06:43:46 docker.io 06:43:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:47 Configure a credential helper to remove this warning. See 06:43:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:47 06:43:47 Login Succeeded 06:43:47 ---> docker-login.sh ends [Pipeline] } 06:43:47 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:43:48 ========================================================= 06:43:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:43:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:43:48 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 06:43:49 Sending build context to Docker daemon 508.4kB 06:43:49 Step 1/8 : ARG BASE=golang:1.15-alpine 06:43:49 Step 2/8 : FROM ${BASE} 06:43:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:43:49 b538f80385f9: Pulling fs layer 06:43:49 74f711af9a0d: Pulling fs layer 06:43:49 99f96fe45779: Pulling fs layer 06:43:49 8529a6b9a6be: Pulling fs layer 06:43:49 45590311c82a: Pulling fs layer 06:43:49 8529a6b9a6be: Waiting 06:43:49 69ca0ff8b7b3: Pulling fs layer 06:43:49 45590311c82a: Waiting 06:43:49 209524e5b208: Pulling fs layer 06:43:49 69ca0ff8b7b3: Waiting 06:43:49 209524e5b208: Waiting 06:43:49 99f96fe45779: Verifying Checksum 06:43:49 99f96fe45779: Download complete 06:43:49 74f711af9a0d: Verifying Checksum 06:43:49 74f711af9a0d: Download complete 06:43:49 45590311c82a: Download complete 06:43:49 69ca0ff8b7b3: Verifying Checksum 06:43:49 69ca0ff8b7b3: Download complete 06:43:49 b538f80385f9: Verifying Checksum 06:43:49 b538f80385f9: Download complete 06:43:50 b538f80385f9: Pull complete 06:43:50 74f711af9a0d: Pull complete 06:43:51 99f96fe45779: Pull complete 06:43:51 209524e5b208: Verifying Checksum 06:43:51 209524e5b208: Download complete 06:43:53 8529a6b9a6be: Verifying Checksum 06:43:53 8529a6b9a6be: Download complete 06:43:56 Still waiting to schedule task 06:43:56 All nodes of label ‘centos7-docker-8c-8g’ are offline 06:44:03 8529a6b9a6be: Pull complete 06:44:04 45590311c82a: Pull complete 06:44:04 69ca0ff8b7b3: Pull complete 06:44:09 209524e5b208: Pull complete 06:44:09 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 06:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:44:09 ---> 5bddaf1c2fca 06:44:09 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 06:44:12 ---> Running in 8f301b68a24f 06:44:12 Removing intermediate container 8f301b68a24f 06:44:12 ---> e29c7797db3a 06:44:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:44:12 ---> Running in ce749cb48f36 06:44:16 Removing intermediate container ce749cb48f36 06:44:16 ---> 3296fa3e8ca0 06:44:16 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 06:44:16 ---> Running in 0ce63d132190 06:44:17 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:44:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:44:19 (1/14) Installing libmagic (5.38-r0) 06:44:20 (2/14) Installing file (5.38-r0) 06:44:20 (3/14) Installing libc-dev (0.7.2-r3) 06:44:20 (4/14) Installing g++ (9.3.0-r2) 06:44:32 (5/14) Installing fortify-headers (1.1-r0) 06:44:32 (6/14) Installing patch (2.7.6-r6) 06:44:32 (7/14) Installing build-base (0.5-r2) 06:44:32 (8/14) Installing openssh-keygen (8.3_p1-r0) 06:44:32 (9/14) Installing libedit (20191231.3.1-r0) 06:44:32 (10/14) Installing openssh-client (8.3_p1-r0) 06:44:32 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 06:44:32 (12/14) Installing openssh-server-common (8.3_p1-r0) 06:44:32 (13/14) Installing openssh-server (8.3_p1-r0) 06:44:32 (14/14) Installing openssh (8.3_p1-r0) 06:44:33 Executing busybox-1.31.1-r16.trigger 06:44:33 OK: 221 MiB in 53 packages 06:44:37 Removing intermediate container 0ce63d132190 06:44:37 ---> 68e73a2a6259 06:44:37 Step 6/8 : WORKDIR /device-modbus-go 06:44:37 ---> Running in 21c364185b06 06:44:38 Removing intermediate container 21c364185b06 06:44:38 ---> c38d6731ae0a 06:44:38 Step 7/8 : COPY . . 06:44:38 ---> 2b50751effee 06:44:38 Step 8/8 : RUN go mod download 06:44:38 ---> Running in 0c2b7397b548 06:44:54 Running on prd-centos7-docker-8c-8g-13246 in /w/workspace/xfoundry_device-modbus-go_PR-189 [Pipeline] { [Pipeline] ws 06:44:54 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 06:44:58 using credential edgex-jenkins-ssh 06:44:58 Cloning the remote Git repository 06:44:58 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 06:44:58 > git init /w/workspace/device-modbus-go/1 # timeout=10 06:44:58 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:44:58 > git --version # timeout=10 06:44:58 > git --version # 'git version 2.16.5' 06:44:58 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:59 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 06:44:59 Merge succeeded, producing d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 06:44:59 Checking out Revision d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 (PR-189) 06:44:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:44:58 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:44:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:44:58 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 06:44:58 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 06:44:58 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/189/head:refs/remotes/origin/PR-189 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:44:59 > git config core.sparsecheckout # timeout=10 06:44:59 > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 06:44:59 > git remote # timeout=10 06:44:59 > git config --get remote.origin.url # timeout=10 06:44:59 using GIT_SSH to set credentials SSH Credentials for GitHub 06:44:59 > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 06:44:59 > git rev-parse HEAD^{commit} # timeout=10 06:44:59 > git config core.sparsecheckout # timeout=10 06:44:59 > git checkout -f d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 # timeout=10 06:45:03 Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts" 06:45:03 > git --version # timeout=10 06:45:03 > git --version # 'git version 2.16.5' 06:45:03 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:04 ++ find /w/workspace/device-modbus-go/1 06:45:04 ++ grep snapcraft.yaml 06:45:04 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:04 provisioning config files... 06:45:04 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config2825381722728974045tmp [Pipeline] { [Pipeline] sh 06:45:05 + cp /w/workspace/device-modbus-go/1@tmp/config2825381722728974045tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 06:45:05 + 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 06:45:05 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 06:45:05 Removing intermediate container 0c2b7397b548 06:45:05 ---> b7ce13c323fe 06:45:05 Successfully built b7ce13c323fe 06:45:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:45:05 latest: Pulling from edgex-devops/edgex-snap-builder 06:45:05 f08d8e2a3ba1: Pulling fs layer 06:45:05 3baa9cb2483b: Pulling fs layer 06:45:05 94e5ff4c0b15: Pulling fs layer 06:45:05 1860925334f9: Pulling fs layer 06:45:05 2daf38717194: Pulling fs layer 06:45:05 309017e8d7a4: Pulling fs layer 06:45:05 f7790dc9fd0f: Pulling fs layer 06:45:05 cac0ae9282c2: Pulling fs layer 06:45:05 1f4cadf9a1ed: Pulling fs layer 06:45:05 309017e8d7a4: Waiting 06:45:05 f7790dc9fd0f: Waiting 06:45:05 cac0ae9282c2: Waiting 06:45:05 1f4cadf9a1ed: Waiting 06:45:05 1860925334f9: Waiting 06:45:05 2daf38717194: Waiting 06:45:05 94e5ff4c0b15: Verifying Checksum 06:45:05 94e5ff4c0b15: Download complete 06:45:05 3baa9cb2483b: Download complete 06:45:05 1860925334f9: Download complete 06:45:05 309017e8d7a4: Verifying Checksum 06:45:05 309017e8d7a4: Download complete 06:45:05 f7790dc9fd0f: Verifying Checksum 06:45:05 f7790dc9fd0f: Download complete 06:45:05 cac0ae9282c2: Verifying Checksum 06:45:05 cac0ae9282c2: Download complete 06:45:05 1f4cadf9a1ed: Verifying Checksum 06:45:05 1f4cadf9a1ed: Download complete 06:45:06 + docker inspect -f . ci-base-image-arm64 06:45:06 . [Pipeline] withDockerContainer 06:45:06 prd-ubuntu18.04-docker-arm64-4c-16g-13243 does not seem to be running inside a container 06:45:06 $ 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 ******** -e ******** ci-base-image-arm64 cat 06:45:07 f08d8e2a3ba1: Download complete 06:45:08 $ docker top 2d73a8c4cfc8a29e3b4796829909392d6c799676187f8dd55360b9678b58b88b -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:09 f08d8e2a3ba1: Pull complete 06:45:09 3baa9cb2483b: Pull complete 06:45:09 94e5ff4c0b15: Pull complete 06:45:10 1860925334f9: Pull complete 06:45:10 + go version 06:45:10 go version go1.15.2 linux/arm64 [Pipeline] } 06:45:10 $ docker stop --time=1 2d73a8c4cfc8a29e3b4796829909392d6c799676187f8dd55360b9678b58b88b 06:45:12 $ docker rm -f 2d73a8c4cfc8a29e3b4796829909392d6c799676187f8dd55360b9678b58b88b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:45:13 + docker inspect -f . ci-base-image-arm64 06:45:13 . 06:45:13 2daf38717194: Verifying Checksum 06:45:13 2daf38717194: Download complete [Pipeline] withDockerContainer 06:45:13 prd-ubuntu18.04-docker-arm64-4c-16g-13243 does not seem to be running inside a container 06:45:13 $ 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 ******** -e ******** ci-base-image-arm64 cat 06:45:15 $ docker top eb19f890c56ef30321d24cd82e63b0a94360d2a4d25af3d0ba60c59b6a33044b -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:17 + make test 06:45:17 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:45:18 ? github.com/edgexfoundry/device-modbus-go [no test files] 06:45:35 2daf38717194: Pull complete 06:45:35 309017e8d7a4: Pull complete 06:45:35 f7790dc9fd0f: Pull complete 06:45:35 cac0ae9282c2: Pull complete 06:45:35 1f4cadf9a1ed: Pull complete 06:45:35 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 06:45:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 06:45:36 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 06:45:36 Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 06:45:36 Get:3 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1365 kB] 06:45:36 Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 06:45:36 Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] 06:45:36 Get:6 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1781 kB] 06:45:36 Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [222 kB] 06:45:36 Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 06:45:36 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2208 kB] 06:45:37 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2130 kB] 06:45:37 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [54.3 kB] 06:45:37 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [252 kB] 06:45:37 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 06:45:37 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 06:45:37 Fetched 8303 kB in 2s (5467 kB/s) 06:45:39 Reading package lists... 06:45:43 0% [Working] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 06:45:43 0% [Waiting for headers] [1 InRelease 12.6 kB/88.7 kB 14%] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 06:45:43 0% [Waiting for headers] [1 InRelease 12.6 kB/88.7 kB 14%] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] [1 InRelease 12.6 kB/88.7 kB Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 06:45:43 0% [2 InRelease gpgv 242 kB] [1 InRelease 38.3 kB/88.7 kB 43%] 0% [Waiting for headers] [1 InRelease 38.3 kB/88.7 kB 43%] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] [1 InRelease 38.3 kB/88.7 k Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 06:45:43 0% [3 InRelease gpgv 88.7 kB] [1 InRelease 46.1 kB/88.7 kB 52%] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 0% [Working] 0% [1 InRelease gpgv 88.7 kB] 100% [Working] Fetched 88.7 kB in 1s (120 kB/s) 06:45:45 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 48% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% 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 06:45:47 Installing build dependencies: curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 libperl5.26 make netbase patch perl perl-base perl-modules-5.26 06:45:48 Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 46% Reading package lists... 60% Reading package lists... 60% Reading package lists... 61% Reading package lists... 61% Reading package lists... 71% Reading package lists... 71% Reading package lists... 72% Reading package lists... 72% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% Reading package lists... 83% 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 06:45:48 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 31% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 06:45:48 Reading state information... 0% Reading state information... 0% Reading state information... Done 06:45:49 The following packages were automatically installed and are no longer required: 06:45:49 libjq1 libonig4 06:45:49 Use 'sudo apt autoremove' to remove them. 06:45:49 Suggested packages: 06:45:49 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 06:45:49 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 06:45:49 diffutils-doc perl-doc libterm-readline-gnu-perl 06:45:49 | libterm-readline-perl-perl 06:45:49 The following NEW packages will be installed: 06:45:49 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 06:45:49 libperl5.26 make netbase patch perl perl-modules-5.26 06:45:49 The following packages will be upgraded: 06:45:49 perl-base 06:45:49 1 upgraded, 14 newly installed, 0 to remove and 50 not upgraded. 06:45:49 Need to get 13.4 MB of archives. 06:45:49 After this operation, 77.5 MB of additional disk space will be used. 06:45:49 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] 06:45:50 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 709 kB/1391 kB 51%] 10% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] 06:45:50 10% [2 perl-modules-5.26 22.9 kB/2762 kB 1%] 27% [Waiting for headers] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] 06:45:50 28% [3 libgdbm5 26.0 kB/26.0 kB 100%] 29% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 06:45:50 29% [4 libgdbm-compat4 6084 B/6084 B 100%] 30% [Working] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] 06:45:50 30% [5 libperl5.26 7184 B/3534 kB 0%] 53% [Waiting for headers] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] 06:45:50 53% [6 perl 28.7 kB/201 kB 14%] 55% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 06:45:50 55% [7 less 11.6 kB/112 kB 10%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 06:45:50 57% [8 netbase 12.7 kB/12.7 kB 100%] 59% [Waiting for headers] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 06:45:50 59% [9 curl 13.3 kB/159 kB 8%] 61% [Waiting for headers] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] 06:45:50 61% [10 libcurl3-gnutls 47.3 kB/213 kB 22%] 64% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 06:45:50 64% [11 liberror-perl 22.8 kB/22.8 kB 100%] 65% [Waiting for headers] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] 06:45:50 65% [12 git-man 11.6 kB/804 kB 1%] 71% [Waiting for headers] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] 06:45:50 71% [13 git 59.8 kB/3915 kB 2%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] 06:45:50 96% [14 make 65.5 kB/154 kB 43%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 06:45:50 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 1s (10.3 MB/s) 06:45:51 debconf: delaying package configuration, since apt-utils is not installed 06:45:51 (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.) 06:45:51 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... 06:45:51 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 06:45:55 Setting up perl-base (5.26.1-6ubuntu0.5) ... 06:45:55 Selecting previously unselected package perl-modules-5.26. 06:45:55 (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.) 06:45:55 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 06:45:55 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 06:45:55 Selecting previously unselected package libgdbm5:amd64. 06:45:55 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 06:45:55 Unpacking libgdbm5:amd64 (1.14.1-6) ... 06:45:55 Selecting previously unselected package libgdbm-compat4:amd64. 06:45:55 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 06:45:55 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 06:45:55 Selecting previously unselected package libperl5.26:amd64. 06:45:55 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... 06:45:55 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 06:45:56 Selecting previously unselected package perl. 06:45:56 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... 06:45:56 Unpacking perl (5.26.1-6ubuntu0.5) ... 06:45:56 Selecting previously unselected package less. 06:45:56 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 06:45:56 Unpacking less (487-0.1) ... 06:45:56 Selecting previously unselected package netbase. 06:45:56 Preparing to unpack .../06-netbase_5.4_all.deb ... 06:45:56 Unpacking netbase (5.4) ... 06:45:56 Selecting previously unselected package curl. 06:45:56 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 06:45:56 Unpacking curl (7.58.0-2ubuntu3.10) ... 06:45:56 Selecting previously unselected package libcurl3-gnutls:amd64. 06:45:56 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 06:45:56 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 06:45:56 Selecting previously unselected package liberror-perl. 06:45:56 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 06:45:56 Unpacking liberror-perl (0.17025-1) ... 06:45:57 Selecting previously unselected package git-man. 06:45:57 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 06:45:57 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 06:45:57 Selecting previously unselected package git. 06:45:57 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 06:45:57 Unpacking git (1:2.17.1-1ubuntu0.7) ... 06:45:57 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 06:45:57 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.386s coverage: 50.3% of statements 06:45:57 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:45:57 Selecting previously unselected package make. 06:45:57 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 06:45:58 Unpacking make (4.1-9.1ubuntu1) ... 06:45:58 Selecting previously unselected package patch. 06:45:58 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 06:45:58 Unpacking patch (2.7.6-2ubuntu1.1) ... 06:45:58 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 06:45:58 Setting up less (487-0.1) ... 06:45:58 Setting up make (4.1-9.1ubuntu1) ... 06:45:58 Setting up curl (7.58.0-2ubuntu3.10) ... 06:45:58 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 06:45:58 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 06:45:58 Setting up libgdbm5:amd64 (1.14.1-6) ... 06:45:58 Setting up patch (2.7.6-2ubuntu1.1) ... 06:45:58 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 06:45:58 Setting up netbase (5.4) ... 06:45:58 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 06:45:58 Setting up perl (5.26.1-6ubuntu0.5) ... 06:45:58 Setting up liberror-perl (0.17025-1) ... 06:45:58 Setting up git (1:2.17.1-1ubuntu0.7) ... 06:45:58 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 06:45:58 Processing triggers for mime-support (3.60ubuntu1) ... 06:46:00 curl set to automatically installed. 06:46:00 git set to automatically installed. 06:46:00 git-man set to automatically installed. 06:46:00 less set to automatically installed. 06:46:00 libcurl3-gnutls set to automatically installed. 06:46:00 liberror-perl set to automatically installed. 06:46:00 libgdbm-compat4 set to automatically installed. 06:46:00 libgdbm5 set to automatically installed. 06:46:00 libperl5.26 set to automatically installed. 06:46:00 make set to automatically installed. 06:46:00 netbase set to automatically installed. 06:46:00 patch set to automatically installed. 06:46:00 perl set to automatically installed. 06:46:00 perl-base set to automatically installed. 06:46:00 perl-modules-5.26 set to automatically installed. 06:46:00 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 06:46:00 Please ensure the environment is properly setup before continuing. 06:46:00 Ignore this message if the appropriate measures have already been taken 06:46:01 Pulling go  06:46:02 'device-modbus' has dependencies that need to be staged: go 06:46:02 Skipping pull go (already ran) 06:46:02 Building go  06:46:02 % Total % Received % Xferd Average Speed Time Time Time Current 06:46:02 Dload Upload Total Spent Left Speed 06:46:04 gofmt -l . 06:46:04 [ "`gofmt -l .`" = "" ] 06:46:04 ./bin/test-attribution-txt.sh 06:46:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 5 115M 5 6511k 0 0 17.9M 0 0:00:06 --:--:-- 0:00:06 17.8M 49 115M 49 57.2M 0 0 41.6M 0 0:00:02 0:00:01 0:00:01 41.6M 89 115M 89 103M 0 0 44.0M 0 0:00:02 0:00:02 --:--:-- 44.0M 100 115M 100 115M 0 0 44.7M 0 0:00:02 0:00:02 --:--:-- 44.7M 06:46:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:46:05 $ docker stop --time=1 eb19f890c56ef30321d24cd82e63b0a94360d2a4d25af3d0ba60c59b6a33044b 06:46:05 go1.15.2.linux-amd64.tar.gz: OK 06:46:08 $ docker rm -f eb19f890c56ef30321d24cd82e63b0a94360d2a4d25af3d0ba60c59b6a33044b [Pipeline] // withDockerContainer [Pipeline] sh 06:46:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:46:09 Warning: overwriting stash ‘coverage-report’ 06:46:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:46:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:46:11 + ls -al . 06:46:11 total 136 06:46:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 23 06:46 . 06:46:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 06:43 .. 06:46:11 -rw-rw-r-- 1 jenkins jenkins 140 Nov 23 06:43 .dockerignore 06:46:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 23 06:43 .git 06:46:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 06:43 .github 06:46:11 -rw-rw-r-- 1 jenkins jenkins 338 Nov 23 06:43 .gitignore 06:46:11 -rw-rw-r-- 1 jenkins jenkins 5589 Nov 23 06:43 Attribution.txt 06:46:11 -rw-rw-r-- 1 jenkins jenkins 1430 Nov 23 06:43 Dockerfile 06:46:11 -rw-rw-r-- 1 jenkins jenkins 954 Nov 23 06:43 Dockerfile.build 06:46:11 -rw-rw-r-- 1 jenkins jenkins 679 Nov 23 06:43 Jenkinsfile 06:46:11 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 23 06:43 LICENSE 06:46:11 -rw-rw-r-- 1 jenkins jenkins 880 Nov 23 06:43 Makefile 06:46:11 -rw-rw-r-- 1 jenkins jenkins 591 Nov 23 06:43 README.md 06:46:11 -rw-rw-r-- 1 jenkins jenkins 5 Nov 23 06:40 VERSION 06:46:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 06:43 bin 06:46:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 23 06:43 cmd 06:46:11 -rw-r--r-- 1 jenkins jenkins 22364 Nov 23 06:45 coverage.out 06:46:11 -rw-r--r-- 1 jenkins jenkins 517 Nov 23 06:46 go.mod 06:46:11 -rw-r--r-- 1 jenkins jenkins 14753 Nov 23 06:46 go.sum 06:46:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 23 06:43 internal 06:46:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 23 06:43 simulator 06:46:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 23 06:43 snap 06:46:11 -rw-rw-r-- 1 jenkins jenkins 229 Nov 23 06:43 version.go [Pipeline] isUnix [Pipeline] sh 06:46:11 + 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=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 --label arch=arm64 --label version=0.0.0 . 06:46:12 Sending build context to Docker daemon 539.6kB 06:46:12 Step 1/20 : ARG BASE=golang:1.15-alpine 06:46:12 Step 2/20 : FROM ${BASE} AS builder 06:46:12 ---> b7ce13c323fe 06:46:12 Step 3/20 : ARG MAKE='make build' 06:46:12 ---> Running in bf138b9a7617 06:46:13 Removing intermediate container bf138b9a7617 06:46:13 ---> 966c076dc459 06:46:13 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:46:13 ---> Running in d0e0867384ee 06:46:14 Staging go  06:46:14 Pulling device-modbus  06:46:15 Skipping build go (already ran) 06:46:15 Building device-modbus  06:46:15 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:46:15 Removing intermediate container d0e0867384ee 06:46:15 ---> 614698fcb220 06:46:15 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 06:46:16 go: downloading github.com/edgexfoundry/device-sdk-go v1.3.0 06:46:16 go: downloading github.com/goburrow/modbus v0.1.0 06:46:16 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 06:46:16 go: downloading github.com/goburrow/serial v0.1.0 06:46:16 go: downloading github.com/gorilla/mux v1.7.1 06:46:16 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 06:46:16 go: downloading github.com/google/uuid v1.1.2 06:46:16 go: downloading github.com/go-kit/kit v0.8.0 06:46:16 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 06:46:16 go: downloading gopkg.in/yaml.v2 v2.3.0 06:46:16 ---> Running in 798b9b6501f5 06:46:16 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 06:46:16 go: downloading github.com/pkg/errors v0.8.1 06:46:16 go: downloading github.com/BurntSushi/toml v0.3.1 06:46:16 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 06:46:16 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 06:46:16 go: downloading github.com/OneOfOne/xxhash v1.2.8 06:46:16 go: downloading github.com/go-playground/validator/v10 v10.3.0 06:46:16 go: downloading github.com/hashicorp/consul/api v1.1.0 06:46:16 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 06:46:16 go: downloading github.com/pelletier/go-toml v1.2.0 06:46:16 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 06:46:16 go: downloading github.com/mitchellh/mapstructure v1.1.2 06:46:16 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 06:46:16 go: downloading github.com/hashicorp/serf v0.8.2 06:46:16 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 06:46:16 go: downloading github.com/go-playground/universal-translator v0.17.0 06:46:16 go: downloading github.com/leodido/go-urn v1.2.0 06:46:16 go: downloading github.com/x448/float16 v0.8.4 06:46:16 go: downloading github.com/mitchellh/copystructure v1.0.0 06:46:16 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 06:46:16 go: downloading github.com/go-logfmt/logfmt v0.4.0 06:46:16 go: downloading github.com/mitchellh/reflectwalk v1.0.0 06:46:16 go: downloading github.com/go-playground/locales v0.13.0 06:46:16 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 06:46:16 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 06:46:16 go: downloading github.com/hashicorp/golang-lru v0.5.1 06:46:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:46:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:46:19 OK: 221 MiB in 53 packages 06:46:20 Removing intermediate container 798b9b6501f5 06:46:20 ---> 674ccd0c91cf 06:46:20 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 06:46:21 ---> Running in 68b09f2e9186 06:46:21 Removing intermediate container 68b09f2e9186 06:46:21 ---> 164a6d4df130 06:46:21 Step 7/20 : COPY . . 06:46:22 ---> 83ed96025d9d 06:46:22 Step 8/20 : RUN ${MAKE} 06:46:22 ---> Running in 7d84ad178a78 06:46:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:46:25 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 06:46:28 Skipping stage go (already ran) 06:46:28 Staging device-modbus  06:46:28 Priming go  06:46:29 Priming device-modbus  06:46:30 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 06:46:30 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 06:46:30 Determining the version from the project repo (version-script). 06:46:30 The version has been set to 'local-dev-20201123+d094e2e' 06:46:31 Snapping | Snapping / Snapping - Snapping \ Snapping | 06:46:31 Snapped edgex-device-modbus_local-dev-20201123+d094e2e_amd64.snap [Pipeline] } 06:46:34 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] } 06:46:51 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:47:00 Removing intermediate container 7d84ad178a78 06:47:00 ---> 316e46138f4b 06:47:00 Step 9/20 : FROM scratch 06:47:00 ---> 06:47:00 Step 10/20 : ENV APP_PORT=49991 06:47:00 ---> Running in 542ed8596a76 06:47:00 Removing intermediate container 542ed8596a76 06:47:00 ---> 0c4822ebe92c 06:47:00 Step 11/20 : EXPOSE $APP_PORT 06:47:00 ---> Running in 579c3f49b21a 06:47:00 Removing intermediate container 579c3f49b21a 06:47:00 ---> dd07c4b45dd3 06:47:00 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 06:47:01 ---> a2085bca2f65 06:47:01 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 06:47:02 ---> bea877429886 06:47:02 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 06:47:03 ---> 67ec0e82cfa8 06:47:03 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 06:47:03 ---> Running in c2bfcaef77e3 06:47:03 Removing intermediate container c2bfcaef77e3 06:47:03 ---> ac305873442f 06:47:03 Step 16/20 : ENTRYPOINT ["/device-modbus"] 06:47:03 ---> Running in ba3fb07ea1e8 06:47:04 Removing intermediate container ba3fb07ea1e8 06:47:04 ---> cae1798ffd6a 06:47:04 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:47:04 ---> Running in 1113ed55ef38 06:47:04 Removing intermediate container 1113ed55ef38 06:47:04 ---> b69ad0378798 06:47:04 Step 18/20 : LABEL arch=arm64 06:47:04 ---> Running in 40473ce1f89e 06:47:05 Removing intermediate container 40473ce1f89e 06:47:05 ---> f49af23698cc 06:47:05 Step 19/20 : LABEL git_sha=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 06:47:05 ---> Running in 5bbfd012e045 06:47:06 Removing intermediate container 5bbfd012e045 06:47:06 ---> d8487aaa072e 06:47:06 Step 20/20 : LABEL version=0.0.0 06:47:06 ---> Running in 29502ded888f 06:47:06 Removing intermediate container 29502ded888f 06:47:06 ---> 3d72ea273e51 06:47:06 [Warning] One or more build-args [ARCH] were not consumed 06:47:06 Successfully built 3d72ea273e51 06:47:06 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] } [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 06:47:09 provisioning config files... 06:47:09 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-189@tmp/config8317610864894116817tmp [Pipeline] { [Pipeline] sh 06:47:09 + set +x 06:47:09 + curl -s https://codecov.io/bash 06:47:09 + bash -s -- 06:47:10 06:47:10 _____ _ 06:47:10 / ____| | | 06:47:10 | | ___ __| | ___ ___ _____ __ 06:47:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:47:10 | |___| (_) | (_| | __/ (_| (_) \ V / 06:47:10 \_____\___/ \__,_|\___|\___\___/ \_/ 06:47:10 Bash-20201123-d0fed5f 06:47:10 06:47:10 06:47:10 ==> Jenkins CI detected. 06:47:10 project root: . 06:47:10 --> token set from env 06:47:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:47:10 ==> Running gcov in . (disable via -X gcov) 06:47:10 ==> Python coveragepy not found 06:47:10 ==> Searching for coverage reports in: 06:47:10 + . 06:47:10 -> Found 1 reports 06:47:10 ==> Detecting git/mercurial file structure 06:47:10 ==> Reading reports 06:47:10 + ./coverage.out bytes=22364 06:47:10 ==> Appending adjustments 06:47:10 https://docs.codecov.io/docs/fixing-reports 06:47:10 + Found adjustments 06:47:10 ==> Gzipping contents 06:47:10 ==> Uploading reports 06:47:10 url: https://codecov.io 06:47:10 query: branch=PR-189&commit=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-189%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=189&job=&cmd_args= 06:47:10 -> Pinging Codecov 06:47:10 https://codecov.io/upload/v4?package=bash-20201123-d0fed5f&token=secret&branch=PR-189&commit=d094e2e09fbacf0a1efb1ad068d604fcbb11ce00&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-189%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=189&job=&cmd_args= 06:47:11 -> Uploading to 06:47:11 https://storage.googleapis.com/codecov/v4/raw/2020-11-23/55DBCA73C666E3227836607328DD7E49/d094e2e09fbacf0a1efb1ad068d604fcbb11ce00/153ecc0a-db9b-4473-b4c1-8d2a95be94ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201123T064710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=de0023564e7ca068151609aa1ba85a01eca8f1ccc39219ad10ba36b5e1e38761 06:47:11 % Total % Received % Xferd Average Speed Time Time Time Current 06:47:11 Dload Upload Total Spent Left Speed 06:47:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4158 0 0 100 4158 0 11361 --:--:-- --:--:-- --:--:-- 11360 100 4158 0 0 100 4158 0 11354 --:--:-- --:--:-- --:--:-- 11329 06:47:11 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/d094e2e09fbacf0a1efb1ad068d604fcbb11ce00 [Pipeline] } 06:47:11 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" 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 06:47:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:47:16 ---> package-listing.sh 06:47:16 ++ facter osfamily 06:47:16 ++ tr '[:upper:]' '[:lower:]' 06:47:16 + OS_FAMILY=redhat 06:47:16 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-189 06:47:16 + START_PACKAGES=/tmp/packages_start.txt 06:47:16 + END_PACKAGES=/tmp/packages_end.txt 06:47:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:47:16 + PACKAGES=/tmp/packages_start.txt 06:47:16 + '[' /w/workspace/xfoundry_device-modbus-go_PR-189 ']' 06:47:16 + PACKAGES=/tmp/packages_end.txt 06:47:16 + case "${OS_FAMILY}" in 06:47:16 + rpm -qa 06:47:16 + sort 06:47:20 + '[' -f /tmp/packages_start.txt ']' 06:47:20 + '[' -f /tmp/packages_end.txt ']' 06:47:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:47:20 + '[' /w/workspace/xfoundry_device-modbus-go_PR-189 ']' 06:47:20 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-189/archives/ 06:47:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-189/archives/ [Pipeline] echo 06:47:20 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-189/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:47:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:47:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:47:21 06:47:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:47:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:47:21 alpine: Pulling from edgex-lftools-log-publisher 06:47:21 df20fa9351a1: Pulling fs layer 06:47:21 36b3adc4ff6f: Pulling fs layer 06:47:21 8ad3a11d3b57: Pulling fs layer 06:47:21 46f8f816bc3b: Pulling fs layer 06:47:21 93b61091891f: Pulling fs layer 06:47:21 93b9cdb0e59b: Pulling fs layer 06:47:21 5e14af77c1be: Pulling fs layer 06:47:21 01666e4c0597: Pulling fs layer 06:47:21 aa168da1d23b: Pulling fs layer 06:47:21 46f8f816bc3b: Waiting 06:47:21 93b61091891f: Waiting 06:47:21 93b9cdb0e59b: Waiting 06:47:21 5e14af77c1be: Waiting 06:47:21 aa168da1d23b: Waiting 06:47:21 01666e4c0597: Waiting 06:47:21 36b3adc4ff6f: Download complete 06:47:21 46f8f816bc3b: Verifying Checksum 06:47:21 46f8f816bc3b: Download complete 06:47:21 df20fa9351a1: Verifying Checksum 06:47:21 df20fa9351a1: Download complete 06:47:21 93b61091891f: Verifying Checksum 06:47:21 93b61091891f: Download complete 06:47:21 93b9cdb0e59b: Verifying Checksum 06:47:21 93b9cdb0e59b: Download complete 06:47:21 5e14af77c1be: Verifying Checksum 06:47:21 5e14af77c1be: Download complete 06:47:21 01666e4c0597: Verifying Checksum 06:47:21 01666e4c0597: Download complete 06:47:22 df20fa9351a1: Pull complete 06:47:22 36b3adc4ff6f: Pull complete 06:47:22 8ad3a11d3b57: Verifying Checksum 06:47:22 8ad3a11d3b57: Download complete 06:47:22 8ad3a11d3b57: Pull complete 06:47:23 46f8f816bc3b: Pull complete 06:47:23 93b61091891f: Pull complete 06:47:23 93b9cdb0e59b: Pull complete 06:47:23 5e14af77c1be: Pull complete 06:47:24 01666e4c0597: Pull complete 06:47:24 aa168da1d23b: Verifying Checksum 06:47:24 aa168da1d23b: Download complete 06:47:31 aa168da1d23b: Pull complete 06:47:31 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:47:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:47:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:47:31 prd-centos7-docker-4c-2g-13229 does not seem to be running inside a container 06:47:31 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-189/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-189 -v /w/workspace/xfoundry_device-modbus-go_PR-189:/w/workspace/xfoundry_device-modbus-go_PR-189:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-189@tmp:/w/workspace/xfoundry_device-modbus-go_PR-189@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:47:33 $ docker top 140dfc20753b5708fb6e3c16e69957c5a278cf1d4ad7a6c447c6184d5fd7d8f9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:47:34 + touch /tmp/pre-build-complete [Pipeline] sh 06:47:35 + mkdir -p /var/log/sa [Pipeline] sh 06:47:35 + ls /var/log/sa-host 06:47:35 + sadf -c /var/log/sa-host/sa05 06:47:35 file_magic: OK 06:47:35 HZ: Using current value: 100 06:47:35 file_header: OK 06:47:35 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 06:47:35 Statistics: 06:47:35 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:47:35 File successfully converted to sysstat format version 12.2.1 06:47:35 + sadf -c /var/log/sa-host/sa23 06:47:35 file_magic: OK 06:47:35 HZ: Using current value: 100 06:47:35 file_header: OK 06:47:35 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 06:47:35 Statistics: 06:47:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:47:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:47:35 provisioning config files... 06:47:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-189@tmp/config7753190166302484955tmp [Pipeline] { [Pipeline] echo 06:47:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:47:36 ---> create-netrc.sh [Pipeline] } 06:47:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:47:36 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:47:36 ---> python-tools-install.sh [Pipeline] echo 06:47:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:47:37 ---> sudo-logs.sh 06:47:37 Archiving 'sudo' log.. [Pipeline] echo 06:47:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:47:37 ---> job-cost.sh 06:47:37 lf-activate-venv: SKIPPING 06:47:37 INFO: No Stack... 06:47:38 INFO: Retrieving Pricing Info for: v1-standard-2 06:47:38 INFO: Archiving Costs [Pipeline] echo 06:47:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:47:39 ---> logs-deploy.sh 06:47:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-189/1 06:47:39 INFO: archiving workspace using pattern(s): 06:47:41 Archives upload complete. 06:47:41 INFO: archiving logs to Nexus