Pull request #191 updated 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 weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 03c230da0c2e2b5b1f471164a42407c1917286ca+95d835c9ad69cefa5d9aad86a817c44949ea3288 (1238e262cc6aa4ec4883c418f5a47bdae814aba5) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-14125’ is offline Running on prd-centos7-docker-4c-2g-14128 in /w/workspace/xfoundry_device-modbus-go_PR-191 [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-191 # 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 Merging remotes/origin/master commit 95d835c9ad69cefa5d9aad86a817c44949ea3288 into PR head commit 03c230da0c2e2b5b1f471164a42407c1917286ca Merge succeeded, producing 03c230da0c2e2b5b1f471164a42407c1917286ca Checking out Revision 03c230da0c2e2b5b1f471164a42407c1917286ca (PR-191) > 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/191/head:refs/remotes/origin/PR-191 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03c230da0c2e2b5b1f471164a42407c1917286ca # 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 95d835c9ad69cefa5d9aad86a817c44949ea3288 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03c230da0c2e2b5b1f471164a42407c1917286ca # timeout=10 Commit message: "feat: Enhance Modbus simulator to count reading amount" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-02T04:11:34.553Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-02T04:11:34.808Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-02T04:11:34.907Z] ========================================================= [2020-12-02T04:11:34.907Z] EdgeX Global Pipelines Version Info [2020-12-02T04:11:34.907Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 [2020-12-02T04:11:36.412Z] ------------------- [2020-12-02T04:11:36.412Z] stable info: [2020-12-02T04:11:36.412Z] ------------------- [2020-12-02T04:11:36.412Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-02T04:11:36.412Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-02T04:11:36.412Z] Message: update stable to v1.0.169 [2020-12-02T04:11:37.356Z] ------------------- [2020-12-02T04:11:37.356Z] experimental info: [2020-12-02T04:11:37.356Z] ------------------- [2020-12-02T04:11:37.356Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-12-02T04:11:37.356Z] Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 [2020-12-02T04:11:37.356Z] Message: update experimental to v1.0.169 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-02T04:11:37.618Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-12-02T04:11:37.719Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-12-02T04:11:37.810Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-02T04:11:37.904Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-02T04:11:37.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-02T04:11:38.110Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-02T04:11:38.205Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-02T04:11:38.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-02T04:11:38.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-02T04:11:38.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-02T04:11:38.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-02T04:11:38.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-12-02T04:11:38.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-02T04:11:38.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-02T04:11:39.049Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-02T04:11:39.138Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-02T04:11:39.227Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-02T04:11:39.323Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-02T04:11:39.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-02T04:11:39.521Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-02T04:11:39.609Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-02T04:11:39.711Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-02T04:11:39.799Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-02T04:11:39.886Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-02T04:11:39.996Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-02T04:11:40.143Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-02T04:11:40.246Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-191 [Pipeline] echo [2020-12-02T04:11:40.340Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-191 [Pipeline] echo [2020-12-02T04:11:40.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-191 [Pipeline] echo [2020-12-02T04:11:40.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03c230da0c2e2b5b1f471164a42407c1917286ca [Pipeline] echo [2020-12-02T04:11:40.630Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03c230d [Pipeline] echo [2020-12-02T04:11:40.736Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T04:11:40.911Z] provisioning config files... [2020-12-02T04:11:40.965Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/config1058344410535537038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T04:11:41.469Z] ---> docker-login.sh [2020-12-02T04:11:41.470Z] nexus3.edgexfoundry.org:10001 [2020-12-02T04:11:41.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:11:41.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:11:41.733Z] Configure a credential helper to remove this warning. See [2020-12-02T04:11:41.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:11:41.733Z] [2020-12-02T04:11:41.733Z] Login Succeeded [2020-12-02T04:11:41.733Z] nexus3.edgexfoundry.org:10002 [2020-12-02T04:11:42.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:11:42.002Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:11:42.002Z] Configure a credential helper to remove this warning. See [2020-12-02T04:11:42.002Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:11:42.002Z] [2020-12-02T04:11:42.002Z] Login Succeeded [2020-12-02T04:11:42.002Z] nexus3.edgexfoundry.org:10003 [2020-12-02T04:11:42.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:11:42.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:11:42.265Z] Configure a credential helper to remove this warning. See [2020-12-02T04:11:42.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:11:42.265Z] [2020-12-02T04:11:42.265Z] Login Succeeded [2020-12-02T04:11:42.265Z] nexus3.edgexfoundry.org:10004 [2020-12-02T04:11:42.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:11:42.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:11:42.529Z] Configure a credential helper to remove this warning. See [2020-12-02T04:11:42.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:11:42.529Z] [2020-12-02T04:11:42.529Z] Login Succeeded [2020-12-02T04:11:42.529Z] docker.io [2020-12-02T04:11:42.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:11:42.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:11:42.795Z] Configure a credential helper to remove this warning. See [2020-12-02T04:11:42.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:11:42.795Z] [2020-12-02T04:11:42.795Z] Login Succeeded [2020-12-02T04:11:42.795Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T04:11:42.807Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T04:11:43.747Z] + git log --format=format:%s -1 03c230da0c2e2b5b1f471164a42407c1917286ca [Pipeline] echo [2020-12-02T04:11:43.820Z] GIT_COMMIT: 03c230da0c2e2b5b1f471164a42407c1917286ca, Commit Message: feat: Enhance Modbus simulator to count reading amount [Pipeline] echo [2020-12-02T04:11:43.877Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:11:44.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T04:11:44.579Z] [2020-12-02T04:11:44.579Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:11:44.952Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T04:11:44.952Z] latest: Pulling from edgex-devops/git-semver [2020-12-02T04:11:44.952Z] 31603596830f: Pulling fs layer [2020-12-02T04:11:44.952Z] 2a8b12db71e7: Pulling fs layer [2020-12-02T04:11:44.952Z] 6ca5941a6612: Pulling fs layer [2020-12-02T04:11:44.952Z] ecc8261a40a4: Pulling fs layer [2020-12-02T04:11:44.952Z] ecc8261a40a4: Waiting [2020-12-02T04:11:44.952Z] 2a8b12db71e7: Verifying Checksum [2020-12-02T04:11:44.952Z] 2a8b12db71e7: Download complete [2020-12-02T04:11:45.217Z] 31603596830f: Verifying Checksum [2020-12-02T04:11:45.217Z] 31603596830f: Download complete [2020-12-02T04:11:45.217Z] 6ca5941a6612: Verifying Checksum [2020-12-02T04:11:45.217Z] 6ca5941a6612: Download complete [2020-12-02T04:11:45.217Z] ecc8261a40a4: Download complete [2020-12-02T04:11:45.486Z] 31603596830f: Pull complete [2020-12-02T04:11:45.486Z] 2a8b12db71e7: Pull complete [2020-12-02T04:11:46.441Z] 6ca5941a6612: Pull complete [2020-12-02T04:11:46.710Z] ecc8261a40a4: Pull complete [2020-12-02T04:11:46.710Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-02T04:11:46.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-02T04:11:46.710Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-02T04:11:46.843Z] prd-centos7-docker-4c-2g-14128 does not seem to be running inside a container [2020-12-02T04:11:46.904Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-191 -v /w/workspace/xfoundry_device-modbus-go_PR-191:/w/workspace/xfoundry_device-modbus-go_PR-191:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-191@tmp:/w/workspace/xfoundry_device-modbus-go_PR-191@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:10004/edgex-devops/git-semver:latest cat [2020-12-02T04:11:48.892Z] $ docker top 3fba728398303f469ab62868d0aee777db035acb26d3236351de40a712ab9d6b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-02T04:11:49.216Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T04:11:49.216Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T04:11:49.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T04:11:49.448Z] $ docker exec 3fba728398303f469ab62868d0aee777db035acb26d3236351de40a712ab9d6b ssh-agent [2020-12-02T04:11:49.620Z] SSH_AUTH_SOCK=/tmp/ssh-G54FU5bFWr2p/agent.11 [2020-12-02T04:11:49.620Z] SSH_AGENT_PID=16 [2020-12-02T04:11:49.632Z] Running ssh-add (command line suppressed) [2020-12-02T04:11:49.761Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-191@tmp/private_key_4358660086918566667.key (/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/private_key_4358660086918566667.key) [2020-12-02T04:11:49.814Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T04:11:50.167Z] + git tag --points-at HEAD [Pipeline] } [2020-12-02T04:11:50.194Z] $ docker exec --env ******** --env ******** 3fba728398303f469ab62868d0aee777db035acb26d3236351de40a712ab9d6b ssh-agent -k [2020-12-02T04:11:50.322Z] unset SSH_AUTH_SOCK; [2020-12-02T04:11:50.323Z] unset SSH_AGENT_PID; [2020-12-02T04:11:50.323Z] echo Agent pid 16 killed; [2020-12-02T04:11:50.369Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-02T04:11:50.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-02T04:11:50.545Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-02T04:11:50.718Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-02T04:11:50.725Z] $ docker exec 3fba728398303f469ab62868d0aee777db035acb26d3236351de40a712ab9d6b ssh-agent [2020-12-02T04:11:50.902Z] SSH_AUTH_SOCK=/tmp/ssh-Fo15JgSyYE1d/agent.46 [2020-12-02T04:11:50.902Z] SSH_AGENT_PID=52 [2020-12-02T04:11:50.909Z] Running ssh-add (command line suppressed) [2020-12-02T04:11:51.040Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-191@tmp/private_key_741551751975489022.key (/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/private_key_741551751975489022.key) [2020-12-02T04:11:51.093Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-02T04:11:51.456Z] + git semver init [2020-12-02T04:11:51.457Z] # -> Open(): unable to determine branch for HEAD [2020-12-02T04:11:51.457Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-191/.git [2020-12-02T04:11:51.457Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-191 [2020-12-02T04:11:51.457Z] # $SEMVER_REMOTE_NAME = origin [2020-12-02T04:11:51.457Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-02T04:11:51.457Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-02T04:11:51.457Z] # $SEMVER_BRANCH = PR-191 [2020-12-02T04:11:51.457Z] # $SEMVER_TEMP = /tmp/semver-171636121 [2020-12-02T04:11:51.457Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-12-02T04:11:51.734Z] # '/tmp/semver-171636121' -> '/w/workspace/xfoundry_device-modbus-go_PR-191/.semver' [2020-12-02T04:11:51.734Z] # -> Force: false [2020-12-02T04:11:51.742Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-191/.semver [Pipeline] } [2020-12-02T04:11:51.750Z] $ docker exec --env ******** --env ******** 3fba728398303f469ab62868d0aee777db035acb26d3236351de40a712ab9d6b ssh-agent -k [2020-12-02T04:11:51.874Z] unset SSH_AUTH_SOCK; [2020-12-02T04:11:51.875Z] unset SSH_AGENT_PID; [2020-12-02T04:11:51.875Z] echo Agent pid 52 killed; [2020-12-02T04:11:51.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-02T04:11:52.420Z] + git semver [Pipeline] } [2020-12-02T04:11:52.442Z] $ docker stop --time=1 3fba728398303f469ab62868d0aee777db035acb26d3236351de40a712ab9d6b [2020-12-02T04:11:53.797Z] $ docker rm -f 3fba728398303f469ab62868d0aee777db035acb26d3236351de40a712ab9d6b [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-02T04:11:54.285Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-02T04:11:54.799Z] Stashed 1 file(s) [Pipeline] echo [2020-12-02T04:11:54.802Z] [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 [2020-12-02T04:11:55.876Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-14124 in /w/workspace/xfoundry_device-modbus-go_PR-191 [Pipeline] { [Pipeline] ws [2020-12-02T04:11:55.930Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2020-12-02T04:12:00.800Z] using credential edgex-jenkins-ssh [2020-12-02T04:12:00.863Z] Cloning the remote Git repository [2020-12-02T04:12:00.919Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T04:12:01.022Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2020-12-02T04:12:01.107Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T04:12:01.108Z] > git --version # timeout=10 [2020-12-02T04:12:01.133Z] > git --version # 'git version 2.17.1' [2020-12-02T04:12:01.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T04:12:01.220Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T04:12:02.059Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-02T04:12:02.084Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T04:12:02.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-02T04:12:03.402Z] Merging remotes/origin/master commit 95d835c9ad69cefa5d9aad86a817c44949ea3288 into PR head commit 03c230da0c2e2b5b1f471164a42407c1917286ca [2020-12-02T04:12:02.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T04:12:02.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T04:12:02.283Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/191/head:refs/remotes/origin/PR-191 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-02T04:12:03.423Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T04:12:03.608Z] Merge succeeded, producing 03c230da0c2e2b5b1f471164a42407c1917286ca [2020-12-02T04:12:03.608Z] Checking out Revision 03c230da0c2e2b5b1f471164a42407c1917286ca (PR-191) [2020-12-02T04:12:03.443Z] > git checkout -f 03c230da0c2e2b5b1f471164a42407c1917286ca # timeout=10 [2020-12-02T04:12:03.523Z] > git remote # timeout=10 [2020-12-02T04:12:03.547Z] > git config --get remote.origin.url # timeout=10 [2020-12-02T04:12:03.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T04:12:03.571Z] > git merge 95d835c9ad69cefa5d9aad86a817c44949ea3288 # timeout=10 [2020-12-02T04:12:03.598Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-02T04:12:03.620Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T04:12:03.632Z] > git checkout -f 03c230da0c2e2b5b1f471164a42407c1917286ca # timeout=10 [2020-12-02T04:12:07.812Z] Commit message: "feat: Enhance Modbus simulator to count reading amount" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T04:12:09.503Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-02T04:12:09.929Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-02T04:12:10.280Z] + true [2020-12-02T04:12:10.280Z] + sudo service docker restart [2020-12-02T04:12:10.592Z] Still waiting to schedule task [2020-12-02T04:12:10.593Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T04:12:12.333Z] provisioning config files... [2020-12-02T04:12:12.371Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config3006416666794643120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T04:12:12.784Z] ---> docker-login.sh [2020-12-02T04:12:12.784Z] nexus3.edgexfoundry.org:10001 [2020-12-02T04:12:13.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:12:13.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:12:13.986Z] Configure a credential helper to remove this warning. See [2020-12-02T04:12:13.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:12:13.986Z] [2020-12-02T04:12:13.986Z] Login Succeeded [2020-12-02T04:12:13.986Z] nexus3.edgexfoundry.org:10002 [2020-12-02T04:12:14.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:12:14.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:12:14.535Z] Configure a credential helper to remove this warning. See [2020-12-02T04:12:14.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:12:14.535Z] [2020-12-02T04:12:14.535Z] Login Succeeded [2020-12-02T04:12:14.535Z] nexus3.edgexfoundry.org:10003 [2020-12-02T04:12:14.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:12:15.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:12:15.087Z] Configure a credential helper to remove this warning. See [2020-12-02T04:12:15.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:12:15.087Z] [2020-12-02T04:12:15.087Z] Login Succeeded [2020-12-02T04:12:15.087Z] nexus3.edgexfoundry.org:10004 [2020-12-02T04:12:15.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:12:15.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:12:15.636Z] Configure a credential helper to remove this warning. See [2020-12-02T04:12:15.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:12:15.636Z] [2020-12-02T04:12:15.636Z] Login Succeeded [2020-12-02T04:12:15.636Z] docker.io [2020-12-02T04:12:15.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:12:16.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:12:16.182Z] Configure a credential helper to remove this warning. See [2020-12-02T04:12:16.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:12:16.182Z] [2020-12-02T04:12:16.182Z] Login Succeeded [2020-12-02T04:12:16.182Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T04:12:16.199Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-02T04:12:16.640Z] ========================================================= [2020-12-02T04:12:16.640Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-02T04:12:16.640Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:12:17.024Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-02T04:12:17.308Z] Sending build context to Docker daemon 518.7kB [2020-12-02T04:12:17.308Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-02T04:12:17.308Z] Step 2/8 : FROM ${BASE} [2020-12-02T04:12:17.587Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-02T04:12:17.587Z] 5f621e34cdf4: Pulling fs layer [2020-12-02T04:12:17.587Z] a4357932f1b6: Pulling fs layer [2020-12-02T04:12:17.587Z] 18c013af1878: Pulling fs layer [2020-12-02T04:12:17.587Z] 00ac8860ef70: Pulling fs layer [2020-12-02T04:12:17.587Z] 63d7cb157983: Pulling fs layer [2020-12-02T04:12:17.587Z] b116817d02f9: Pulling fs layer [2020-12-02T04:12:17.587Z] 745a02a5169b: Pulling fs layer [2020-12-02T04:12:17.587Z] b116817d02f9: Waiting [2020-12-02T04:12:17.587Z] 745a02a5169b: Waiting [2020-12-02T04:12:17.587Z] 00ac8860ef70: Waiting [2020-12-02T04:12:17.587Z] 18c013af1878: Download complete [2020-12-02T04:12:17.587Z] a4357932f1b6: Verifying Checksum [2020-12-02T04:12:17.587Z] a4357932f1b6: Download complete [2020-12-02T04:12:17.587Z] 63d7cb157983: Verifying Checksum [2020-12-02T04:12:17.587Z] 63d7cb157983: Download complete [2020-12-02T04:12:17.587Z] b116817d02f9: Verifying Checksum [2020-12-02T04:12:17.587Z] b116817d02f9: Download complete [2020-12-02T04:12:17.587Z] 5f621e34cdf4: Download complete [2020-12-02T04:12:18.198Z] 5f621e34cdf4: Pull complete [2020-12-02T04:12:18.802Z] a4357932f1b6: Pull complete [2020-12-02T04:12:19.080Z] 18c013af1878: Pull complete [2020-12-02T04:12:20.525Z] 745a02a5169b: Verifying Checksum [2020-12-02T04:12:20.525Z] 745a02a5169b: Download complete [2020-12-02T04:12:21.509Z] 00ac8860ef70: Verifying Checksum [2020-12-02T04:12:21.509Z] 00ac8860ef70: Download complete [2020-12-02T04:12:31.692Z] 00ac8860ef70: Pull complete [2020-12-02T04:12:31.968Z] 63d7cb157983: Pull complete [2020-12-02T04:12:32.245Z] b116817d02f9: Pull complete [2020-12-02T04:12:36.575Z] 745a02a5169b: Pull complete [2020-12-02T04:12:36.575Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-02T04:12:36.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-02T04:12:36.575Z] ---> b7e6874047d6 [2020-12-02T04:12:36.575Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-02T04:12:39.191Z] ---> Running in 51e58a24abf0 [2020-12-02T04:12:39.466Z] Removing intermediate container 51e58a24abf0 [2020-12-02T04:12:39.466Z] ---> bcb24a8787c4 [2020-12-02T04:12:39.466Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T04:12:39.466Z] ---> Running in df4570caa65a [2020-12-02T04:12:42.084Z] Removing intermediate container df4570caa65a [2020-12-02T04:12:42.084Z] ---> 6f8f06aab3ee [2020-12-02T04:12:42.084Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-02T04:12:42.084Z] ---> Running in f35ced3d58be [2020-12-02T04:12:43.067Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-02T04:12:44.036Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-02T04:12:44.628Z] (1/14) Installing libmagic (5.38-r0) [2020-12-02T04:12:44.897Z] (2/14) Installing file (5.38-r0) [2020-12-02T04:12:44.897Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-02T04:12:44.897Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-02T04:12:50.284Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-02T04:12:50.284Z] (6/14) Installing patch (2.7.6-r6) [2020-12-02T04:12:50.284Z] (7/14) Installing build-base (0.5-r2) [2020-12-02T04:12:50.555Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-02T04:12:50.555Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-02T04:12:50.555Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-02T04:12:51.147Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-02T04:12:51.147Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-02T04:12:51.417Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-02T04:12:51.417Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-02T04:12:51.689Z] Executing busybox-1.31.1-r19.trigger [2020-12-02T04:12:51.689Z] OK: 221 MiB in 53 packages [2020-12-02T04:12:55.998Z] Removing intermediate container f35ced3d58be [2020-12-02T04:12:55.998Z] ---> 5e1fbdde1ce2 [2020-12-02T04:12:55.998Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-02T04:12:55.998Z] ---> Running in 6de284f80cef [2020-12-02T04:12:56.272Z] Removing intermediate container 6de284f80cef [2020-12-02T04:12:56.272Z] ---> 53b8a3acad95 [2020-12-02T04:12:56.272Z] Step 7/8 : COPY . . [2020-12-02T04:12:57.253Z] ---> 974caea84ad2 [2020-12-02T04:12:57.253Z] Step 8/8 : RUN go mod download [2020-12-02T04:12:57.253Z] ---> Running in 65a6ea4c0795 [2020-12-02T04:13:19.423Z] Removing intermediate container 65a6ea4c0795 [2020-12-02T04:13:19.423Z] ---> e4287f208ec3 [2020-12-02T04:13:19.423Z] Successfully built e4287f208ec3 [2020-12-02T04:13:19.423Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:13:19.768Z] + docker inspect -f . ci-base-image-arm64 [2020-12-02T04:13:19.768Z] . [Pipeline] withDockerContainer [2020-12-02T04:13:20.033Z] prd-ubuntu18.04-docker-arm64-4c-16g-14124 does not seem to be running inside a container [2020-12-02T04:13:20.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-02T04:13:21.618Z] $ docker top 2bf22cbe13eedf234c5ba180230de369ed75575d22100ec47e139d95d60d85c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T04:13:22.662Z] + go version [2020-12-02T04:13:22.662Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-02T04:13:22.689Z] $ docker stop --time=1 2bf22cbe13eedf234c5ba180230de369ed75575d22100ec47e139d95d60d85c1 [2020-12-02T04:13:24.626Z] $ docker rm -f 2bf22cbe13eedf234c5ba180230de369ed75575d22100ec47e139d95d60d85c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:13:25.665Z] + docker inspect -f . ci-base-image-arm64 [2020-12-02T04:13:25.666Z] . [Pipeline] withDockerContainer [2020-12-02T04:13:25.924Z] prd-ubuntu18.04-docker-arm64-4c-16g-14124 does not seem to be running inside a container [2020-12-02T04:13:26.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-12-02T04:13:27.593Z] $ docker top 7c0845f7cf25be6bdcca69bf999908ff5c86803c30fc2ec2624d0134e795b77b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T04:13:28.633Z] + make test [2020-12-02T04:13:28.633Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-02T04:13:29.615Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-02T04:13:57.943Z] Running on prd-centos7-docker-4c-2g-14129 in /w/workspace/xfoundry_device-modbus-go_PR-191 [Pipeline] { [Pipeline] ws [2020-12-02T04:13:58.002Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2020-12-02T04:14:00.355Z] using credential edgex-jenkins-ssh [2020-12-02T04:14:00.414Z] Cloning the remote Git repository [2020-12-02T04:14:00.342Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T04:14:00.416Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2020-12-02T04:14:00.482Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T04:14:00.482Z] > git --version # timeout=10 [2020-12-02T04:14:00.489Z] > git --version # 'git version 2.24.3' [2020-12-02T04:14:00.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T04:14:00.516Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T04:14:01.088Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-02T04:14:01.094Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T04:14:01.114Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-02T04:14:01.127Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T04:14:01.127Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T04:14:01.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/191/head:refs/remotes/origin/PR-191 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-02T04:14:01.736Z] Merging remotes/origin/master commit 95d835c9ad69cefa5d9aad86a817c44949ea3288 into PR head commit 03c230da0c2e2b5b1f471164a42407c1917286ca [2020-12-02T04:14:01.823Z] Merge succeeded, producing 03c230da0c2e2b5b1f471164a42407c1917286ca [2020-12-02T04:14:01.824Z] Checking out Revision 03c230da0c2e2b5b1f471164a42407c1917286ca (PR-191) [2020-12-02T04:14:01.746Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T04:14:01.752Z] > git checkout -f 03c230da0c2e2b5b1f471164a42407c1917286ca # timeout=10 [2020-12-02T04:14:01.787Z] > git remote # timeout=10 [2020-12-02T04:14:01.795Z] > git config --get remote.origin.url # timeout=10 [2020-12-02T04:14:01.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T04:14:01.807Z] > git merge 95d835c9ad69cefa5d9aad86a817c44949ea3288 # timeout=10 [2020-12-02T04:14:01.817Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-02T04:14:01.829Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T04:14:01.835Z] > git checkout -f 03c230da0c2e2b5b1f471164a42407c1917286ca # timeout=10 [2020-12-02T04:14:05.522Z] Commit message: "feat: Enhance Modbus simulator to count reading amount" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T04:14:06.844Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-12-02T04:14:07.183Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-02T04:14:07.479Z] + sudo service docker restart [2020-12-02T04:14:07.479Z] + true [2020-12-02T04:14:07.479Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-02T04:14:08.496Z] provisioning config files... [2020-12-02T04:14:08.524Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/3@tmp/config5419288505042674683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-02T04:14:08.670Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-02T04:14:08.670Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.469s coverage: 50.3% of statements [2020-12-02T04:14:08.670Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-02T04:14:08.914Z] ---> docker-login.sh [2020-12-02T04:14:08.914Z] nexus3.edgexfoundry.org:10001 [2020-12-02T04:14:09.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:14:09.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:14:09.178Z] Configure a credential helper to remove this warning. See [2020-12-02T04:14:09.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:14:09.178Z] [2020-12-02T04:14:09.178Z] Login Succeeded [2020-12-02T04:14:09.178Z] nexus3.edgexfoundry.org:10002 [2020-12-02T04:14:09.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:14:09.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:14:09.441Z] Configure a credential helper to remove this warning. See [2020-12-02T04:14:09.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:14:09.441Z] [2020-12-02T04:14:09.441Z] Login Succeeded [2020-12-02T04:14:09.441Z] nexus3.edgexfoundry.org:10003 [2020-12-02T04:14:09.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:14:09.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:14:09.702Z] Configure a credential helper to remove this warning. See [2020-12-02T04:14:09.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:14:09.702Z] [2020-12-02T04:14:09.702Z] Login Succeeded [2020-12-02T04:14:09.702Z] nexus3.edgexfoundry.org:10004 [2020-12-02T04:14:09.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:14:09.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:14:09.702Z] Configure a credential helper to remove this warning. See [2020-12-02T04:14:09.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:14:09.703Z] [2020-12-02T04:14:09.703Z] Login Succeeded [2020-12-02T04:14:09.703Z] docker.io [2020-12-02T04:14:09.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-02T04:14:10.109Z] gofmt -l . [2020-12-02T04:14:10.110Z] [ "`gofmt -l .`" = "" ] [2020-12-02T04:14:10.110Z] ./bin/test-attribution-txt.sh [2020-12-02T04:14:10.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-02T04:14:10.228Z] Configure a credential helper to remove this warning. See [2020-12-02T04:14:10.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-02T04:14:10.228Z] [2020-12-02T04:14:10.228Z] Login Succeeded [2020-12-02T04:14:10.228Z] ---> docker-login.sh ends [Pipeline] } [2020-12-02T04:14:10.237Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-02T04:14:10.606Z] ========================================================= [2020-12-02T04:14:10.606Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-02T04:14:10.606Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:14:10.951Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-02T04:14:10.951Z] Sending build context to Docker daemon 519.7kB [2020-12-02T04:14:10.951Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-02T04:14:10.951Z] Step 2/8 : FROM ${BASE} [2020-12-02T04:14:11.168Z] ./bin/test-go-mod-tidy.sh [2020-12-02T04:14:11.217Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-02T04:14:11.217Z] 188c0c94c7c5: Pulling fs layer [2020-12-02T04:14:11.217Z] 0ef7d3d256c8: Pulling fs layer [2020-12-02T04:14:11.217Z] de9db76c5a1d: Pulling fs layer [2020-12-02T04:14:11.217Z] bca2f99d35d6: Pulling fs layer [2020-12-02T04:14:11.217Z] 93359f2a8cfa: Pulling fs layer [2020-12-02T04:14:11.217Z] 7c6f9722023f: Pulling fs layer [2020-12-02T04:14:11.217Z] a35cf1a2eb13: Pulling fs layer [2020-12-02T04:14:11.217Z] 93359f2a8cfa: Waiting [2020-12-02T04:14:11.217Z] 7c6f9722023f: Waiting [2020-12-02T04:14:11.217Z] a35cf1a2eb13: Waiting [2020-12-02T04:14:11.217Z] bca2f99d35d6: Waiting [2020-12-02T04:14:11.217Z] de9db76c5a1d: Verifying Checksum [2020-12-02T04:14:11.217Z] de9db76c5a1d: Download complete [2020-12-02T04:14:11.217Z] 0ef7d3d256c8: Verifying Checksum [2020-12-02T04:14:11.217Z] 0ef7d3d256c8: Download complete [2020-12-02T04:14:11.217Z] 93359f2a8cfa: Verifying Checksum [2020-12-02T04:14:11.217Z] 93359f2a8cfa: Download complete [2020-12-02T04:14:11.217Z] 188c0c94c7c5: Verifying Checksum [2020-12-02T04:14:11.217Z] 7c6f9722023f: Verifying Checksum [2020-12-02T04:14:11.217Z] 7c6f9722023f: Download complete [Pipeline] } [2020-12-02T04:14:11.480Z] $ docker stop --time=1 7c0845f7cf25be6bdcca69bf999908ff5c86803c30fc2ec2624d0134e795b77b [2020-12-02T04:14:11.492Z] 188c0c94c7c5: Pull complete [2020-12-02T04:14:11.492Z] 0ef7d3d256c8: Pull complete [2020-12-02T04:14:11.755Z] de9db76c5a1d: Pull complete [2020-12-02T04:14:13.144Z] a35cf1a2eb13: Verifying Checksum [2020-12-02T04:14:13.144Z] a35cf1a2eb13: Download complete [2020-12-02T04:14:13.830Z] $ docker rm -f 7c0845f7cf25be6bdcca69bf999908ff5c86803c30fc2ec2624d0134e795b77b [2020-12-02T04:14:14.095Z] bca2f99d35d6: Download complete [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-02T04:14:14.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-02T04:14:15.507Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-02T04:14:18.137Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-02T04:14:18.467Z] + ls -al . [2020-12-02T04:14:18.467Z] total 136 [2020-12-02T04:14:18.467Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 2 04:14 . [2020-12-02T04:14:18.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 04:12 .. [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 04:12 .dockerignore [2020-12-02T04:14:18.467Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 04:12 .git [2020-12-02T04:14:18.467Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 04:12 .github [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 338 Dec 2 04:12 .gitignore [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 5589 Dec 2 04:12 Attribution.txt [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 1430 Dec 2 04:12 Dockerfile [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 954 Dec 2 04:12 Dockerfile.build [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 679 Dec 2 04:12 Jenkinsfile [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 04:12 LICENSE [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 880 Dec 2 04:12 Makefile [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 591 Dec 2 04:12 README.md [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 2 04:11 VERSION [2020-12-02T04:14:18.467Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 04:12 bin [2020-12-02T04:14:18.467Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 04:12 cmd [2020-12-02T04:14:18.467Z] -rw-r--r-- 1 jenkins jenkins 22364 Dec 2 04:14 coverage.out [2020-12-02T04:14:18.467Z] -rw-r--r-- 1 jenkins jenkins 523 Dec 2 04:14 go.mod [2020-12-02T04:14:18.467Z] -rw-r--r-- 1 jenkins jenkins 14850 Dec 2 04:14 go.sum [2020-12-02T04:14:18.467Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 04:12 internal [2020-12-02T04:14:18.467Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 04:12 simulator [2020-12-02T04:14:18.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 04:12 snap [2020-12-02T04:14:18.467Z] -rw-rw-r-- 1 jenkins jenkins 229 Dec 2 04:12 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:14:18.805Z] + 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=03c230da0c2e2b5b1f471164a42407c1917286ca --label arch=arm64 --label version=0.0.0 . [2020-12-02T04:14:19.079Z] Sending build context to Docker daemon 549.9kB [2020-12-02T04:14:19.079Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-12-02T04:14:19.079Z] Step 2/20 : FROM ${BASE} AS builder [2020-12-02T04:14:19.079Z] ---> e4287f208ec3 [2020-12-02T04:14:19.079Z] Step 3/20 : ARG MAKE='make build' [2020-12-02T04:14:19.356Z] ---> Running in e94760ee3325 [2020-12-02T04:14:19.436Z] bca2f99d35d6: Pull complete [2020-12-02T04:14:19.436Z] 93359f2a8cfa: Pull complete [2020-12-02T04:14:19.436Z] 7c6f9722023f: Pull complete [2020-12-02T04:14:19.951Z] Removing intermediate container e94760ee3325 [2020-12-02T04:14:19.951Z] ---> 419a65072861 [2020-12-02T04:14:19.951Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T04:14:19.951Z] ---> Running in f0e8cb632804 [2020-12-02T04:14:21.920Z] Removing intermediate container f0e8cb632804 [2020-12-02T04:14:21.920Z] ---> 27ddac70497e [2020-12-02T04:14:21.920Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-12-02T04:14:22.194Z] ---> Running in c9768dc39930 [2020-12-02T04:14:23.175Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-02T04:14:23.660Z] a35cf1a2eb13: Pull complete [2020-12-02T04:14:23.660Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-02T04:14:23.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-02T04:14:23.660Z] ---> a62c8e92a672 [2020-12-02T04:14:23.660Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-02T04:14:23.660Z] ---> Running in ef8b5b58e1a6 [2020-12-02T04:14:23.925Z] Removing intermediate container ef8b5b58e1a6 [2020-12-02T04:14:23.925Z] ---> b66b50556c4e [2020-12-02T04:14:23.925Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T04:14:23.925Z] ---> Running in 6a629218bce4 [2020-12-02T04:14:24.148Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-02T04:14:24.745Z] OK: 221 MiB in 53 packages [2020-12-02T04:14:24.874Z] Removing intermediate container 6a629218bce4 [2020-12-02T04:14:24.875Z] ---> aad6ef9dab65 [2020-12-02T04:14:24.875Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-02T04:14:24.875Z] ---> Running in d65d7c7f1e8b [2020-12-02T04:14:25.723Z] Removing intermediate container c9768dc39930 [2020-12-02T04:14:25.723Z] ---> 8d6a39548719 [2020-12-02T04:14:25.723Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-12-02T04:14:25.822Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-02T04:14:25.995Z] ---> Running in eb97e8ac848d [2020-12-02T04:14:26.396Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-02T04:14:26.595Z] Removing intermediate container eb97e8ac848d [2020-12-02T04:14:26.595Z] ---> ecc07bbb7470 [2020-12-02T04:14:26.595Z] Step 7/20 : COPY . . [2020-12-02T04:14:26.970Z] (1/14) Installing libmagic (5.38-r0) [2020-12-02T04:14:26.971Z] (2/14) Installing file (5.38-r0) [2020-12-02T04:14:27.189Z] ---> ff72f9a3f899 [2020-12-02T04:14:27.189Z] Step 8/20 : RUN ${MAKE} [2020-12-02T04:14:27.232Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-02T04:14:27.232Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-02T04:14:27.465Z] ---> Running in 1a00e849ed26 [2020-12-02T04:14:28.449Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-12-02T04:14:39.486Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-02T04:14:39.486Z] (6/14) Installing patch (2.7.6-r6) [2020-12-02T04:14:39.486Z] (7/14) Installing build-base (0.5-r2) [2020-12-02T04:14:39.486Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-02T04:14:39.486Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-02T04:14:39.486Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-02T04:14:39.749Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-02T04:14:39.749Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-02T04:14:39.749Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-02T04:14:40.012Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-02T04:14:40.274Z] Executing busybox-1.31.1-r19.trigger [2020-12-02T04:14:40.274Z] OK: 237 MiB in 53 packages [2020-12-02T04:14:43.593Z] Removing intermediate container d65d7c7f1e8b [2020-12-02T04:14:43.593Z] ---> ffb8efc8e6a1 [2020-12-02T04:14:43.593Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-02T04:14:43.593Z] ---> Running in efb1f129d48d [2020-12-02T04:14:43.858Z] Removing intermediate container efb1f129d48d [2020-12-02T04:14:43.858Z] ---> 802d368bcd1f [2020-12-02T04:14:43.858Z] Step 7/8 : COPY . . [2020-12-02T04:14:44.810Z] ---> 979b5fae2828 [2020-12-02T04:14:44.810Z] Step 8/8 : RUN go mod download [2020-12-02T04:14:44.810Z] ---> Running in 9b7eb6569159 [2020-12-02T04:14:55.244Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-02T04:14:59.545Z] Removing intermediate container 1a00e849ed26 [2020-12-02T04:14:59.545Z] ---> d51c0b7932cd [2020-12-02T04:14:59.545Z] Step 9/20 : FROM scratch [2020-12-02T04:14:59.545Z] ---> [2020-12-02T04:14:59.545Z] Step 10/20 : ENV APP_PORT=49991 [2020-12-02T04:14:59.545Z] ---> Running in 5ecd9170a0ac [2020-12-02T04:14:59.545Z] Removing intermediate container 5ecd9170a0ac [2020-12-02T04:14:59.545Z] ---> b924b64ae5fa [2020-12-02T04:14:59.545Z] Step 11/20 : EXPOSE $APP_PORT [2020-12-02T04:14:59.545Z] ---> Running in 8a77ae778e06 [2020-12-02T04:15:00.156Z] Removing intermediate container 8a77ae778e06 [2020-12-02T04:15:00.156Z] ---> feb2e028c7e1 [2020-12-02T04:15:00.156Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-12-02T04:15:01.150Z] ---> bff6f23e278b [2020-12-02T04:15:01.150Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-12-02T04:15:01.822Z] ---> e7634cd9efb0 [2020-12-02T04:15:01.822Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-12-02T04:15:02.447Z] ---> d6d4d777cc42 [2020-12-02T04:15:02.447Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-12-02T04:15:02.724Z] ---> Running in d1f61c3fbf27 [2020-12-02T04:15:02.982Z] Removing intermediate container 9b7eb6569159 [2020-12-02T04:15:02.982Z] ---> e29011b22e6b [2020-12-02T04:15:02.982Z] Successfully built e29011b22e6b [2020-12-02T04:15:02.982Z] Successfully tagged ci-base-image-x86_64:latest [2020-12-02T04:15:02.996Z] Removing intermediate container d1f61c3fbf27 [2020-12-02T04:15:02.996Z] ---> 00f009c577c9 [2020-12-02T04:15:02.996Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:15:03.278Z] ---> Running in 355cb6c606b4 [2020-12-02T04:15:03.320Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-02T04:15:03.320Z] . [Pipeline] withDockerContainer [2020-12-02T04:15:03.441Z] prd-centos7-docker-4c-2g-14129 does not seem to be running inside a container [2020-12-02T04:15:03.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-02T04:15:03.552Z] Removing intermediate container 355cb6c606b4 [2020-12-02T04:15:03.552Z] ---> 7fcb1232b6d0 [2020-12-02T04:15:03.552Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-02T04:15:03.826Z] ---> Running in 8a3ccd236cc5 [2020-12-02T04:15:04.100Z] Removing intermediate container 8a3ccd236cc5 [2020-12-02T04:15:04.100Z] ---> b0750475f99c [2020-12-02T04:15:04.100Z] Step 18/20 : LABEL arch=arm64 [2020-12-02T04:15:04.305Z] $ docker top 2f0e6d7735e765d23a94bc0f40edc8c475282714d1f0c66f9aadc4ad875c718d -eo pid,comm [2020-12-02T04:15:04.383Z] ---> Running in 07e5bd2e9e66 [Pipeline] { [Pipeline] sh [2020-12-02T04:15:04.659Z] Removing intermediate container 07e5bd2e9e66 [2020-12-02T04:15:04.659Z] ---> cf849a3d122c [2020-12-02T04:15:04.659Z] Step 19/20 : LABEL git_sha=03c230da0c2e2b5b1f471164a42407c1917286ca [2020-12-02T04:15:04.807Z] + go version [2020-12-02T04:15:04.807Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-02T04:15:04.823Z] $ docker stop --time=1 2f0e6d7735e765d23a94bc0f40edc8c475282714d1f0c66f9aadc4ad875c718d [2020-12-02T04:15:04.936Z] ---> Running in 8e4912a1e517 [2020-12-02T04:15:05.531Z] Removing intermediate container 8e4912a1e517 [2020-12-02T04:15:05.531Z] ---> 19863a9182a6 [2020-12-02T04:15:05.531Z] Step 20/20 : LABEL version=0.0.0 [2020-12-02T04:15:05.531Z] ---> Running in 7b39bbf634de [2020-12-02T04:15:06.127Z] Removing intermediate container 7b39bbf634de [2020-12-02T04:15:06.127Z] ---> d95876f64ff0 [2020-12-02T04:15:06.127Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-02T04:15:06.127Z] Successfully built d95876f64ff0 [2020-12-02T04:15:06.127Z] Successfully tagged docker-device-modbus-go-arm64:latest [2020-12-02T04:15:06.148Z] $ docker rm -f 2f0e6d7735e765d23a94bc0f40edc8c475282714d1f0c66f9aadc4ad875c718d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [2020-12-02T04:15:07.403Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-02T04:15:07.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer [2020-12-02T04:15:07.609Z] prd-centos7-docker-4c-2g-14129 does not seem to be running inside a container [2020-12-02T04:15:07.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/3 -v /w/workspace/device-modbus-go/3:/w/workspace/device-modbus-go/3:rw,z -v /w/workspace/device-modbus-go/3@tmp:/w/workspace/device-modbus-go/3@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-12-02T04:15:08.234Z] $ docker top bcd73bd66928c0a48e846c1e6f71aa7665d1bde928f773bf08f83839fd3ccf77 -eo pid,comm [Pipeline] { [Pipeline] // ws [Pipeline] } [Pipeline] sh [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-02T04:15:08.842Z] + make test [2020-12-02T04:15:08.842Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-02T04:15:09.798Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-02T04:15:20.253Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-02T04:15:20.834Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.263s coverage: 50.3% of statements [2020-12-02T04:15:21.102Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-02T04:15:23.685Z] gofmt -l . [2020-12-02T04:15:23.685Z] [ "`gofmt -l .`" = "" ] [2020-12-02T04:15:23.685Z] ./bin/test-attribution-txt.sh [2020-12-02T04:15:23.950Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-02T04:15:24.233Z] $ docker stop --time=1 bcd73bd66928c0a48e846c1e6f71aa7665d1bde928f773bf08f83839fd3ccf77 [2020-12-02T04:15:26.734Z] $ docker rm -f bcd73bd66928c0a48e846c1e6f71aa7665d1bde928f773bf08f83839fd3ccf77 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-02T04:15:27.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-02T04:15:27.355Z] Warning: overwriting stash ‘coverage-report’ [2020-12-02T04:15:27.652Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2020-12-02T04:15:28.402Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-02T04:15:28.704Z] + ls -al . [2020-12-02T04:15:28.704Z] total 104 [2020-12-02T04:15:28.704Z] drwxrwxr-x. 9 jenkins jenkins 4096 Dec 2 04:15 . [2020-12-02T04:15:28.704Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 2 04:14 .. [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 5589 Dec 2 04:14 Attribution.txt [2020-12-02T04:15:28.704Z] drwxrwxr-x. 2 jenkins jenkins 87 Dec 2 04:14 bin [2020-12-02T04:15:28.704Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 04:14 cmd [2020-12-02T04:15:28.704Z] -rw-r--r--. 1 jenkins jenkins 22364 Dec 2 04:15 coverage.out [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 1430 Dec 2 04:14 Dockerfile [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 954 Dec 2 04:14 Dockerfile.build [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 04:14 .dockerignore [2020-12-02T04:15:28.704Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 2 04:14 .git [2020-12-02T04:15:28.704Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 04:14 .github [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 338 Dec 2 04:14 .gitignore [2020-12-02T04:15:28.704Z] -rw-r--r--. 1 jenkins jenkins 523 Dec 2 04:15 go.mod [2020-12-02T04:15:28.704Z] -rw-r--r--. 1 jenkins jenkins 14850 Dec 2 04:15 go.sum [2020-12-02T04:15:28.704Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 04:14 internal [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 679 Dec 2 04:14 Jenkinsfile [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 04:14 LICENSE [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 880 Dec 2 04:14 Makefile [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 591 Dec 2 04:14 README.md [2020-12-02T04:15:28.704Z] drwxrwxr-x. 2 jenkins jenkins 52 Dec 2 04:14 simulator [2020-12-02T04:15:28.704Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 2 04:14 snap [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 2 04:11 VERSION [2020-12-02T04:15:28.704Z] -rw-rw-r--. 1 jenkins jenkins 229 Dec 2 04:14 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:15:29.020Z] + 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=03c230da0c2e2b5b1f471164a42407c1917286ca --label arch=amd64 --label version=0.0.0 . [2020-12-02T04:15:29.020Z] Sending build context to Docker daemon 550.9kB [2020-12-02T04:15:29.287Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-12-02T04:15:29.287Z] Step 2/20 : FROM ${BASE} AS builder [2020-12-02T04:15:29.287Z] ---> e29011b22e6b [2020-12-02T04:15:29.287Z] Step 3/20 : ARG MAKE='make build' [2020-12-02T04:15:29.287Z] ---> Running in b1f43510ec5f [2020-12-02T04:15:29.550Z] Removing intermediate container b1f43510ec5f [2020-12-02T04:15:29.550Z] ---> eba623dd1ef6 [2020-12-02T04:15:29.550Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-02T04:15:29.550Z] ---> Running in 40eeee1bc341 [2020-12-02T04:15:30.502Z] Removing intermediate container 40eeee1bc341 [2020-12-02T04:15:30.502Z] ---> 108e995099a5 [2020-12-02T04:15:30.502Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-12-02T04:15:30.502Z] ---> Running in d69f811781ce [2020-12-02T04:15:30.766Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-02T04:15:31.713Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-02T04:15:32.660Z] OK: 237 MiB in 53 packages [2020-12-02T04:15:33.235Z] Removing intermediate container d69f811781ce [2020-12-02T04:15:33.235Z] ---> f2658da04a68 [2020-12-02T04:15:33.235Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-12-02T04:15:33.235Z] ---> Running in 781de93eb411 [2020-12-02T04:15:33.235Z] Removing intermediate container 781de93eb411 [2020-12-02T04:15:33.235Z] ---> 1980535bdcb9 [2020-12-02T04:15:33.235Z] Step 7/20 : COPY . . [2020-12-02T04:15:34.183Z] ---> 8425afa8fa81 [2020-12-02T04:15:34.183Z] Step 8/20 : RUN ${MAKE} [2020-12-02T04:15:34.183Z] ---> Running in 295c2e958985 [2020-12-02T04:15:34.764Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-12-02T04:15:43.011Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-02T04:15:46.333Z] Removing intermediate container 295c2e958985 [2020-12-02T04:15:46.333Z] ---> ebd716fc47ff [2020-12-02T04:15:46.333Z] Step 9/20 : FROM scratch [2020-12-02T04:15:46.333Z] ---> [2020-12-02T04:15:46.333Z] Step 10/20 : ENV APP_PORT=49991 [2020-12-02T04:15:46.333Z] ---> Running in c35e274c7929 [2020-12-02T04:15:46.333Z] Removing intermediate container c35e274c7929 [2020-12-02T04:15:46.333Z] ---> 64cffea92834 [2020-12-02T04:15:46.333Z] Step 11/20 : EXPOSE $APP_PORT [2020-12-02T04:15:46.596Z] ---> Running in 661fbd1757ef [2020-12-02T04:15:46.596Z] Removing intermediate container 661fbd1757ef [2020-12-02T04:15:46.596Z] ---> 6fb1659b9d53 [2020-12-02T04:15:46.596Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-12-02T04:15:47.173Z] ---> 7a945249303a [2020-12-02T04:15:47.173Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-12-02T04:15:47.437Z] ---> d262623fc81e [2020-12-02T04:15:47.437Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-12-02T04:15:47.437Z] ---> 0499411fc3be [2020-12-02T04:15:47.437Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-12-02T04:15:47.699Z] ---> Running in 30aa019fc28b [2020-12-02T04:15:47.699Z] Removing intermediate container 30aa019fc28b [2020-12-02T04:15:47.699Z] ---> 037e345bc307 [2020-12-02T04:15:47.699Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-12-02T04:15:47.961Z] ---> Running in 075d7f52c95a [2020-12-02T04:15:47.961Z] Removing intermediate container 075d7f52c95a [2020-12-02T04:15:47.961Z] ---> e14fa5cfd667 [2020-12-02T04:15:47.961Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-02T04:15:47.961Z] ---> Running in 04cdc323df9f [2020-12-02T04:15:48.225Z] Removing intermediate container 04cdc323df9f [2020-12-02T04:15:48.225Z] ---> 1ace38b6dc34 [2020-12-02T04:15:48.225Z] Step 18/20 : LABEL arch=amd64 [2020-12-02T04:15:48.225Z] ---> Running in ed57859a23d6 [2020-12-02T04:15:48.489Z] Removing intermediate container ed57859a23d6 [2020-12-02T04:15:48.489Z] ---> 4f09e66c2582 [2020-12-02T04:15:48.489Z] Step 19/20 : LABEL git_sha=03c230da0c2e2b5b1f471164a42407c1917286ca [2020-12-02T04:15:48.489Z] ---> Running in 75dfec553251 [2020-12-02T04:15:48.751Z] Removing intermediate container 75dfec553251 [2020-12-02T04:15:48.752Z] ---> 5b067ddd5092 [2020-12-02T04:15:48.752Z] Step 20/20 : LABEL version=0.0.0 [2020-12-02T04:15:48.752Z] ---> Running in 8568ed0411d5 [2020-12-02T04:15:49.014Z] Removing intermediate container 8568ed0411d5 [2020-12-02T04:15:49.014Z] ---> 7a744232fe97 [2020-12-02T04:15:49.014Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-02T04:15:49.014Z] Successfully built 7a744232fe97 [2020-12-02T04:15:49.014Z] 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 [2020-12-02T04:16:04.651Z] Still waiting to schedule task [2020-12-02T04:16:04.651Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-12-02T04:17:04.343Z] Running on prd-centos7-docker-8c-8g-14130 in /w/workspace/xfoundry_device-modbus-go_PR-191 [Pipeline] { [Pipeline] ws [2020-12-02T04:17:04.407Z] Running in /w/workspace/device-modbus-go/3 [Pipeline] { [Pipeline] checkout [2020-12-02T04:17:06.583Z] using credential edgex-jenkins-ssh [2020-12-02T04:17:06.645Z] Cloning the remote Git repository [2020-12-02T04:17:06.488Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T04:17:06.552Z] > git init /w/workspace/device-modbus-go/3 # timeout=10 [2020-12-02T04:17:06.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T04:17:06.580Z] > git --version # timeout=10 [2020-12-02T04:17:06.586Z] > git --version # 'git version 2.24.3' [2020-12-02T04:17:06.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T04:17:06.610Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T04:17:07.870Z] Merging remotes/origin/master commit 95d835c9ad69cefa5d9aad86a817c44949ea3288 into PR head commit 03c230da0c2e2b5b1f471164a42407c1917286ca [2020-12-02T04:17:07.950Z] Merge succeeded, producing 03c230da0c2e2b5b1f471164a42407c1917286ca [2020-12-02T04:17:07.950Z] Checking out Revision 03c230da0c2e2b5b1f471164a42407c1917286ca (PR-191) [2020-12-02T04:17:07.180Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-02T04:17:07.187Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-02T04:17:07.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-02T04:17:07.207Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-02T04:17:07.207Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T04:17:07.210Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/191/head:refs/remotes/origin/PR-191 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-02T04:17:07.697Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T04:17:07.704Z] > git checkout -f 03c230da0c2e2b5b1f471164a42407c1917286ca # timeout=10 [2020-12-02T04:17:07.735Z] > git remote # timeout=10 [2020-12-02T04:17:07.741Z] > git config --get remote.origin.url # timeout=10 [2020-12-02T04:17:07.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-02T04:17:07.750Z] > git merge 95d835c9ad69cefa5d9aad86a817c44949ea3288 # timeout=10 [2020-12-02T04:17:07.761Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-12-02T04:17:07.771Z] > git config core.sparsecheckout # timeout=10 [2020-12-02T04:17:07.776Z] > git checkout -f 03c230da0c2e2b5b1f471164a42407c1917286ca # timeout=10 [2020-12-02T04:17:11.484Z] Commit message: "feat: Enhance Modbus simulator to count reading amount" [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-12-02T04:17:13.000Z] ++ find /w/workspace/device-modbus-go/3 [2020-12-02T04:17:13.000Z] ++ grep snapcraft.yaml [2020-12-02T04:17:13.000Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/3/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-02T04:17:13.148Z] provisioning config files... [2020-12-02T04:17:13.159Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/3@tmp/config5621714018166409237tmp [Pipeline] { [Pipeline] sh [2020-12-02T04:17:13.550Z] + cp /w/workspace/device-modbus-go/3@tmp/config5621714018166409237tmp /w/workspace/device-modbus-go/3/edgex-snap-store-login [Pipeline] sh [2020-12-02T04:17:13.851Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/3:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-12-02T04:17:13.851Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-12-02T04:17:14.116Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-12-02T04:17:14.116Z] f08d8e2a3ba1: Pulling fs layer [2020-12-02T04:17:14.116Z] 3baa9cb2483b: Pulling fs layer [2020-12-02T04:17:14.116Z] 94e5ff4c0b15: Pulling fs layer [2020-12-02T04:17:14.116Z] 1860925334f9: Pulling fs layer [2020-12-02T04:17:14.116Z] 2daf38717194: Pulling fs layer [2020-12-02T04:17:14.116Z] 309017e8d7a4: Pulling fs layer [2020-12-02T04:17:14.116Z] f7790dc9fd0f: Pulling fs layer [2020-12-02T04:17:14.116Z] cac0ae9282c2: Pulling fs layer [2020-12-02T04:17:14.116Z] 1f4cadf9a1ed: Pulling fs layer [2020-12-02T04:17:14.116Z] 309017e8d7a4: Waiting [2020-12-02T04:17:14.116Z] f7790dc9fd0f: Waiting [2020-12-02T04:17:14.116Z] cac0ae9282c2: Waiting [2020-12-02T04:17:14.116Z] 1f4cadf9a1ed: Waiting [2020-12-02T04:17:14.116Z] 1860925334f9: Waiting [2020-12-02T04:17:14.116Z] 2daf38717194: Waiting [2020-12-02T04:17:14.116Z] 3baa9cb2483b: Verifying Checksum [2020-12-02T04:17:14.116Z] 3baa9cb2483b: Download complete [2020-12-02T04:17:14.116Z] 94e5ff4c0b15: Download complete [2020-12-02T04:17:14.116Z] 1860925334f9: Verifying Checksum [2020-12-02T04:17:14.116Z] 1860925334f9: Download complete [2020-12-02T04:17:14.116Z] 309017e8d7a4: Verifying Checksum [2020-12-02T04:17:14.116Z] 309017e8d7a4: Download complete [2020-12-02T04:17:14.116Z] f7790dc9fd0f: Verifying Checksum [2020-12-02T04:17:14.116Z] f7790dc9fd0f: Download complete [2020-12-02T04:17:14.116Z] cac0ae9282c2: Verifying Checksum [2020-12-02T04:17:14.116Z] cac0ae9282c2: Download complete [2020-12-02T04:17:14.116Z] 1f4cadf9a1ed: Verifying Checksum [2020-12-02T04:17:14.116Z] 1f4cadf9a1ed: Download complete [2020-12-02T04:17:16.666Z] f08d8e2a3ba1: Verifying Checksum [2020-12-02T04:17:16.666Z] f08d8e2a3ba1: Download complete [2020-12-02T04:17:17.608Z] f08d8e2a3ba1: Pull complete [2020-12-02T04:17:17.608Z] 3baa9cb2483b: Pull complete [2020-12-02T04:17:17.869Z] 94e5ff4c0b15: Pull complete [2020-12-02T04:17:17.869Z] 1860925334f9: Pull complete [2020-12-02T04:17:21.175Z] 2daf38717194: Verifying Checksum [2020-12-02T04:17:21.175Z] 2daf38717194: Download complete [2020-12-02T04:17:33.418Z] 2daf38717194: Pull complete [2020-12-02T04:17:33.418Z] 309017e8d7a4: Pull complete [2020-12-02T04:17:33.418Z] f7790dc9fd0f: Pull complete [2020-12-02T04:17:33.418Z] cac0ae9282c2: Pull complete [2020-12-02T04:17:33.418Z] 1f4cadf9a1ed: Pull complete [2020-12-02T04:17:33.418Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-12-02T04:17:33.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-12-02T04:17:37.636Z] Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-12-02T04:17:37.636Z] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-12-02T04:17:37.636Z] Get:3 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] [2020-12-02T04:17:37.636Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-12-02T04:17:37.636Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1800 kB] [2020-12-02T04:17:37.636Z] Get:6 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [230 kB] [2020-12-02T04:17:37.636Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1365 kB] [2020-12-02T04:17:37.636Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-12-02T04:17:37.636Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [54.3 kB] [2020-12-02T04:17:37.636Z] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [259 kB] [2020-12-02T04:17:37.899Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2227 kB] [2020-12-02T04:17:38.161Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2131 kB] [2020-12-02T04:17:38.161Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-12-02T04:17:38.161Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-12-02T04:17:38.422Z] Fetched 8356 kB in 1s (6339 kB/s) [2020-12-02T04:17:38.997Z] Reading package lists... [2020-12-02T04:17:41.546Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-12-02T04:17:41.546Z] 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-12-02T04:17:41.546Z] 0% [Waiting for headers] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-12-02T04:17:41.546Z] 0% [1 InRelease gpgv 88.7 kB] [Waiting for headers] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-12-02T04:17:42.650Z] 0% [2 InRelease gpgv 242 kB] 0% [Working] 0% [3 InRelease gpgv 88.7 kB] 0% [Working] 0% [4 InRelease gpgv 74.6 kB] 20% [Working] Reading package lists... 0% Reading package lists... 0% Reading package lists... 0% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% Reading package lists... 6% 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... 92% Reading package lists... 93% Reading package lists... 93% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... 99% Reading package lists... Done [2020-12-02T04:17:44.037Z] 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 [2020-12-02T04:17:44.559Z] 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... 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 [2020-12-02T04:17:44.821Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-12-02T04:17:44.821Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-12-02T04:17:44.821Z] The following packages were automatically installed and are no longer required: [2020-12-02T04:17:44.821Z] libjq1 libonig4 [2020-12-02T04:17:44.821Z] Use 'sudo apt autoremove' to remove them. [2020-12-02T04:17:44.821Z] Suggested packages: [2020-12-02T04:17:44.821Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-12-02T04:17:44.821Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-12-02T04:17:44.821Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-12-02T04:17:44.821Z] | libterm-readline-perl-perl [2020-12-02T04:17:45.085Z] The following NEW packages will be installed: [2020-12-02T04:17:45.085Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-12-02T04:17:45.085Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-12-02T04:17:45.085Z] The following packages will be upgraded: [2020-12-02T04:17:45.085Z] perl-base [2020-12-02T04:17:45.085Z] 1 upgraded, 14 newly installed, 0 to remove and 50 not upgraded. [2020-12-02T04:17:45.085Z] Need to get 13.4 MB of archives. [2020-12-02T04:17:45.085Z] After this operation, 77.5 MB of additional disk space will be used. [2020-12-02T04:17:45.346Z] 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] [2020-12-02T04:17:45.870Z] 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 658 kB/1391 kB 47%] 10% [Working] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] [2020-12-02T04:17:46.132Z] 10% [2 perl-modules-5.26 37.1 kB/2762 kB 1%] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-12-02T04:17:46.132Z] 28% [3 libgdbm5 21.7 kB/26.0 kB 83%] 29% [Waiting for headers] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-12-02T04:17:46.132Z] 29% [4 libgdbm-compat4 6084 B/6084 B 100%] 30% [Working] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] [2020-12-02T04:17:46.132Z] 30% [5 libperl5.26 7184 B/3534 kB 0%] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] [2020-12-02T04:17:46.132Z] 53% [6 perl 7318 B/201 kB 4%] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-12-02T04:17:46.132Z] 56% [7 less 112 kB/112 kB 100%] 57% [Waiting for headers] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-12-02T04:17:46.132Z] 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] [2020-12-02T04:17:46.132Z] 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] [2020-12-02T04:17:46.132Z] 61% [10 libcurl3-gnutls 17.7 kB/213 kB 8%] 64% [Waiting for headers] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-12-02T04:17:46.132Z] 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] [2020-12-02T04:17:46.133Z] 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] [2020-12-02T04:17:46.395Z] 71% [13 git 0 B/3915 kB 0%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-12-02T04:17:46.395Z] 96% [14 make 11.3 kB/154 kB 7%] 98% [Waiting for headers] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-12-02T04:17:46.395Z] 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 1s (9369 kB/s) [2020-12-02T04:17:46.655Z] debconf: delaying package configuration, since apt-utils is not installed [2020-12-02T04:17:46.655Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) [2020-12-02T04:17:46.655Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... [2020-12-02T04:17:46.655Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-12-02T04:17:49.962Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-12-02T04:17:49.962Z] Selecting previously unselected package perl-modules-5.26. [2020-12-02T04:17:49.962Z] (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 9889 files and directories currently installed.) [2020-12-02T04:17:49.962Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-12-02T04:17:49.962Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-12-02T04:17:50.534Z] Selecting previously unselected package libgdbm5:amd64. [2020-12-02T04:17:50.534Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-12-02T04:17:50.534Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-12-02T04:17:50.534Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-12-02T04:17:50.535Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-12-02T04:17:50.535Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-12-02T04:17:50.535Z] Selecting previously unselected package libperl5.26:amd64. [2020-12-02T04:17:50.535Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... [2020-12-02T04:17:50.535Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-12-02T04:17:51.106Z] Selecting previously unselected package perl. [2020-12-02T04:17:51.106Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... [2020-12-02T04:17:51.106Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-12-02T04:17:51.366Z] Selecting previously unselected package less. [2020-12-02T04:17:51.366Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-12-02T04:17:51.366Z] Unpacking less (487-0.1) ... [2020-12-02T04:17:51.366Z] Selecting previously unselected package netbase. [2020-12-02T04:17:51.366Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-12-02T04:17:51.366Z] Unpacking netbase (5.4) ... [2020-12-02T04:17:51.366Z] Selecting previously unselected package curl. [2020-12-02T04:17:51.366Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-12-02T04:17:51.366Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-12-02T04:17:51.627Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-12-02T04:17:51.627Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-12-02T04:17:51.627Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-12-02T04:17:51.627Z] Selecting previously unselected package liberror-perl. [2020-12-02T04:17:51.627Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-12-02T04:17:51.627Z] Unpacking liberror-perl (0.17025-1) ... [2020-12-02T04:17:51.627Z] Selecting previously unselected package git-man. [2020-12-02T04:17:51.627Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-12-02T04:17:51.627Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-12-02T04:17:51.888Z] Selecting previously unselected package git. [2020-12-02T04:17:51.888Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-12-02T04:17:51.888Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-12-02T04:17:52.459Z] Selecting previously unselected package make. [2020-12-02T04:17:52.459Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-12-02T04:17:52.459Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-12-02T04:17:52.459Z] Selecting previously unselected package patch. [2020-12-02T04:17:52.459Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-12-02T04:17:52.460Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-12-02T04:17:52.460Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-12-02T04:17:52.460Z] Setting up less (487-0.1) ... [2020-12-02T04:17:52.460Z] Setting up make (4.1-9.1ubuntu1) ... [2020-12-02T04:17:52.721Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-12-02T04:17:52.721Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-12-02T04:17:52.721Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-12-02T04:17:52.721Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-12-02T04:17:52.721Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-12-02T04:17:52.721Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-12-02T04:17:52.721Z] Setting up netbase (5.4) ... [2020-12-02T04:17:52.721Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-12-02T04:17:52.721Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-12-02T04:17:52.721Z] Setting up liberror-perl (0.17025-1) ... [2020-12-02T04:17:52.721Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-12-02T04:17:52.982Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-12-02T04:17:52.982Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-12-02T04:17:53.926Z] curl set to automatically installed. [2020-12-02T04:17:53.926Z] git set to automatically installed. [2020-12-02T04:17:53.926Z] git-man set to automatically installed. [2020-12-02T04:17:53.926Z] less set to automatically installed. [2020-12-02T04:17:53.926Z] libcurl3-gnutls set to automatically installed. [2020-12-02T04:17:53.926Z] liberror-perl set to automatically installed. [2020-12-02T04:17:53.926Z] libgdbm-compat4 set to automatically installed. [2020-12-02T04:17:53.926Z] libgdbm5 set to automatically installed. [2020-12-02T04:17:53.926Z] libperl5.26 set to automatically installed. [2020-12-02T04:17:54.186Z] make set to automatically installed. [2020-12-02T04:17:54.186Z] netbase set to automatically installed. [2020-12-02T04:17:54.186Z] patch set to automatically installed. [2020-12-02T04:17:54.186Z] perl set to automatically installed. [2020-12-02T04:17:54.186Z] perl-base set to automatically installed. [2020-12-02T04:17:54.186Z] perl-modules-5.26 set to automatically installed. [2020-12-02T04:17:54.186Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-12-02T04:17:54.186Z] Please ensure the environment is properly setup before continuing. [2020-12-02T04:17:54.186Z] Ignore this message if the appropriate measures have already been taken [2020-12-02T04:17:54.758Z] Pulling go  [2020-12-02T04:17:55.343Z] 'device-modbus' has dependencies that need to be staged: go [2020-12-02T04:17:55.343Z] Skipping pull go (already ran) [2020-12-02T04:17:55.343Z] Building go  [2020-12-02T04:17:55.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-02T04:17:55.343Z] Dload Upload Total Spent Left Speed [2020-12-02T04:17:57.509Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 37 115M 37 43.7M 0 0 45.4M 0 0:00:02 --:--:-- 0:00:02 45.4M 91 115M 91 105M 0 0 53.7M 0 0:00:02 0:00:01 0:00:01 53.7M 100 115M 100 115M 0 0 54.1M 0 0:00:02 0:00:02 --:--:-- 54.1M [2020-12-02T04:17:58.080Z] go1.15.2.linux-amd64.tar.gz: OK [2020-12-02T04:18:03.377Z] Staging go  [2020-12-02T04:18:03.377Z] Pulling device-modbus  [2020-12-02T04:18:03.954Z] Skipping build go (already ran) [2020-12-02T04:18:03.954Z] Building device-modbus  [2020-12-02T04:18:03.954Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [2020-12-02T04:18:04.897Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.3.1-dev.4 [2020-12-02T04:18:04.897Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-12-02T04:18:04.897Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.115 [2020-12-02T04:18:04.897Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-12-02T04:18:04.897Z] go: downloading github.com/gorilla/mux v1.8.0 [2020-12-02T04:18:04.897Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.60 [2020-12-02T04:18:04.897Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2020-12-02T04:18:04.897Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-12-02T04:18:04.898Z] go: downloading github.com/pkg/errors v0.8.1 [2020-12-02T04:18:04.898Z] go: downloading gopkg.in/yaml.v2 v2.4.0 [2020-12-02T04:18:04.898Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-12-02T04:18:04.898Z] go: downloading github.com/google/uuid v1.1.2 [2020-12-02T04:18:04.898Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-12-02T04:18:04.898Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-12-02T04:18:04.898Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2020-12-02T04:18:04.898Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-12-02T04:18:04.898Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-12-02T04:18:04.898Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-12-02T04:18:04.898Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2020-12-02T04:18:04.898Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-12-02T04:18:05.159Z] go: downloading github.com/x448/float16 v0.8.4 [2020-12-02T04:18:05.159Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-12-02T04:18:05.159Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-12-02T04:18:05.159Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-12-02T04:18:05.159Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-12-02T04:18:05.159Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-12-02T04:18:05.159Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-12-02T04:18:05.159Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-12-02T04:18:05.159Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-12-02T04:18:05.159Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-12-02T04:18:05.159Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-12-02T04:18:05.159Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-12-02T04:18:05.159Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-12-02T04:18:05.159Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-12-02T04:18:05.420Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-12-02T04:18:05.420Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-12-02T04:18:10.733Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-02T04:18:12.647Z] Skipping stage go (already ran) [2020-12-02T04:18:12.647Z] Staging device-modbus  [2020-12-02T04:18:13.218Z] Priming go  [2020-12-02T04:18:13.789Z] Priming device-modbus  [2020-12-02T04:18:14.362Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-12-02T04:18:14.362Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-12-02T04:18:14.362Z] Determining the version from the project repo (version-script). [2020-12-02T04:18:14.362Z] The version has been set to 'local-dev-20201202+03c230d' [2020-12-02T04:18:15.154Z] Snapping | Snapping / Snapping - Snapping | [2020-12-02T04:18:15.154Z] Snapped edgex-device-modbus_local-dev-20201202+03c230d_amd64.snap [Pipeline] } [2020-12-02T04:18:17.080Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap [2020-12-02T04:18:19.264Z] provisioning config files... [2020-12-02T04:18:19.274Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/config7688125143460713596tmp [Pipeline] { [Pipeline] sh [2020-12-02T04:18:19.696Z] + set +x [2020-12-02T04:18:19.696Z] + curl -s https://codecov.io/bash [2020-12-02T04:18:19.696Z] + bash -s -- [2020-12-02T04:18:19.963Z] [2020-12-02T04:18:19.963Z] _____ _ [2020-12-02T04:18:19.963Z] / ____| | | [2020-12-02T04:18:19.963Z] | | ___ __| | ___ ___ _____ __ [2020-12-02T04:18:19.963Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-02T04:18:19.963Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-02T04:18:19.963Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-02T04:18:19.963Z] Bash-20201130-cc6d3fe [2020-12-02T04:18:19.963Z] [2020-12-02T04:18:19.963Z] [2020-12-02T04:18:19.963Z] ==> Jenkins CI detected. [2020-12-02T04:18:19.963Z] project root: . [2020-12-02T04:18:19.963Z] --> token set from env [2020-12-02T04:18:19.963Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-02T04:18:19.963Z] ==> Running gcov in . (disable via -X gcov) [2020-12-02T04:18:19.963Z] ==> Python coveragepy not found [2020-12-02T04:18:19.963Z] ==> Searching for coverage reports in: [2020-12-02T04:18:19.963Z] + . [2020-12-02T04:18:19.963Z] -> Found 1 reports [2020-12-02T04:18:19.963Z] ==> Detecting git/mercurial file structure [2020-12-02T04:18:19.963Z] ==> Reading reports [2020-12-02T04:18:20.227Z] + ./coverage.out bytes=22364 [2020-12-02T04:18:20.227Z] ==> Appending adjustments [2020-12-02T04:18:20.227Z] https://docs.codecov.io/docs/fixing-reports [2020-12-02T04:18:20.227Z] + Found adjustments [2020-12-02T04:18:20.227Z] ==> Gzipping contents [2020-12-02T04:18:20.227Z] 8.0K /tmp/codecov.ovWivV.gz [2020-12-02T04:18:20.227Z] ==> Uploading reports [2020-12-02T04:18:20.227Z] url: https://codecov.io [2020-12-02T04:18:20.227Z] query: branch=PR-191&commit=03c230da0c2e2b5b1f471164a42407c1917286ca&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-191%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=191&job=&cmd_args= [2020-12-02T04:18:20.227Z] -> Pinging Codecov [2020-12-02T04:18:20.227Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=PR-191&commit=03c230da0c2e2b5b1f471164a42407c1917286ca&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-191%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=191&job=&cmd_args= [2020-12-02T04:18:20.810Z] -> Uploading to [2020-12-02T04:18:20.810Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-02/55DBCA73C666E3227836607328DD7E49/03c230da0c2e2b5b1f471164a42407c1917286ca/f0dd3cb3-db69-4c81-bcbc-00678570eeea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201202T041820Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e8ac9fc58ef0b3ac0e00e4d241ccd11ceec07940df164d587c96f140bd3b8ba2 [2020-12-02T04:18:20.810Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-02T04:18:20.810Z] Dload Upload Total Spent Left Speed [2020-12-02T04:18:21.391Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4193 0 0 100 4193 0 9447 --:--:-- --:--:-- --:--:-- 9465 [2020-12-02T04:18:21.391Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/03c230da0c2e2b5b1f471164a42407c1917286ca [Pipeline] } [2020-12-02T04:18:21.402Z] 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 [2020-12-02T04:18:24.207Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T04:18:24.509Z] ---> package-listing.sh [2020-12-02T04:18:24.509Z] ++ facter osfamily [2020-12-02T04:18:24.509Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-02T04:18:24.509Z] + OS_FAMILY=redhat [2020-12-02T04:18:24.509Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-191 [2020-12-02T04:18:24.509Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-02T04:18:24.509Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-02T04:18:24.509Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-02T04:18:24.510Z] + PACKAGES=/tmp/packages_start.txt [2020-12-02T04:18:24.510Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-191 ']' [2020-12-02T04:18:24.510Z] + PACKAGES=/tmp/packages_end.txt [2020-12-02T04:18:24.510Z] + case "${OS_FAMILY}" in [2020-12-02T04:18:24.510Z] + rpm -qa [2020-12-02T04:18:24.510Z] + sort [2020-12-02T04:18:29.824Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-02T04:18:29.824Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-02T04:18:29.824Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-02T04:18:29.824Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-191 ']' [2020-12-02T04:18:29.824Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-191/archives/ [2020-12-02T04:18:29.824Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-191/archives/ [Pipeline] echo [2020-12-02T04:18:29.840Z] 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-191/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-02T04:18:30.159Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:18:30.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T04:18:30.729Z] [2020-12-02T04:18:30.729Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-02T04:18:31.082Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T04:18:31.082Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-02T04:18:31.082Z] df20fa9351a1: Pulling fs layer [2020-12-02T04:18:31.082Z] 36b3adc4ff6f: Pulling fs layer [2020-12-02T04:18:31.082Z] 8ad3a11d3b57: Pulling fs layer [2020-12-02T04:18:31.082Z] 46f8f816bc3b: Pulling fs layer [2020-12-02T04:18:31.082Z] 93b61091891f: Pulling fs layer [2020-12-02T04:18:31.082Z] 93b9cdb0e59b: Pulling fs layer [2020-12-02T04:18:31.082Z] 5e14af77c1be: Pulling fs layer [2020-12-02T04:18:31.082Z] 01666e4c0597: Pulling fs layer [2020-12-02T04:18:31.082Z] aa168da1d23b: Pulling fs layer [2020-12-02T04:18:31.082Z] 93b61091891f: Waiting [2020-12-02T04:18:31.082Z] 93b9cdb0e59b: Waiting [2020-12-02T04:18:31.082Z] 5e14af77c1be: Waiting [2020-12-02T04:18:31.082Z] 01666e4c0597: Waiting [2020-12-02T04:18:31.082Z] aa168da1d23b: Waiting [2020-12-02T04:18:31.082Z] 46f8f816bc3b: Waiting [2020-12-02T04:18:31.082Z] 36b3adc4ff6f: Download complete [2020-12-02T04:18:31.082Z] 46f8f816bc3b: Verifying Checksum [2020-12-02T04:18:31.082Z] 46f8f816bc3b: Download complete [2020-12-02T04:18:31.082Z] df20fa9351a1: Verifying Checksum [2020-12-02T04:18:31.082Z] df20fa9351a1: Download complete [2020-12-02T04:18:31.347Z] 93b9cdb0e59b: Download complete [2020-12-02T04:18:31.347Z] 5e14af77c1be: Download complete [2020-12-02T04:18:31.347Z] 93b61091891f: Verifying Checksum [2020-12-02T04:18:31.347Z] 93b61091891f: Download complete [2020-12-02T04:18:31.347Z] 01666e4c0597: Verifying Checksum [2020-12-02T04:18:31.347Z] 01666e4c0597: Download complete [2020-12-02T04:18:31.614Z] df20fa9351a1: Pull complete [2020-12-02T04:18:31.614Z] 8ad3a11d3b57: Verifying Checksum [2020-12-02T04:18:31.614Z] 8ad3a11d3b57: Download complete [2020-12-02T04:18:31.881Z] 36b3adc4ff6f: Pull complete [2020-12-02T04:18:32.859Z] 8ad3a11d3b57: Pull complete [2020-12-02T04:18:32.859Z] 46f8f816bc3b: Pull complete [2020-12-02T04:18:33.440Z] 93b61091891f: Pull complete [2020-12-02T04:18:33.706Z] aa168da1d23b: Download complete [2020-12-02T04:18:33.706Z] 93b9cdb0e59b: Pull complete [2020-12-02T04:18:33.706Z] 5e14af77c1be: Pull complete [2020-12-02T04:18:33.972Z] 01666e4c0597: Pull complete [2020-12-02T04:18:40.632Z] aa168da1d23b: Pull complete [2020-12-02T04:18:40.632Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-02T04:18:40.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-02T04:18:40.632Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-02T04:18:40.897Z] prd-centos7-docker-4c-2g-14128 does not seem to be running inside a container [2020-12-02T04:18:40.995Z] $ 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-191/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-191 -v /w/workspace/xfoundry_device-modbus-go_PR-191:/w/workspace/xfoundry_device-modbus-go_PR-191:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-191@tmp:/w/workspace/xfoundry_device-modbus-go_PR-191@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-02T04:18:44.838Z] $ docker top ea06d4c2bd8b724e4502a88a7d88398ef130ba0685104926f204260f23f954d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-02T04:18:45.433Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-02T04:18:45.731Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-02T04:18:46.030Z] + ls /var/log/sa-host [2020-12-02T04:18:46.030Z] + sadf -c /var/log/sa-host/sa02 [2020-12-02T04:18:46.030Z] file_magic: OK [2020-12-02T04:18:46.030Z] HZ: Using current value: 100 [2020-12-02T04:18:46.030Z] file_header: OK [2020-12-02T04:18:46.030Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-02T04:18:46.030Z] Statistics: [2020-12-02T04:18:46.030Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-02T04:18:46.030Z] File successfully converted to sysstat format version 12.2.1 [2020-12-02T04:18:46.030Z] + sadf -c /var/log/sa-host/sa23 [2020-12-02T04:18:46.030Z] file_magic: OK [2020-12-02T04:18:46.030Z] HZ: Using current value: 100 [2020-12-02T04:18:46.030Z] file_header: OK [2020-12-02T04:18:46.030Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2020-12-02T04:18:46.030Z] Statistics: [2020-12-02T04:18:46.030Z] Hnuu...uuuununununu... [2020-12-02T04:18:46.030Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-02T04:18:46.635Z] provisioning config files... [2020-12-02T04:18:46.650Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/config511928934330606753tmp [Pipeline] { [Pipeline] echo [2020-12-02T04:18:46.750Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T04:18:47.045Z] ---> create-netrc.sh [Pipeline] } [2020-12-02T04:18:47.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-02T04:18:47.160Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T04:18:47.456Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-02T04:18:47.467Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T04:18:47.762Z] ---> sudo-logs.sh [2020-12-02T04:18:47.762Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-02T04:18:47.774Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T04:18:48.077Z] ---> job-cost.sh [2020-12-02T04:18:48.077Z] lf-activate-venv: SKIPPING [2020-12-02T04:18:48.077Z] INFO: No Stack... [2020-12-02T04:18:49.027Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-02T04:18:49.627Z] INFO: Archiving Costs [Pipeline] echo [2020-12-02T04:18:49.657Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-02T04:18:50.029Z] ---> logs-deploy.sh [2020-12-02T04:18:50.029Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-191/3 [2020-12-02T04:18:50.029Z] INFO: archiving workspace using pattern(s): [2020-12-02T04:18:51.967Z] Archives upload complete. [2020-12-02T04:18:51.967Z] INFO: archiving logs to Nexus