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 07:56:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:56:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:56:51 ========================================================= 07:56:51 EdgeX Global Pipelines Version Info 07:56:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:56:53 ------------------- 07:56:53 stable info: 07:56:53 ------------------- 07:56:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:56:53 Commit SHA: d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 07:56:53 Message: update stable to v1.0.167 07:56:54 ------------------- 07:56:54 experimental info: 07:56:54 ------------------- 07:56:54 Commited By: **** collab-it+edgex@linuxfoundation.org 07:56:54 Commit SHA: 0d18be6431106a7569620da64dad388747d7ba9a 07:56:54 Message: update experimental to v1.0.168 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 07:56:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 07:56:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 07:56:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:56:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:56:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:56:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:56:55 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:56:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:56:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:56:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:56:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 07:56:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:56:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:56:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:56:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:56:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:56:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:56:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:56:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 07:56:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:56:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:56:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:56:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:56:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:56:58 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:56:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-191 [Pipeline] echo 07:56:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-191 [Pipeline] echo 07:56:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-191 [Pipeline] echo 07:56:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [Pipeline] echo 07:56:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe5f658 [Pipeline] echo 07:56:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:56:59 provisioning config files... 07:56:59 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/config4688793682004641533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:57:00 ---> docker-login.sh 07:57:00 nexus3.edgexfoundry.org:10001 07:57:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:00 Configure a credential helper to remove this warning. See 07:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:00 07:57:00 Login Succeeded 07:57:00 nexus3.edgexfoundry.org:10002 07:57:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:00 Configure a credential helper to remove this warning. See 07:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:00 07:57:00 Login Succeeded 07:57:00 nexus3.edgexfoundry.org:10003 07:57:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:00 Configure a credential helper to remove this warning. See 07:57:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:00 07:57:00 Login Succeeded 07:57:00 nexus3.edgexfoundry.org:10004 07:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:01 Configure a credential helper to remove this warning. See 07:57:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:01 07:57:01 Login Succeeded 07:57:01 docker.io 07:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:01 Configure a credential helper to remove this warning. See 07:57:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:01 07:57:01 Login Succeeded 07:57:01 ---> docker-login.sh ends [Pipeline] } 07:57:01 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:57:02 + git log --format=format:%s -1 fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [Pipeline] echo 07:57:02 GIT_COMMIT: fe5f6584b7dbb4b811df51a87a3a62b214c7db01, Commit Message: feat: Enhance Modbus simulator to measure reading amount [Pipeline] echo 07:57:02 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:57:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:57:03 07:57:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:57:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:57:04 latest: Pulling from edgex-devops/git-semver 07:57:04 31603596830f: Pulling fs layer 07:57:04 2a8b12db71e7: Pulling fs layer 07:57:04 6ca5941a6612: Pulling fs layer 07:57:04 ecc8261a40a4: Pulling fs layer 07:57:04 ecc8261a40a4: Waiting 07:57:04 2a8b12db71e7: Verifying Checksum 07:57:04 2a8b12db71e7: Download complete 07:57:04 31603596830f: Verifying Checksum 07:57:04 31603596830f: Download complete 07:57:04 6ca5941a6612: Verifying Checksum 07:57:04 6ca5941a6612: Download complete 07:57:04 ecc8261a40a4: Verifying Checksum 07:57:04 ecc8261a40a4: Download complete 07:57:04 31603596830f: Pull complete 07:57:04 2a8b12db71e7: Pull complete 07:57:05 6ca5941a6612: Pull complete 07:57:06 ecc8261a40a4: Pull complete 07:57:06 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:57:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:57:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:57:06 prd-centos7-docker-4c-2g-13337 does not seem to be running inside a container 07:57:06 $ 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 07:57:08 $ docker top 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:57:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:08 [ssh-agent] Looking for ssh-agent implementation... 07:57:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:09 $ docker exec 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 ssh-agent 07:57:09 SSH_AUTH_SOCK=/tmp/ssh-hVyCh4afoJBZ/agent.12 07:57:09 SSH_AGENT_PID=17 07:57:09 Running ssh-add (command line suppressed) 07:57:09 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) 07:57:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:09 + git tag --points-at HEAD [Pipeline] } 07:57:09 $ docker exec --env ******** --env ******** 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 ssh-agent -k 07:57:10 unset SSH_AUTH_SOCK; 07:57:10 unset SSH_AGENT_PID; 07:57:10 echo Agent pid 17 killed; 07:57:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:57:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:57:10 [ssh-agent] Looking for ssh-agent implementation... 07:57:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:57:10 $ docker exec 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 ssh-agent 07:57:10 SSH_AUTH_SOCK=/tmp/ssh-ytORECMjZnB5/agent.46 07:57:10 SSH_AGENT_PID=51 07:57:10 Running ssh-add (command line suppressed) 07:57:10 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) 07:57:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:57:11 + git semver init 07:57:11 # -> Open(): unable to determine branch for HEAD 07:57:11 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-191/.git 07:57:11 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-191 07:57:11 # $SEMVER_REMOTE_NAME = origin 07:57:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:57:11 # $SEMVER_USER_NAME = edgex-jenkins 07:57:11 # $SEMVER_BRANCH = PR-191 07:57:11 # $SEMVER_TEMP = /tmp/semver-548367013 07:57:11 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 07:57:11 # '/tmp/semver-548367013' -> '/w/workspace/xfoundry_device-modbus-go_PR-191/.semver' 07:57:11 # -> Force: false 07:57:11 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-191/.semver [Pipeline] } 07:57:11 $ docker exec --env ******** --env ******** 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 ssh-agent -k 07:57:11 unset SSH_AUTH_SOCK; 07:57:11 unset SSH_AGENT_PID; 07:57:11 echo Agent pid 51 killed; 07:57:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:57:12 + git semver [Pipeline] } 07:57:12 $ docker stop --time=1 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 07:57:13 $ docker rm -f 229bf7c69132353423b19ec474f4905106c793e9a3fdff4bcf87d4584e77a1e6 [Pipeline] // withDockerContainer [Pipeline] sh 07:57:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:57:15 Stashed 1 file(s) [Pipeline] echo 07:57:15 [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 07:57:30 Still waiting to schedule task 07:57:30 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-13337’ 07:57:30 Still waiting to schedule task 07:57:30 ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ is offline 07:59:17 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13338 in /w/workspace/xfoundry_device-modbus-go_PR-191 [Pipeline] { [Pipeline] ws 07:59:17 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 07:59:23 using credential edgex-jenkins-ssh 07:59:23 Cloning the remote Git repository 07:59:23 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 07:59:23 > git init /w/workspace/device-modbus-go/1 # timeout=10 07:59:23 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:59:23 > git --version # timeout=10 07:59:23 > git --version # 'git version 2.17.1' 07:59:23 using GIT_SSH to set credentials SSH Credentials for GitHub 07:59:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:59:25 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit fe5f6584b7dbb4b811df51a87a3a62b214c7db01 07:59:25 Merge succeeded, producing fe5f6584b7dbb4b811df51a87a3a62b214c7db01 07:59:25 Checking out Revision fe5f6584b7dbb4b811df51a87a3a62b214c7db01 (PR-191) 07:59:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:59:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:59:24 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 07:59:24 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 07:59:24 using GIT_SSH to set credentials SSH Credentials for GitHub 07:59:24 > 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 07:59:25 > git config core.sparsecheckout # timeout=10 07:59:25 > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 07:59:25 > git remote # timeout=10 07:59:25 > git config --get remote.origin.url # timeout=10 07:59:25 using GIT_SSH to set credentials SSH Credentials for GitHub 07:59:25 > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 07:59:25 > git rev-parse HEAD^{commit} # timeout=10 07:59:25 > git config core.sparsecheckout # timeout=10 07:59:25 > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 07:59:29 Commit message: "feat: Enhance Modbus simulator to measure reading amount" 07:59:29 > git --version # timeout=10 07:59:29 > git --version # 'git version 2.17.1' 07:59:29 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:59:31 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:59:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:59:32 + sudo service docker restart 07:59:32 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:59:35 provisioning config files... 07:59:35 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2247387912227616909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:59:35 ---> docker-login.sh 07:59:35 nexus3.edgexfoundry.org:10001 07:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:36 Configure a credential helper to remove this warning. See 07:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:36 07:59:36 Login Succeeded 07:59:36 nexus3.edgexfoundry.org:10002 07:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:37 Configure a credential helper to remove this warning. See 07:59:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:37 07:59:37 Login Succeeded 07:59:37 nexus3.edgexfoundry.org:10003 07:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:38 Configure a credential helper to remove this warning. See 07:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:38 07:59:38 Login Succeeded 07:59:38 nexus3.edgexfoundry.org:10004 07:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:38 Configure a credential helper to remove this warning. See 07:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:38 07:59:38 Login Succeeded 07:59:38 docker.io 07:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:59:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:59:39 Configure a credential helper to remove this warning. See 07:59:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:59:39 07:59:39 Login Succeeded 07:59:39 ---> docker-login.sh ends [Pipeline] } 07:59:39 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:59:40 ========================================================= 07:59:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:59:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:59:40 + 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 . 07:59:40 Sending build context to Docker daemon 521.7kB 07:59:40 Step 1/8 : ARG BASE=golang:1.15-alpine 07:59:40 Step 2/8 : FROM ${BASE} 07:59:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:59:41 b538f80385f9: Pulling fs layer 07:59:41 74f711af9a0d: Pulling fs layer 07:59:41 99f96fe45779: Pulling fs layer 07:59:41 8529a6b9a6be: Pulling fs layer 07:59:41 45590311c82a: Pulling fs layer 07:59:41 69ca0ff8b7b3: Pulling fs layer 07:59:41 209524e5b208: Pulling fs layer 07:59:41 69ca0ff8b7b3: Waiting 07:59:41 209524e5b208: Waiting 07:59:41 8529a6b9a6be: Waiting 07:59:41 45590311c82a: Waiting 07:59:41 99f96fe45779: Verifying Checksum 07:59:41 99f96fe45779: Download complete 07:59:41 74f711af9a0d: Download complete 07:59:41 45590311c82a: Verifying Checksum 07:59:41 45590311c82a: Download complete 07:59:41 69ca0ff8b7b3: Verifying Checksum 07:59:41 69ca0ff8b7b3: Download complete 07:59:41 b538f80385f9: Verifying Checksum 07:59:41 b538f80385f9: Download complete 07:59:42 b538f80385f9: Pull complete 07:59:42 74f711af9a0d: Pull complete 07:59:43 99f96fe45779: Pull complete 07:59:43 209524e5b208: Verifying Checksum 07:59:43 209524e5b208: Download complete 07:59:45 8529a6b9a6be: Verifying Checksum 07:59:45 8529a6b9a6be: Download complete 07:59:55 8529a6b9a6be: Pull complete 07:59:55 45590311c82a: Pull complete 07:59:56 69ca0ff8b7b3: Pull complete 07:59:57 Running on prd-centos7-docker-4c-2g-13339 in /w/workspace/xfoundry_device-modbus-go_PR-191 [Pipeline] { [Pipeline] ws 07:59:57 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 07:59:59 209524e5b208: Pull complete 07:59:59 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 07:59:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:59:59 ---> 5bddaf1c2fca 07:59:59 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:00:00 using credential edgex-jenkins-ssh 08:00:00 Cloning the remote Git repository 08:00:00 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:00:00 > git init /w/workspace/device-modbus-go/1 # timeout=10 08:00:00 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:00:00 > git --version # timeout=10 08:00:00 > git --version # 'git version 2.24.3' 08:00:00 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:00:01 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:00:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:00:01 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:00:01 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:00:01 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:01 > 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 08:00:03 ---> Running in 8f119cf83318 08:00:03 Removing intermediate container 8f119cf83318 08:00:03 ---> 5d8d36f768d1 08:00:03 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:03 ---> Running in 0b21d8d57ceb 08:00:04 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit fe5f6584b7dbb4b811df51a87a3a62b214c7db01 08:00:04 Merge succeeded, producing fe5f6584b7dbb4b811df51a87a3a62b214c7db01 08:00:04 Checking out Revision fe5f6584b7dbb4b811df51a87a3a62b214c7db01 (PR-191) 08:00:04 > git config core.sparsecheckout # timeout=10 08:00:04 > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 08:00:04 > git remote # timeout=10 08:00:04 > git config --get remote.origin.url # timeout=10 08:00:04 using GIT_SSH to set credentials SSH Credentials for GitHub 08:00:04 > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 08:00:04 > git rev-parse HEAD^{commit} # timeout=10 08:00:04 > git config core.sparsecheckout # timeout=10 08:00:04 > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 08:00:06 Removing intermediate container 0b21d8d57ceb 08:00:06 ---> 3fb9647daec1 08:00:06 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:00:06 ---> Running in 2bc826f30f01 08:00:07 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:00:07 Commit message: "feat: Enhance Modbus simulator to measure reading amount" 08:00:07 > git --version # timeout=10 08:00:07 > git --version # 'git version 2.24.3' 08:00:07 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 08:00:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 08:00:08 (1/14) Installing libmagic (5.38-r0) [Pipeline] script [Pipeline] { [Pipeline] sh 08:00:09 (2/14) Installing file (5.38-r0) 08:00:09 (3/14) Installing libc-dev (0.7.2-r3) 08:00:09 (4/14) Installing g++ (9.3.0-r2) 08:00:09 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 08:00:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 08:00:10 + sudo service docker restart 08:00:10 + true 08:00:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 08:00:11 provisioning config files... 08:00:11 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config8901289648265446054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:00:11 ---> docker-login.sh 08:00:11 nexus3.edgexfoundry.org:10001 08:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:11 Configure a credential helper to remove this warning. See 08:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:11 08:00:11 Login Succeeded 08:00:11 nexus3.edgexfoundry.org:10002 08:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:12 Configure a credential helper to remove this warning. See 08:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:12 08:00:12 Login Succeeded 08:00:12 nexus3.edgexfoundry.org:10003 08:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:12 Configure a credential helper to remove this warning. See 08:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:12 08:00:12 Login Succeeded 08:00:12 nexus3.edgexfoundry.org:10004 08:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:12 Configure a credential helper to remove this warning. See 08:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:12 08:00:12 Login Succeeded 08:00:12 docker.io 08:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:00:13 Configure a credential helper to remove this warning. See 08:00:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:00:13 08:00:13 Login Succeeded 08:00:13 ---> docker-login.sh ends [Pipeline] } 08:00:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 08:00:13 (5/14) Installing fortify-headers (1.1-r0) 08:00:13 (6/14) Installing patch (2.7.6-r6) 08:00:13 (7/14) Installing build-base (0.5-r2) 08:00:13 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:00:13 (9/14) Installing libedit (20191231.3.1-r0) [Pipeline] echo 08:00:13 ========================================================= 08:00:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 08:00:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 08:00:13 (10/14) Installing openssh-client (8.3_p1-r0) 08:00:14 + 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 . 08:00:14 Sending build context to Docker daemon 522.8kB 08:00:14 Step 1/8 : ARG BASE=golang:1.15-alpine 08:00:14 Step 2/8 : FROM ${BASE} 08:00:14 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:00:14 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:00:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 08:00:14 df20fa9351a1: Pulling fs layer 08:00:14 ed8968b2872e: Pulling fs layer 08:00:14 a92cc7c5fd73: Pulling fs layer 08:00:14 e871e8e8d7a9: Pulling fs layer 08:00:14 e73272ec9a57: Pulling fs layer 08:00:14 1e910a182e73: Pulling fs layer 08:00:14 4e634b169226: Pulling fs layer 08:00:14 e871e8e8d7a9: Waiting 08:00:14 e73272ec9a57: Waiting 08:00:14 1e910a182e73: Waiting 08:00:14 4e634b169226: Waiting 08:00:14 a92cc7c5fd73: Verifying Checksum 08:00:14 a92cc7c5fd73: Download complete 08:00:14 ed8968b2872e: Download complete 08:00:14 e73272ec9a57: Verifying Checksum 08:00:14 e73272ec9a57: Download complete 08:00:14 df20fa9351a1: Download complete 08:00:14 1e910a182e73: Verifying Checksum 08:00:14 1e910a182e73: Download complete 08:00:14 (13/14) Installing openssh-server (8.3_p1-r0) 08:00:14 df20fa9351a1: Pull complete 08:00:14 (14/14) Installing openssh (8.3_p1-r0) 08:00:14 ed8968b2872e: Pull complete 08:00:14 a92cc7c5fd73: Pull complete 08:00:14 Executing busybox-1.31.1-r16.trigger 08:00:14 OK: 221 MiB in 53 packages 08:00:16 4e634b169226: Verifying Checksum 08:00:16 4e634b169226: Download complete 08:00:16 e871e8e8d7a9: Verifying Checksum 08:00:16 e871e8e8d7a9: Download complete 08:00:19 Removing intermediate container 2bc826f30f01 08:00:19 ---> 6627f1bd8d49 08:00:19 Step 6/8 : WORKDIR /device-modbus-go 08:00:19 ---> Running in 42593c6af8b4 08:00:19 Removing intermediate container 42593c6af8b4 08:00:19 ---> d8b45fc2f6c7 08:00:19 Step 7/8 : COPY . . 08:00:20 ---> 7eff9f98bbef 08:00:20 Step 8/8 : RUN go mod download 08:00:20 ---> Running in 1618d1d19ad7 08:00:23 e871e8e8d7a9: Pull complete 08:00:23 e73272ec9a57: Pull complete 08:00:23 1e910a182e73: Pull complete 08:00:27 4e634b169226: Pull complete 08:00:27 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 08:00:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 08:00:27 ---> f7629b54cfaa 08:00:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 08:00:28 ---> Running in 15f5b8744f9a 08:00:28 Removing intermediate container 15f5b8744f9a 08:00:28 ---> 6dc7c7ebd1ef 08:00:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:00:28 ---> Running in d6aecca37a11 08:00:29 Removing intermediate container d6aecca37a11 08:00:29 ---> 86a25185dd9d 08:00:29 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 08:00:29 ---> Running in 3110fcfd3c69 08:00:30 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:00:30 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:00:31 (1/14) Installing libmagic (5.38-r0) 08:00:31 (2/14) Installing file (5.38-r0) 08:00:31 (3/14) Installing libc-dev (0.7.2-r3) 08:00:31 (4/14) Installing g++ (9.3.0-r2) 08:00:35 (5/14) Installing fortify-headers (1.1-r0) 08:00:35 (6/14) Installing patch (2.7.6-r6) 08:00:35 (7/14) Installing build-base (0.5-r2) 08:00:35 (8/14) Installing openssh-keygen (8.3_p1-r0) 08:00:35 (9/14) Installing libedit (20191231.3.1-r0) 08:00:35 (10/14) Installing openssh-client (8.3_p1-r0) 08:00:35 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 08:00:35 (12/14) Installing openssh-server-common (8.3_p1-r0) 08:00:35 (13/14) Installing openssh-server (8.3_p1-r0) 08:00:36 (14/14) Installing openssh (8.3_p1-r0) 08:00:36 Executing busybox-1.31.1-r16.trigger 08:00:36 OK: 237 MiB in 53 packages 08:00:40 Removing intermediate container 3110fcfd3c69 08:00:40 ---> 3776948b421c 08:00:40 Step 6/8 : WORKDIR /device-modbus-go 08:00:40 ---> Running in 29035c9aabcd 08:00:40 Removing intermediate container 29035c9aabcd 08:00:40 ---> eb30a2239951 08:00:40 Step 7/8 : COPY . . 08:00:41 ---> 0346cf219437 08:00:41 Step 8/8 : RUN go mod download 08:00:41 ---> Running in 8de9d0eb7e97 08:00:47 Removing intermediate container 1618d1d19ad7 08:00:47 ---> 85e9243ac7b5 08:00:47 Successfully built 85e9243ac7b5 08:00:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:00:47 + docker inspect -f . ci-base-image-arm64 08:00:47 . [Pipeline] withDockerContainer 08:00:47 prd-ubuntu18.04-docker-arm64-4c-16g-13338 does not seem to be running inside a container 08:00:47 $ 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 08:00:49 $ docker top de1f13967b98a9ff1865ff8987bb4da2fbee09e5bd67cd1df056602912cbd936 -eo pid,comm [Pipeline] { [Pipeline] sh 08:00:50 + go version 08:00:50 go version go1.15.2 linux/arm64 [Pipeline] } 08:00:50 $ docker stop --time=1 de1f13967b98a9ff1865ff8987bb4da2fbee09e5bd67cd1df056602912cbd936 08:00:52 $ docker rm -f de1f13967b98a9ff1865ff8987bb4da2fbee09e5bd67cd1df056602912cbd936 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:00:53 + docker inspect -f . ci-base-image-arm64 08:00:53 . [Pipeline] withDockerContainer 08:00:53 prd-ubuntu18.04-docker-arm64-4c-16g-13338 does not seem to be running inside a container 08:00:54 $ 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 08:00:55 $ docker top 24361a3197cd3f9750aff76f6799562b9f7964874f2830079d62b504edf1fbdd -eo pid,comm [Pipeline] { [Pipeline] sh 08:00:56 + make test 08:00:56 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:00:57 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:01:03 Removing intermediate container 8de9d0eb7e97 08:01:03 ---> 9b9d34a91b32 08:01:03 Successfully built 9b9d34a91b32 08:01:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:01:03 + docker inspect -f . ci-base-image-x86_64 08:01:03 . [Pipeline] withDockerContainer 08:01:04 prd-centos7-docker-4c-2g-13339 does not seem to be running inside a container 08:01:04 $ 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 08:01:05 $ docker top 582d4d018f02111185cc7daddd2de41716008e29ad9fa47bd5fa538b36cd2785 -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:05 + go version 08:01:05 go version go1.15.2 linux/amd64 [Pipeline] } 08:01:05 $ docker stop --time=1 582d4d018f02111185cc7daddd2de41716008e29ad9fa47bd5fa538b36cd2785 08:01:07 $ docker rm -f 582d4d018f02111185cc7daddd2de41716008e29ad9fa47bd5fa538b36cd2785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:01:08 + docker inspect -f . ci-base-image-x86_64 08:01:08 . [Pipeline] withDockerContainer 08:01:08 prd-centos7-docker-4c-2g-13339 does not seem to be running inside a container 08:01:08 $ 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 08:01:09 $ docker top b81ef7ab5fd4872c07c7a16525584d3d52e08dfb60a26644ce44426ac34c269b -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:09 + make test 08:01:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 08:01:10 ? github.com/edgexfoundry/device-modbus-go [no test files] 08:01:23 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 08:01:23 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.254s coverage: 50.3% of statements 08:01:23 CGO_ENABLED=0 GO111MODULE=on go vet ./... 08:01:24 gofmt -l . 08:01:24 [ "`gofmt -l .`" = "" ] 08:01:24 ./bin/test-attribution-txt.sh 08:01:25 ./bin/test-go-mod-tidy.sh [Pipeline] } 08:01:25 $ docker stop --time=1 b81ef7ab5fd4872c07c7a16525584d3d52e08dfb60a26644ce44426ac34c269b 08:01:28 $ docker rm -f b81ef7ab5fd4872c07c7a16525584d3d52e08dfb60a26644ce44426ac34c269b [Pipeline] // withDockerContainer [Pipeline] sh 08:01:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:01:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 08:01:30 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 08:01:30 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.345s coverage: 50.3% of statements 08:01:30 CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] sh 08:01:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:01:32 + ls -al . 08:01:32 total 104 08:01:32 drwxrwxr-x. 9 jenkins jenkins 4096 Nov 24 08:01 . 08:01:32 drwxrwxr-x. 4 jenkins jenkins 28 Nov 24 08:00 .. 08:01:32 -rw-rw-r--. 1 jenkins jenkins 5589 Nov 24 08:00 Attribution.txt 08:01:32 drwxrwxr-x. 2 jenkins jenkins 87 Nov 24 08:00 bin 08:01:32 drwxrwxr-x. 3 jenkins jenkins 32 Nov 24 08:00 cmd 08:01:32 -rw-r--r--. 1 jenkins jenkins 22364 Nov 24 08:01 coverage.out 08:01:32 -rw-rw-r--. 1 jenkins jenkins 1430 Nov 24 08:00 Dockerfile 08:01:32 -rw-rw-r--. 1 jenkins jenkins 954 Nov 24 08:00 Dockerfile.build 08:01:32 -rw-rw-r--. 1 jenkins jenkins 140 Nov 24 08:00 .dockerignore 08:01:32 drwxrwxr-x. 8 jenkins jenkins 179 Nov 24 08:00 .git 08:01:32 drwxrwxr-x. 2 jenkins jenkins 60 Nov 24 08:00 .github 08:01:32 -rw-rw-r--. 1 jenkins jenkins 338 Nov 24 08:00 .gitignore 08:01:32 -rw-r--r--. 1 jenkins jenkins 517 Nov 24 08:01 go.mod 08:01:32 -rw-r--r--. 1 jenkins jenkins 14643 Nov 24 08:01 go.sum 08:01:32 drwxrwxr-x. 3 jenkins jenkins 20 Nov 24 08:00 internal 08:01:32 -rw-rw-r--. 1 jenkins jenkins 679 Nov 24 08:00 Jenkinsfile 08:01:32 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 24 08:00 LICENSE 08:01:32 -rw-rw-r--. 1 jenkins jenkins 880 Nov 24 08:00 Makefile 08:01:32 -rw-rw-r--. 1 jenkins jenkins 591 Nov 24 08:00 README.md 08:01:32 drwxrwxr-x. 2 jenkins jenkins 52 Nov 24 08:00 simulator 08:01:32 drwxrwxr-x. 4 jenkins jenkins 54 Nov 24 08:00 snap 08:01:32 -rw-rw-r--. 1 jenkins jenkins 5 Nov 24 07:57 VERSION 08:01:32 -rw-rw-r--. 1 jenkins jenkins 229 Nov 24 08:00 version.go [Pipeline] isUnix [Pipeline] sh 08:01:32 + 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 . 08:01:33 Sending build context to Docker daemon 554kB 08:01:33 Step 1/20 : ARG BASE=golang:1.15-alpine 08:01:33 Step 2/20 : FROM ${BASE} AS builder 08:01:33 ---> 9b9d34a91b32 08:01:33 Step 3/20 : ARG MAKE='make build' 08:01:33 ---> Running in a9d3cc5e1a7b 08:01:33 Removing intermediate container a9d3cc5e1a7b 08:01:33 ---> c6f44728ea2a 08:01:33 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:01:33 ---> Running in 4a2e759bd086 08:01:35 Removing intermediate container 4a2e759bd086 08:01:35 ---> 03ebd73f1a83 08:01:35 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 08:01:35 ---> Running in 075c513d2138 08:01:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 08:01:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 08:01:36 OK: 237 MiB in 53 packages 08:01:36 gofmt -l . 08:01:36 Removing intermediate container 075c513d2138 08:01:36 ---> af77bec1099b 08:01:36 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 08:01:36 ---> Running in 7cb8cb545a41 08:01:37 [ "`gofmt -l .`" = "" ] 08:01:37 ./bin/test-attribution-txt.sh 08:01:37 Removing intermediate container 7cb8cb545a41 08:01:37 ---> 98fe6a31ba48 08:01:37 Step 7/20 : COPY . . 08:01:38 ./bin/test-go-mod-tidy.sh 08:01:38 ---> 6a45f188a614 08:01:38 Step 8/20 : RUN ${MAKE} 08:01:38 ---> Running in fc0027658251 [Pipeline] } 08:01:38 $ docker stop --time=1 24361a3197cd3f9750aff76f6799562b9f7964874f2830079d62b504edf1fbdd 08:01:38 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 08:01:40 $ docker rm -f 24361a3197cd3f9750aff76f6799562b9f7964874f2830079d62b504edf1fbdd [Pipeline] // withDockerContainer [Pipeline] sh 08:01:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:01:41 Warning: overwriting stash ‘coverage-report’ 08:01:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:01:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:01:43 + ls -al . 08:01:43 total 136 08:01:43 drwxrwxr-x 9 jenkins jenkins 4096 Nov 24 08:01 . 08:01:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 24 07:59 .. 08:01:43 -rw-rw-r-- 1 jenkins jenkins 140 Nov 24 07:59 .dockerignore 08:01:43 drwxrwxr-x 8 jenkins jenkins 4096 Nov 24 07:59 .git 08:01:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 07:59 .github 08:01:43 -rw-rw-r-- 1 jenkins jenkins 338 Nov 24 07:59 .gitignore 08:01:43 -rw-rw-r-- 1 jenkins jenkins 5589 Nov 24 07:59 Attribution.txt 08:01:43 -rw-rw-r-- 1 jenkins jenkins 1430 Nov 24 07:59 Dockerfile 08:01:43 -rw-rw-r-- 1 jenkins jenkins 954 Nov 24 07:59 Dockerfile.build 08:01:43 -rw-rw-r-- 1 jenkins jenkins 679 Nov 24 07:59 Jenkinsfile 08:01:43 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 24 07:59 LICENSE 08:01:43 -rw-rw-r-- 1 jenkins jenkins 880 Nov 24 07:59 Makefile 08:01:43 -rw-rw-r-- 1 jenkins jenkins 591 Nov 24 07:59 README.md 08:01:43 -rw-rw-r-- 1 jenkins jenkins 5 Nov 24 07:57 VERSION 08:01:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 07:59 bin 08:01:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 07:59 cmd 08:01:43 -rw-r--r-- 1 jenkins jenkins 22364 Nov 24 08:01 coverage.out 08:01:43 -rw-r--r-- 1 jenkins jenkins 517 Nov 24 08:01 go.mod 08:01:43 -rw-r--r-- 1 jenkins jenkins 14643 Nov 24 08:01 go.sum 08:01:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 24 07:59 internal 08:01:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 24 07:59 simulator 08:01:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 24 07:59 snap 08:01:43 -rw-rw-r-- 1 jenkins jenkins 229 Nov 24 07:59 version.go [Pipeline] isUnix [Pipeline] sh 08:01:44 + 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 . 08:01:44 Sending build context to Docker daemon 553kB 08:01:44 Step 1/20 : ARG BASE=golang:1.15-alpine 08:01:44 Step 2/20 : FROM ${BASE} AS builder 08:01:44 ---> 85e9243ac7b5 08:01:44 Step 3/20 : ARG MAKE='make build' 08:01:44 ---> Running in e0ee4fc9bd90 08:01:45 Removing intermediate container e0ee4fc9bd90 08:01:45 ---> 32586f92758d 08:01:45 Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:01:45 ---> Running in 3f6ef0542787 08:01:46 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:01:47 Removing intermediate container 3f6ef0542787 08:01:47 ---> 616be955a6e7 08:01:47 Step 5/20 : RUN apk add --update --no-cache make git openssh build-base 08:01:47 ---> Running in 6a37e6f180e9 08:01:48 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 08:01:49 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 08:01:49 OK: 221 MiB in 53 packages 08:01:51 Removing intermediate container fc0027658251 08:01:51 ---> 2f205d5a8064 08:01:51 Step 9/20 : FROM scratch 08:01:51 ---> 08:01:51 Step 10/20 : ENV APP_PORT=49991 08:01:51 ---> Running in ecef31464645 08:01:51 Removing intermediate container ecef31464645 08:01:51 ---> c73644fac696 08:01:51 Step 11/20 : EXPOSE $APP_PORT 08:01:51 ---> Running in 4b94a09dc9d8 08:01:51 Removing intermediate container 4b94a09dc9d8 08:01:51 ---> 22d0c3c76a8f 08:01:51 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 08:01:51 Removing intermediate container 6a37e6f180e9 08:01:51 ---> 56a65711517f 08:01:51 Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go 08:01:51 ---> Running in c15d12c344cf 08:01:51 Removing intermediate container c15d12c344cf 08:01:51 ---> e8924fca2c02 08:01:51 Step 7/20 : COPY . . 08:01:51 ---> ffc609c10b69 08:01:51 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 08:01:52 ---> ca3eab65b358 08:01:52 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 08:01:52 ---> 7168141247b0 08:01:52 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 08:01:52 ---> Running in 6e9e9362a11f 08:01:52 ---> 3871f17bba52 08:01:52 Step 8/20 : RUN ${MAKE} 08:01:52 Removing intermediate container 6e9e9362a11f 08:01:52 ---> d43a59f13e5f 08:01:52 Step 16/20 : ENTRYPOINT ["/device-modbus"] 08:01:52 ---> Running in 053458280d82 08:01:52 ---> Running in 901c8832b56e 08:01:52 Removing intermediate container 053458280d82 08:01:52 ---> ca3eb354cf73 08:01:52 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:01:52 ---> Running in 72c755b9f056 08:01:53 Removing intermediate container 72c755b9f056 08:01:53 ---> dbd519455a30 08:01:53 Step 18/20 : LABEL arch=amd64 08:01:53 ---> Running in 3412ba73f023 08:01:53 Removing intermediate container 3412ba73f023 08:01:53 ---> eb5c6b8e0d4a 08:01:53 Step 19/20 : LABEL git_sha=fe5f6584b7dbb4b811df51a87a3a62b214c7db01 08:01:53 ---> Running in 749b02240c6d 08:01:53 Removing intermediate container 749b02240c6d 08:01:53 ---> d1069e1c083c 08:01:53 Step 20/20 : LABEL version=0.0.0 08:01:53 ---> Running in 77767729ad6d 08:01:53 Removing intermediate container 77767729ad6d 08:01:53 ---> d5ed700c4a72 08:01:53 [Warning] One or more build-args [ARCH] were not consumed 08:01:53 Successfully built d5ed700c4a72 08:01:53 Successfully tagged docker-device-modbus-go:latest 08:01:53 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 08:02:09 Still waiting to schedule task 08:02:09 All nodes of label ‘centos7-docker-8c-8g’ are offline 08:02:20 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:02:23 Removing intermediate container 901c8832b56e 08:02:23 ---> 09c784f29961 08:02:23 Step 9/20 : FROM scratch 08:02:23 ---> 08:02:23 Step 10/20 : ENV APP_PORT=49991 08:02:23 ---> Running in f8d72251df9b 08:02:24 Removing intermediate container f8d72251df9b 08:02:24 ---> a6447bd4bd2b 08:02:24 Step 11/20 : EXPOSE $APP_PORT 08:02:24 ---> Running in 9681cd812323 08:02:24 Removing intermediate container 9681cd812323 08:02:24 ---> 70322d2dfd52 08:02:24 Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / 08:02:25 ---> 0b56f4e9e91a 08:02:25 Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / 08:02:26 ---> 0ac3681868d3 08:02:26 Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / 08:02:27 ---> d8b74a954324 08:02:27 Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' 08:02:27 ---> Running in ec75fb0f5d43 08:02:27 Removing intermediate container ec75fb0f5d43 08:02:27 ---> f574306436b9 08:02:27 Step 16/20 : ENTRYPOINT ["/device-modbus"] 08:02:27 ---> Running in 7ae5caf774fd 08:02:28 Removing intermediate container 7ae5caf774fd 08:02:28 ---> 83255cf12a1c 08:02:28 Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:02:28 ---> Running in 1f3f3b13f43f 08:02:29 Removing intermediate container 1f3f3b13f43f 08:02:29 ---> db1eb4778b17 08:02:29 Step 18/20 : LABEL arch=arm64 08:02:29 ---> Running in e51dcc22e648 08:02:29 Removing intermediate container e51dcc22e648 08:02:29 ---> 6930135c2b36 08:02:29 Step 19/20 : LABEL git_sha=fe5f6584b7dbb4b811df51a87a3a62b214c7db01 08:02:29 ---> Running in 9992a15f6d4f 08:02:30 Removing intermediate container 9992a15f6d4f 08:02:30 ---> 62ff00c35cb3 08:02:30 Step 20/20 : LABEL version=0.0.0 08:02:30 ---> Running in 2e695104fffc 08:02:30 Removing intermediate container 2e695104fffc 08:02:30 ---> 624bf6dab61b 08:02:30 [Warning] One or more build-args [ARCH] were not consumed 08:02:30 Successfully built 624bf6dab61b 08:02:30 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] } 08:03:07 Running on prd-centos7-docker-8c-8g-13340 in /w/workspace/xfoundry_device-modbus-go_PR-191 [Pipeline] { [Pipeline] ws 08:03:07 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 08:03:09 using credential edgex-jenkins-ssh 08:03:09 Cloning the remote Git repository 08:03:08 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 08:03:09 > git init /w/workspace/device-modbus-go/1 # timeout=10 08:03:09 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:03:09 > git --version # timeout=10 08:03:09 > git --version # 'git version 2.24.3' 08:03:09 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:10 Merging remotes/origin/master commit 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b into PR head commit fe5f6584b7dbb4b811df51a87a3a62b214c7db01 08:03:10 Merge succeeded, producing fe5f6584b7dbb4b811df51a87a3a62b214c7db01 08:03:10 Checking out Revision fe5f6584b7dbb4b811df51a87a3a62b214c7db01 (PR-191) 08:03:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:03:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:03:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:03:09 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 08:03:09 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 08:03:09 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:09 > 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 08:03:10 > git config core.sparsecheckout # timeout=10 08:03:10 > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 08:03:10 > git remote # timeout=10 08:03:10 > git config --get remote.origin.url # timeout=10 08:03:10 using GIT_SSH to set credentials SSH Credentials for GitHub 08:03:10 > git merge 8d28ba3b8b0be61a2f87bbc05a1a562fa01a707b # timeout=10 08:03:10 > git rev-parse HEAD^{commit} # timeout=10 08:03:10 > git config core.sparsecheckout # timeout=10 08:03:10 > git checkout -f fe5f6584b7dbb4b811df51a87a3a62b214c7db01 # timeout=10 08:03:13 Commit message: "feat: Enhance Modbus simulator to measure reading amount" 08:03:13 > git --version # timeout=10 08:03:13 > git --version # 'git version 2.24.3' 08:03:13 fatal: bad object d34e7c4fb53a455d8c1227b05a0dbb1951b96ee4 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:03:15 ++ find /w/workspace/device-modbus-go/1 08:03:15 ++ grep snapcraft.yaml 08:03:15 + grep -Po '^name: \K(.*)' /w/workspace/device-modbus-go/1/snap/snapcraft.yaml [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:03:15 provisioning config files... 08:03:15 copy managed file [EdgeX] to file:/w/workspace/device-modbus-go/1@tmp/config8088665923806810889tmp [Pipeline] { [Pipeline] sh 08:03:16 + cp /w/workspace/device-modbus-go/1@tmp/config8088665923806810889tmp /w/workspace/device-modbus-go/1/edgex-snap-store-login [Pipeline] sh 08:03:16 + 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 08:03:16 Unable to find image 'nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest' locally 08:03:16 latest: Pulling from edgex-devops/edgex-snap-builder 08:03:16 f08d8e2a3ba1: Pulling fs layer 08:03:16 3baa9cb2483b: Pulling fs layer 08:03:16 94e5ff4c0b15: Pulling fs layer 08:03:16 1860925334f9: Pulling fs layer 08:03:16 2daf38717194: Pulling fs layer 08:03:16 309017e8d7a4: Pulling fs layer 08:03:16 f7790dc9fd0f: Pulling fs layer 08:03:16 cac0ae9282c2: Pulling fs layer 08:03:16 1f4cadf9a1ed: Pulling fs layer 08:03:16 1860925334f9: Waiting 08:03:16 cac0ae9282c2: Waiting 08:03:16 2daf38717194: Waiting 08:03:16 309017e8d7a4: Waiting 08:03:16 f7790dc9fd0f: Waiting 08:03:16 1f4cadf9a1ed: Waiting 08:03:16 94e5ff4c0b15: Verifying Checksum 08:03:16 94e5ff4c0b15: Download complete 08:03:16 3baa9cb2483b: Download complete 08:03:16 1860925334f9: Verifying Checksum 08:03:16 1860925334f9: Download complete 08:03:16 309017e8d7a4: Download complete 08:03:16 f7790dc9fd0f: Verifying Checksum 08:03:16 f7790dc9fd0f: Download complete 08:03:17 cac0ae9282c2: Verifying Checksum 08:03:17 cac0ae9282c2: Download complete 08:03:17 1f4cadf9a1ed: Verifying Checksum 08:03:17 1f4cadf9a1ed: Download complete 08:03:19 f08d8e2a3ba1: Verifying Checksum 08:03:19 f08d8e2a3ba1: Download complete 08:03:20 f08d8e2a3ba1: Pull complete 08:03:20 3baa9cb2483b: Pull complete 08:03:20 94e5ff4c0b15: Pull complete 08:03:20 1860925334f9: Pull complete 08:03:23 2daf38717194: Download complete 08:03:38 2daf38717194: Pull complete 08:03:38 309017e8d7a4: Pull complete 08:03:39 f7790dc9fd0f: Pull complete 08:03:39 cac0ae9282c2: Pull complete 08:03:39 1f4cadf9a1ed: Pull complete 08:03:39 Digest: sha256:e10835c8f8d0a147fd8b6785b77f29c2bed6bc82dba1e9f94678def0416e5dc2 08:03:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snap-builder:latest 08:03:42 Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease 08:03:42 Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] 08:03:42 Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] 08:03:43 Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] 08:03:43 Get:5 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [15.8 kB] 08:03:43 Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [252 kB] 08:03:43 Get:7 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1781 kB] 08:03:43 Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2208 kB] 08:03:43 Get:9 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [222 kB] 08:03:43 Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1365 kB] 08:03:43 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2130 kB] 08:03:43 Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [54.3 kB] 08:03:43 Get:13 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB] 08:03:43 Get:14 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB] 08:03:44 Fetched 8303 kB in 2s (4557 kB/s) 08:03:45 Reading package lists... 08:03:48 0% [Working] Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease 08:03:49 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 08:03:49 0% [Waiting for headers] 0% [2 InRelease gpgv 242 kB] [Waiting for headers] Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease 08:03:49 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 08:03:49 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 08:03:51 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 08:03:52 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 08:03:52 Building dependency tree... 0% Building dependency tree... 0% Building dependency tree... 50% Building dependency tree... 50% Building dependency tree 08:03:52 Reading state information... 0% Reading state information... 0% Reading state information... Done 08:03:53 The following packages were automatically installed and are no longer required: 08:03:53 libjq1 libonig4 08:03:53 Use 'sudo apt autoremove' to remove them. 08:03:53 Suggested packages: 08:03:53 gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email 08:03:53 git-gui gitk gitweb git-cvs git-mediawiki git-svn gdbm-l10n make-doc ed 08:03:53 diffutils-doc perl-doc libterm-readline-gnu-perl 08:03:53 | libterm-readline-perl-perl 08:03:53 The following NEW packages will be installed: 08:03:53 curl git git-man less libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm5 08:03:53 libperl5.26 make netbase patch perl perl-modules-5.26 08:03:53 The following packages will be upgraded: 08:03:53 perl-base 08:03:53 1 upgraded, 14 newly installed, 0 to remove and 50 not upgraded. 08:03:53 Need to get 13.4 MB of archives. 08:03:53 After this operation, 77.5 MB of additional disk space will be used. 08:03:53 0% [Working] Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 perl-base amd64 5.26.1-6ubuntu0.5 [1391 kB] 08:03:53 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] 08:03:54 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] 08:03:54 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] 08:03:54 Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libperl5.26 amd64 5.26.1-6ubuntu0.5 [3534 kB] 08:03:54 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] 08:03:54 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] 08:03:54 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] 08:03:54 Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.10 [159 kB] 08:03:54 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] 08:03:54 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] 08:03:54 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] 08:03:54 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] 08:03:54 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] 08:03:54 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] 08:03:54 98% [15 patch 53.7 kB/102 kB 53%] 100% [Working] Fetched 13.4 MB in 1s (9636 kB/s) 08:03:54 debconf: delaying package configuration, since apt-utils is not installed 08:03:54 (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.) 08:03:54 Preparing to unpack .../perl-base_5.26.1-6ubuntu0.5_amd64.deb ... 08:03:54 Unpacking perl-base (5.26.1-6ubuntu0.5) over (5.26.1-6ubuntu0.3) ... 08:03:58 Setting up perl-base (5.26.1-6ubuntu0.5) ... 08:03:58 Selecting previously unselected package perl-modules-5.26. 08:03:58 (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.) 08:03:58 Preparing to unpack .../00-perl-modules-5.26_5.26.1-6ubuntu0.5_all.deb ... 08:03:58 Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 08:03:59 Selecting previously unselected package libgdbm5:amd64. 08:03:59 Preparing to unpack .../01-libgdbm5_1.14.1-6_amd64.deb ... 08:03:59 Unpacking libgdbm5:amd64 (1.14.1-6) ... 08:03:59 Selecting previously unselected package libgdbm-compat4:amd64. 08:03:59 Preparing to unpack .../02-libgdbm-compat4_1.14.1-6_amd64.deb ... 08:03:59 Unpacking libgdbm-compat4:amd64 (1.14.1-6) ... 08:03:59 Selecting previously unselected package libperl5.26:amd64. 08:03:59 Preparing to unpack .../03-libperl5.26_5.26.1-6ubuntu0.5_amd64.deb ... 08:03:59 Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 08:04:00 Selecting previously unselected package perl. 08:04:00 Preparing to unpack .../04-perl_5.26.1-6ubuntu0.5_amd64.deb ... 08:04:00 Unpacking perl (5.26.1-6ubuntu0.5) ... 08:04:00 Selecting previously unselected package less. 08:04:00 Preparing to unpack .../05-less_487-0.1_amd64.deb ... 08:04:00 Unpacking less (487-0.1) ... 08:04:00 Selecting previously unselected package netbase. 08:04:00 Preparing to unpack .../06-netbase_5.4_all.deb ... 08:04:00 Unpacking netbase (5.4) ... 08:04:00 Selecting previously unselected package curl. 08:04:00 Preparing to unpack .../07-curl_7.58.0-2ubuntu3.10_amd64.deb ... 08:04:00 Unpacking curl (7.58.0-2ubuntu3.10) ... 08:04:00 Selecting previously unselected package libcurl3-gnutls:amd64. 08:04:00 Preparing to unpack .../08-libcurl3-gnutls_7.58.0-2ubuntu3.10_amd64.deb ... 08:04:00 Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 08:04:00 Selecting previously unselected package liberror-perl. 08:04:00 Preparing to unpack .../09-liberror-perl_0.17025-1_all.deb ... 08:04:00 Unpacking liberror-perl (0.17025-1) ... 08:04:00 Selecting previously unselected package git-man. 08:04:00 Preparing to unpack .../10-git-man_1%3a2.17.1-1ubuntu0.7_all.deb ... 08:04:00 Unpacking git-man (1:2.17.1-1ubuntu0.7) ... 08:04:00 Selecting previously unselected package git. 08:04:00 Preparing to unpack .../11-git_1%3a2.17.1-1ubuntu0.7_amd64.deb ... 08:04:00 Unpacking git (1:2.17.1-1ubuntu0.7) ... 08:04:01 Selecting previously unselected package make. 08:04:01 Preparing to unpack .../12-make_4.1-9.1ubuntu1_amd64.deb ... 08:04:01 Unpacking make (4.1-9.1ubuntu1) ... 08:04:01 Selecting previously unselected package patch. 08:04:01 Preparing to unpack .../13-patch_2.7.6-2ubuntu1.1_amd64.deb ... 08:04:01 Unpacking patch (2.7.6-2ubuntu1.1) ... 08:04:01 Setting up git-man (1:2.17.1-1ubuntu0.7) ... 08:04:01 Setting up less (487-0.1) ... 08:04:01 Setting up make (4.1-9.1ubuntu1) ... 08:04:01 Setting up curl (7.58.0-2ubuntu3.10) ... 08:04:01 Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.10) ... 08:04:01 Setting up perl-modules-5.26 (5.26.1-6ubuntu0.5) ... 08:04:01 Setting up libgdbm5:amd64 (1.14.1-6) ... 08:04:01 Setting up patch (2.7.6-2ubuntu1.1) ... 08:04:01 Setting up libgdbm-compat4:amd64 (1.14.1-6) ... 08:04:01 Setting up netbase (5.4) ... 08:04:01 Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.5) ... 08:04:01 Setting up perl (5.26.1-6ubuntu0.5) ... 08:04:01 Setting up liberror-perl (0.17025-1) ... 08:04:01 Setting up git (1:2.17.1-1ubuntu0.7) ... 08:04:01 Processing triggers for libc-bin (2.27-3ubuntu1.2) ... 08:04:01 Processing triggers for mime-support (3.60ubuntu1) ... 08:04:03 curl set to automatically installed. 08:04:03 git set to automatically installed. 08:04:03 git-man set to automatically installed. 08:04:03 less set to automatically installed. 08:04:03 libcurl3-gnutls set to automatically installed. 08:04:03 liberror-perl set to automatically installed. 08:04:03 libgdbm-compat4 set to automatically installed. 08:04:03 libgdbm5 set to automatically installed. 08:04:03 libperl5.26 set to automatically installed. 08:04:03 make set to automatically installed. 08:04:03 netbase set to automatically installed. 08:04:03 patch set to automatically installed. 08:04:03 perl set to automatically installed. 08:04:03 perl-base set to automatically installed. 08:04:03 perl-modules-5.26 set to automatically installed. 08:04:03 The following snaps are required but not installed as snapcraft is running inside docker or podman container: core18. 08:04:03 Please ensure the environment is properly setup before continuing. 08:04:03 Ignore this message if the appropriate measures have already been taken 08:04:03 Pulling go  08:04:04 'device-modbus' has dependencies that need to be staged: go 08:04:04 Skipping pull go (already ran) 08:04:04 Building go  08:04:04 % Total % Received % Xferd Average Speed Time Time Time Current 08:04:04 Dload Upload Total Spent Left Speed 08:04:07 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 08:04:08 go1.15.2.linux-amd64.tar.gz: OK 08:04:15 Staging go  08:04:15 Pulling device-modbus  08:04:15 Skipping build go (already ran) 08:04:15 Building device-modbus  08:04:15 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=0.0.0" -o cmd/device-modbus ./cmd 08:04:16 go: downloading github.com/edgexfoundry/device-sdk-go v1.3.0 08:04:16 go: downloading github.com/edgexfoundry/go-mod-core-contracts v0.1.111 08:04:16 go: downloading github.com/goburrow/modbus v0.1.0 08:04:17 go: downloading github.com/goburrow/serial v0.1.0 08:04:17 go: downloading github.com/gorilla/mux v1.7.1 08:04:17 go: downloading github.com/edgexfoundry/go-mod-bootstrap v0.0.57 08:04:17 go: downloading github.com/edgexfoundry/go-mod-registry v0.1.26 08:04:17 go: downloading github.com/go-kit/kit v0.8.0 08:04:17 go: downloading github.com/google/uuid v1.1.2 08:04:17 go: downloading github.com/pkg/errors v0.8.1 08:04:17 go: downloading github.com/pelletier/go-toml v1.2.0 08:04:17 go: downloading github.com/edgexfoundry/go-mod-secrets v0.0.26 08:04:17 go: downloading github.com/go-playground/validator/v10 v10.3.0 08:04:17 go: downloading gopkg.in/yaml.v2 v2.3.0 08:04:17 go: downloading github.com/edgexfoundry/go-mod-configuration v0.0.8 08:04:17 go: downloading github.com/fxamacker/cbor/v2 v2.2.0 08:04:17 go: downloading github.com/BurntSushi/toml v0.3.1 08:04:17 go: downloading github.com/OneOfOne/xxhash v1.2.8 08:04:17 go: downloading github.com/hashicorp/consul/api v1.1.0 08:04:17 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 08:04:17 go: downloading github.com/leodido/go-urn v1.2.0 08:04:17 go: downloading github.com/go-playground/universal-translator v0.17.0 08:04:17 go: downloading github.com/go-logfmt/logfmt v0.4.0 08:04:17 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 08:04:17 go: downloading github.com/x448/float16 v0.8.4 08:04:17 go: downloading github.com/go-playground/locales v0.13.0 08:04:17 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 08:04:17 go: downloading github.com/hashicorp/serf v0.8.2 08:04:17 go: downloading github.com/mitchellh/mapstructure v1.1.2 08:04:17 go: downloading github.com/hashicorp/go-rootcerts v1.0.0 08:04:17 go: downloading github.com/mitchellh/copystructure v1.0.0 08:04:17 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 08:04:17 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 08:04:17 go: downloading github.com/mitchellh/reflectwalk v1.0.0 08:04:17 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 08:04:17 go: downloading github.com/hashicorp/golang-lru v0.5.1 08:04:22 CGO_ENABLED=0 GO111MODULE=on go build ./... 08:04:26 Skipping stage go (already ran) 08:04:26 Staging device-modbus  08:04:27 Priming go  08:04:28 Priming device-modbus  08:04:28 DEPRECATED: The 'version-script' keyword has been deprecated in favour of the 'snapcraftctl set-version' part scriptlet. 08:04:28 See http://snapcraft.io/docs/deprecation-notices/dn10 for more information. 08:04:28 Determining the version from the project repo (version-script). 08:04:28 The version has been set to 'local-dev-20201124+fe5f658' 08:04:29 Snapping | Snapping / Snapping - Snapping | 08:04:29 Snapped edgex-device-modbus_local-dev-20201124+fe5f658_amd64.snap [Pipeline] } 08:04:31 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 08:04:34 provisioning config files... 08:04:34 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/config3542105654073635812tmp [Pipeline] { [Pipeline] sh 08:04:34 + set +x 08:04:34 + curl -s https://codecov.io/bash 08:04:34 + bash -s -- 08:04:35 08:04:35 _____ _ 08:04:35 / ____| | | 08:04:35 | | ___ __| | ___ ___ _____ __ 08:04:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:04:35 | |___| (_) | (_| | __/ (_| (_) \ V / 08:04:35 \_____\___/ \__,_|\___|\___\___/ \_/ 08:04:35 Bash-20201123-d0fed5f 08:04:35 08:04:35 08:04:35 ==> Jenkins CI detected. 08:04:35 project root: . 08:04:35 --> token set from env 08:04:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:04:35 ==> Running gcov in . (disable via -X gcov) 08:04:35 ==> Python coveragepy not found 08:04:35 ==> Searching for coverage reports in: 08:04:35 + . 08:04:35 -> Found 1 reports 08:04:35 ==> Detecting git/mercurial file structure 08:04:35 ==> Reading reports 08:04:35 + ./coverage.out bytes=22364 08:04:35 ==> Appending adjustments 08:04:35 https://docs.codecov.io/docs/fixing-reports 08:04:35 + Found adjustments 08:04:35 ==> Gzipping contents 08:04:35 ==> Uploading reports 08:04:35 url: https://codecov.io 08:04:35 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= 08:04:35 -> Pinging Codecov 08:04:35 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= 08:04:35 -> Uploading to 08:04:35 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 08:04:35 % Total % Received % Xferd Average Speed Time Time Time Current 08:04:35 Dload Upload Total Spent Left Speed 08:04:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4188 0 0 100 4188 0 10017 --:--:-- --:--:-- --:--:-- 10043 08:04:36 -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/fe5f6584b7dbb4b811df51a87a3a62b214c7db01 [Pipeline] } 08:04:36 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 08:04:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:04:40 ---> package-listing.sh 08:04:40 ++ facter osfamily 08:04:40 ++ tr '[:upper:]' '[:lower:]' 08:04:40 + OS_FAMILY=redhat 08:04:40 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-191 08:04:40 + START_PACKAGES=/tmp/packages_start.txt 08:04:40 + END_PACKAGES=/tmp/packages_end.txt 08:04:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:04:40 + PACKAGES=/tmp/packages_start.txt 08:04:40 + '[' /w/workspace/xfoundry_device-modbus-go_PR-191 ']' 08:04:40 + PACKAGES=/tmp/packages_end.txt 08:04:40 + case "${OS_FAMILY}" in 08:04:40 + rpm -qa 08:04:40 + sort 08:04:44 + '[' -f /tmp/packages_start.txt ']' 08:04:44 + '[' -f /tmp/packages_end.txt ']' 08:04:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:04:44 + '[' /w/workspace/xfoundry_device-modbus-go_PR-191 ']' 08:04:44 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-191/archives/ 08:04:44 + 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 08:04:44 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 08:04:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:04:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:04:45 08:04:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:04:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:04:45 alpine: Pulling from edgex-lftools-log-publisher 08:04:45 df20fa9351a1: Pulling fs layer 08:04:45 36b3adc4ff6f: Pulling fs layer 08:04:45 8ad3a11d3b57: Pulling fs layer 08:04:45 46f8f816bc3b: Pulling fs layer 08:04:45 93b61091891f: Pulling fs layer 08:04:45 93b9cdb0e59b: Pulling fs layer 08:04:45 5e14af77c1be: Pulling fs layer 08:04:45 01666e4c0597: Pulling fs layer 08:04:45 aa168da1d23b: Pulling fs layer 08:04:45 46f8f816bc3b: Waiting 08:04:45 93b9cdb0e59b: Waiting 08:04:45 01666e4c0597: Waiting 08:04:45 aa168da1d23b: Waiting 08:04:45 93b61091891f: Waiting 08:04:45 36b3adc4ff6f: Verifying Checksum 08:04:45 36b3adc4ff6f: Download complete 08:04:45 46f8f816bc3b: Verifying Checksum 08:04:45 46f8f816bc3b: Download complete 08:04:45 df20fa9351a1: Download complete 08:04:45 93b61091891f: Download complete 08:04:45 93b9cdb0e59b: Verifying Checksum 08:04:45 93b9cdb0e59b: Download complete 08:04:45 5e14af77c1be: Verifying Checksum 08:04:45 5e14af77c1be: Download complete 08:04:45 01666e4c0597: Verifying Checksum 08:04:45 01666e4c0597: Download complete 08:04:45 8ad3a11d3b57: Verifying Checksum 08:04:45 8ad3a11d3b57: Download complete 08:04:46 df20fa9351a1: Pull complete 08:04:46 36b3adc4ff6f: Pull complete 08:04:47 aa168da1d23b: Verifying Checksum 08:04:48 8ad3a11d3b57: Pull complete 08:04:48 46f8f816bc3b: Pull complete 08:04:48 93b61091891f: Pull complete 08:04:49 93b9cdb0e59b: Pull complete 08:04:49 5e14af77c1be: Pull complete 08:04:49 01666e4c0597: Pull complete 08:04:57 aa168da1d23b: Pull complete 08:04:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:04:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:04:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:04:57 prd-centos7-docker-4c-2g-13337 does not seem to be running inside a container 08:04:57 $ 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 08:05:01 $ docker top 4e1ba9c9b550780fd1785a0bc4f69f965cb349ae48ccfb1e3e92ae691ee07851 -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:02 + touch /tmp/pre-build-complete [Pipeline] sh 08:05:02 + mkdir -p /var/log/sa [Pipeline] sh 08:05:02 + ls /var/log/sa-host 08:05:02 + sadf -c /var/log/sa-host/sa23 08:05:02 file_magic: OK 08:05:02 HZ: Using current value: 100 08:05:02 file_header: OK 08:05:02 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 08:05:02 Statistics: 08:05:02 Hnuu...uuuununununu... 08:05:02 File successfully converted to sysstat format version 12.2.1 08:05:02 + sadf -c /var/log/sa-host/sa24 08:05:02 file_magic: OK 08:05:02 HZ: Using current value: 100 08:05:02 file_header: OK 08:05:02 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 08:05:02 Statistics: 08:05:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:05:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:03 provisioning config files... 08:05:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-191@tmp/config5674518906718767434tmp [Pipeline] { [Pipeline] echo 08:05:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:05:04 ---> create-netrc.sh [Pipeline] } 08:05:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:05:04 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:05:04 ---> python-tools-install.sh [Pipeline] echo 08:05:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:05:05 ---> sudo-logs.sh 08:05:05 Archiving 'sudo' log.. [Pipeline] echo 08:05:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:05:05 ---> job-cost.sh 08:05:05 lf-activate-venv: SKIPPING 08:05:05 INFO: No Stack... 08:05:07 INFO: Retrieving Pricing Info for: v1-standard-2 08:05:07 INFO: Archiving Costs [Pipeline] echo 08:05:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:05:08 ---> logs-deploy.sh 08:05:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-191/1 08:05:08 INFO: archiving workspace using pattern(s): 08:05:10 Archives upload complete. 08:05:10 INFO: archiving logs to Nexus 08:05:11 ---> uname -a: 08:05:11 Linux prd-centos7-docker-4c-2g-13337.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 08:05:11 08:05:11 08:05:11 ---> lscpu: 08:05:11 Architecture: x86_64 08:05:11 CPU op-mode(s): 32-bit, 64-bit 08:05:11 Byte Order: Little Endian 08:05:11 Address sizes: 40 bits physical, 48 bits virtual 08:05:11 CPU(s): 4 08:05:11 On-line CPU(s) list: 0-3 08:05:11 Thread(s) per core: 1 08:05:11 Core(s) per socket: 1 08:05:11 Socket(s): 4 08:05:11 NUMA node(s): 1 08:05:11 Vendor ID: GenuineIntel 08:05:11 CPU family: 6 08:05:11 Model: 44 08:05:11 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 08:05:11 Stepping: 1 08:05:11 CPU MHz: 2933.442 08:05:11 BogoMIPS: 5866.88 08:05:11 Virtualization: VT-x 08:05:11 Hypervisor vendor: KVM 08:05:11 Virtualization type: full 08:05:11 L1d cache: 128 KiB 08:05:11 L1i cache: 128 KiB 08:05:11 L2 cache: 16 MiB 08:05:11 L3 cache: 64 MiB 08:05:11 NUMA node0 CPU(s): 0-3 08:05:11 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 08:05:11 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 08:05:11 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 08:05:11 Vulnerability Meltdown: Mitigation; PTI 08:05:11 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 08:05:11 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 08:05:11 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 08:05:11 Vulnerability Srbds: Not affected 08:05:11 Vulnerability Tsx async abort: Not affected 08:05:11 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 08:05:11 08:05:11 08:05:11 ---> nproc: 08:05:11 4 08:05:11 08:05:11 08:05:11 ---> df -h: 08:05:11 Filesystem Size Used Available Use% Mounted on 08:05:11 overlay 50.0G 7.3G 42.7G 15% / 08:05:11 tmpfs 64.0M 0 64.0M 0% /dev 08:05:11 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 08:05:11 shm 64.0M 0 64.0M 0% /dev/shm 08:05:11 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 08:05:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 08:05:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 08:05:11 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 08:05:11 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-191 08:05:11 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-191@tmp 08:05:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 08:05:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 08:05:11 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 08:05:11 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 08:05:11 08:05:11 08:05:11 ---> free -m: 08:05:11 total used free shared buff/cache available 08:05:11 Mem: 1837 717 106 0 1013 1015 08:05:11 Swap: 1023 1 1022 08:05:11 08:05:11 08:05:11 ---> ip addr: 08:05:11 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 08:05:11 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 08:05:11 inet 127.0.0.1/8 scope host lo 08:05:11 valid_lft forever preferred_lft forever 08:05:11 inet6 ::1/128 scope host 08:05:11 valid_lft forever preferred_lft forever 08:05:11 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 08:05:11 link/ether fa:16:3e:72:1b:71 brd ff:ff:ff:ff:ff:ff 08:05:11 inet 10.30.122.50/23 brd 10.30.123.255 scope global dynamic eth0 08:05:11 valid_lft 85868sec preferred_lft 85868sec 08:05:11 inet6 fe80::f816:3eff:fe72:1b71/64 scope link 08:05:11 valid_lft forever preferred_lft forever 08:05:11 3: docker0: mtu 1500 qdisc noqueue state DOWN 08:05:11 link/ether 02:42:fa:04:1c:6a brd ff:ff:ff:ff:ff:ff 08:05:11 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 08:05:11 valid_lft forever preferred_lft forever 08:05:11 inet6 fe80::42:faff:fe04:1c6a/64 scope link 08:05:11 valid_lft forever preferred_lft forever 08:05:11 08:05:11 08:05:11 ---> sar -b -r -n DEV: 08:05:11 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/24/20 _x86_64_ (4 CPU) 08:05:11 08:05:11 07:56:07 LINUX RESTART (4 CPU) 08:05:11 08:05:11 07:57:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 08:05:11 07:58:01 23.26 6.53 16.73 0.00 1822.74 2821.31 0.00 08:05:11 07:59:01 1.76 0.00 1.76 0.00 0.00 31.73 0.00 08:05:11 08:00:01 0.27 0.00 0.27 0.00 0.00 4.06 0.00 08:05:11 08:01:01 0.28 0.02 0.27 0.00 0.13 3.60 0.00 08:05:11 08:02:01 0.42 0.08 0.33 0.00 1.60 5.04 0.00 08:05:11 08:03:01 0.32 0.00 0.32 0.00 0.00 4.06 0.00 08:05:11 08:04:01 0.18 0.00 0.18 0.00 0.00 2.02 0.00 08:05:11 08:05:01 143.13 78.50 64.63 0.00 6643.00 18832.09 0.00 08:05:11 Average: 21.20 10.64 10.56 0.00 1058.45 2712.99 0.00 08:05:11 08:05:11 07:57:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 08:05:11 07:58:01 175080 0 623044 33.11 2620 1080800 1123928 38.36 413428 1093468 20 08:05:11 07:59:01 182908 0 615212 32.70 2620 1080804 1082376 36.94 419308 1081000 12 08:05:11 08:00:01 179680 0 618432 32.87 2620 1080812 1082640 36.95 422748 1081024 16 08:05:11 08:01:01 180216 0 617896 32.84 2620 1080812 1084720 37.02 433752 1069096 12 08:05:11 08:02:01 179732 0 618252 32.86 2620 1080940 1082956 36.96 426740 1077224 8 08:05:11 08:03:01 180416 0 617560 32.82 2620 1080948 1082884 36.96 435560 1068044 12 08:05:11 08:04:01 179588 0 618388 32.87 2620 1080948 1083028 36.96 436480 1068044 16 08:05:11 08:05:01 183900 0 678520 36.06 2620 1016504 1193572 40.73 448904 998532 20 08:05:11 Average: 180190 0 625913 33.27 2620 1072821 1102013 37.61 429615 1067054 14 08:05:11 08:05:11 07:57:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 08:05:11 07:58:01 eth0 71.13 56.36 338.17 29.47 0.00 0.00 0.00 0.00 08:05:11 07:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 07:58:01 docker0 1.73 1.57 0.37 3.89 0.00 0.00 0.00 0.00 08:05:11 07:59:01 eth0 0.68 0.08 0.06 0.01 0.00 0.00 0.00 0.00 08:05:11 07:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 07:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:00:01 eth0 3.71 1.95 2.70 0.45 0.00 0.00 0.00 0.00 08:05:11 08:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:01:01 eth0 0.05 0.03 0.00 0.03 0.00 0.00 0.00 0.00 08:05:11 08:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:02:01 eth0 0.25 0.18 0.14 0.07 0.00 0.00 0.00 0.00 08:05:11 08:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:03:01 eth0 0.62 0.08 0.07 0.01 0.00 0.00 0.00 0.00 08:05:11 08:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:04:01 eth0 1.00 0.37 0.33 0.20 0.00 0.00 0.00 0.00 08:05:11 08:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:05:01 eth0 209.46 170.46 2176.43 19.43 0.00 0.00 0.00 0.00 08:05:11 08:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 08:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 Average: eth0 35.86 28.69 314.74 6.21 0.00 0.00 0.00 0.00 08:05:11 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 08:05:11 Average: docker0 0.22 0.20 0.05 0.49 0.00 0.00 0.00 0.00 08:05:11 08:05:11 08:05:11 ---> sar -P ALL: 08:05:11 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 11/24/20 _x86_64_ (4 CPU) 08:05:11 08:05:11 07:56:07 LINUX RESTART (4 CPU) 08:05:11 08:05:11 07:57:01 CPU %user %nice %system %iowait %steal %idle 08:05:11 07:58:01 all 2.37 0.00 1.75 0.36 0.02 95.51 08:05:11 07:58:01 0 2.35 0.00 1.88 0.99 0.02 94.77 08:05:11 07:58:01 1 2.66 0.00 1.52 0.13 0.03 95.65 08:05:11 07:58:01 2 2.18 0.00 1.89 0.18 0.00 95.75 08:05:11 07:58:01 3 2.29 0.00 1.70 0.13 0.02 95.85 08:05:11 07:59:01 all 0.15 0.00 0.05 0.00 0.00 99.80 08:05:11 07:59:01 0 0.03 0.00 0.05 0.00 0.00 99.92 08:05:11 07:59:01 1 0.03 0.00 0.03 0.00 0.00 99.93 08:05:11 07:59:01 2 0.48 0.00 0.08 0.00 0.02 99.42 08:05:11 07:59:01 3 0.03 0.00 0.05 0.00 0.00 99.92 08:05:11 08:00:01 all 0.18 0.00 0.05 0.00 0.00 99.77 08:05:11 08:00:01 0 0.08 0.00 0.07 0.00 0.00 99.85 08:05:11 08:00:01 1 0.08 0.00 0.03 0.00 0.00 99.88 08:05:11 08:00:01 2 0.45 0.00 0.05 0.00 0.00 99.50 08:05:11 08:00:01 3 0.08 0.00 0.05 0.00 0.00 99.87 08:05:11 08:01:01 all 0.16 0.00 0.05 0.00 0.00 99.79 08:05:11 08:01:01 0 0.03 0.00 0.03 0.00 0.00 99.93 08:05:11 08:01:01 1 0.07 0.00 0.07 0.00 0.00 99.87 08:05:11 08:01:01 2 0.50 0.00 0.02 0.00 0.00 99.48 08:05:11 08:01:01 3 0.03 0.00 0.08 0.00 0.00 99.88 08:05:11 08:02:01 all 0.18 0.00 0.05 0.01 0.00 99.76 08:05:11 08:02:01 0 0.03 0.00 0.05 0.00 0.00 99.92 08:05:11 08:02:01 1 0.05 0.00 0.05 0.02 0.00 99.88 08:05:11 08:02:01 2 0.52 0.00 0.02 0.00 0.00 99.47 08:05:11 08:02:01 3 0.10 0.00 0.08 0.02 0.02 99.78 08:05:11 08:03:01 all 0.16 0.00 0.07 0.00 0.00 99.77 08:05:11 08:03:01 0 0.05 0.00 0.07 0.00 0.00 99.88 08:05:11 08:03:01 1 0.03 0.00 0.02 0.00 0.00 99.95 08:05:11 08:03:01 2 0.53 0.00 0.03 0.00 0.02 99.42 08:05:11 08:03:01 3 0.02 0.00 0.15 0.00 0.00 99.83 08:05:11 08:04:01 all 0.17 0.00 0.04 0.00 0.00 99.80 08:05:11 08:04:01 0 0.07 0.00 0.08 0.00 0.00 99.85 08:05:11 08:04:01 1 0.05 0.00 0.02 0.00 0.00 99.93 08:05:11 08:04:01 2 0.53 0.00 0.03 0.00 0.00 99.43 08:05:11 08:04:01 3 0.02 0.00 0.02 0.00 0.00 99.97 08:05:11 08:05:01 all 5.65 0.00 3.98 2.18 0.02 88.18 08:05:11 08:05:01 0 5.34 0.00 3.68 1.44 0.02 89.53 08:05:11 08:05:01 1 4.94 0.00 4.43 1.52 0.02 89.09 08:05:11 08:05:01 2 6.52 0.00 4.47 3.94 0.02 85.05 08:05:11 08:05:01 3 5.79 0.00 3.36 1.81 0.02 89.03 08:05:11 Average: all 1.12 0.00 0.75 0.32 0.01 97.81 08:05:11 Average: 0 0.99 0.00 0.73 0.30 0.00 97.97 08:05:11 Average: 1 0.98 0.00 0.77 0.21 0.01 98.04 08:05:11 Average: 2 1.46 0.00 0.82 0.51 0.01 97.21 08:05:11 Average: 3 1.04 0.00 0.68 0.24 0.01 98.03 08:05:11 08:05:11 08:05:11