Pull request #191 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-modbus-go Obtained Jenkinsfile from fe5f6584b7dbb4b811df51a87a3a62b214c7db01+8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b (6676fc4bb5a18fab8c16b85a94c8548d67027338) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-191/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 # timeout=10 Commit message: "Merge pull request #301 from ernestojeda/enable-docker-proxy" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-191/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-13337 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 > 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 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit fe5f6584b7dbb4b811df51a87a3a62b214c7db01 Merge succeeded, producing fe5f6584b7dbb4b811df51a87a3a62b214c7db01 Checking out Revision fe5f6584b7dbb4b811df51a87a3a62b214c7db01 (PR-191) > git config core.sparsecheckout # timeout=10 > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 Commit message: "feat: Enhance Modbus simulator to measure reading amount" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-11-24T07:56:50.805Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-11-24T07:56:51.373Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-11-24T07:56:51.669Z] ========================================================= [2020-11-24T07:56:51.669Z] EdgeX Global Pipelines Version Info [2020-11-24T07:56:51.669Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-11-24T07:56:53.233Z] ------------------- [2020-11-24T07:56:53.233Z] stable info: [2020-11-24T07:56:53.233Z] ------------------- [2020-11-24T07:56:53.233Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-11-24T07:56:53.233Z] Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-24T07:56:53.233Z] Message: update stable to v1.0.167 [2020-11-24T07:56:54.182Z] ------------------- [2020-11-24T07:56:54.182Z] experimental info: [2020-11-24T07:56:54.182Z] ------------------- [2020-11-24T07:56:54.182Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2020-11-24T07:56:54.182Z] Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a [2020-11-24T07:56:54.182Z] Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo [2020-11-24T07:56:54.770Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-11-24T07:56:54.965Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-11-24T07:56:55.107Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-11-24T07:56:55.258Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-11-24T07:56:55.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-11-24T07:56:55.546Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-11-24T07:56:55.680Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-11-24T07:56:55.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-11-24T07:56:55.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-11-24T07:56:56.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-11-24T07:56:56.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-11-24T07:56:56.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-11-24T07:56:56.596Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-11-24T07:56:56.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-11-24T07:56:56.884Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-11-24T07:56:57.020Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-11-24T07:56:57.148Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-11-24T07:56:57.293Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-11-24T07:56:57.480Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-11-24T07:56:57.615Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-11-24T07:56:57.759Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-11-24T07:56:57.905Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-11-24T07:56:58.048Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-11-24T07:56:58.192Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-11-24T07:56:58.330Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-11-24T07:56:58.463Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-11-24T07:56:58.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-191 [Pipeline] echo [2020-11-24T07:56:58.750Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-191 [Pipeline] echo [2020-11-24T07:56:58.907Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-191 [Pipeline] echo [2020-11-24T07:56:59.075Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [Pipeline] echo [2020-11-24T07:56:59.206Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe5f658 [Pipeline] echo [2020-11-24T07:56:59.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-24T07:56:59.670Z] provisioning config files... [2020-11-24T07:56:59.736Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/config4688793682004641533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-24T07:57:00.159Z] ---> docker-login.sh [2020-11-24T07:57:00.159Z] nexus3.edgexfoundry.org:10001 [2020-11-24T07:57:00.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T07:57:00.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T07:57:00.683Z] Configure a credential helper to remove this warning. See [2020-11-24T07:57:00.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T07:57:00.683Z] [2020-11-24T07:57:00.683Z] Login Succeeded [2020-11-24T07:57:00.683Z] nexus3.edgexfoundry.org:10002 [2020-11-24T07:57:00.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T07:57:00.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T07:57:00.951Z] Configure a credential helper to remove this warning. See [2020-11-24T07:57:00.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T07:57:00.951Z] [2020-11-24T07:57:00.951Z] Login Succeeded [2020-11-24T07:57:00.951Z] nexus3.edgexfoundry.org:10003 [2020-11-24T07:57:00.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T07:57:00.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T07:57:00.951Z] Configure a credential helper to remove this warning. See [2020-11-24T07:57:00.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T07:57:00.951Z] [2020-11-24T07:57:00.951Z] Login Succeeded [2020-11-24T07:57:00.951Z] nexus3.edgexfoundry.org:10004 [2020-11-24T07:57:01.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T07:57:01.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T07:57:01.214Z] Configure a credential helper to remove this warning. See [2020-11-24T07:57:01.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T07:57:01.214Z] [2020-11-24T07:57:01.214Z] Login Succeeded [2020-11-24T07:57:01.214Z] docker.io [2020-11-24T07:57:01.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T07:57:01.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T07:57:01.486Z] Configure a credential helper to remove this warning. See [2020-11-24T07:57:01.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T07:57:01.486Z] [2020-11-24T07:57:01.486Z] Login Succeeded [2020-11-24T07:57:01.486Z] ---> docker-login.sh ends [Pipeline] } [2020-11-24T07:57:01.525Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-24T07:57:02.557Z] + git log --format=format:%s -1 fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [Pipeline] echo [2020-11-24T07:57:02.657Z] GIT_COMMIT: fe5f6584b7dbb4b811df51a87a3a62b214c7db01, Commit Message: feat: Enhance Modbus simulator to measure reading amount [Pipeline] echo [2020-11-24T07:57:02.734Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-11-24T07:57:03.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-24T07:57:03.727Z] [2020-11-24T07:57:03.727Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-11-24T07:57:04.122Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-24T07:57:04.123Z] latest: Pulling from edgex-devops/git-semver [2020-11-24T07:57:04.123Z] 31603596830f: Pulling fs layer [2020-11-24T07:57:04.123Z] 2a8b12db71e7: Pulling fs layer [2020-11-24T07:57:04.123Z] 6ca5941a6612: Pulling fs layer [2020-11-24T07:57:04.123Z] ecc8261a40a4: Pulling fs layer [2020-11-24T07:57:04.123Z] ecc8261a40a4: Waiting [2020-11-24T07:57:04.123Z] 2a8b12db71e7: Verifying Checksum [2020-11-24T07:57:04.123Z] 2a8b12db71e7: Download complete [2020-11-24T07:57:04.387Z] 31603596830f: Verifying Checksum [2020-11-24T07:57:04.387Z] 31603596830f: Download complete [2020-11-24T07:57:04.387Z] 6ca5941a6612: Verifying Checksum [2020-11-24T07:57:04.387Z] 6ca5941a6612: Download complete [2020-11-24T07:57:04.387Z] ecc8261a40a4: Verifying Checksum [2020-11-24T07:57:04.387Z] ecc8261a40a4: Download complete [2020-11-24T07:57:04.654Z] 31603596830f: Pull complete [2020-11-24T07:57:04.654Z] 2a8b12db71e7: Pull complete [2020-11-24T07:57:05.611Z] 6ca5941a6612: Pull complete [2020-11-24T07:57:06.560Z] ecc8261a40a4: Pull complete [2020-11-24T07:57:06.560Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-11-24T07:57:06.560Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-11-24T07:57:06.560Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-11-24T07:57:06.709Z] prd-centos7-docker-4c-2g-13337 does not seem to be running inside a container [2020-11-24T07:57:06.763Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-11-24T07:57:08.505Z] $ docker top 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-11-24T07:57:08.976Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-24T07:57:08.976Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-24T07:57:09.195Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-24T07:57:09.200Z] $ docker exec 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 ssh-agent [2020-11-24T07:57:09.367Z] SSH_AUTH_SOCK=/tmp/ssh-hVyCh4afoJBZ/agent.12 [2020-11-24T07:57:09.367Z] SSH_AGENT_PID=17 [2020-11-24T07:57:09.377Z] Running ssh-add (command line suppressed) [2020-11-24T07:57:09.494Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-191@tmp/private_key_7819702352340479566.key (/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/private_key_7819702352340479566.key) [2020-11-24T07:57:09.548Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-24T07:57:09.936Z] + git tag --points-at HEAD [Pipeline] } [2020-11-24T07:57:09.967Z] $ docker exec --env ******** --env ******** 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 ssh-agent -k [2020-11-24T07:57:10.090Z] unset SSH_AUTH_SOCK; [2020-11-24T07:57:10.091Z] unset SSH_AGENT_PID; [2020-11-24T07:57:10.091Z] echo Agent pid 17 killed; [2020-11-24T07:57:10.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-11-24T07:57:10.352Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-11-24T07:57:10.352Z] [ssh-agent] Looking for ssh-agent implementation... [2020-11-24T07:57:10.521Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-11-24T07:57:10.526Z] $ docker exec 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 ssh-agent [2020-11-24T07:57:10.693Z] SSH_AUTH_SOCK=/tmp/ssh-ytORECMjZnB5/agent.46 [2020-11-24T07:57:10.693Z] SSH_AGENT_PID=51 [2020-11-24T07:57:10.701Z] Running ssh-add (command line suppressed) [2020-11-24T07:57:10.831Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-191@tmp/private_key_6266319148716824688.key (/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/private_key_6266319148716824688.key) [2020-11-24T07:57:10.884Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-11-24T07:57:11.260Z] + git semver init [2020-11-24T07:57:11.260Z] # -> Open(): unable to determine branch for HEAD [2020-11-24T07:57:11.260Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-191/.git [2020-11-24T07:57:11.260Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-191 [2020-11-24T07:57:11.260Z] # $SEMVER_REMOTE_NAME = origin [2020-11-24T07:57:11.260Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-11-24T07:57:11.260Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-11-24T07:57:11.260Z] # $SEMVER_BRANCH = PR-191 [2020-11-24T07:57:11.260Z] # $SEMVER_TEMP = /tmp/semver-548367013 [2020-11-24T07:57:11.260Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-11-24T07:57:11.835Z] # '/tmp/semver-548367013' -> '/w/workspace/xfoundry_device-modbus-go_PR-191/.semver' [2020-11-24T07:57:11.835Z] # -> Force: false [2020-11-24T07:57:11.835Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-191/.semver [Pipeline] } [2020-11-24T07:57:11.857Z] $ docker exec --env ******** --env ******** 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 ssh-agent -k [2020-11-24T07:57:11.981Z] unset SSH_AUTH_SOCK; [2020-11-24T07:57:11.982Z] unset SSH_AGENT_PID; [2020-11-24T07:57:11.982Z] echo Agent pid 51 killed; [2020-11-24T07:57:12.029Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-11-24T07:57:12.629Z] + git semver [Pipeline] } [2020-11-24T07:57:12.663Z] $ docker stop --time=1 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 [2020-11-24T07:57:13.993Z] $ docker rm -f 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-24T07:57:14.545Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-11-24T07:57:15.005Z] Stashed 1 file(s) [Pipeline] echo [2020-11-24T07:57:15.026Z] [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-11-24T07:57:30.920Z] Still waiting to schedule task [2020-11-24T07:57:30.920Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13337’ [2020-11-24T07:57:30.949Z] Still waiting to schedule task [2020-11-24T07:57:30.949Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline [2020-11-24T07:59:17.769Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13338 in /w/workspace/xfoundry_device-modbus-go_PR-191 [Pipeline] { [Pipeline] ws [2020-11-24T07:59:17.870Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-11-24T07:59:23.156Z] using credential edgex-jenkins-ssh [2020-11-24T07:59:23.268Z] Cloning the remote Git repository [2020-11-24T07:59:23.337Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-24T07:59:23.456Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-11-24T07:59:23.524Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-24T07:59:23.524Z] > git --version # timeout=10 [2020-11-24T07:59:23.550Z] > git --version # 'git version 2.17.1' [2020-11-24T07:59:23.553Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-24T07:59:23.627Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-24T07:59:25.097Z] Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [2020-11-24T07:59:25.312Z] Merge succeeded, producing fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [2020-11-24T07:59:25.312Z] Checking out Revision fe5f6584b7dbb4b811df51a87a3a62b214c7db01 (PR-191) [2020-11-24T07:59:24.420Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-24T07:59:24.455Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-24T07:59:24.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-24T07:59:24.522Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-24T07:59:24.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-24T07:59:24.536Z] > 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-11-24T07:59:25.113Z] > git config core.sparsecheckout # timeout=10 [2020-11-24T07:59:25.134Z] > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 [2020-11-24T07:59:25.220Z] > git remote # timeout=10 [2020-11-24T07:59:25.244Z] > git config --get remote.origin.url # timeout=10 [2020-11-24T07:59:25.256Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-24T07:59:25.267Z] > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 [2020-11-24T07:59:25.293Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-24T07:59:25.314Z] > git config core.sparsecheckout # timeout=10 [2020-11-24T07:59:25.374Z] > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 [2020-11-24T07:59:29.644Z] Commit message: "feat: Enhance Modbus simulator to measure reading amount" [2020-11-24T07:59:29.701Z] > git --version # timeout=10 [2020-11-24T07:59:29.717Z] > git --version # 'git version 2.17.1' [2020-11-24T07:59:29.747Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-24T07:59:31.531Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-11-24T07:59:31.973Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-24T07:59:32.392Z] + sudo service docker restart [2020-11-24T07:59:32.392Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-24T07:59:35.173Z] provisioning config files... [2020-11-24T07:59:35.215Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2247387912227616909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-24T07:59:35.692Z] ---> docker-login.sh [2020-11-24T07:59:35.692Z] nexus3.edgexfoundry.org:10001 [2020-11-24T07:59:36.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T07:59:36.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T07:59:36.947Z] Configure a credential helper to remove this warning. See [2020-11-24T07:59:36.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T07:59:36.947Z] [2020-11-24T07:59:36.947Z] Login Succeeded [2020-11-24T07:59:36.948Z] nexus3.edgexfoundry.org:10002 [2020-11-24T07:59:37.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T07:59:37.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T07:59:37.547Z] Configure a credential helper to remove this warning. See [2020-11-24T07:59:37.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T07:59:37.547Z] [2020-11-24T07:59:37.547Z] Login Succeeded [2020-11-24T07:59:37.547Z] nexus3.edgexfoundry.org:10003 [2020-11-24T07:59:37.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T07:59:38.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T07:59:38.093Z] Configure a credential helper to remove this warning. See [2020-11-24T07:59:38.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T07:59:38.093Z] [2020-11-24T07:59:38.093Z] Login Succeeded [2020-11-24T07:59:38.093Z] nexus3.edgexfoundry.org:10004 [2020-11-24T07:59:38.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T07:59:38.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T07:59:38.655Z] Configure a credential helper to remove this warning. See [2020-11-24T07:59:38.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T07:59:38.655Z] [2020-11-24T07:59:38.655Z] Login Succeeded [2020-11-24T07:59:38.655Z] docker.io [2020-11-24T07:59:38.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T07:59:39.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T07:59:39.532Z] Configure a credential helper to remove this warning. See [2020-11-24T07:59:39.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T07:59:39.532Z] [2020-11-24T07:59:39.532Z] Login Succeeded [2020-11-24T07:59:39.532Z] ---> docker-login.sh ends [Pipeline] } [2020-11-24T07:59:39.563Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-11-24T07:59:40.155Z] ========================================================= [2020-11-24T07:59:40.155Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-11-24T07:59:40.155Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-24T07:59:40.582Z] + 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-11-24T07:59:40.858Z] Sending build context to Docker daemon 521.7kB [2020-11-24T07:59:40.858Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-24T07:59:40.858Z] Step 2/8 : FROM ${BASE} [2020-11-24T07:59:41.136Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-11-24T07:59:41.136Z] b538f80385f9: Pulling fs layer [2020-11-24T07:59:41.136Z] 74f711af9a0d: Pulling fs layer [2020-11-24T07:59:41.136Z] 99f96fe45779: Pulling fs layer [2020-11-24T07:59:41.136Z] 8529a6b9a6be: Pulling fs layer [2020-11-24T07:59:41.136Z] 45590311c82a: Pulling fs layer [2020-11-24T07:59:41.136Z] 69ca0ff8b7b3: Pulling fs layer [2020-11-24T07:59:41.136Z] 209524e5b208: Pulling fs layer [2020-11-24T07:59:41.136Z] 69ca0ff8b7b3: Waiting [2020-11-24T07:59:41.136Z] 209524e5b208: Waiting [2020-11-24T07:59:41.136Z] 8529a6b9a6be: Waiting [2020-11-24T07:59:41.136Z] 45590311c82a: Waiting [2020-11-24T07:59:41.136Z] 99f96fe45779: Verifying Checksum [2020-11-24T07:59:41.136Z] 99f96fe45779: Download complete [2020-11-24T07:59:41.136Z] 74f711af9a0d: Download complete [2020-11-24T07:59:41.136Z] 45590311c82a: Verifying Checksum [2020-11-24T07:59:41.136Z] 45590311c82a: Download complete [2020-11-24T07:59:41.734Z] 69ca0ff8b7b3: Verifying Checksum [2020-11-24T07:59:41.735Z] 69ca0ff8b7b3: Download complete [2020-11-24T07:59:41.735Z] b538f80385f9: Verifying Checksum [2020-11-24T07:59:41.735Z] b538f80385f9: Download complete [2020-11-24T07:59:42.338Z] b538f80385f9: Pull complete [2020-11-24T07:59:42.959Z] 74f711af9a0d: Pull complete [2020-11-24T07:59:43.558Z] 99f96fe45779: Pull complete [2020-11-24T07:59:43.835Z] 209524e5b208: Verifying Checksum [2020-11-24T07:59:43.835Z] 209524e5b208: Download complete [2020-11-24T07:59:45.279Z] 8529a6b9a6be: Verifying Checksum [2020-11-24T07:59:45.279Z] 8529a6b9a6be: Download complete [2020-11-24T07:59:55.470Z] 8529a6b9a6be: Pull complete [2020-11-24T07:59:55.745Z] 45590311c82a: Pull complete [2020-11-24T07:59:56.341Z] 69ca0ff8b7b3: Pull complete [2020-11-24T07:59:57.875Z] Running on prd-centos7-docker-4c-2g-13339 in /w/workspace/xfoundry_device-modbus-go_PR-191 [Pipeline] { [Pipeline] ws [2020-11-24T07:59:57.995Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-11-24T07:59:59.751Z] 209524e5b208: Pull complete [2020-11-24T07:59:59.751Z] Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 [2020-11-24T07:59:59.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-11-24T07:59:59.751Z] ---> 5bddaf1c2fca [2020-11-24T07:59:59.751Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-24T08:00:00.444Z] using credential edgex-jenkins-ssh [2020-11-24T08:00:00.502Z] Cloning the remote Git repository [2020-11-24T08:00:00.528Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-24T08:00:00.608Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-11-24T08:00:00.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-24T08:00:00.676Z] > git --version # timeout=10 [2020-11-24T08:00:00.683Z] > git --version # 'git version 2.24.3' [2020-11-24T08:00:00.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-24T08:00:00.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-24T08:00:01.768Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-24T08:00:01.776Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-24T08:00:01.788Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-24T08:00:01.803Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-24T08:00:01.804Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-24T08:00:01.808Z] > 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-11-24T08:00:03.185Z] ---> Running in 8f119cf83318 [2020-11-24T08:00:03.462Z] Removing intermediate container 8f119cf83318 [2020-11-24T08:00:03.462Z] ---> 5d8d36f768d1 [2020-11-24T08:00:03.462Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-24T08:00:03.462Z] ---> Running in 0b21d8d57ceb [2020-11-24T08:00:04.157Z] Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [2020-11-24T08:00:04.237Z] Merge succeeded, producing fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [2020-11-24T08:00:04.237Z] Checking out Revision fe5f6584b7dbb4b811df51a87a3a62b214c7db01 (PR-191) [2020-11-24T08:00:04.167Z] > git config core.sparsecheckout # timeout=10 [2020-11-24T08:00:04.173Z] > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 [2020-11-24T08:00:04.208Z] > git remote # timeout=10 [2020-11-24T08:00:04.213Z] > git config --get remote.origin.url # timeout=10 [2020-11-24T08:00:04.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-24T08:00:04.222Z] > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 [2020-11-24T08:00:04.232Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-24T08:00:04.241Z] > git config core.sparsecheckout # timeout=10 [2020-11-24T08:00:04.245Z] > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 [2020-11-24T08:00:06.087Z] Removing intermediate container 0b21d8d57ceb [2020-11-24T08:00:06.087Z] ---> 3fb9647daec1 [2020-11-24T08:00:06.087Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-24T08:00:06.087Z] ---> Running in 2bc826f30f01 [2020-11-24T08:00:07.070Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-24T08:00:07.861Z] Commit message: "feat: Enhance Modbus simulator to measure reading amount" [2020-11-24T08:00:07.889Z] > git --version # timeout=10 [2020-11-24T08:00:07.894Z] > git --version # 'git version 2.24.3' [2020-11-24T08:00:07.899Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [2020-11-24T08:00:08.048Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2020-11-24T08:00:08.641Z] (1/14) Installing libmagic (5.38-r0) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-24T08:00:09.262Z] (2/14) Installing file (5.38-r0) [2020-11-24T08:00:09.262Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-24T08:00:09.262Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-24T08:00:09.395Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2020-11-24T08:00:09.750Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-11-24T08:00:10.073Z] + sudo service docker restart [2020-11-24T08:00:10.074Z] + true [2020-11-24T08:00:10.074Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-11-24T08:00:11.197Z] provisioning config files... [2020-11-24T08:00:11.270Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8901289648265446054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-11-24T08:00:11.729Z] ---> docker-login.sh [2020-11-24T08:00:11.729Z] nexus3.edgexfoundry.org:10001 [2020-11-24T08:00:11.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T08:00:11.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T08:00:11.994Z] Configure a credential helper to remove this warning. See [2020-11-24T08:00:11.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T08:00:11.994Z] [2020-11-24T08:00:11.994Z] Login Succeeded [2020-11-24T08:00:11.994Z] nexus3.edgexfoundry.org:10002 [2020-11-24T08:00:12.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T08:00:12.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T08:00:12.259Z] Configure a credential helper to remove this warning. See [2020-11-24T08:00:12.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T08:00:12.259Z] [2020-11-24T08:00:12.259Z] Login Succeeded [2020-11-24T08:00:12.259Z] nexus3.edgexfoundry.org:10003 [2020-11-24T08:00:12.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T08:00:12.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T08:00:12.531Z] Configure a credential helper to remove this warning. See [2020-11-24T08:00:12.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T08:00:12.531Z] [2020-11-24T08:00:12.531Z] Login Succeeded [2020-11-24T08:00:12.531Z] nexus3.edgexfoundry.org:10004 [2020-11-24T08:00:12.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T08:00:12.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T08:00:12.798Z] Configure a credential helper to remove this warning. See [2020-11-24T08:00:12.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T08:00:12.798Z] [2020-11-24T08:00:12.798Z] Login Succeeded [2020-11-24T08:00:12.798Z] docker.io [2020-11-24T08:00:12.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-11-24T08:00:13.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-11-24T08:00:13.062Z] Configure a credential helper to remove this warning. See [2020-11-24T08:00:13.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-11-24T08:00:13.062Z] [2020-11-24T08:00:13.062Z] Login Succeeded [2020-11-24T08:00:13.062Z] ---> docker-login.sh ends [Pipeline] } [2020-11-24T08:00:13.088Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2020-11-24T08:00:13.591Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-24T08:00:13.591Z] (6/14) Installing patch (2.7.6-r6) [2020-11-24T08:00:13.591Z] (7/14) Installing build-base (0.5-r2) [2020-11-24T08:00:13.591Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-24T08:00:13.591Z] (9/14) Installing libedit (20191231.3.1-r0) [Pipeline] echo [2020-11-24T08:00:13.706Z] ========================================================= [2020-11-24T08:00:13.706Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-11-24T08:00:13.706Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-11-24T08:00:13.864Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-24T08:00:14.096Z] + 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-11-24T08:00:14.097Z] Sending build context to Docker daemon 522.8kB [2020-11-24T08:00:14.097Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-11-24T08:00:14.097Z] Step 2/8 : FROM ${BASE} [2020-11-24T08:00:14.136Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-24T08:00:14.136Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-24T08:00:14.361Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-11-24T08:00:14.361Z] df20fa9351a1: Pulling fs layer [2020-11-24T08:00:14.361Z] ed8968b2872e: Pulling fs layer [2020-11-24T08:00:14.361Z] a92cc7c5fd73: Pulling fs layer [2020-11-24T08:00:14.361Z] e871e8e8d7a9: Pulling fs layer [2020-11-24T08:00:14.361Z] e73272ec9a57: Pulling fs layer [2020-11-24T08:00:14.361Z] 1e910a182e73: Pulling fs layer [2020-11-24T08:00:14.361Z] 4e634b169226: Pulling fs layer [2020-11-24T08:00:14.361Z] e871e8e8d7a9: Waiting [2020-11-24T08:00:14.361Z] e73272ec9a57: Waiting [2020-11-24T08:00:14.361Z] 1e910a182e73: Waiting [2020-11-24T08:00:14.361Z] 4e634b169226: Waiting [2020-11-24T08:00:14.361Z] a92cc7c5fd73: Verifying Checksum [2020-11-24T08:00:14.361Z] a92cc7c5fd73: Download complete [2020-11-24T08:00:14.361Z] ed8968b2872e: Download complete [2020-11-24T08:00:14.361Z] e73272ec9a57: Verifying Checksum [2020-11-24T08:00:14.361Z] e73272ec9a57: Download complete [2020-11-24T08:00:14.361Z] df20fa9351a1: Download complete [2020-11-24T08:00:14.361Z] 1e910a182e73: Verifying Checksum [2020-11-24T08:00:14.361Z] 1e910a182e73: Download complete [2020-11-24T08:00:14.415Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-24T08:00:14.630Z] df20fa9351a1: Pull complete [2020-11-24T08:00:14.689Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-24T08:00:14.897Z] ed8968b2872e: Pull complete [2020-11-24T08:00:14.897Z] a92cc7c5fd73: Pull complete [2020-11-24T08:00:14.962Z] Executing busybox-1.31.1-r16.trigger [2020-11-24T08:00:14.962Z] OK: 221 MiB in 53 packages [2020-11-24T08:00:16.315Z] 4e634b169226: Verifying Checksum [2020-11-24T08:00:16.315Z] 4e634b169226: Download complete [2020-11-24T08:00:16.581Z] e871e8e8d7a9: Verifying Checksum [2020-11-24T08:00:16.581Z] e871e8e8d7a9: Download complete [2020-11-24T08:00:19.306Z] Removing intermediate container 2bc826f30f01 [2020-11-24T08:00:19.307Z] ---> 6627f1bd8d49 [2020-11-24T08:00:19.307Z] Step 6/8 : WORKDIR /device-modbus-go [2020-11-24T08:00:19.307Z] ---> Running in 42593c6af8b4 [2020-11-24T08:00:19.307Z] Removing intermediate container 42593c6af8b4 [2020-11-24T08:00:19.307Z] ---> d8b45fc2f6c7 [2020-11-24T08:00:19.307Z] Step 7/8 : COPY . . [2020-11-24T08:00:20.295Z] ---> 7eff9f98bbef [2020-11-24T08:00:20.295Z] Step 8/8 : RUN go mod download [2020-11-24T08:00:20.295Z] ---> Running in 1618d1d19ad7 [2020-11-24T08:00:23.222Z] e871e8e8d7a9: Pull complete [2020-11-24T08:00:23.223Z] e73272ec9a57: Pull complete [2020-11-24T08:00:23.223Z] 1e910a182e73: Pull complete [2020-11-24T08:00:27.490Z] 4e634b169226: Pull complete [2020-11-24T08:00:27.757Z] Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 [2020-11-24T08:00:27.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-11-24T08:00:27.758Z] ---> f7629b54cfaa [2020-11-24T08:00:27.758Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-11-24T08:00:28.022Z] ---> Running in 15f5b8744f9a [2020-11-24T08:00:28.286Z] Removing intermediate container 15f5b8744f9a [2020-11-24T08:00:28.286Z] ---> 6dc7c7ebd1ef [2020-11-24T08:00:28.286Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-24T08:00:28.549Z] ---> Running in d6aecca37a11 [2020-11-24T08:00:29.512Z] Removing intermediate container d6aecca37a11 [2020-11-24T08:00:29.512Z] ---> 86a25185dd9d [2020-11-24T08:00:29.512Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-11-24T08:00:29.512Z] ---> Running in 3110fcfd3c69 [2020-11-24T08:00:30.093Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-24T08:00:30.678Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-24T08:00:31.256Z] (1/14) Installing libmagic (5.38-r0) [2020-11-24T08:00:31.519Z] (2/14) Installing file (5.38-r0) [2020-11-24T08:00:31.519Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-11-24T08:00:31.782Z] (4/14) Installing g++ (9.3.0-r2) [2020-11-24T08:00:35.101Z] (5/14) Installing fortify-headers (1.1-r0) [2020-11-24T08:00:35.101Z] (6/14) Installing patch (2.7.6-r6) [2020-11-24T08:00:35.101Z] (7/14) Installing build-base (0.5-r2) [2020-11-24T08:00:35.364Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-11-24T08:00:35.364Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-11-24T08:00:35.364Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-11-24T08:00:35.630Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-11-24T08:00:35.893Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-11-24T08:00:35.893Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-11-24T08:00:36.467Z] (14/14) Installing openssh (8.3_p1-r0) [2020-11-24T08:00:36.731Z] Executing busybox-1.31.1-r16.trigger [2020-11-24T08:00:36.998Z] OK: 237 MiB in 53 packages [2020-11-24T08:00:40.337Z] Removing intermediate container 3110fcfd3c69 [2020-11-24T08:00:40.337Z] ---> 3776948b421c [2020-11-24T08:00:40.337Z] Step 6/8 : WORKDIR /device-modbus-go [2020-11-24T08:00:40.606Z] ---> Running in 29035c9aabcd [2020-11-24T08:00:40.606Z] Removing intermediate container 29035c9aabcd [2020-11-24T08:00:40.606Z] ---> eb30a2239951 [2020-11-24T08:00:40.606Z] Step 7/8 : COPY . . [2020-11-24T08:00:41.564Z] ---> 0346cf219437 [2020-11-24T08:00:41.564Z] Step 8/8 : RUN go mod download [2020-11-24T08:00:41.564Z] ---> Running in 8de9d0eb7e97 [2020-11-24T08:00:47.096Z] Removing intermediate container 1618d1d19ad7 [2020-11-24T08:00:47.097Z] ---> 85e9243ac7b5 [2020-11-24T08:00:47.097Z] Successfully built 85e9243ac7b5 [2020-11-24T08:00:47.097Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-24T08:00:47.493Z] + docker inspect -f . ci-base-image-arm64 [2020-11-24T08:00:47.493Z] . [Pipeline] withDockerContainer [2020-11-24T08:00:47.756Z] prd-ubuntu18.04-docker-arm64-4c-16g-13338 does not seem to be running inside a container [2020-11-24T08:00:47.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-24T08:00:49.227Z] $ docker top de1f13967b98a9ff1865ff8987bb4da2fbee09e5bd67cd1df056602912cbd936 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-24T08:00:50.355Z] + go version [2020-11-24T08:00:50.355Z] go version go1.15.2 linux/arm64 [Pipeline] } [2020-11-24T08:00:50.397Z] $ docker stop --time=1 de1f13967b98a9ff1865ff8987bb4da2fbee09e5bd67cd1df056602912cbd936 [2020-11-24T08:00:52.363Z] $ docker rm -f de1f13967b98a9ff1865ff8987bb4da2fbee09e5bd67cd1df056602912cbd936 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-24T08:00:53.708Z] + docker inspect -f . ci-base-image-arm64 [2020-11-24T08:00:53.708Z] . [Pipeline] withDockerContainer [2020-11-24T08:00:53.987Z] prd-ubuntu18.04-docker-arm64-4c-16g-13338 does not seem to be running inside a container [2020-11-24T08:00:54.081Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2020-11-24T08:00:55.556Z] $ docker top 24361a3197cd3f9750aff76f6799562b9f7964874f2830079d62b504edf1fbdd -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-24T08:00:56.601Z] + make test [2020-11-24T08:00:56.601Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-24T08:00:57.583Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-11-24T08:01:03.612Z] Removing intermediate container 8de9d0eb7e97 [2020-11-24T08:01:03.612Z] ---> 9b9d34a91b32 [2020-11-24T08:01:03.612Z] Successfully built 9b9d34a91b32 [2020-11-24T08:01:03.612Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-11-24T08:01:03.979Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-24T08:01:03.979Z] . [Pipeline] withDockerContainer [2020-11-24T08:01:04.127Z] prd-centos7-docker-4c-2g-13339 does not seem to be running inside a container [2020-11-24T08:01:04.187Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-24T08:01:05.122Z] $ docker top 582d4d018f02111185cc7daddd2de41716008e29ad9fa47bd5fa538b36cd2785 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-24T08:01:05.714Z] + go version [2020-11-24T08:01:05.714Z] go version go1.15.2 linux/amd64 [Pipeline] } [2020-11-24T08:01:05.748Z] $ docker stop --time=1 582d4d018f02111185cc7daddd2de41716008e29ad9fa47bd5fa538b36cd2785 [2020-11-24T08:01:07.099Z] $ docker rm -f 582d4d018f02111185cc7daddd2de41716008e29ad9fa47bd5fa538b36cd2785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-11-24T08:01:08.401Z] + docker inspect -f . ci-base-image-x86_64 [2020-11-24T08:01:08.401Z] . [Pipeline] withDockerContainer [2020-11-24T08:01:08.540Z] prd-centos7-docker-4c-2g-13339 does not seem to be running inside a container [2020-11-24T08:01:08.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2020-11-24T08:01:09.172Z] $ docker top b81ef7ab5fd4872c07c7a16525584d3d52e08dfb60a26644ce44426ac34c269b -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-24T08:01:09.781Z] + make test [2020-11-24T08:01:09.782Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-11-24T08:01:10.763Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-11-24T08:01:23.143Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-11-24T08:01:23.144Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.254s coverage: 50.3% of statements [2020-11-24T08:01:23.144Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-11-24T08:01:24.570Z] gofmt -l . [2020-11-24T08:01:24.570Z] [ "`gofmt -l .`" = "" ] [2020-11-24T08:01:24.845Z] ./bin/test-attribution-txt.sh [2020-11-24T08:01:25.425Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-11-24T08:01:25.729Z] $ docker stop --time=1 b81ef7ab5fd4872c07c7a16525584d3d52e08dfb60a26644ce44426ac34c269b [2020-11-24T08:01:28.277Z] $ docker rm -f b81ef7ab5fd4872c07c7a16525584d3d52e08dfb60a26644ce44426ac34c269b [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-24T08:01:29.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-24T08:01:29.371Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-11-24T08:01:30.005Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-11-24T08:01:30.005Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.345s coverage: 50.3% of statements [2020-11-24T08:01:30.005Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] sh [2020-11-24T08:01:32.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-24T08:01:32.644Z] + ls -al . [2020-11-24T08:01:32.644Z] total 104 [2020-11-24T08:01:32.644Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 24 08:01 . [2020-11-24T08:01:32.644Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 24 08:00 .. [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 5589 Nov 24 08:00 Attribution.txt [2020-11-24T08:01:32.644Z] drwxrwxr-x. 2 jenkins jenkins 87 Nov 24 08:00 bin [2020-11-24T08:01:32.644Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 24 08:00 cmd [2020-11-24T08:01:32.644Z] -rw-r--r--. 1 jenkins jenkins 22364 Nov 24 08:01 coverage.out [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 1430 Nov 24 08:00 Dockerfile [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 954 Nov 24 08:00 Dockerfile.build [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 24 08:00 .dockerignore [2020-11-24T08:01:32.644Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 24 08:00 .git [2020-11-24T08:01:32.644Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 24 08:00 .github [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 338 Nov 24 08:00 .gitignore [2020-11-24T08:01:32.644Z] -rw-r--r--. 1 jenkins jenkins 517 Nov 24 08:01 go.mod [2020-11-24T08:01:32.644Z] -rw-r--r--. 1 jenkins jenkins 14643 Nov 24 08:01 go.sum [2020-11-24T08:01:32.644Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 24 08:00 internal [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 679 Nov 24 08:00 Jenkinsfile [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 24 08:00 LICENSE [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 24 08:00 Makefile [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 591 Nov 24 08:00 README.md [2020-11-24T08:01:32.644Z] drwxrwxr-x. 2 jenkins jenkins 52 Nov 24 08:00 simulator [2020-11-24T08:01:32.644Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 24 08:00 snap [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 24 07:57 VERSION [2020-11-24T08:01:32.644Z] -rw-rw-r--. 1 jenkins jenkins 229 Nov 24 08:00 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-24T08:01:32.988Z] + 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=fe5f6584b7dbb4b811df51a87a3a62b214c7db01 --label arch=amd64 --label version=0.0.0 . [2020-11-24T08:01:33.253Z] Sending build context to Docker daemon 554kB [2020-11-24T08:01:33.253Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-11-24T08:01:33.253Z] Step 2/20 : FROM ${BASE} AS builder [2020-11-24T08:01:33.253Z] ---> 9b9d34a91b32 [2020-11-24T08:01:33.253Z] Step 3/20 : ARG MAKE='make build' [2020-11-24T08:01:33.515Z] ---> Running in a9d3cc5e1a7b [2020-11-24T08:01:33.779Z] Removing intermediate container a9d3cc5e1a7b [2020-11-24T08:01:33.779Z] ---> c6f44728ea2a [2020-11-24T08:01:33.779Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-24T08:01:33.779Z] ---> Running in 4a2e759bd086 [2020-11-24T08:01:35.178Z] Removing intermediate container 4a2e759bd086 [2020-11-24T08:01:35.178Z] ---> 03ebd73f1a83 [2020-11-24T08:01:35.178Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-11-24T08:01:35.178Z] ---> Running in 075c513d2138 [2020-11-24T08:01:35.439Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-11-24T08:01:36.013Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-11-24T08:01:36.589Z] OK: 237 MiB in 53 packages [2020-11-24T08:01:36.778Z] gofmt -l . [2020-11-24T08:01:36.853Z] Removing intermediate container 075c513d2138 [2020-11-24T08:01:36.853Z] ---> af77bec1099b [2020-11-24T08:01:36.853Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-11-24T08:01:36.853Z] ---> Running in 7cb8cb545a41 [2020-11-24T08:01:37.053Z] [ "`gofmt -l .`" = "" ] [2020-11-24T08:01:37.053Z] ./bin/test-attribution-txt.sh [2020-11-24T08:01:37.116Z] Removing intermediate container 7cb8cb545a41 [2020-11-24T08:01:37.116Z] ---> 98fe6a31ba48 [2020-11-24T08:01:37.116Z] Step 7/20 : COPY . . [2020-11-24T08:01:38.036Z] ./bin/test-go-mod-tidy.sh [2020-11-24T08:01:38.064Z] ---> 6a45f188a614 [2020-11-24T08:01:38.064Z] Step 8/20 : RUN ${MAKE} [2020-11-24T08:01:38.064Z] ---> Running in fc0027658251 [Pipeline] } [2020-11-24T08:01:38.352Z] $ docker stop --time=1 24361a3197cd3f9750aff76f6799562b9f7964874f2830079d62b504edf1fbdd [2020-11-24T08:01:38.642Z] 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-11-24T08:01:40.464Z] $ docker rm -f 24361a3197cd3f9750aff76f6799562b9f7964874f2830079d62b504edf1fbdd [Pipeline] // withDockerContainer [Pipeline] sh [2020-11-24T08:01:41.499Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-11-24T08:01:41.547Z] Warning: overwriting stash ‘coverage-report’ [2020-11-24T08:01:42.303Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-11-24T08:01:43.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-11-24T08:01:43.738Z] + ls -al . [2020-11-24T08:01:43.739Z] total 136 [2020-11-24T08:01:43.739Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 24 08:01 . [2020-11-24T08:01:43.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 24 07:59 .. [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 24 07:59 .dockerignore [2020-11-24T08:01:43.739Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 24 07:59 .git [2020-11-24T08:01:43.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 07:59 .github [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 338 Nov 24 07:59 .gitignore [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 5589 Nov 24 07:59 Attribution.txt [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 1430 Nov 24 07:59 Dockerfile [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 954 Nov 24 07:59 Dockerfile.build [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 679 Nov 24 07:59 Jenkinsfile [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 24 07:59 LICENSE [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 24 07:59 Makefile [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 591 Nov 24 07:59 README.md [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 24 07:57 VERSION [2020-11-24T08:01:43.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 07:59 bin [2020-11-24T08:01:43.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 07:59 cmd [2020-11-24T08:01:43.739Z] -rw-r--r-- 1 jenkins jenkins 22364 Nov 24 08:01 coverage.out [2020-11-24T08:01:43.739Z] -rw-r--r-- 1 jenkins jenkins 517 Nov 24 08:01 go.mod [2020-11-24T08:01:43.739Z] -rw-r--r-- 1 jenkins jenkins 14643 Nov 24 08:01 go.sum [2020-11-24T08:01:43.739Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 07:59 internal [2020-11-24T08:01:43.739Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 07:59 simulator [2020-11-24T08:01:43.739Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 24 07:59 snap [2020-11-24T08:01:43.739Z] -rw-rw-r-- 1 jenkins jenkins 229 Nov 24 07:59 version.go [Pipeline] isUnix [Pipeline] sh [2020-11-24T08:01:44.147Z] + 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=fe5f6584b7dbb4b811df51a87a3a62b214c7db01 --label arch=arm64 --label version=0.0.0 . [2020-11-24T08:01:44.421Z] Sending build context to Docker daemon 553kB [2020-11-24T08:01:44.710Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-11-24T08:01:44.710Z] Step 2/20 : FROM ${BASE} AS builder [2020-11-24T08:01:44.710Z] ---> 85e9243ac7b5 [2020-11-24T08:01:44.710Z] Step 3/20 : ARG MAKE='make build' [2020-11-24T08:01:44.710Z] ---> Running in e0ee4fc9bd90 [2020-11-24T08:01:45.312Z] Removing intermediate container e0ee4fc9bd90 [2020-11-24T08:01:45.312Z] ---> 32586f92758d [2020-11-24T08:01:45.312Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-11-24T08:01:45.312Z] ---> Running in 3f6ef0542787 [2020-11-24T08:01:46.939Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-24T08:01:47.291Z] Removing intermediate container 3f6ef0542787 [2020-11-24T08:01:47.291Z] ---> 616be955a6e7 [2020-11-24T08:01:47.291Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-11-24T08:01:47.568Z] ---> Running in 6a37e6f180e9 [2020-11-24T08:01:48.558Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-11-24T08:01:49.153Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-11-24T08:01:49.749Z] OK: 221 MiB in 53 packages [2020-11-24T08:01:51.176Z] Removing intermediate container fc0027658251 [2020-11-24T08:01:51.176Z] ---> 2f205d5a8064 [2020-11-24T08:01:51.176Z] Step 9/20 : FROM scratch [2020-11-24T08:01:51.176Z] ---> [2020-11-24T08:01:51.176Z] Step 10/20 : ENV APP_PORT=49991 [2020-11-24T08:01:51.176Z] ---> Running in ecef31464645 [2020-11-24T08:01:51.176Z] Removing intermediate container ecef31464645 [2020-11-24T08:01:51.176Z] ---> c73644fac696 [2020-11-24T08:01:51.176Z] Step 11/20 : EXPOSE $APP_PORT [2020-11-24T08:01:51.176Z] ---> Running in 4b94a09dc9d8 [2020-11-24T08:01:51.176Z] Removing intermediate container 4b94a09dc9d8 [2020-11-24T08:01:51.176Z] ---> 22d0c3c76a8f [2020-11-24T08:01:51.176Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-11-24T08:01:51.176Z] Removing intermediate container 6a37e6f180e9 [2020-11-24T08:01:51.176Z] ---> 56a65711517f [2020-11-24T08:01:51.176Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-11-24T08:01:51.176Z] ---> Running in c15d12c344cf [2020-11-24T08:01:51.455Z] Removing intermediate container c15d12c344cf [2020-11-24T08:01:51.455Z] ---> e8924fca2c02 [2020-11-24T08:01:51.455Z] Step 7/20 : COPY . . [2020-11-24T08:01:51.751Z] ---> ffc609c10b69 [2020-11-24T08:01:51.751Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-11-24T08:01:52.015Z] ---> ca3eab65b358 [2020-11-24T08:01:52.015Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-11-24T08:01:52.278Z] ---> 7168141247b0 [2020-11-24T08:01:52.278Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-11-24T08:01:52.278Z] ---> Running in 6e9e9362a11f [2020-11-24T08:01:52.434Z] ---> 3871f17bba52 [2020-11-24T08:01:52.434Z] Step 8/20 : RUN ${MAKE} [2020-11-24T08:01:52.541Z] Removing intermediate container 6e9e9362a11f [2020-11-24T08:01:52.541Z] ---> d43a59f13e5f [2020-11-24T08:01:52.541Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-11-24T08:01:52.541Z] ---> Running in 053458280d82 [2020-11-24T08:01:52.706Z] ---> Running in 901c8832b56e [2020-11-24T08:01:52.804Z] Removing intermediate container 053458280d82 [2020-11-24T08:01:52.804Z] ---> ca3eb354cf73 [2020-11-24T08:01:52.804Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-24T08:01:52.804Z] ---> Running in 72c755b9f056 [2020-11-24T08:01:53.066Z] Removing intermediate container 72c755b9f056 [2020-11-24T08:01:53.066Z] ---> dbd519455a30 [2020-11-24T08:01:53.066Z] Step 18/20 : LABEL arch=amd64 [2020-11-24T08:01:53.066Z] ---> Running in 3412ba73f023 [2020-11-24T08:01:53.328Z] Removing intermediate container 3412ba73f023 [2020-11-24T08:01:53.328Z] ---> eb5c6b8e0d4a [2020-11-24T08:01:53.328Z] Step 19/20 : LABEL git_sha=fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [2020-11-24T08:01:53.328Z] ---> Running in 749b02240c6d [2020-11-24T08:01:53.592Z] Removing intermediate container 749b02240c6d [2020-11-24T08:01:53.593Z] ---> d1069e1c083c [2020-11-24T08:01:53.593Z] Step 20/20 : LABEL version=0.0.0 [2020-11-24T08:01:53.593Z] ---> Running in 77767729ad6d [2020-11-24T08:01:53.593Z] Removing intermediate container 77767729ad6d [2020-11-24T08:01:53.593Z] ---> d5ed700c4a72 [2020-11-24T08:01:53.593Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-24T08:01:53.593Z] Successfully built d5ed700c4a72 [2020-11-24T08:01:53.593Z] Successfully tagged docker-device-modbus-go:latest [2020-11-24T08:01:53.685Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd [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-11-24T08:02:09.804Z] Still waiting to schedule task [2020-11-24T08:02:09.804Z] All nodes of label ‘centos7-docker-8c-8g’ are offline [2020-11-24T08:02:20.485Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-24T08:02:23.883Z] Removing intermediate container 901c8832b56e [2020-11-24T08:02:23.883Z] ---> 09c784f29961 [2020-11-24T08:02:23.883Z] Step 9/20 : FROM scratch [2020-11-24T08:02:23.883Z] ---> [2020-11-24T08:02:23.883Z] Step 10/20 : ENV APP_PORT=49991 [2020-11-24T08:02:23.883Z] ---> Running in f8d72251df9b [2020-11-24T08:02:24.156Z] Removing intermediate container f8d72251df9b [2020-11-24T08:02:24.156Z] ---> a6447bd4bd2b [2020-11-24T08:02:24.156Z] Step 11/20 : EXPOSE $APP_PORT [2020-11-24T08:02:24.156Z] ---> Running in 9681cd812323 [2020-11-24T08:02:24.750Z] Removing intermediate container 9681cd812323 [2020-11-24T08:02:24.750Z] ---> 70322d2dfd52 [2020-11-24T08:02:24.750Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-11-24T08:02:25.729Z] ---> 0b56f4e9e91a [2020-11-24T08:02:25.729Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-11-24T08:02:26.705Z] ---> 0ac3681868d3 [2020-11-24T08:02:26.705Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-11-24T08:02:27.302Z] ---> d8b74a954324 [2020-11-24T08:02:27.302Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-11-24T08:02:27.302Z] ---> Running in ec75fb0f5d43 [2020-11-24T08:02:27.901Z] Removing intermediate container ec75fb0f5d43 [2020-11-24T08:02:27.901Z] ---> f574306436b9 [2020-11-24T08:02:27.901Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-11-24T08:02:27.901Z] ---> Running in 7ae5caf774fd [2020-11-24T08:02:28.494Z] Removing intermediate container 7ae5caf774fd [2020-11-24T08:02:28.494Z] ---> 83255cf12a1c [2020-11-24T08:02:28.494Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-11-24T08:02:28.494Z] ---> Running in 1f3f3b13f43f [2020-11-24T08:02:29.089Z] Removing intermediate container 1f3f3b13f43f [2020-11-24T08:02:29.089Z] ---> db1eb4778b17 [2020-11-24T08:02:29.089Z] Step 18/20 : LABEL arch=arm64 [2020-11-24T08:02:29.089Z] ---> Running in e51dcc22e648 [2020-11-24T08:02:29.685Z] Removing intermediate container e51dcc22e648 [2020-11-24T08:02:29.685Z] ---> 6930135c2b36 [2020-11-24T08:02:29.685Z] Step 19/20 : LABEL git_sha=fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [2020-11-24T08:02:29.685Z] ---> Running in 9992a15f6d4f [2020-11-24T08:02:30.280Z] Removing intermediate container 9992a15f6d4f [2020-11-24T08:02:30.280Z] ---> 62ff00c35cb3 [2020-11-24T08:02:30.280Z] Step 20/20 : LABEL version=0.0.0 [2020-11-24T08:02:30.280Z] ---> Running in 2e695104fffc [2020-11-24T08:02:30.875Z] Removing intermediate container 2e695104fffc [2020-11-24T08:02:30.875Z] ---> 624bf6dab61b [2020-11-24T08:02:30.875Z] [Warning] One or more build-args [ARCH] were not consumed [2020-11-24T08:02:30.875Z] Successfully built 624bf6dab61b [2020-11-24T08:02:30.875Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-11-24T08:03:07.037Z] Running on prd-centos7-docker-8c-8g-13340 in /w/workspace/xfoundry_device-modbus-go_PR-191 [Pipeline] { [Pipeline] ws [2020-11-24T08:03:07.140Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2020-11-24T08:03:09.317Z] using credential edgex-jenkins-ssh [2020-11-24T08:03:09.381Z] Cloning the remote Git repository [2020-11-24T08:03:08.961Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-11-24T08:03:09.032Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2020-11-24T08:03:09.057Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-24T08:03:09.057Z] > git --version # timeout=10 [2020-11-24T08:03:09.062Z] > git --version # 'git version 2.24.3' [2020-11-24T08:03:09.063Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-24T08:03:10.427Z] Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [2020-11-24T08:03:10.490Z] Merge succeeded, producing fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [2020-11-24T08:03:10.491Z] Checking out Revision fe5f6584b7dbb4b811df51a87a3a62b214c7db01 (PR-191) [2020-11-24T08:03:09.085Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-24T08:03:09.597Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-24T08:03:09.602Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-11-24T08:03:09.610Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-11-24T08:03:09.620Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-11-24T08:03:09.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-24T08:03:09.625Z] > 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-11-24T08:03:10.082Z] > git config core.sparsecheckout # timeout=10 [2020-11-24T08:03:10.086Z] > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 [2020-11-24T08:03:10.115Z] > git remote # timeout=10 [2020-11-24T08:03:10.119Z] > git config --get remote.origin.url # timeout=10 [2020-11-24T08:03:10.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-11-24T08:03:10.129Z] > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 [2020-11-24T08:03:10.138Z] > git rev-parse HEAD^{commit} # timeout=10 [2020-11-24T08:03:10.146Z] > git config core.sparsecheckout # timeout=10 [2020-11-24T08:03:10.152Z] > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 [2020-11-24T08:03:13.852Z] Commit message: "feat: Enhance Modbus simulator to measure reading amount" [2020-11-24T08:03:13.809Z] > git --version # timeout=10 [2020-11-24T08:03:13.812Z] > git --version # 'git version 2.24.3' [2020-11-24T08:03:13.816Z] fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2020-11-24T08:03:15.520Z] ++ find /w/workspace/device-modbus-go/1 [2020-11-24T08:03:15.520Z] ++ grep snapcraft.yaml [2020-11-24T08:03:15.520Z] + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-24T08:03:15.725Z] provisioning config files... [2020-11-24T08:03:15.736Z] copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config8088665923806810889tmp [Pipeline] { [Pipeline] sh [2020-11-24T08:03:16.181Z] + cp /w/workspace/device-modbus-go/1@tmp/config8088665923806810889tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh [2020-11-24T08:03:16.501Z] + docker run --rm -u 0:0 --privileged -v /w/workspace/device-modbus-go/1:/build -w /build -e JOB_TYPE -e SNAP_REVISION -e SNAP_CHANNEL -e SNAP_NAME nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-24T08:03:16.502Z] Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally [2020-11-24T08:03:16.763Z] latest: Pulling from edgex-devops/edgex-snap-builder [2020-11-24T08:03:16.763Z] f08d8e2a3ba1: Pulling fs layer [2020-11-24T08:03:16.763Z] 3baa9cb2483b: Pulling fs layer [2020-11-24T08:03:16.763Z] 94e5ff4c0b15: Pulling fs layer [2020-11-24T08:03:16.763Z] 1860925334f9: Pulling fs layer [2020-11-24T08:03:16.763Z] 2daf38717194: Pulling fs layer [2020-11-24T08:03:16.763Z] 309017e8d7a4: Pulling fs layer [2020-11-24T08:03:16.763Z] f7790dc9fd0f: Pulling fs layer [2020-11-24T08:03:16.763Z] cac0ae9282c2: Pulling fs layer [2020-11-24T08:03:16.763Z] 1f4cadf9a1ed: Pulling fs layer [2020-11-24T08:03:16.763Z] 1860925334f9: Waiting [2020-11-24T08:03:16.763Z] cac0ae9282c2: Waiting [2020-11-24T08:03:16.763Z] 2daf38717194: Waiting [2020-11-24T08:03:16.763Z] 309017e8d7a4: Waiting [2020-11-24T08:03:16.763Z] f7790dc9fd0f: Waiting [2020-11-24T08:03:16.763Z] 1f4cadf9a1ed: Waiting [2020-11-24T08:03:16.763Z] 94e5ff4c0b15: Verifying Checksum [2020-11-24T08:03:16.763Z] 94e5ff4c0b15: Download complete [2020-11-24T08:03:16.763Z] 3baa9cb2483b: Download complete [2020-11-24T08:03:16.763Z] 1860925334f9: Verifying Checksum [2020-11-24T08:03:16.763Z] 1860925334f9: Download complete [2020-11-24T08:03:16.763Z] 309017e8d7a4: Download complete [2020-11-24T08:03:16.763Z] f7790dc9fd0f: Verifying Checksum [2020-11-24T08:03:16.763Z] f7790dc9fd0f: Download complete [2020-11-24T08:03:17.341Z] cac0ae9282c2: Verifying Checksum [2020-11-24T08:03:17.341Z] cac0ae9282c2: Download complete [2020-11-24T08:03:17.341Z] 1f4cadf9a1ed: Verifying Checksum [2020-11-24T08:03:17.341Z] 1f4cadf9a1ed: Download complete [2020-11-24T08:03:19.255Z] f08d8e2a3ba1: Verifying Checksum [2020-11-24T08:03:19.255Z] f08d8e2a3ba1: Download complete [2020-11-24T08:03:20.644Z] f08d8e2a3ba1: Pull complete [2020-11-24T08:03:20.644Z] 3baa9cb2483b: Pull complete [2020-11-24T08:03:20.644Z] 94e5ff4c0b15: Pull complete [2020-11-24T08:03:20.644Z] 1860925334f9: Pull complete [2020-11-24T08:03:23.995Z] 2daf38717194: Download complete [2020-11-24T08:03:38.922Z] 2daf38717194: Pull complete [2020-11-24T08:03:38.922Z] 309017e8d7a4: Pull complete [2020-11-24T08:03:39.183Z] f7790dc9fd0f: Pull complete [2020-11-24T08:03:39.183Z] cac0ae9282c2: Pull complete [2020-11-24T08:03:39.445Z] 1f4cadf9a1ed: Pull complete [2020-11-24T08:03:39.445Z] Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 [2020-11-24T08:03:39.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest [2020-11-24T08:03:42.759Z] Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-24T08:03:42.759Z] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] [2020-11-24T08:03:42.759Z] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] [2020-11-24T08:03:43.022Z] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] [2020-11-24T08:03:43.022Z] Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] [2020-11-24T08:03:43.283Z] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [252 kB] [2020-11-24T08:03:43.283Z] Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1781 kB] [2020-11-24T08:03:43.283Z] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2208 kB] [2020-11-24T08:03:43.546Z] Get:9 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [222 kB] [2020-11-24T08:03:43.546Z] Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1365 kB] [2020-11-24T08:03:43.546Z] Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2130 kB] [2020-11-24T08:03:43.807Z] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [54.3 kB] [2020-11-24T08:03:43.807Z] Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] [2020-11-24T08:03:43.807Z] Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] [2020-11-24T08:03:44.377Z] Fetched 8303 kB in 2s (4557 kB/s) [2020-11-24T08:03:45.759Z] Reading package lists... [2020-11-24T08:03:48.301Z] 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [2020-11-24T08:03:49.373Z] 0% [Connecting to archive.ubuntu.com (91.189.88.152)] 0% [1 InRelease gpgv 88.7 kB] [Connecting to archive.ubuntu.com (91.189.88.152) 0% [Waiting for headers] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease [2020-11-24T08:03:49.373Z] 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [2020-11-24T08:03:49.373Z] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] 0% [Waiting for headers] 0% [3 InRelease gpgv 88.7 kB] [Waiting for headers] Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [2020-11-24T08:03:49.893Z] 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... 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-11-24T08:03:51.803Z] 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-11-24T08:03:52.635Z] 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... 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-11-24T08:03:52.895Z] Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree [2020-11-24T08:03:52.895Z] Reading state information... 0% Reading state information... 0% Reading state information... Done [2020-11-24T08:03:53.155Z] The following packages were automatically installed and are no longer required: [2020-11-24T08:03:53.156Z] libjq1 libonig4 [2020-11-24T08:03:53.156Z] Use 'sudo apt autoremove' to remove them. [2020-11-24T08:03:53.156Z] Suggested packages: [2020-11-24T08:03:53.156Z] gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email [2020-11-24T08:03:53.156Z] git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed [2020-11-24T08:03:53.156Z] diffutils-doc perl-doc libterm-readline-gnu-perl [2020-11-24T08:03:53.156Z] | libterm-readline-perl-perl [2020-11-24T08:03:53.156Z] The following NEW packages will be installed: [2020-11-24T08:03:53.156Z] curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 [2020-11-24T08:03:53.156Z] libperl5.26 make netbase patch perl perl-modules-5.26 [2020-11-24T08:03:53.156Z] The following packages will be upgraded: [2020-11-24T08:03:53.156Z] perl-base [2020-11-24T08:03:53.156Z] 1 upgraded, 14 newly installed, 0 to remove and 50 not upgraded. [2020-11-24T08:03:53.156Z] Need to get 13.4 MB of archives. [2020-11-24T08:03:53.156Z] After this operation, 77.5 MB of additional disk space will be used. [2020-11-24T08:03:53.418Z] 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] [2020-11-24T08:03:53.990Z] 0% [1 perl-base 12.6 kB/1391 kB 1%] 4% [1 perl-base 673 kB/1391 kB 48%] 10% [Waiting for headers] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-modules-5.26 all 5.26.1-6ubuntu0.5 [2762 kB] [2020-11-24T08:03:54.252Z] 10% [2 perl-modules-5.26 22.9 kB/2762 kB 1%] Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm5 amd64 1.14.1-6 [26.0 kB] [2020-11-24T08:03:54.252Z] 28% [3 libgdbm5 19.1 kB/26.0 kB 73%] Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgdbm-compat4 amd64 1.14.1-6 [6084 B] [2020-11-24T08:03:54.252Z] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] [2020-11-24T08:03:54.252Z] 30% [5 libperl5.26 27.6 kB/3534 kB 1%] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl amd64 5.26.1-6ubuntu0.5 [201 kB] [2020-11-24T08:03:54.252Z] 53% [6 perl 65.5 kB/201 kB 33%] Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 less amd64 487-0.1 [112 kB] [2020-11-24T08:03:54.252Z] 55% [7 less 3899 B/112 kB 3%] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 netbase all 5.4 [12.7 kB] [2020-11-24T08:03:54.252Z] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] [2020-11-24T08:03:54.252Z] 59% [9 curl 32.4 kB/159 kB 20%] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.10 [213 kB] [2020-11-24T08:03:54.252Z] 61% [10 libcurl3-gnutls 86.0 kB/213 kB 40%] Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 liberror-perl all 0.17025-1 [22.8 kB] [2020-11-24T08:03:54.252Z] 64% [11 liberror-perl 22.6 kB/22.8 kB 99%] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.7 [804 kB] [2020-11-24T08:03:54.252Z] 65% [12 git-man 38.1 kB/804 kB 5%] 71% [Working] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.7 [3915 kB] [2020-11-24T08:03:54.514Z] 71% [13 git 43.5 kB/3915 kB 1%] 96% [Waiting for headers] Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB] [2020-11-24T08:03:54.514Z] 96% [14 make 11.3 kB/154 kB 7%] 98% [Working] Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB] [2020-11-24T08:03:54.514Z] 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 1s (9636 kB/s) [2020-11-24T08:03:54.774Z] debconf: delaying package configuration, since apt-utils is not installed [2020-11-24T08:03:54.774Z] (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-11-24T08:03:54.774Z] Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-24T08:03:54.774Z] Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... [2020-11-24T08:03:58.975Z] Setting up perl-base (5.26.1-6ubuntu0.5) ... [2020-11-24T08:03:58.975Z] Selecting previously unselected package perl-modules-5.26. [2020-11-24T08:03:58.975Z] (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-11-24T08:03:58.975Z] Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... [2020-11-24T08:03:58.975Z] Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-24T08:03:59.545Z] Selecting previously unselected package libgdbm5:amd64. [2020-11-24T08:03:59.545Z] Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... [2020-11-24T08:03:59.545Z] Unpacking libgdbm5:amd64 (1.14.1-6) ... [2020-11-24T08:03:59.545Z] Selecting previously unselected package libgdbm-compat4:amd64. [2020-11-24T08:03:59.545Z] Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... [2020-11-24T08:03:59.545Z] Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-24T08:03:59.545Z] Selecting previously unselected package libperl5.26:amd64. [2020-11-24T08:03:59.545Z] Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-24T08:03:59.805Z] Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-24T08:04:00.377Z] Selecting previously unselected package perl. [2020-11-24T08:04:00.377Z] Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... [2020-11-24T08:04:00.377Z] Unpacking perl (5.26.1-6ubuntu0.5) ... [2020-11-24T08:04:00.377Z] Selecting previously unselected package less. [2020-11-24T08:04:00.377Z] Preparing to unpack .../05-less_487-0.1_amd64.deb ... [2020-11-24T08:04:00.377Z] Unpacking less (487-0.1) ... [2020-11-24T08:04:00.377Z] Selecting previously unselected package netbase. [2020-11-24T08:04:00.377Z] Preparing to unpack .../06-netbase_5.4_all.deb ... [2020-11-24T08:04:00.377Z] Unpacking netbase (5.4) ... [2020-11-24T08:04:00.377Z] Selecting previously unselected package curl. [2020-11-24T08:04:00.377Z] Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-24T08:04:00.377Z] Unpacking curl (7.58.0-2ubuntu3.10) ... [2020-11-24T08:04:00.377Z] Selecting previously unselected package libcurl3-gnutls:amd64. [2020-11-24T08:04:00.377Z] Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... [2020-11-24T08:04:00.377Z] Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-24T08:04:00.637Z] Selecting previously unselected package liberror-perl. [2020-11-24T08:04:00.637Z] Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... [2020-11-24T08:04:00.637Z] Unpacking liberror-perl (0.17025-1) ... [2020-11-24T08:04:00.637Z] Selecting previously unselected package git-man. [2020-11-24T08:04:00.637Z] Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... [2020-11-24T08:04:00.637Z] Unpacking git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-24T08:04:00.637Z] Selecting previously unselected package git. [2020-11-24T08:04:00.637Z] Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... [2020-11-24T08:04:00.897Z] Unpacking git (1:2.17.1-1ubuntu0.7) ... [2020-11-24T08:04:01.473Z] Selecting previously unselected package make. [2020-11-24T08:04:01.473Z] Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... [2020-11-24T08:04:01.473Z] Unpacking make (4.1-9.1ubuntu1) ... [2020-11-24T08:04:01.473Z] Selecting previously unselected package patch. [2020-11-24T08:04:01.473Z] Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... [2020-11-24T08:04:01.473Z] Unpacking patch (2.7.6-2ubuntu1.1) ... [2020-11-24T08:04:01.473Z] Setting up git-man (1:2.17.1-1ubuntu0.7) ... [2020-11-24T08:04:01.473Z] Setting up less (487-0.1) ... [2020-11-24T08:04:01.735Z] Setting up make (4.1-9.1ubuntu1) ... [2020-11-24T08:04:01.735Z] Setting up curl (7.58.0-2ubuntu3.10) ... [2020-11-24T08:04:01.735Z] Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... [2020-11-24T08:04:01.735Z] Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... [2020-11-24T08:04:01.735Z] Setting up libgdbm5:amd64 (1.14.1-6) ... [2020-11-24T08:04:01.735Z] Setting up patch (2.7.6-2ubuntu1.1) ... [2020-11-24T08:04:01.735Z] Setting up libgdbm-compat4:amd64 (1.14.1-6) ... [2020-11-24T08:04:01.735Z] Setting up netbase (5.4) ... [2020-11-24T08:04:01.735Z] Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... [2020-11-24T08:04:01.735Z] Setting up perl (5.26.1-6ubuntu0.5) ... [2020-11-24T08:04:01.995Z] Setting up liberror-perl (0.17025-1) ... [2020-11-24T08:04:01.995Z] Setting up git (1:2.17.1-1ubuntu0.7) ... [2020-11-24T08:04:01.995Z] Processing triggers for libc-bin (2.27-3ubuntu1.2) ... [2020-11-24T08:04:01.995Z] Processing triggers for mime-support (3.60ubuntu1) ... [2020-11-24T08:04:03.377Z] curl set to automatically installed. [2020-11-24T08:04:03.377Z] git set to automatically installed. [2020-11-24T08:04:03.377Z] git-man set to automatically installed. [2020-11-24T08:04:03.377Z] less set to automatically installed. [2020-11-24T08:04:03.377Z] libcurl3-gnutls set to automatically installed. [2020-11-24T08:04:03.377Z] liberror-perl set to automatically installed. [2020-11-24T08:04:03.377Z] libgdbm-compat4 set to automatically installed. [2020-11-24T08:04:03.377Z] libgdbm5 set to automatically installed. [2020-11-24T08:04:03.377Z] libperl5.26 set to automatically installed. [2020-11-24T08:04:03.377Z] make set to automatically installed. [2020-11-24T08:04:03.377Z] netbase set to automatically installed. [2020-11-24T08:04:03.377Z] patch set to automatically installed. [2020-11-24T08:04:03.377Z] perl set to automatically installed. [2020-11-24T08:04:03.377Z] perl-base set to automatically installed. [2020-11-24T08:04:03.377Z] perl-modules-5.26 set to automatically installed. [2020-11-24T08:04:03.377Z] The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. [2020-11-24T08:04:03.377Z] Please ensure the environment is properly setup before continuing. [2020-11-24T08:04:03.377Z] Ignore this message if the appropriate measures have already been taken [2020-11-24T08:04:03.948Z] Pulling go  [2020-11-24T08:04:04.888Z] 'device-modbus' has dependencies that need to be staged: go [2020-11-24T08:04:04.888Z] Skipping pull go (already ran) [2020-11-24T08:04:04.888Z] Building go  [2020-11-24T08:04:04.888Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-24T08:04:04.888Z] Dload Upload Total Spent Left Speed [2020-11-24T08:04:07.736Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 5 115M 5 6094k 0 0 5883k 0 0:00:20 0:00:01 0:00:19 5877k 58 115M 58 68.0M 0 0 33.4M 0 0:00:03 0:00:02 0:00:01 33.4M 100 115M 100 115M 0 0 40.6M 0 0:00:02 0:00:02 --:--:-- 40.6M [2020-11-24T08:04:08.676Z] go1.15.2.linux-amd64.tar.gz: OK [2020-11-24T08:04:15.257Z] Staging go  [2020-11-24T08:04:15.257Z] Pulling device-modbus  [2020-11-24T08:04:15.831Z] Skipping build go (already ran) [2020-11-24T08:04:15.831Z] Building device-modbus  [2020-11-24T08:04:15.831Z] 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-11-24T08:04:16.776Z] go: downloading github.com/edgexfoundry/device-sdk-go v1.3.0 [2020-11-24T08:04:16.776Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.111 [2020-11-24T08:04:16.776Z] go: downloading github.com/goburrow/modbus v0.1.0 [2020-11-24T08:04:17.038Z] go: downloading github.com/goburrow/serial v0.1.0 [2020-11-24T08:04:17.038Z] go: downloading github.com/gorilla/mux v1.7.1 [2020-11-24T08:04:17.038Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 [2020-11-24T08:04:17.038Z] go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 [2020-11-24T08:04:17.038Z] go: downloading github.com/go-kit/kit v0.8.0 [2020-11-24T08:04:17.038Z] go: downloading github.com/google/uuid v1.1.2 [2020-11-24T08:04:17.038Z] go: downloading github.com/pkg/errors v0.8.1 [2020-11-24T08:04:17.038Z] go: downloading github.com/pelletier/go-toml v1.2.0 [2020-11-24T08:04:17.038Z] go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 [2020-11-24T08:04:17.038Z] go: downloading github.com/go-playground/validator/v10 v10.3.0 [2020-11-24T08:04:17.038Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2020-11-24T08:04:17.038Z] go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 [2020-11-24T08:04:17.038Z] go: downloading github.com/fxamacker/cbor/v2 v2.2.0 [2020-11-24T08:04:17.038Z] go: downloading github.com/BurntSushi/toml v0.3.1 [2020-11-24T08:04:17.038Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2020-11-24T08:04:17.038Z] go: downloading github.com/hashicorp/consul/api v1.1.0 [2020-11-24T08:04:17.038Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2020-11-24T08:04:17.038Z] go: downloading github.com/leodido/go-urn v1.2.0 [2020-11-24T08:04:17.038Z] go: downloading github.com/go-playground/universal-translator v0.17.0 [2020-11-24T08:04:17.299Z] go: downloading github.com/go-logfmt/logfmt v0.4.0 [2020-11-24T08:04:17.299Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2020-11-24T08:04:17.299Z] go: downloading github.com/x448/float16 v0.8.4 [2020-11-24T08:04:17.299Z] go: downloading github.com/go-playground/locales v0.13.0 [2020-11-24T08:04:17.299Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2020-11-24T08:04:17.299Z] go: downloading github.com/hashicorp/serf v0.8.2 [2020-11-24T08:04:17.299Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2020-11-24T08:04:17.299Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.0 [2020-11-24T08:04:17.299Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2020-11-24T08:04:17.299Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2020-11-24T08:04:17.561Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2020-11-24T08:04:17.561Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2020-11-24T08:04:17.561Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2020-11-24T08:04:17.561Z] go: downloading github.com/hashicorp/golang-lru v0.5.1 [2020-11-24T08:04:22.905Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-11-24T08:04:26.207Z] Skipping stage go (already ran) [2020-11-24T08:04:26.207Z] Staging device-modbus  [2020-11-24T08:04:27.151Z] Priming go  [2020-11-24T08:04:28.091Z] Priming device-modbus  [2020-11-24T08:04:28.662Z] DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. [2020-11-24T08:04:28.662Z] See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. [2020-11-24T08:04:28.662Z] Determining the version from the project repo (version-script). [2020-11-24T08:04:28.662Z] The version has been set to 'local-dev-20201124+fe5f658' [2020-11-24T08:04:29.484Z] Snapping | Snapping / Snapping - Snapping | [2020-11-24T08:04:29.484Z] Snapped edgex-device-modbus_local-dev-20201124+fe5f658_amd64.snap [Pipeline] } [2020-11-24T08:04:31.427Z] 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-11-24T08:04:34.332Z] provisioning config files... [2020-11-24T08:04:34.347Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/config3542105654073635812tmp [Pipeline] { [Pipeline] sh [2020-11-24T08:04:34.801Z] + set +x [2020-11-24T08:04:34.802Z] + curl -s https://codecov.io/bash [2020-11-24T08:04:34.802Z] + bash -s -- [2020-11-24T08:04:35.066Z] [2020-11-24T08:04:35.066Z] _____ _ [2020-11-24T08:04:35.066Z] / ____| | | [2020-11-24T08:04:35.066Z] | | ___ __| | ___ ___ _____ __ [2020-11-24T08:04:35.066Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-11-24T08:04:35.066Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-11-24T08:04:35.066Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-11-24T08:04:35.066Z] Bash-20201123-d0fed5f [2020-11-24T08:04:35.066Z] [2020-11-24T08:04:35.066Z] [2020-11-24T08:04:35.066Z] ==> Jenkins CI detected. [2020-11-24T08:04:35.066Z] project root: . [2020-11-24T08:04:35.066Z] --> token set from env [2020-11-24T08:04:35.066Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-11-24T08:04:35.066Z] ==> Running gcov in . (disable via -X gcov) [2020-11-24T08:04:35.066Z] ==> Python coveragepy not found [2020-11-24T08:04:35.066Z] ==> Searching for coverage reports in: [2020-11-24T08:04:35.066Z] + . [2020-11-24T08:04:35.066Z] -> Found 1 reports [2020-11-24T08:04:35.066Z] ==> Detecting git/mercurial file structure [2020-11-24T08:04:35.066Z] ==> Reading reports [2020-11-24T08:04:35.066Z] + ./coverage.out bytes=22364 [2020-11-24T08:04:35.066Z] ==> Appending adjustments [2020-11-24T08:04:35.066Z] https://docs.codecov.io/docs/fixing-reports [2020-11-24T08:04:35.328Z] + Found adjustments [2020-11-24T08:04:35.328Z] ==> Gzipping contents [2020-11-24T08:04:35.328Z] ==> Uploading reports [2020-11-24T08:04:35.328Z] url: https://codecov.io [2020-11-24T08:04:35.328Z] query: branch=PR-191&commit=fe5f6584b7dbb4b811df51a87a3a62b214c7db01&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-191%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=191&job=&cmd_args= [2020-11-24T08:04:35.328Z] -> Pinging Codecov [2020-11-24T08:04:35.328Z] https://codecov.io/upload/v4?package=bash-20201123-d0fed5f&token=secret&branch=PR-191&commit=fe5f6584b7dbb4b811df51a87a3a62b214c7db01&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-191%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=191&job=&cmd_args= [2020-11-24T08:04:35.905Z] -> Uploading to [2020-11-24T08:04:35.905Z] https://storage.googleapis.com/codecov/v4/raw/2020-11-24/55DBCA73C666E3227836607328DD7E49/fe5f6584b7dbb4b811df51a87a3a62b214c7db01/df1fa4b2-552f-4c39-9078-708786c75039.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201124%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201124T080435Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6fea3f981a943f7e994a261e1e2d6b8e06eadb0bc3196d9547b9266e6dc29ec [2020-11-24T08:04:35.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-11-24T08:04:35.905Z] Dload Upload Total Spent Left Speed [2020-11-24T08:04:36.168Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4188 0 0 100 4188 0 10017 --:--:-- --:--:-- --:--:-- 10043 [2020-11-24T08:04:36.168Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [Pipeline] } [2020-11-24T08:04:36.189Z] 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-11-24T08:04:39.981Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-24T08:04:40.354Z] ---> package-listing.sh [2020-11-24T08:04:40.354Z] ++ facter osfamily [2020-11-24T08:04:40.354Z] ++ tr '[:upper:]' '[:lower:]' [2020-11-24T08:04:40.354Z] + OS_FAMILY=redhat [2020-11-24T08:04:40.354Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-191 [2020-11-24T08:04:40.354Z] + START_PACKAGES=/tmp/packages_start.txt [2020-11-24T08:04:40.354Z] + END_PACKAGES=/tmp/packages_end.txt [2020-11-24T08:04:40.354Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-11-24T08:04:40.354Z] + PACKAGES=/tmp/packages_start.txt [2020-11-24T08:04:40.354Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-191 ']' [2020-11-24T08:04:40.354Z] + PACKAGES=/tmp/packages_end.txt [2020-11-24T08:04:40.354Z] + case "${OS_FAMILY}" in [2020-11-24T08:04:40.354Z] + rpm -qa [2020-11-24T08:04:40.354Z] + sort [2020-11-24T08:04:44.595Z] + '[' -f /tmp/packages_start.txt ']' [2020-11-24T08:04:44.595Z] + '[' -f /tmp/packages_end.txt ']' [2020-11-24T08:04:44.595Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-11-24T08:04:44.595Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-191 ']' [2020-11-24T08:04:44.595Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-191/archives/ [2020-11-24T08:04:44.595Z] + 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-11-24T08:04:44.632Z] 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-11-24T08:04:44.946Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-11-24T08:04:45.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-24T08:04:45.295Z] [2020-11-24T08:04:45.295Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-11-24T08:04:45.698Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-24T08:04:45.698Z] alpine: Pulling from edgex-lftools-log-publisher [2020-11-24T08:04:45.698Z] df20fa9351a1: Pulling fs layer [2020-11-24T08:04:45.698Z] 36b3adc4ff6f: Pulling fs layer [2020-11-24T08:04:45.698Z] 8ad3a11d3b57: Pulling fs layer [2020-11-24T08:04:45.698Z] 46f8f816bc3b: Pulling fs layer [2020-11-24T08:04:45.698Z] 93b61091891f: Pulling fs layer [2020-11-24T08:04:45.698Z] 93b9cdb0e59b: Pulling fs layer [2020-11-24T08:04:45.698Z] 5e14af77c1be: Pulling fs layer [2020-11-24T08:04:45.698Z] 01666e4c0597: Pulling fs layer [2020-11-24T08:04:45.698Z] aa168da1d23b: Pulling fs layer [2020-11-24T08:04:45.698Z] 46f8f816bc3b: Waiting [2020-11-24T08:04:45.698Z] 93b9cdb0e59b: Waiting [2020-11-24T08:04:45.698Z] 01666e4c0597: Waiting [2020-11-24T08:04:45.698Z] aa168da1d23b: Waiting [2020-11-24T08:04:45.698Z] 93b61091891f: Waiting [2020-11-24T08:04:45.698Z] 36b3adc4ff6f: Verifying Checksum [2020-11-24T08:04:45.698Z] 36b3adc4ff6f: Download complete [2020-11-24T08:04:45.698Z] 46f8f816bc3b: Verifying Checksum [2020-11-24T08:04:45.698Z] 46f8f816bc3b: Download complete [2020-11-24T08:04:45.965Z] df20fa9351a1: Download complete [2020-11-24T08:04:45.965Z] 93b61091891f: Download complete [2020-11-24T08:04:45.965Z] 93b9cdb0e59b: Verifying Checksum [2020-11-24T08:04:45.965Z] 93b9cdb0e59b: Download complete [2020-11-24T08:04:45.965Z] 5e14af77c1be: Verifying Checksum [2020-11-24T08:04:45.965Z] 5e14af77c1be: Download complete [2020-11-24T08:04:45.965Z] 01666e4c0597: Verifying Checksum [2020-11-24T08:04:45.965Z] 01666e4c0597: Download complete [2020-11-24T08:04:45.965Z] 8ad3a11d3b57: Verifying Checksum [2020-11-24T08:04:45.965Z] 8ad3a11d3b57: Download complete [2020-11-24T08:04:46.230Z] df20fa9351a1: Pull complete [2020-11-24T08:04:46.501Z] 36b3adc4ff6f: Pull complete [2020-11-24T08:04:47.917Z] aa168da1d23b: Verifying Checksum [2020-11-24T08:04:48.181Z] 8ad3a11d3b57: Pull complete [2020-11-24T08:04:48.181Z] 46f8f816bc3b: Pull complete [2020-11-24T08:04:48.757Z] 93b61091891f: Pull complete [2020-11-24T08:04:49.022Z] 93b9cdb0e59b: Pull complete [2020-11-24T08:04:49.022Z] 5e14af77c1be: Pull complete [2020-11-24T08:04:49.022Z] 01666e4c0597: Pull complete [2020-11-24T08:04:57.196Z] aa168da1d23b: Pull complete [2020-11-24T08:04:57.196Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-11-24T08:04:57.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-11-24T08:04:57.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-11-24T08:04:57.395Z] prd-centos7-docker-4c-2g-13337 does not seem to be running inside a container [2020-11-24T08:04:57.448Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-11-24T08:05:01.557Z] $ docker top 4e1ba9c9b550780fd1785a0bc4f69f965cb349ae48ccfb1e3e92ae691ee07851 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-11-24T08:05:02.255Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-11-24T08:05:02.578Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-11-24T08:05:02.900Z] + ls /var/log/sa-host [2020-11-24T08:05:02.900Z] + sadf -c /var/log/sa-host/sa23 [2020-11-24T08:05:02.900Z] file_magic: OK [2020-11-24T08:05:02.900Z] HZ: Using current value: 100 [2020-11-24T08:05:02.900Z] file_header: OK [2020-11-24T08:05:02.900Z] 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-11-24T08:05:02.900Z] Statistics: [2020-11-24T08:05:02.900Z] Hnuu...uuuununununu... [2020-11-24T08:05:02.900Z] File successfully converted to sysstat format version 12.2.1 [2020-11-24T08:05:02.900Z] + sadf -c /var/log/sa-host/sa24 [2020-11-24T08:05:02.900Z] file_magic: OK [2020-11-24T08:05:02.900Z] HZ: Using current value: 100 [2020-11-24T08:05:02.900Z] file_header: OK [2020-11-24T08:05:02.900Z] 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-11-24T08:05:02.900Z] Statistics: [2020-11-24T08:05:02.900Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-11-24T08:05:02.900Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-11-24T08:05:03.650Z] provisioning config files... [2020-11-24T08:05:03.667Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/config5674518906718767434tmp [Pipeline] { [Pipeline] echo [2020-11-24T08:05:03.799Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-24T08:05:04.137Z] ---> create-netrc.sh [Pipeline] } [2020-11-24T08:05:04.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-11-24T08:05:04.324Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-24T08:05:04.673Z] ---> python-tools-install.sh [Pipeline] echo [2020-11-24T08:05:04.708Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-24T08:05:05.046Z] ---> sudo-logs.sh [2020-11-24T08:05:05.046Z] Archiving 'sudo' log.. [Pipeline] echo [2020-11-24T08:05:05.078Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-24T08:05:05.415Z] ---> job-cost.sh [2020-11-24T08:05:05.415Z] lf-activate-venv: SKIPPING [2020-11-24T08:05:05.415Z] INFO: No Stack... [2020-11-24T08:05:07.343Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-11-24T08:05:07.918Z] INFO: Archiving Costs [Pipeline] echo [2020-11-24T08:05:07.954Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-11-24T08:05:08.289Z] ---> logs-deploy.sh [2020-11-24T08:05:08.290Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-191/1 [2020-11-24T08:05:08.290Z] INFO: archiving workspace using pattern(s): [2020-11-24T08:05:10.211Z] Archives upload complete. [2020-11-24T08:05:10.211Z] INFO: archiving logs to Nexus