Pull request #194 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-modbus-go Loading trusted files from base branch master at 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b rather than 24a4c3f67ad4b20d4acd7916ce648af18f3c178b Obtained Jenkinsfile from 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b 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-194/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-194/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-13861 in /w/workspace/xfoundry_device-modbus-go_PR-194 [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-194 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --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 --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit 24a4c3f67ad4b20d4acd7916ce648af18f3c178b Merge succeeded, producing 24a4c3f67ad4b20d4acd7916ce648af18f3c178b Checking out Revision 24a4c3f67ad4b20d4acd7916ce648af18f3c178b (PR-194) > git config core.sparsecheckout # timeout=10 > git checkout -f 24a4c3f67ad4b20d4acd7916ce648af18f3c178b # 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 24a4c3f67ad4b20d4acd7916ce648af18f3c178b # timeout=10 Commit message: "build: update device-sdk-go to v1.3.1-dev.4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:01:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:01:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:01:27 ========================================================= 15:01:27 EdgeX Global Pipelines Version Info 15:01:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:01:28 ------------------- 15:01:28 stable info: 15:01:28 ------------------- 15:01:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:01:28 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 15:01:28 Message: update stable to v1.0.167 15:01:29 ------------------- 15:01:29 experimental info: 15:01:29 ------------------- 15:01:29 Commited By: **** collab-it+edgex@linuxfoundation.org 15:01:29 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 15:01:29 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 15:01:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 15:01:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 15:01:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:01:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:01:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:01:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 15:01:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 15:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:01:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 15:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:01:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:01:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:01:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:01:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:01:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:01:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:01:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 15:01:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:01:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:01:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:01:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:01:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:01:34 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 15:01:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-194 [Pipeline] echo 15:01:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-194 [Pipeline] echo 15:01:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-194 [Pipeline] echo 15:01:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24a4c3f67ad4b20d4acd7916ce648af18f3c178b [Pipeline] echo 15:01:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24a4c3f [Pipeline] echo 15:01:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:01:35 provisioning config files... 15:01:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-194@tmp/config6772885712732812920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:01:35 ---> docker-login.sh 15:01:35 nexus3.edgexfoundry.org:10001 15:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:36 Configure a credential helper to remove this warning. See 15:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:36 15:01:36 Login Succeeded 15:01:36 nexus3.edgexfoundry.org:10002 15:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:36 Configure a credential helper to remove this warning. See 15:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:36 15:01:36 Login Succeeded 15:01:36 nexus3.edgexfoundry.org:10003 15:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:36 Configure a credential helper to remove this warning. See 15:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:36 15:01:36 Login Succeeded 15:01:36 nexus3.edgexfoundry.org:10004 15:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:36 Configure a credential helper to remove this warning. See 15:01:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:36 15:01:36 Login Succeeded 15:01:36 docker.io 15:01:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:37 Configure a credential helper to remove this warning. See 15:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:37 15:01:37 Login Succeeded 15:01:37 ---> docker-login.sh ends [Pipeline] } 15:01:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:01:38 + git log --format=format:%s -1 24a4c3f67ad4b20d4acd7916ce648af18f3c178b [Pipeline] echo 15:01:38 GIT_COMMIT: 24a4c3f67ad4b20d4acd7916ce648af18f3c178b, Commit Message: build: update device-sdk-go to v1.3.1-dev.4 [Pipeline] echo 15:01:38 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:01:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:01:39 15:01:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:01:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:01:39 latest: Pulling from edgex-devops/git-semver 15:01:39 31603596830f: Pulling fs layer 15:01:39 2a8b12db71e7: Pulling fs layer 15:01:39 6ca5941a6612: Pulling fs layer 15:01:39 ecc8261a40a4: Pulling fs layer 15:01:39 ecc8261a40a4: Waiting 15:01:39 2a8b12db71e7: Verifying Checksum 15:01:39 2a8b12db71e7: Download complete 15:01:40 ecc8261a40a4: Download complete 15:01:40 31603596830f: Verifying Checksum 15:01:40 31603596830f: Download complete 15:01:40 6ca5941a6612: Verifying Checksum 15:01:40 6ca5941a6612: Download complete 15:01:40 31603596830f: Pull complete 15:01:40 2a8b12db71e7: Pull complete 15:01:41 6ca5941a6612: Pull complete 15:01:41 ecc8261a40a4: Pull complete 15:01:41 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 15:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:01:41 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:01:41 prd-centos7-docker-4c-2g-13861 does not seem to be running inside a container 15:01:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-194 -v /w/workspace/xfoundry_device-modbus-go_PR-194:/w/workspace/xfoundry_device-modbus-go_PR-194:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-194@tmp:/w/workspace/xfoundry_device-modbus-go_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:01:43 $ docker top c205fe9376a7f2383989c8303fe83be0f1de81c3aa70d64ef397839a74b098d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:01:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:01:44 [ssh-agent] Looking for ssh-agent implementation... 15:01:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:01:44 $ docker exec c205fe9376a7f2383989c8303fe83be0f1de81c3aa70d64ef397839a74b098d9 ssh-agent 15:01:44 SSH_AUTH_SOCK=/tmp/ssh-anTkyPjBWoWK/agent.12 15:01:44 SSH_AGENT_PID=17 15:01:44 Running ssh-add (command line suppressed) 15:01:44 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-194@tmp/private_key_1576341272599618313.key (/w/workspace/xfoundry_device-modbus-go_PR-194@tmp/private_key_1576341272599618313.key) 15:01:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:01:45 + git tag --points-at HEAD [Pipeline] } 15:01:45 $ docker exec --env ******** --env ******** c205fe9376a7f2383989c8303fe83be0f1de81c3aa70d64ef397839a74b098d9 ssh-agent -k 15:01:45 unset SSH_AUTH_SOCK; 15:01:45 unset SSH_AGENT_PID; 15:01:45 echo Agent pid 17 killed; 15:01:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:01:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:01:45 [ssh-agent] Looking for ssh-agent implementation... 15:01:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:01:45 $ docker exec c205fe9376a7f2383989c8303fe83be0f1de81c3aa70d64ef397839a74b098d9 ssh-agent 15:01:45 SSH_AUTH_SOCK=/tmp/ssh-5RaEZLN3pBkE/agent.46 15:01:45 SSH_AGENT_PID=51 15:01:45 Running ssh-add (command line suppressed) 15:01:46 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-194@tmp/private_key_6819600353341978621.key (/w/workspace/xfoundry_device-modbus-go_PR-194@tmp/private_key_6819600353341978621.key) 15:01:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:01:46 + git semver init 15:01:46 # -> Open(): unable to determine branch for HEAD 15:01:46 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-194/.git 15:01:46 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-194 15:01:46 # $SEMVER_REMOTE_NAME = origin 15:01:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:01:46 # $SEMVER_USER_NAME = edgex-jenkins 15:01:46 # $SEMVER_BRANCH = PR-194 15:01:46 # $SEMVER_TEMP = /tmp/semver-650307782 15:01:46 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 15:01:47 # '/tmp/semver-650307782' -> '/w/workspace/xfoundry_device-modbus-go_PR-194/.semver' 15:01:47 # -> Force: false 15:01:47 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-194/.semver [Pipeline] } 15:01:47 $ docker exec --env ******** --env ******** c205fe9376a7f2383989c8303fe83be0f1de81c3aa70d64ef397839a74b098d9 ssh-agent -k 15:01:47 unset SSH_AUTH_SOCK; 15:01:47 unset SSH_AGENT_PID; 15:01:47 echo Agent pid 51 killed; 15:01:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:01:47 + git semver [Pipeline] } 15:01:47 $ docker stop --time=1 c205fe9376a7f2383989c8303fe83be0f1de81c3aa70d64ef397839a74b098d9 15:01:49 $ docker rm -f c205fe9376a7f2383989c8303fe83be0f1de81c3aa70d64ef397839a74b098d9 [Pipeline] // withDockerContainer [Pipeline] sh 15:01:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:01:50 Stashed 1 file(s) [Pipeline] echo 15:01:50 [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 15:02:06 Still waiting to schedule task 15:02:06 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:02:06 Still waiting to schedule task 15:02:06 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 15:03:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13862 in /w/workspace/xfoundry_device-modbus-go_PR-194 [Pipeline] { [Pipeline] ws 15:03:57 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 15:04:02 using credential edgex-jenkins-ssh 15:04:02 Cloning the remote Git repository 15:04:02 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 15:04:03 > git init /w/workspace/device-modbus-go/1 # timeout=10 15:04:03 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:04:03 > git --version # timeout=10 15:04:03 > git --version # 'git version 2.17.1' 15:04:03 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:04:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:04:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:04:04 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:04:04 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:04:04 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:04:05 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit 24a4c3f67ad4b20d4acd7916ce648af18f3c178b 15:04:06 Merge succeeded, producing 24a4c3f67ad4b20d4acd7916ce648af18f3c178b 15:04:06 Checking out Revision 24a4c3f67ad4b20d4acd7916ce648af18f3c178b (PR-194) 15:04:05 > git config core.sparsecheckout # timeout=10 15:04:05 > git checkout -f 24a4c3f67ad4b20d4acd7916ce648af18f3c178b # timeout=10 15:04:05 > git remote # timeout=10 15:04:05 > git config --get remote.origin.url # timeout=10 15:04:05 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:05 > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 15:04:06 > git rev-parse HEAD^{commit} # timeout=10 15:04:06 > git config core.sparsecheckout # timeout=10 15:04:06 > git checkout -f 24a4c3f67ad4b20d4acd7916ce648af18f3c178b # timeout=10 15:04:10 Commit message: "build: update device-sdk-go to v1.3.1-dev.4" 15:04:10 > git --version # timeout=10 15:04:10 > git --version # 'git version 2.17.1' 15:04:10 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:04:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 15:04:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:04:13 + sudo service docker restart 15:04:13 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:04:16 provisioning config files... 15:04:16 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7833375581553722212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:04:16 ---> docker-login.sh 15:04:16 nexus3.edgexfoundry.org:10001 15:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:17 Configure a credential helper to remove this warning. See 15:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:17 15:04:17 Login Succeeded 15:04:17 nexus3.edgexfoundry.org:10002 15:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:18 Configure a credential helper to remove this warning. See 15:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:18 15:04:18 Login Succeeded 15:04:18 nexus3.edgexfoundry.org:10003 15:04:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:18 Configure a credential helper to remove this warning. See 15:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:18 15:04:18 Login Succeeded 15:04:18 nexus3.edgexfoundry.org:10004 15:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:19 Configure a credential helper to remove this warning. See 15:04:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:19 15:04:19 Login Succeeded 15:04:19 docker.io 15:04:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:20 Configure a credential helper to remove this warning. See 15:04:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:20 15:04:20 Login Succeeded 15:04:20 ---> docker-login.sh ends [Pipeline] } 15:04:20 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:04:20 ========================================================= 15:04:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 15:04:20 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:04:21 + 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 . 15:04:21 Sending build context to Docker daemon 514kB 15:04:21 Step 1/8 : ARG BASE=golang:1.15-alpine 15:04:21 Step 2/8 : FROM ${BASE} 15:04:21 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:04:21 b538f80385f9: Pulling fs layer 15:04:21 74f711af9a0d: Pulling fs layer 15:04:21 99f96fe45779: Pulling fs layer 15:04:21 8529a6b9a6be: Pulling fs layer 15:04:21 45590311c82a: Pulling fs layer 15:04:21 69ca0ff8b7b3: Pulling fs layer 15:04:21 209524e5b208: Pulling fs layer 15:04:21 8529a6b9a6be: Waiting 15:04:21 45590311c82a: Waiting 15:04:21 69ca0ff8b7b3: Waiting 15:04:21 209524e5b208: Waiting 15:04:21 99f96fe45779: Verifying Checksum 15:04:21 99f96fe45779: Download complete 15:04:21 74f711af9a0d: Verifying Checksum 15:04:21 74f711af9a0d: Download complete 15:04:21 45590311c82a: Verifying Checksum 15:04:21 45590311c82a: Download complete 15:04:21 69ca0ff8b7b3: Verifying Checksum 15:04:21 69ca0ff8b7b3: Download complete 15:04:22 b538f80385f9: Download complete 15:04:23 b538f80385f9: Pull complete 15:04:23 74f711af9a0d: Pull complete 15:04:24 99f96fe45779: Pull complete 15:04:25 209524e5b208: Verifying Checksum 15:04:25 209524e5b208: Download complete 15:04:26 8529a6b9a6be: Verifying Checksum 15:04:26 8529a6b9a6be: Download complete 15:04:38 8529a6b9a6be: Pull complete 15:04:38 45590311c82a: Pull complete 15:04:38 69ca0ff8b7b3: Pull complete 15:04:41 209524e5b208: Pull complete 15:04:41 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 15:04:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 15:04:41 ---> 5bddaf1c2fca 15:04:41 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 15:04:43 Running on prd-centos7-docker-4c-2g-13863 in /w/workspace/xfoundry_device-modbus-go_PR-194 [Pipeline] { [Pipeline] ws 15:04:43 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 15:04:43 ---> Running in 41005f465f2b 15:04:44 Removing intermediate container 41005f465f2b 15:04:44 ---> fe08f33c3aa0 15:04:44 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:04:44 ---> Running in d0eae1fb070d 15:04:47 Removing intermediate container d0eae1fb070d 15:04:47 ---> 3e9731a2bc2a 15:04:47 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 15:04:47 ---> Running in 9821dcf9d638 15:04:47 using credential edgex-jenkins-ssh 15:04:47 Cloning the remote Git repository 15:04:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:04:48 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:04:47 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 15:04:47 > git init /w/workspace/device-modbus-go/1 # timeout=10 15:04:47 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:04:47 > git --version # timeout=10 15:04:47 > git --version # 'git version 2.24.3' 15:04:47 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:04:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:04:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:04:48 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:04:48 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:04:48 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:04:49 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit 24a4c3f67ad4b20d4acd7916ce648af18f3c178b 15:04:49 (1/14) Installing libmagic (5.38-r0) 15:04:49 Merge succeeded, producing 24a4c3f67ad4b20d4acd7916ce648af18f3c178b 15:04:49 Checking out Revision 24a4c3f67ad4b20d4acd7916ce648af18f3c178b (PR-194) 15:04:49 (2/14) Installing file (5.38-r0) 15:04:49 (3/14) Installing libc-dev (0.7.2-r3) 15:04:49 (4/14) Installing g++ (9.3.0-r2) 15:04:49 > git config core.sparsecheckout # timeout=10 15:04:49 > git checkout -f 24a4c3f67ad4b20d4acd7916ce648af18f3c178b # timeout=10 15:04:49 > git remote # timeout=10 15:04:49 > git config --get remote.origin.url # timeout=10 15:04:49 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:49 > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 15:04:49 > git rev-parse HEAD^{commit} # timeout=10 15:04:49 > git config core.sparsecheckout # timeout=10 15:04:49 > git checkout -f 24a4c3f67ad4b20d4acd7916ce648af18f3c178b # timeout=10 15:04:53 (5/14) Installing fortify-headers (1.1-r0) 15:04:53 (6/14) Installing patch (2.7.6-r6) 15:04:53 (7/14) Installing build-base (0.5-r2) 15:04:53 (8/14) Installing openssh-keygen (8.3_p1-r0) 15:04:53 (9/14) Installing libedit (20191231.3.1-r0) 15:04:53 (10/14) Installing openssh-client (8.3_p1-r0) 15:04:53 Commit message: "build: update device-sdk-go to v1.3.1-dev.4" 15:04:53 > git --version # timeout=10 15:04:53 > git --version # 'git version 2.24.3' 15:04:53 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 15:04:53 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 15:04:53 (12/14) Installing openssh-server-common (8.3_p1-r0) 15:04:53 (13/14) Installing openssh-server (8.3_p1-r0) 15:04:54 (14/14) Installing openssh (8.3_p1-r0) 15:04:54 Executing busybox-1.31.1-r16.trigger 15:04:54 OK: 221 MiB in 53 packages 15:04:58 Removing intermediate container 9821dcf9d638 15:04:58 ---> 88d7dc5ba6b5 15:04:58 Step 6/8 : WORKDIR /device-modbus-go 15:04:58 ---> Running in 63f18afc89d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:04:59 Removing intermediate container 63f18afc89d4 15:04:59 ---> b8e808151901 15:04:59 Step 7/8 : COPY . . 15:04:59 ---> 322c203f8d5b 15:04:59 Step 8/8 : RUN go mod download 15:05:00 ---> Running in b5af23dee71f 15:05:00 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 15:05:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:05:01 + sudo service docker restart 15:05:01 + true 15:05:01 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:05:02 provisioning config files... 15:05:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config7698236354744721083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:05:03 ---> docker-login.sh 15:05:03 nexus3.edgexfoundry.org:10001 15:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:03 Configure a credential helper to remove this warning. See 15:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:03 15:05:03 Login Succeeded 15:05:03 nexus3.edgexfoundry.org:10002 15:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:03 Configure a credential helper to remove this warning. See 15:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:03 15:05:03 Login Succeeded 15:05:03 nexus3.edgexfoundry.org:10003 15:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:04 Configure a credential helper to remove this warning. See 15:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:04 15:05:04 Login Succeeded 15:05:04 nexus3.edgexfoundry.org:10004 15:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:04 Configure a credential helper to remove this warning. See 15:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:04 15:05:04 Login Succeeded 15:05:04 docker.io 15:05:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:04 Configure a credential helper to remove this warning. See 15:05:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:04 15:05:04 Login Succeeded 15:05:04 ---> docker-login.sh ends [Pipeline] } 15:05:05 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:05:05 ========================================================= 15:05:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 15:05:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:05:06 + 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 . 15:05:06 Sending build context to Docker daemon 515.1kB 15:05:06 Step 1/8 : ARG BASE=golang:1.15-alpine 15:05:06 Step 2/8 : FROM ${BASE} 15:05:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 15:05:06 df20fa9351a1: Pulling fs layer 15:05:06 ed8968b2872e: Pulling fs layer 15:05:06 a92cc7c5fd73: Pulling fs layer 15:05:06 e871e8e8d7a9: Pulling fs layer 15:05:06 e73272ec9a57: Pulling fs layer 15:05:06 1e910a182e73: Pulling fs layer 15:05:06 4e634b169226: Pulling fs layer 15:05:06 e871e8e8d7a9: Waiting 15:05:06 e73272ec9a57: Waiting 15:05:06 1e910a182e73: Waiting 15:05:06 4e634b169226: Waiting 15:05:06 a92cc7c5fd73: Verifying Checksum 15:05:06 a92cc7c5fd73: Download complete 15:05:06 ed8968b2872e: Download complete 15:05:06 e73272ec9a57: Verifying Checksum 15:05:06 e73272ec9a57: Download complete 15:05:07 df20fa9351a1: Verifying Checksum 15:05:07 df20fa9351a1: Download complete 15:05:07 1e910a182e73: Verifying Checksum 15:05:07 1e910a182e73: Download complete 15:05:07 df20fa9351a1: Pull complete 15:05:07 ed8968b2872e: Pull complete 15:05:07 a92cc7c5fd73: Pull complete 15:05:10 4e634b169226: Verifying Checksum 15:05:10 4e634b169226: Download complete 15:05:11 e871e8e8d7a9: Verifying Checksum 15:05:11 e871e8e8d7a9: Download complete 15:05:19 e871e8e8d7a9: Pull complete 15:05:20 e73272ec9a57: Pull complete 15:05:20 1e910a182e73: Pull complete 15:05:22 Removing intermediate container b5af23dee71f 15:05:22 ---> d21b2eaea36f 15:05:22 Successfully built d21b2eaea36f 15:05:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:05:22 + docker inspect -f . ci-base-image-arm64 15:05:22 . [Pipeline] withDockerContainer 15:05:22 prd-ubuntu18.04-docker-arm64-4c-16g-13862 does not seem to be running inside a container 15:05:22 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:05:24 $ docker top 11220ef3d89f744a91cd8320e8eb55da56320fe37474792ebf78774ed9174a57 -eo pid,comm [Pipeline] { [Pipeline] sh 15:05:25 + go version 15:05:25 go version go1.15.2 linux/arm64 [Pipeline] } 15:05:25 $ docker stop --time=1 11220ef3d89f744a91cd8320e8eb55da56320fe37474792ebf78774ed9174a57 15:05:25 4e634b169226: Pull complete 15:05:25 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 15:05:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 15:05:25 ---> f7629b54cfaa 15:05:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 15:05:26 ---> Running in 33848663177c 15:05:26 Removing intermediate container 33848663177c 15:05:26 ---> 20891cd54749 15:05:26 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:05:26 ---> Running in 7945a092ff87 15:05:27 $ docker rm -f 11220ef3d89f744a91cd8320e8eb55da56320fe37474792ebf78774ed9174a57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage 15:05:28 Removing intermediate container 7945a092ff87 15:05:28 ---> 2ae9358091f4 15:05:28 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:05:28 ---> Running in feb7cc8a7d7d 15:05:28 + docker inspect -f . ci-base-image-arm64 15:05:28 . [Pipeline] withDockerContainer 15:05:29 prd-ubuntu18.04-docker-arm64-4c-16g-13862 does not seem to be running inside a container 15:05:29 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 15:05:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:05:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:05:30 $ docker top 842cde3c6d5b8b243e50865a6ee68ceed37d5e1291377c4505b2fa20e7b8578b -eo pid,comm 15:05:30 (1/14) Installing libmagic (5.38-r0) [Pipeline] { [Pipeline] sh 15:05:31 (2/14) Installing file (5.38-r0) 15:05:31 (3/14) Installing libc-dev (0.7.2-r3) 15:05:31 (4/14) Installing g++ (9.3.0-r2) 15:05:31 + make test 15:05:31 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:05:32 ? github.com/edgexfoundry/device-modbus-go [no test files] 15:05:37 (5/14) Installing fortify-headers (1.1-r0) 15:05:37 (6/14) Installing patch (2.7.6-r6) 15:05:37 (7/14) Installing build-base (0.5-r2) 15:05:37 (8/14) Installing openssh-keygen (8.3_p1-r0) 15:05:37 (9/14) Installing libedit (20191231.3.1-r0) 15:05:37 (10/14) Installing openssh-client (8.3_p1-r0) 15:05:37 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 15:05:37 (12/14) Installing openssh-server-common (8.3_p1-r0) 15:05:37 (13/14) Installing openssh-server (8.3_p1-r0) 15:05:37 (14/14) Installing openssh (8.3_p1-r0) 15:05:37 Executing busybox-1.31.1-r16.trigger 15:05:37 OK: 237 MiB in 53 packages 15:05:41 Removing intermediate container feb7cc8a7d7d 15:05:41 ---> 7ce71aa09597 15:05:41 Step 6/8 : WORKDIR /device-modbus-go 15:05:41 ---> Running in 36a3eb465038 15:05:41 Removing intermediate container 36a3eb465038 15:05:41 ---> 39ccf800539e 15:05:41 Step 7/8 : COPY . . 15:05:42 ---> 4cea8cd29d85 15:05:42 Step 8/8 : RUN go mod download 15:05:42 ---> Running in a5d9156fec36 15:06:05 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:06:05 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.358s coverage: 50.3% of statements 15:06:05 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:06:09 Removing intermediate container a5d9156fec36 15:06:09 ---> 6e893dace9b3 15:06:09 Successfully built 6e893dace9b3 15:06:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:06:10 + docker inspect -f . ci-base-image-x86_64 15:06:10 . [Pipeline] withDockerContainer 15:06:10 prd-centos7-docker-4c-2g-13863 does not seem to be running inside a container 15:06:11 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:06:11 gofmt -l . 15:06:11 [ "`gofmt -l .`" = "" ] 15:06:11 ./bin/test-attribution-txt.sh 15:06:12 $ docker top 8d0ce48694754e208b19943dbf20fdfaf65542605dff91110f046818967ff5bf -eo pid,comm 15:06:12 ./bin/test-go-mod-tidy.sh [Pipeline] { [Pipeline] sh 15:06:13 + go version 15:06:13 go version go1.15.2 linux/amd64 [Pipeline] } 15:06:13 $ docker stop --time=1 8d0ce48694754e208b19943dbf20fdfaf65542605dff91110f046818967ff5bf 15:06:15 $ docker rm -f 8d0ce48694754e208b19943dbf20fdfaf65542605dff91110f046818967ff5bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 15:06:15 $ docker stop --time=1 842cde3c6d5b8b243e50865a6ee68ceed37d5e1291377c4505b2fa20e7b8578b 15:06:18 $ docker rm -f 842cde3c6d5b8b243e50865a6ee68ceed37d5e1291377c4505b2fa20e7b8578b [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 15:06:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:06:19 + docker inspect -f . ci-base-image-x86_64 15:06:19 . [Pipeline] withDockerContainer 15:06:20 prd-centos7-docker-4c-2g-13863 does not seem to be running inside a container 15:06:20 Stashed 1 file(s) 15:06:20 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:06:21 $ docker top 454c74882bd1d69aff6b1925c31a440c4fcbf9349d35c2fa9bc6b3aca6c603d8 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 15:06:22 + make test 15:06:22 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] script [Pipeline] { 15:06:24 ? github.com/edgexfoundry/device-modbus-go [no test files] [Pipeline] sh 15:06:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:06:25 + ls -al . 15:06:25 total 136 15:06:25 drwxrwxr-x 9 jenkins jenkins 4096 Nov 30 15:06 . 15:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 15:04 .. 15:06:25 -rw-rw-r-- 1 jenkins jenkins 140 Nov 30 15:04 .dockerignore 15:06:25 drwxrwxr-x 8 jenkins jenkins 4096 Nov 30 15:04 .git 15:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 15:04 .github 15:06:25 -rw-rw-r-- 1 jenkins jenkins 338 Nov 30 15:04 .gitignore 15:06:25 -rw-rw-r-- 1 jenkins jenkins 5589 Nov 30 15:04 Attribution.txt 15:06:25 -rw-rw-r-- 1 jenkins jenkins 1430 Nov 30 15:04 Dockerfile 15:06:25 -rw-rw-r-- 1 jenkins jenkins 954 Nov 30 15:04 Dockerfile.build 15:06:25 -rw-rw-r-- 1 jenkins jenkins 679 Nov 30 15:04 Jenkinsfile 15:06:25 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 30 15:04 LICENSE 15:06:25 -rw-rw-r-- 1 jenkins jenkins 880 Nov 30 15:04 Makefile 15:06:25 -rw-rw-r-- 1 jenkins jenkins 591 Nov 30 15:04 README.md 15:06:25 -rw-rw-r-- 1 jenkins jenkins 5 Nov 30 15:01 VERSION 15:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 15:04 bin 15:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 15:04 cmd 15:06:25 -rw-r--r-- 1 jenkins jenkins 22364 Nov 30 15:06 coverage.out 15:06:25 -rw-r--r-- 1 jenkins jenkins 523 Nov 30 15:06 go.mod 15:06:25 -rw-r--r-- 1 jenkins jenkins 14850 Nov 30 15:06 go.sum 15:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Nov 30 15:04 internal 15:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Nov 30 15:04 simulator 15:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Nov 30 15:04 snap 15:06:25 -rw-rw-r-- 1 jenkins jenkins 229 Nov 30 15:04 version.go [Pipeline] isUnix [Pipeline] sh 15:06:25 + 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=24a4c3f67ad4b20d4acd7916ce648af18f3c178b --label arch=arm64 --label version=0.0.0 . 15:06:25 Sending build context to Docker daemon 545.3kB 15:06:26 Step 1/20 : ARG BASE=golang:1.15-alpine 15:06:26 Step 2/20 : FROM ${BASE} AS builder 15:06:26 ---> d21b2eaea36f 15:06:26 Step 3/20 : ARG MAKE='make build' 15:06:26 ---> Running in 33ed6dc38acd 15:06:26 Removing intermediate container 33ed6dc38acd 15:06:26 ---> 87e3426c025f 15:06:26 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:06:26 ---> Running in d0e40d48e433 15:06:29 Removing intermediate container d0e40d48e433 15:06:29 ---> 927fa5988bf8 15:06:29 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 15:06:29 ---> Running in 8dbbf3dcea25 15:06:29 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:06:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:06:31 OK: 221 MiB in 53 packages 15:06:32 Removing intermediate container 8dbbf3dcea25 15:06:32 ---> 2480b7906627 15:06:32 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 15:06:32 ---> Running in a04a5f8e4a5d 15:06:33 Removing intermediate container a04a5f8e4a5d 15:06:33 ---> f18750f28f8c 15:06:33 Step 7/20 : COPY . . 15:06:34 ---> 1260c473fb6a 15:06:34 Step 8/20 : RUN ${MAKE} 15:06:34 ---> Running in 205412f497c0 15:06:35 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 15:06:46 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 15:06:47 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.417s coverage: 50.3% of statements 15:06:47 CGO_ENABLED=0 GO111MODULE=on go vet ./... 15:06:52 gofmt -l . 15:06:52 [ "`gofmt -l .`" = "" ] 15:06:52 ./bin/test-attribution-txt.sh 15:06:53 ./bin/test-go-mod-tidy.sh [Pipeline] } 15:06:53 $ docker stop --time=1 454c74882bd1d69aff6b1925c31a440c4fcbf9349d35c2fa9bc6b3aca6c603d8 15:06:56 $ docker rm -f 454c74882bd1d69aff6b1925c31a440c4fcbf9349d35c2fa9bc6b3aca6c603d8 [Pipeline] // withDockerContainer [Pipeline] sh 15:06:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:06:57 Warning: overwriting stash ‘coverage-report’ 15:06:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:06:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:06:58 + ls -al . 15:06:58 total 104 15:06:58 drwxrwxr-x. 9 jenkins jenkins 4096 Nov 30 15:06 . 15:06:58 drwxrwxr-x. 4 jenkins jenkins 28 Nov 30 15:04 .. 15:06:58 -rw-rw-r--. 1 jenkins jenkins 5589 Nov 30 15:04 Attribution.txt 15:06:58 drwxrwxr-x. 2 jenkins jenkins 87 Nov 30 15:04 bin 15:06:58 drwxrwxr-x. 3 jenkins jenkins 32 Nov 30 15:04 cmd 15:06:58 -rw-r--r--. 1 jenkins jenkins 22364 Nov 30 15:06 coverage.out 15:06:58 -rw-rw-r--. 1 jenkins jenkins 1430 Nov 30 15:04 Dockerfile 15:06:58 -rw-rw-r--. 1 jenkins jenkins 954 Nov 30 15:04 Dockerfile.build 15:06:58 -rw-rw-r--. 1 jenkins jenkins 140 Nov 30 15:04 .dockerignore 15:06:58 drwxrwxr-x. 8 jenkins jenkins 179 Nov 30 15:04 .git 15:06:58 drwxrwxr-x. 2 jenkins jenkins 60 Nov 30 15:04 .github 15:06:58 -rw-rw-r--. 1 jenkins jenkins 338 Nov 30 15:04 .gitignore 15:06:58 -rw-r--r--. 1 jenkins jenkins 523 Nov 30 15:06 go.mod 15:06:58 -rw-r--r--. 1 jenkins jenkins 14850 Nov 30 15:06 go.sum 15:06:58 drwxrwxr-x. 3 jenkins jenkins 20 Nov 30 15:04 internal 15:06:58 -rw-rw-r--. 1 jenkins jenkins 679 Nov 30 15:04 Jenkinsfile 15:06:58 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 30 15:04 LICENSE 15:06:58 -rw-rw-r--. 1 jenkins jenkins 880 Nov 30 15:04 Makefile 15:06:58 -rw-rw-r--. 1 jenkins jenkins 591 Nov 30 15:04 README.md 15:06:58 drwxrwxr-x. 2 jenkins jenkins 52 Nov 30 15:04 simulator 15:06:58 drwxrwxr-x. 4 jenkins jenkins 54 Nov 30 15:04 snap 15:06:58 -rw-rw-r--. 1 jenkins jenkins 5 Nov 30 15:01 VERSION 15:06:58 -rw-rw-r--. 1 jenkins jenkins 229 Nov 30 15:04 version.go [Pipeline] isUnix [Pipeline] sh 15:06:59 + 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=24a4c3f67ad4b20d4acd7916ce648af18f3c178b --label arch=amd64 --label version=0.0.0 . 15:06:59 Sending build context to Docker daemon 546.3kB 15:06:59 Step 1/20 : ARG BASE=golang:1.15-alpine 15:06:59 Step 2/20 : FROM ${BASE} AS builder 15:06:59 ---> 6e893dace9b3 15:06:59 Step 3/20 : ARG MAKE='make build' 15:06:59 ---> Running in 24dc5c509bb5 15:07:00 Removing intermediate container 24dc5c509bb5 15:07:00 ---> a9f818e0903e 15:07:00 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:07:00 ---> Running in d6f9a9e7982e 15:07:01 Removing intermediate container d6f9a9e7982e 15:07:01 ---> 8efbf2cdaa19 15:07:01 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 15:07:01 ---> Running in e993a62f3cfb 15:07:02 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:07:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:07:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:07:03 OK: 237 MiB in 53 packages 15:07:04 Removing intermediate container e993a62f3cfb 15:07:04 ---> a2155df85975 15:07:04 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 15:07:04 ---> Running in 79f7fe25edf5 15:07:04 Removing intermediate container 79f7fe25edf5 15:07:04 ---> 6a3fb39f29b3 15:07:04 Step 7/20 : COPY . . 15:07:05 ---> 345f38933e95 15:07:05 Step 8/20 : RUN ${MAKE} 15:07:05 ---> Running in 17888c7502cb 15:07:05 Removing intermediate container 205412f497c0 15:07:05 ---> 12e3a8850279 15:07:05 Step 9/20 : FROM scratch 15:07:05 ---> 15:07:05 Step 10/20 : ENV APP_PORT=49991 15:07:05 ---> Running in c8302d31a8b6 15:07:05 Removing intermediate container c8302d31a8b6 15:07:05 ---> 829c7287add6 15:07:05 Step 11/20 : EXPOSE $APP_PORT 15:07:05 ---> Running in ef9070bd4691 15:07:06 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 15:07:06 Removing intermediate container ef9070bd4691 15:07:06 ---> d325cf17c78c 15:07:06 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 15:07:07 ---> 68fadcabc47a 15:07:07 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 15:07:08 ---> 199b876a0b85 15:07:08 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 15:07:08 ---> d2017740ee93 15:07:08 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 15:07:08 ---> Running in 8750c53a8b49 15:07:09 Removing intermediate container 8750c53a8b49 15:07:09 ---> 2e90813c7135 15:07:09 Step 16/20 : ENTRYPOINT ["/device-modbus"] 15:07:09 ---> Running in 5abd6409c631 15:07:10 Removing intermediate container 5abd6409c631 15:07:10 ---> 34e9326a4265 15:07:10 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:07:10 ---> Running in a2146f5862a3 15:07:10 Removing intermediate container a2146f5862a3 15:07:10 ---> 06bfceec5f6d 15:07:10 Step 18/20 : LABEL arch=arm64 15:07:10 ---> Running in b2cb297db773 15:07:11 Removing intermediate container b2cb297db773 15:07:11 ---> ee743773e534 15:07:11 Step 19/20 : LABEL git_sha=24a4c3f67ad4b20d4acd7916ce648af18f3c178b 15:07:11 ---> Running in 3e46b180951e 15:07:11 Removing intermediate container 3e46b180951e 15:07:11 ---> 4a1a480d2d86 15:07:11 Step 20/20 : LABEL version=0.0.0 15:07:11 ---> Running in a3c78e35050f 15:07:12 Removing intermediate container a3c78e35050f 15:07:12 ---> c697f6f470c9 15:07:12 [Warning] One or more build-args [ARCH] were not consumed 15:07:12 Successfully built c697f6f470c9 15:07:12 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] } 15:07:24 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:07:28 Removing intermediate container 17888c7502cb 15:07:28 ---> ec6542bc4e37 15:07:28 Step 9/20 : FROM scratch 15:07:28 ---> 15:07:28 Step 10/20 : ENV APP_PORT=49991 15:07:28 ---> Running in e221d9df6ebe 15:07:29 Removing intermediate container e221d9df6ebe 15:07:29 ---> 9495a9922504 15:07:29 Step 11/20 : EXPOSE $APP_PORT 15:07:29 ---> Running in 3f07a649f2b3 15:07:29 Removing intermediate container 3f07a649f2b3 15:07:29 ---> b56776d72345 15:07:29 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 15:07:30 ---> 75ad6b293558 15:07:30 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 15:07:30 ---> 7c39b95c6105 15:07:30 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 15:07:31 ---> 344128f851af 15:07:31 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 15:07:31 ---> Running in 9a485e75d397 15:07:31 Removing intermediate container 9a485e75d397 15:07:31 ---> b1c2b1895b2f 15:07:31 Step 16/20 : ENTRYPOINT ["/device-modbus"] 15:07:31 ---> Running in 0668b4d9d214 15:07:31 Removing intermediate container 0668b4d9d214 15:07:31 ---> b5be7de585db 15:07:31 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:07:31 ---> Running in b50cb6312af6 15:07:32 Removing intermediate container b50cb6312af6 15:07:32 ---> 9502bd0d3f52 15:07:32 Step 18/20 : LABEL arch=amd64 15:07:32 ---> Running in 132dc6c2124c 15:07:32 Removing intermediate container 132dc6c2124c 15:07:32 ---> 023f2b11d393 15:07:32 Step 19/20 : LABEL git_sha=24a4c3f67ad4b20d4acd7916ce648af18f3c178b 15:07:32 ---> Running in a2cb7ed12d19 15:07:33 Removing intermediate container a2cb7ed12d19 15:07:33 ---> 647fac928b4a 15:07:33 Step 20/20 : LABEL version=0.0.0 15:07:33 ---> Running in cd34e29482d5 15:07:33 Removing intermediate container cd34e29482d5 15:07:33 ---> 851c685b6503 15:07:33 [Warning] One or more build-args [ARCH] were not consumed 15:07:33 Successfully built 851c685b6503 15:07:33 Successfully tagged docker-device-modbus-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles [Pipeline] node 15:07:49 Still waiting to schedule task 15:07:49 All nodes of label ‘centos7-docker-8c-8g’ are offline 15:08:46 Running on prd-centos7-docker-8c-8g-13867 in /w/workspace/xfoundry_device-modbus-go_PR-194 [Pipeline] { [Pipeline] ws 15:08:46 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 15:08:49 using credential edgex-jenkins-ssh 15:08:49 Cloning the remote Git repository 15:08:49 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 15:08:49 > git init /w/workspace/device-modbus-go/1 # timeout=10 15:08:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:08:49 > git --version # timeout=10 15:08:49 > git --version # 'git version 2.24.3' 15:08:49 using GIT_SSH to set credentials SSH Credentials for GitHub 15:08:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:08:50 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit 24a4c3f67ad4b20d4acd7916ce648af18f3c178b 15:08:50 Merge succeeded, producing 24a4c3f67ad4b20d4acd7916ce648af18f3c178b 15:08:50 Checking out Revision 24a4c3f67ad4b20d4acd7916ce648af18f3c178b (PR-194) 15:08:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:08:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:08:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 15:08:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 15:08:50 using GIT_SSH to set credentials SSH Credentials for GitHub 15:08:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:08:50 > git config core.sparsecheckout # timeout=10 15:08:50 > git checkout -f 24a4c3f67ad4b20d4acd7916ce648af18f3c178b # timeout=10 15:08:50 > git remote # timeout=10 15:08:50 > git config --get remote.origin.url # timeout=10 15:08:50 using GIT_SSH to set credentials SSH Credentials for GitHub 15:08:50 > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 15:08:50 > git rev-parse HEAD^{commit} # timeout=10 15:08:50 > git config core.sparsecheckout # timeout=10 15:08:50 > git checkout -f 24a4c3f67ad4b20d4acd7916ce648af18f3c178b # timeout=10 15:08:54 Commit message: "build: update device-sdk-go to v1.3.1-dev.4" 15:08:54 > git --version # timeout=10 15:08:54 > git --version # 'git version 2.24.3' 15:08:54 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:55 ++ find /w/workspace/device-modbus-go/1 15:08:55 ++ grep snapcraft.yaml 15:08:55 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:56 provisioning config files... 15:08:56 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config6879393698701603581tmp [Pipeline] { [Pipeline] sh 15:08:56 + cp /w/workspace/device-modbus-go/1@tmp/config6879393698701603581tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 15:08:56 + 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 15:08:56 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 15:08:57 latest: Pulling from edgex-devops/edgex-snap-builder 15:08:57 f08d8e2a3ba1: Pulling fs layer 15:08:57 3baa9cb2483b: Pulling fs layer 15:08:57 94e5ff4c0b15: Pulling fs layer 15:08:57 1860925334f9: Pulling fs layer 15:08:57 2daf38717194: Pulling fs layer 15:08:57 309017e8d7a4: Pulling fs layer 15:08:57 f7790dc9fd0f: Pulling fs layer 15:08:57 cac0ae9282c2: Pulling fs layer 15:08:57 1f4cadf9a1ed: Pulling fs layer 15:08:57 2daf38717194: Waiting 15:08:57 1860925334f9: Waiting 15:08:57 309017e8d7a4: Waiting 15:08:57 cac0ae9282c2: Waiting 15:08:57 1f4cadf9a1ed: Waiting 15:08:57 f7790dc9fd0f: Waiting 15:08:57 94e5ff4c0b15: Download complete 15:08:57 3baa9cb2483b: Verifying Checksum 15:08:57 3baa9cb2483b: Download complete 15:08:57 1860925334f9: Verifying Checksum 15:08:57 1860925334f9: Download complete 15:08:57 309017e8d7a4: Verifying Checksum 15:08:57 309017e8d7a4: Download complete 15:08:57 f7790dc9fd0f: Verifying Checksum 15:08:57 f7790dc9fd0f: Download complete 15:08:57 cac0ae9282c2: Download complete 15:08:57 1f4cadf9a1ed: Download complete 15:08:57 f08d8e2a3ba1: Verifying Checksum 15:08:57 f08d8e2a3ba1: Download complete 15:08:58 f08d8e2a3ba1: Pull complete 15:08:59 3baa9cb2483b: Pull complete 15:08:59 94e5ff4c0b15: Pull complete 15:08:59 1860925334f9: Pull complete 15:09:04 2daf38717194: Verifying Checksum 15:09:04 2daf38717194: Download complete 15:09:23 2daf38717194: Pull complete 15:09:23 309017e8d7a4: Pull complete 15:09:23 f7790dc9fd0f: Pull complete 15:09:23 cac0ae9282c2: Pull complete 15:09:23 1f4cadf9a1ed: Pull complete 15:09:23 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 15:09:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 15:09:24 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 15:09:24 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 15:09:24 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 15:09:25 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 15:09:25 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2131 kB] 15:09:25 Get:6 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [222 kB] 15:09:25 Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1366 kB] 15:09:25 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [252 kB] 15:09:25 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [54.3 kB] 15:09:25 Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2208 kB] 15:09:26 Get:11 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1781 kB] 15:09:26 Get:12 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 15:09:26 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 15:09:26 Get:14 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] 15:09:26 Fetched 8304 kB in 2s (4136 kB/s) 15:09:28 Reading package lists... 15:09:31 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 15:09:31 0% [Connecting to archive.ubuntu.com (91.189.88.142)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.142) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease 15:09:31 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 15:09:31 0% [2 InRelease gpgv 242 kB] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease 15:09:33 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 53% 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 15:09:35 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 15:09:36 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... 54% 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 15:09:36 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree... 99% Building dependency tree 15:09:36 Reading state information... 0% Reading state information... 0% Reading state information... Done 15:09:36 The following packages were automatically installed and are no longer required: 15:09:36 libjq1 libonig4 15:09:36 Use 'sudo apt autoremove' to remove them. 15:09:36 Suggested packages: 15:09:36 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 15:09:36 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 15:09:36 diffutils-doc perl-doc libterm-readline-gnu-perl 15:09:36 | libterm-readline-perl-perl 15:09:37 The following NEW packages will be installed: 15:09:37 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 15:09:37 libperl5.26 make netbase patch perl perl-modules-5.26 15:09:37 The following packages will be upgraded: 15:09:37 perl-base 15:09:37 1 upgraded, 14 newly installed, 0 to remove and 50 not upgraded. 15:09:37 Need to get 13.4 MB of archives. 15:09:37 After this operation, 77.5 MB of additional disk space will be used. 15:09:37 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] 15:09:37 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 676 kB/1391 kB 49%] 10% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] 15:09:38 10% [2 perl-modules-5.26 41.0 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] 15:09:38 28% [3 libgdbm5 26.0 kB/26.0 kB 100%] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] 15:09:38 29% [4 libgdbm-compat4 6084 B/6084 B 100%] 30% [Waiting for headers] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] 15:09:38 30% [5 libperl5.26 8192 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] 15:09:38 53% [6 perl 12.2 kB/201 kB 6%] 55% [Waiting for headers] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] 15:09:38 55% [7 less 6998 B/112 kB 6%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] 15:09:38 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] 15:09:38 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] 15:09:38 61% [10 libcurl3-gnutls 51.0 kB/213 kB 24%] 64% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] 15:09:38 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] 15:09:38 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] 15:09:38 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] 15:09:38 96% [14 make 16.4 kB/154 kB 11%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] 15:09:38 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 2s (8536 kB/s) 15:09:38 debconf: delaying package configuration, since apt-utils is not installed 15:09:38 (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.) 15:09:38 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... 15:09:38 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 15:09:43 Setting up perl-base (5.26.1-6ubuntu0.5) ... 15:09:43 Selecting previously unselected package perl-modules-5.26. 15:09:43 (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.) 15:09:43 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 15:09:43 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 15:09:43 Selecting previously unselected package libgdbm5:amd64. 15:09:43 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 15:09:43 Unpacking libgdbm5:amd64 (1.14.1-6) ... 15:09:43 Selecting previously unselected package libgdbm-compat4:amd64. 15:09:43 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 15:09:43 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 15:09:43 Selecting previously unselected package libperl5.26:amd64. 15:09:43 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... 15:09:43 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 15:09:43 Selecting previously unselected package perl. 15:09:43 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... 15:09:43 Unpacking perl (5.26.1-6ubuntu0.5) ... 15:09:44 Selecting previously unselected package less. 15:09:44 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 15:09:44 Unpacking less (487-0.1) ... 15:09:44 Selecting previously unselected package netbase. 15:09:44 Preparing to unpack .../06-netbase_5.4_all.deb ... 15:09:44 Unpacking netbase (5.4) ... 15:09:44 Selecting previously unselected package curl. 15:09:44 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 15:09:44 Unpacking curl (7.58.0-2ubuntu3.10) ... 15:09:44 Selecting previously unselected package libcurl3-gnutls:amd64. 15:09:44 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 15:09:44 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 15:09:44 Selecting previously unselected package liberror-perl. 15:09:44 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 15:09:44 Unpacking liberror-perl (0.17025-1) ... 15:09:44 Selecting previously unselected package git-man. 15:09:44 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 15:09:44 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 15:09:44 Selecting previously unselected package git. 15:09:44 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 15:09:44 Unpacking git (1:2.17.1-1ubuntu0.7) ... 15:09:45 Selecting previously unselected package make. 15:09:45 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 15:09:45 Unpacking make (4.1-9.1ubuntu1) ... 15:09:45 Selecting previously unselected package patch. 15:09:45 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 15:09:45 Unpacking patch (2.7.6-2ubuntu1.1) ... 15:09:45 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 15:09:45 Setting up less (487-0.1) ... 15:09:45 Setting up make (4.1-9.1ubuntu1) ... 15:09:45 Setting up curl (7.58.0-2ubuntu3.10) ... 15:09:45 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 15:09:45 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 15:09:45 Setting up libgdbm5:amd64 (1.14.1-6) ... 15:09:45 Setting up patch (2.7.6-2ubuntu1.1) ... 15:09:45 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 15:09:45 Setting up netbase (5.4) ... 15:09:45 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 15:09:45 Setting up perl (5.26.1-6ubuntu0.5) ... 15:09:45 Setting up liberror-perl (0.17025-1) ... 15:09:45 Setting up git (1:2.17.1-1ubuntu0.7) ... 15:09:45 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 15:09:45 Processing triggers for mime-support (3.60ubuntu1) ... 15:09:47 curl set to automatically installed. 15:09:47 git set to automatically installed. 15:09:47 git-man set to automatically installed. 15:09:47 less set to automatically installed. 15:09:47 libcurl3-gnutls set to automatically installed. 15:09:47 liberror-perl set to automatically installed. 15:09:47 libgdbm-compat4 set to automatically installed. 15:09:47 libgdbm5 set to automatically installed. 15:09:47 libperl5.26 set to automatically installed. 15:09:47 make set to automatically installed. 15:09:47 netbase set to automatically installed. 15:09:47 patch set to automatically installed. 15:09:47 perl set to automatically installed. 15:09:47 perl-base set to automatically installed. 15:09:47 perl-modules-5.26 set to automatically installed. 15:09:47 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 15:09:47 Please ensure the environment is properly setup before continuing. 15:09:47 Ignore this message if the appropriate measures have already been taken 15:09:48 Pulling go  15:09:49 'device-modbus' has dependencies that need to be staged: go 15:09:49 Skipping pull go (already ran) 15:09:49 Building go  15:09:49 % Total % Received % Xferd Average Speed Time Time Time Current 15:09:49 Dload Upload Total Spent Left Speed 15:09:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 115M 0 63628 0 0 261k 0 0:07:33 --:--:-- 0:07:33 259k 53 115M 53 61.2M 0 0 49.5M 0 0:00:02 0:00:01 0:00:01 49.4M 100 115M 100 115M 0 0 54.7M 0 0:00:02 0:00:02 --:--:-- 54.7M 15:09:51 go1.15.2.linux-amd64.tar.gz: OK 15:09:58 Staging go  15:09:58 Pulling device-modbus  15:09:59 Skipping build go (already ran) 15:09:59 Building device-modbus  15:09:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 15:10:00 go: downloading github.com/edgexfoundry/device-sdk-go v1.3.1-dev.4 15:10:00 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 15:10:00 go: downloading github.com/goburrow/modbus v0.1.0 15:10:00 go: downloading github.com/goburrow/serial v0.1.0 15:10:00 go: downloading github.com/gorilla/mux v1.8.0 15:10:00 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 15:10:00 go: downloading github.com/google/uuid v1.1.2 15:10:00 go: downloading github.com/pkg/errors v0.8.1 15:10:00 go: downloading github.com/go-kit/kit v0.8.0 15:10:00 go: downloading gopkg.in/yaml.v2 v2.4.0 15:10:00 go: downloading github.com/go-playground/validator/v10 v10.3.0 15:10:00 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 15:10:00 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 15:10:00 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 15:10:00 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 15:10:00 go: downloading github.com/pelletier/go-toml v1.2.0 15:10:00 go: downloading github.com/OneOfOne/xxhash v1.2.8 15:10:00 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 15:10:00 go: downloading github.com/hashicorp/consul/api v1.1.0 15:10:00 go: downloading github.com/BurntSushi/toml v0.3.1 15:10:00 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 15:10:00 go: downloading github.com/x448/float16 v0.8.4 15:10:00 go: downloading github.com/leodido/go-urn v1.2.0 15:10:00 go: downloading github.com/go-playground/universal-translator v0.17.0 15:10:00 go: downloading github.com/mitchellh/copystructure v1.0.0 15:10:00 go: downloading github.com/mitchellh/mapstructure v1.1.2 15:10:00 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 15:10:00 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 15:10:00 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 15:10:00 go: downloading github.com/hashicorp/serf v0.8.2 15:10:00 go: downloading github.com/go-logfmt/logfmt v0.4.0 15:10:00 go: downloading github.com/mitchellh/reflectwalk v1.0.0 15:10:00 go: downloading github.com/go-playground/locales v0.13.0 15:10:00 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 15:10:01 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 15:10:01 go: downloading github.com/hashicorp/golang-lru v0.5.1 15:10:07 CGO_ENABLED=0 GO111MODULE=on go build ./... 15:10:11 Skipping stage go (already ran) 15:10:11 Staging device-modbus  15:10:11 Priming go  15:10:12 Priming device-modbus  15:10:13 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 15:10:13 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 15:10:13 Determining the version from the project repo (version-script). 15:10:13 The version has been set to 'local-dev-20201130+24a4c3f' 15:10:13 Snapping | Snapping / Snapping - Snapping | 15:10:13 Snapped edgex-device-modbus_local-dev-20201130+24a4c3f_amd64.snap [Pipeline] } 15:10:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 15:10:20 provisioning config files... 15:10:20 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-194@tmp/config6428719386583251844tmp [Pipeline] { [Pipeline] sh 15:10:20 + set +x 15:10:20 + curl -s https://codecov.io/bash 15:10:20 + bash -s -- 15:10:21 15:10:21 _____ _ 15:10:21 / ____| | | 15:10:21 | | ___ __| | ___ ___ _____ __ 15:10:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:10:21 | |___| (_) | (_| | __/ (_| (_) \ V / 15:10:21 \_____\___/ \__,_|\___|\___\___/ \_/ 15:10:21 Bash-20201124-79cbc08 15:10:21 15:10:21 15:10:21 ==> Jenkins CI detected. 15:10:21 project root: . 15:10:21 --> token set from env 15:10:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:10:21 ==> Running gcov in . (disable via -X gcov) 15:10:21 ==> Python coveragepy not found 15:10:21 ==> Searching for coverage reports in: 15:10:21 + . 15:10:21 -> Found 1 reports 15:10:21 ==> Detecting git/mercurial file structure 15:10:21 ==> Reading reports 15:10:21 + ./coverage.out bytes=22364 15:10:21 ==> Appending adjustments 15:10:21 https://docs.codecov.io/docs/fixing-reports 15:10:21 + Found adjustments 15:10:21 ==> Gzipping contents 15:10:21 8.0K /tmp/codecov.3aaJO2.gz 15:10:21 ==> Uploading reports 15:10:21 url: https://codecov.io 15:10:21 query: branch=PR-194&commit=24a4c3f67ad4b20d4acd7916ce648af18f3c178b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=194&job=&cmd_args= 15:10:21 -> Pinging Codecov 15:10:21 https://codecov.io/upload/v4?package=bash-20201124-79cbc08&token=secret&branch=PR-194&commit=24a4c3f67ad4b20d4acd7916ce648af18f3c178b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=194&job=&cmd_args= 15:10:22 -> Uploading to 15:10:22 https://storage.googleapis.com/codecov/v4/raw/2020-11-30/55DBCA73C666E3227836607328DD7E49/24a4c3f67ad4b20d4acd7916ce648af18f3c178b/3abe4052-11d2-439b-84b2-cf69124f3939.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201130%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201130T151022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54e759f9a6242109e1c74c0e03e56650c55349d88b48d94574f1207509508415 15:10:22 % Total % Received % Xferd Average Speed Time Time Time Current 15:10:22 Dload Upload Total Spent Left Speed 15:10:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4169 0 0 100 4169 0 9802 --:--:-- --:--:-- --:--:-- 9809 15:10:22 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/24a4c3f67ad4b20d4acd7916ce648af18f3c178b [Pipeline] } 15:10:22 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 15:10:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:10:28 ---> package-listing.sh 15:10:28 ++ facter osfamily 15:10:28 ++ tr '[:upper:]' '[:lower:]' 15:10:28 + OS_FAMILY=redhat 15:10:28 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-194 15:10:28 + START_PACKAGES=/tmp/packages_start.txt 15:10:28 + END_PACKAGES=/tmp/packages_end.txt 15:10:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:10:28 + PACKAGES=/tmp/packages_start.txt 15:10:28 + '[' /w/workspace/xfoundry_device-modbus-go_PR-194 ']' 15:10:28 + PACKAGES=/tmp/packages_end.txt 15:10:28 + case "${OS_FAMILY}" in 15:10:28 + rpm -qa 15:10:28 + sort 15:10:33 + '[' -f /tmp/packages_start.txt ']' 15:10:33 + '[' -f /tmp/packages_end.txt ']' 15:10:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:10:33 + '[' /w/workspace/xfoundry_device-modbus-go_PR-194 ']' 15:10:33 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-194/archives/ 15:10:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-194/archives/ [Pipeline] echo 15:10:33 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-194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:10:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:10:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:10:33 15:10:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:10:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:10:34 alpine: Pulling from edgex-lftools-log-publisher 15:10:34 df20fa9351a1: Pulling fs layer 15:10:34 36b3adc4ff6f: Pulling fs layer 15:10:34 8ad3a11d3b57: Pulling fs layer 15:10:34 46f8f816bc3b: Pulling fs layer 15:10:34 93b61091891f: Pulling fs layer 15:10:34 93b9cdb0e59b: Pulling fs layer 15:10:34 5e14af77c1be: Pulling fs layer 15:10:34 01666e4c0597: Pulling fs layer 15:10:34 aa168da1d23b: Pulling fs layer 15:10:34 46f8f816bc3b: Waiting 15:10:34 93b61091891f: Waiting 15:10:34 01666e4c0597: Waiting 15:10:34 93b9cdb0e59b: Waiting 15:10:34 5e14af77c1be: Waiting 15:10:34 36b3adc4ff6f: Verifying Checksum 15:10:34 36b3adc4ff6f: Download complete 15:10:34 46f8f816bc3b: Verifying Checksum 15:10:34 46f8f816bc3b: Download complete 15:10:34 df20fa9351a1: Verifying Checksum 15:10:34 df20fa9351a1: Download complete 15:10:34 93b9cdb0e59b: Verifying Checksum 15:10:34 93b9cdb0e59b: Download complete 15:10:34 93b61091891f: Verifying Checksum 15:10:34 93b61091891f: Download complete 15:10:34 5e14af77c1be: Verifying Checksum 15:10:34 5e14af77c1be: Download complete 15:10:34 01666e4c0597: Verifying Checksum 15:10:34 01666e4c0597: Download complete 15:10:34 8ad3a11d3b57: Verifying Checksum 15:10:34 8ad3a11d3b57: Download complete 15:10:34 df20fa9351a1: Pull complete 15:10:35 36b3adc4ff6f: Pull complete 15:10:36 8ad3a11d3b57: Pull complete 15:10:36 46f8f816bc3b: Pull complete 15:10:36 aa168da1d23b: Verifying Checksum 15:10:36 aa168da1d23b: Download complete 15:10:36 93b61091891f: Pull complete 15:10:36 93b9cdb0e59b: Pull complete 15:10:37 5e14af77c1be: Pull complete 15:10:37 01666e4c0597: Pull complete 15:10:45 aa168da1d23b: Pull complete 15:10:45 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:10:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:10:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:10:45 prd-centos7-docker-4c-2g-13861 does not seem to be running inside a container 15:10:45 $ 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-194/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-194 -v /w/workspace/xfoundry_device-modbus-go_PR-194:/w/workspace/xfoundry_device-modbus-go_PR-194:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-194@tmp:/w/workspace/xfoundry_device-modbus-go_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:10:48 $ docker top ac1f9ee00676cd51928674b97954c1be377a24e0514261933f50ebcc702f6702 -eo pid,comm [Pipeline] { [Pipeline] sh 15:10:50 + touch /tmp/pre-build-complete [Pipeline] sh 15:10:50 + mkdir -p /var/log/sa [Pipeline] sh 15:10:50 + ls /var/log/sa-host 15:10:50 + sadf -c /var/log/sa-host/sa23 15:10:50 file_magic: OK 15:10:50 HZ: Using current value: 100 15:10:50 file_header: OK 15:10:50 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 15:10:50 Statistics: 15:10:50 Hnuu...uuuununununu... 15:10:50 File successfully converted to sysstat format version 12.2.1 15:10:50 + sadf -c /var/log/sa-host/sa30 15:10:50 file_magic: OK 15:10:50 HZ: Using current value: 100 15:10:50 file_header: OK 15:10:50 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 15:10:50 Statistics: 15:10:50 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:10:50 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:10:51 provisioning config files... 15:10:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-194@tmp/config2933939665392958051tmp [Pipeline] { [Pipeline] echo 15:10:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:10:52 ---> create-netrc.sh [Pipeline] } 15:10:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:10:52 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:10:52 ---> python-tools-install.sh [Pipeline] echo 15:10:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:10:53 ---> sudo-logs.sh 15:10:53 Archiving 'sudo' log.. [Pipeline] echo 15:10:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:10:53 ---> job-cost.sh 15:10:53 lf-activate-venv: SKIPPING 15:10:53 INFO: No Stack... 15:10:54 INFO: Retrieving Pricing Info for: v1-standard-2 15:10:55 INFO: Archiving Costs [Pipeline] echo 15:10:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:10:55 ---> logs-deploy.sh 15:10:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-194/1 15:10:55 INFO: archiving workspace using pattern(s): 15:10:57 Archives upload complete. 15:10:57 INFO: archiving logs to Nexus 15:10:58 ---> uname -a: 15:10:58 Linux prd-centos7-docker-4c-2g-13861.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 15:10:58 15:10:58 15:10:58 ---> lscpu: 15:10:58 Architecture: x86_64 15:10:58 CPU op-mode(s): 32-bit, 64-bit 15:10:58 Byte Order: Little Endian 15:10:58 Address sizes: 40 bits physical, 48 bits virtual 15:10:58 CPU(s): 4 15:10:58 On-line CPU(s) list: 0-3 15:10:58 Thread(s) per core: 1 15:10:58 Core(s) per socket: 1 15:10:58 Socket(s): 4 15:10:58 NUMA node(s): 1 15:10:58 Vendor ID: GenuineIntel 15:10:58 CPU family: 6 15:10:58 Model: 44 15:10:58 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:10:58 Stepping: 1 15:10:58 CPU MHz: 2933.436 15:10:58 BogoMIPS: 5866.87 15:10:58 Virtualization: VT-x 15:10:58 Hypervisor vendor: KVM 15:10:58 Virtualization type: full 15:10:58 L1d cache: 128 KiB 15:10:58 L1i cache: 128 KiB 15:10:58 L2 cache: 16 MiB 15:10:58 L3 cache: 64 MiB 15:10:58 NUMA node0 CPU(s): 0-3 15:10:58 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 15:10:58 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 15:10:58 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 15:10:58 Vulnerability Meltdown: Mitigation; PTI 15:10:58 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:10:58 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 15:10:58 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 15:10:58 Vulnerability Srbds: Not affected 15:10:58 Vulnerability Tsx async abort: Not affected 15:10:58 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 15:10:58 15:10:58 15:10:58 ---> nproc: 15:10:58 4 15:10:58 15:10:58 15:10:58 ---> df -h: 15:10:58 Filesystem Size Used Available Use% Mounted on 15:10:58 overlay 50.0G 7.3G 42.7G 15% / 15:10:58 tmpfs 64.0M 0 64.0M 0% /dev 15:10:58 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 15:10:58 shm 64.0M 0 64.0M 0% /dev/shm 15:10:58 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 15:10:58 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 15:10:58 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 15:10:58 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 15:10:58 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 15:10:58 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 15:10:58 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 15:10:58 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 15:10:58 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-194 15:10:58 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-194@tmp 15:10:58 15:10:58 15:10:58 ---> free -m: 15:10:58 total used free shared buff/cache available 15:10:58 Mem: 1837 719 100 0 1017 1012 15:10:58 Swap: 1023 1 1022 15:10:58 15:10:58 15:10:58 ---> ip addr: 15:10:58 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 15:10:58 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 15:10:58 inet 127.0.0.1/8 scope host lo 15:10:58 valid_lft forever preferred_lft forever 15:10:58 inet6 ::1/128 scope host 15:10:58 valid_lft forever preferred_lft forever 15:10:58 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 15:10:58 link/ether fa:16:3e:26:8e:60 brd ff:ff:ff:ff:ff:ff 15:10:58 inet 10.30.122.72/23 brd 10.30.123.255 scope global dynamic eth0 15:10:58 valid_lft 85793sec preferred_lft 85793sec 15:10:58 inet6 fe80::f816:3eff:fe26:8e60/64 scope link 15:10:58 valid_lft forever preferred_lft forever 15:10:58 3: docker0: mtu 1500 qdisc noqueue state DOWN 15:10:58 link/ether 02:42:70:b8:d5:80 brd ff:ff:ff:ff:ff:ff 15:10:58 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 15:10:58 valid_lft forever preferred_lft forever 15:10:58 inet6 fe80::42:70ff:feb8:d580/64 scope link 15:10:58 valid_lft forever preferred_lft forever 15:10:58 15:10:58 15:10:58 ---> sar -b -r -n DEV: 15:10:58 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/30/20 _x86_64_ (4 CPU) 15:10:58 15:10:58 15:00:38 LINUX RESTART (4 CPU) 15:10:58 15:10:58 15:01:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:10:58 15:02:02 122.91 47.08 75.83 0.00 8086.45 33612.32 0.00 15:10:58 15:03:01 3.74 0.07 3.67 0.00 2.17 117.66 0.00 15:10:58 15:04:01 0.43 0.00 0.43 0.00 0.00 6.24 0.00 15:10:58 15:05:01 0.18 0.00 0.18 0.00 0.00 2.28 0.00 15:10:58 15:06:01 0.60 0.00 0.60 0.00 0.00 6.73 0.00 15:10:58 15:07:01 0.72 0.00 0.72 0.00 0.00 9.64 0.00 15:10:58 15:08:01 0.17 0.00 0.17 0.00 0.00 1.47 0.00 15:10:58 15:09:01 0.15 0.00 0.15 0.00 0.00 2.15 0.00 15:10:58 15:10:01 0.18 0.00 0.18 0.00 0.00 2.03 0.00 15:10:58 Average: 14.22 5.19 9.02 0.00 890.73 3717.73 0.00 15:10:58 15:10:58 15:01:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:10:58 15:02:02 155880 0 623008 33.11 2620 1100036 1113388 38.00 440188 1086584 140 15:10:58 15:03:01 162028 0 616744 32.78 2620 1100152 1085988 37.06 439608 1081892 20 15:10:58 15:04:01 160304 0 618464 32.87 2620 1100156 1078984 36.82 438116 1085548 12 15:10:58 15:05:01 160104 0 618660 32.88 2620 1100160 1079008 36.82 451896 1071868 16 15:10:58 15:06:01 161304 0 617456 32.82 2620 1100164 1078792 36.82 448192 1074484 8 15:10:58 15:07:01 158984 0 619768 32.94 2620 1100172 1079008 36.82 461200 1063632 8 15:10:58 15:08:01 160108 0 618644 32.88 2620 1100172 1078792 36.82 459916 1063632 8 15:10:58 15:09:01 159216 0 619528 32.93 2620 1100180 1078984 36.82 461200 1063632 8 15:10:58 15:10:01 159280 0 619460 32.92 2620 1100184 1079036 36.83 460960 1063632 8 15:10:58 Average: 159690 0 619081 32.90 2620 1100153 1083553 36.98 451253 1072767 25 15:10:58 15:10:58 15:01:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:10:58 15:02:02 eth0 395.43 281.73 1062.84 92.03 0.00 0.00 0.00 0.00 15:10:58 15:02:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:02:02 docker0 2.16 1.74 0.41 3.94 0.00 0.00 0.00 0.00 15:10:58 15:03:01 eth0 1.80 0.69 2.30 0.06 0.00 0.00 0.00 0.00 15:10:58 15:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:04:01 eth0 1.90 0.30 0.40 0.17 0.00 0.00 0.00 0.00 15:10:58 15:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:05:01 eth0 0.95 0.65 0.53 0.40 0.00 0.00 0.00 0.00 15:10:58 15:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:06:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 15:10:58 15:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:07:01 eth0 1.37 0.55 0.61 0.24 0.00 0.00 0.00 0.00 15:10:58 15:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:08:01 eth0 0.12 0.08 0.01 0.04 0.00 0.00 0.00 0.00 15:10:58 15:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:09:01 eth0 1.67 0.30 0.38 0.20 0.00 0.00 0.00 0.00 15:10:58 15:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:10:01 eth0 0.83 0.47 0.34 0.21 0.00 0.00 0.00 0.00 15:10:58 15:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 15:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 Average: eth0 44.51 31.37 117.55 10.28 0.00 0.00 0.00 0.00 15:10:58 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:10:58 Average: docker0 0.24 0.19 0.04 0.43 0.00 0.00 0.00 0.00 15:10:58 15:10:58 15:10:58 ---> sar -P ALL: 15:10:58 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/30/20 _x86_64_ (4 CPU) 15:10:58 15:10:58 15:00:38 LINUX RESTART (4 CPU) 15:10:58 15:10:58 15:01:01 CPU %user %nice %system %iowait %steal %idle 15:10:58 15:02:02 all 12.52 0.00 6.55 4.44 0.07 76.43 15:10:58 15:02:02 0 13.73 0.00 6.36 4.32 0.09 75.50 15:10:58 15:02:02 1 13.39 0.00 5.77 5.52 0.09 75.24 15:10:58 15:02:02 2 11.89 0.00 5.92 4.29 0.07 77.83 15:10:58 15:02:02 3 11.06 0.00 8.14 3.62 0.05 77.13 15:10:58 15:03:01 all 0.19 0.00 0.05 0.00 0.00 99.77 15:10:58 15:03:01 0 0.54 0.00 0.03 0.00 0.00 99.42 15:10:58 15:03:01 1 0.07 0.00 0.05 0.00 0.00 99.88 15:10:58 15:03:01 2 0.05 0.00 0.05 0.00 0.00 99.90 15:10:58 15:03:01 3 0.08 0.00 0.05 0.00 0.00 99.86 15:10:58 15:04:01 all 0.23 0.00 0.22 0.00 0.01 99.54 15:10:58 15:04:01 0 0.58 0.00 0.32 0.00 0.02 99.09 15:10:58 15:04:01 1 0.13 0.00 0.17 0.00 0.00 99.70 15:10:58 15:04:01 2 0.10 0.00 0.17 0.00 0.02 99.72 15:10:58 15:04:01 3 0.10 0.00 0.23 0.00 0.02 99.65 15:10:58 15:05:01 all 0.17 0.00 0.05 0.00 0.00 99.79 15:10:58 15:05:01 0 0.50 0.00 0.05 0.00 0.00 99.45 15:10:58 15:05:01 1 0.05 0.00 0.05 0.00 0.00 99.90 15:10:58 15:05:01 2 0.05 0.00 0.07 0.00 0.00 99.88 15:10:58 15:05:01 3 0.07 0.00 0.02 0.00 0.00 99.92 15:10:58 15:06:01 all 0.11 0.00 0.03 0.00 0.00 99.86 15:10:58 15:06:01 0 0.32 0.00 0.03 0.00 0.00 99.65 15:10:58 15:06:01 1 0.03 0.00 0.02 0.00 0.00 99.95 15:10:58 15:06:01 2 0.05 0.00 0.05 0.00 0.02 99.88 15:10:58 15:06:01 3 0.03 0.00 0.02 0.00 0.00 99.95 15:10:58 15:07:01 all 0.15 0.00 0.05 0.00 0.00 99.79 15:10:58 15:07:01 0 0.52 0.00 0.05 0.00 0.00 99.43 15:10:58 15:07:01 1 0.05 0.00 0.03 0.00 0.02 99.90 15:10:58 15:07:01 2 0.02 0.00 0.08 0.00 0.00 99.90 15:10:58 15:07:01 3 0.03 0.00 0.03 0.00 0.00 99.93 15:10:58 15:08:01 all 0.17 0.00 0.02 0.00 0.00 99.81 15:10:58 15:08:01 0 0.52 0.00 0.02 0.00 0.02 99.45 15:10:58 15:08:01 1 0.08 0.00 0.05 0.00 0.00 99.87 15:10:58 15:08:01 2 0.03 0.00 0.02 0.00 0.00 99.95 15:10:58 15:08:01 3 0.03 0.00 0.00 0.00 0.00 99.97 15:10:58 15:09:01 all 0.17 0.00 0.04 0.00 0.00 99.79 15:10:58 15:09:01 0 0.53 0.00 0.03 0.00 0.00 99.43 15:10:58 15:09:01 1 0.07 0.00 0.03 0.00 0.00 99.90 15:10:58 15:09:01 2 0.07 0.00 0.05 0.00 0.00 99.88 15:10:58 15:09:01 3 0.02 0.00 0.03 0.00 0.00 99.95 15:10:58 15:10:01 all 0.16 0.00 0.04 0.00 0.00 99.80 15:10:58 15:10:01 0 0.50 0.00 0.05 0.00 0.00 99.45 15:10:58 15:10:01 1 0.07 0.00 0.03 0.00 0.00 99.90 15:10:58 15:10:01 2 0.03 0.00 0.03 0.00 0.00 99.93 15:10:58 15:10:01 3 0.03 0.00 0.03 0.00 0.00 99.93 15:10:58 Average: all 1.51 0.00 0.76 0.48 0.01 97.24 15:10:58 Average: 0 1.93 0.00 0.75 0.47 0.01 96.84 15:10:58 Average: 1 1.51 0.00 0.67 0.60 0.01 97.20 15:10:58 Average: 2 1.34 0.00 0.70 0.47 0.01 97.49 15:10:58 Average: 3 1.24 0.00 0.93 0.39 0.01 97.43 15:10:58 15:10:58 15:10:58