Branch indexing 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 wlgardner for edgexfoundry/device-modbus-go Loading trusted files from base branch master at 15ac84f23aa11eeb9442daa2d5db1053a10c3bad rather than 205d20470621f6877b30549a0d87a32e67fc54e2 Obtained Jenkinsfile from 15ac84f23aa11eeb9442daa2d5db1053a10c3bad Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-18032 in /w/workspace/xfoundry_device-modbus-go_PR-171 [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-171 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 15ac84f23aa11eeb9442daa2d5db1053a10c3bad into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 Merge succeeded, producing da8268eee94117db59fbc63dc44199273da78bac Checking out Revision da8268eee94117db59fbc63dc44199273da78bac (PR-171) > 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/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # 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 15ac84f23aa11eeb9442daa2d5db1053a10c3bad # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da8268eee94117db59fbc63dc44199273da78bac # timeout=10 Commit message: "Merge commit '15ac84f23aa11eeb9442daa2d5db1053a10c3bad' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 8bc9c3bbd92c26ad47a5bd77389ef1af1f94b53f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:55 ========================================================= 00:54:55 EdgeX Global Pipelines Version Info 00:54:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:57 ------------------- 00:54:57 stable info: 00:54:57 ------------------- 00:54:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:57 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:54:57 Message: update stable to v1.0.173 00:54:58 ------------------- 00:54:58 experimental info: 00:54:58 ------------------- 00:54:58 Commited By: **** collab-it+edgex@linuxfoundation.org 00:54:58 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:54:58 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:54:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:54:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:55:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:55:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:55:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:55:01 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:55:01 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:55:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo 00:55:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo 00:55:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo 00:55:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da8268eee94117db59fbc63dc44199273da78bac [Pipeline] echo 00:55:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da8268e [Pipeline] echo 00:55:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:55:03 provisioning config files... 00:55:03 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config2746872950688835776tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:03 ---> docker-login.sh 00:55:03 nexus3.edgexfoundry.org:10001 00:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:04 Configure a credential helper to remove this warning. See 00:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:04 00:55:04 Login Succeeded 00:55:04 nexus3.edgexfoundry.org:10002 00:55:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:05 Configure a credential helper to remove this warning. See 00:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:05 00:55:05 Login Succeeded 00:55:05 nexus3.edgexfoundry.org:10003 00:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:05 Configure a credential helper to remove this warning. See 00:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:05 00:55:05 Login Succeeded 00:55:05 nexus3.edgexfoundry.org:10004 00:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:05 Configure a credential helper to remove this warning. See 00:55:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:05 00:55:05 Login Succeeded 00:55:05 docker.io 00:55:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:06 Configure a credential helper to remove this warning. See 00:55:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:06 00:55:06 Login Succeeded 00:55:06 ---> docker-login.sh ends [Pipeline] } 00:55:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:55:07 + git log --format=format:%s -1 da8268eee94117db59fbc63dc44199273da78bac [Pipeline] echo 00:55:07 GIT_COMMIT: da8268eee94117db59fbc63dc44199273da78bac, Commit Message: Merge commit '15ac84f23aa11eeb9442daa2d5db1053a10c3bad' into HEAD [Pipeline] echo 00:55:07 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:55:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:55:08 00:55:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:55:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:55:08 latest: Pulling from edgex-devops/git-semver 00:55:08 31603596830f: Pulling fs layer 00:55:08 2a8b12db71e7: Pulling fs layer 00:55:08 6ca5941a6612: Pulling fs layer 00:55:08 ecc8261a40a4: Pulling fs layer 00:55:08 ecc8261a40a4: Waiting 00:55:08 2a8b12db71e7: Verifying Checksum 00:55:08 2a8b12db71e7: Download complete 00:55:08 31603596830f: Verifying Checksum 00:55:08 31603596830f: Download complete 00:55:09 ecc8261a40a4: Verifying Checksum 00:55:09 6ca5941a6612: Verifying Checksum 00:55:09 6ca5941a6612: Download complete 00:55:09 31603596830f: Pull complete 00:55:10 2a8b12db71e7: Pull complete 00:55:11 6ca5941a6612: Pull complete 00:55:11 ecc8261a40a4: Pull complete 00:55:11 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:55:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:55:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:55:12 prd-centos7-docker-4c-2g-18032 does not seem to be running inside a container 00:55:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:55:14 $ docker top 1e302d3fc1c397dab7a193ab0ef15efaddd79406717ab95033387f67586b057d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:55:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:15 [ssh-agent] Looking for ssh-agent implementation... 00:55:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:15 $ docker exec 1e302d3fc1c397dab7a193ab0ef15efaddd79406717ab95033387f67586b057d ssh-agent 00:55:16 SSH_AUTH_SOCK=/tmp/ssh-9jHFwud6ZYBs/agent.11 00:55:16 SSH_AGENT_PID=17 00:55:16 Running ssh-add (command line suppressed) 00:55:16 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_7101584221062649461.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_7101584221062649461.key) 00:55:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:16 + git tag --points-at HEAD [Pipeline] } 00:55:17 $ docker exec --env ******** --env ******** 1e302d3fc1c397dab7a193ab0ef15efaddd79406717ab95033387f67586b057d ssh-agent -k 00:55:17 unset SSH_AUTH_SOCK; 00:55:17 unset SSH_AGENT_PID; 00:55:17 echo Agent pid 17 killed; 00:55:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:55:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:55:17 [ssh-agent] Looking for ssh-agent implementation... 00:55:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:55:17 $ docker exec 1e302d3fc1c397dab7a193ab0ef15efaddd79406717ab95033387f67586b057d ssh-agent 00:55:18 SSH_AUTH_SOCK=/tmp/ssh-718TWRP3yRSJ/agent.45 00:55:18 SSH_AGENT_PID=50 00:55:18 Running ssh-add (command line suppressed) 00:55:18 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_1949175922580500456.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_1949175922580500456.key) 00:55:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:55:18 + git semver init 00:55:18 # -> Open(): unable to determine branch for HEAD 00:55:18 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git 00:55:18 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 00:55:18 # $SEMVER_REMOTE_NAME = origin 00:55:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:55:18 # $SEMVER_USER_NAME = edgex-jenkins 00:55:18 # $SEMVER_BRANCH = PR-171 00:55:18 # $SEMVER_TEMP = /tmp/semver-663006964 00:55:18 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 00:55:19 # '/tmp/semver-663006964' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' 00:55:19 # -> Force: false 00:55:19 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } 00:55:19 $ docker exec --env ******** --env ******** 1e302d3fc1c397dab7a193ab0ef15efaddd79406717ab95033387f67586b057d ssh-agent -k 00:55:19 unset SSH_AUTH_SOCK; 00:55:19 unset SSH_AGENT_PID; 00:55:19 echo Agent pid 50 killed; 00:55:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:55:20 + git semver [Pipeline] } 00:55:20 $ docker stop --time=1 1e302d3fc1c397dab7a193ab0ef15efaddd79406717ab95033387f67586b057d 00:55:22 $ docker rm -f 1e302d3fc1c397dab7a193ab0ef15efaddd79406717ab95033387f67586b057d [Pipeline] // withDockerContainer [Pipeline] sh 00:55:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:55:23 Stashed 1 file(s) [Pipeline] echo 00:55:23 [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 00:55:39 Still waiting to schedule task 00:55:39 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:55:39 Still waiting to schedule task 00:55:39 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-18031’ 00:58:26 Running on prd-centos7-docker-4c-2g-18033 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws 00:58:26 Running in /w/workspace/device-modbus-go/14 [Pipeline] { [Pipeline] checkout 00:58:29 using credential edgex-jenkins-ssh 00:58:29 Cloning the remote Git repository 00:58:29 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:58:29 > git init /w/workspace/device-modbus-go/14 # timeout=10 00:58:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:29 > git --version # timeout=10 00:58:29 > git --version # 'git version 2.24.3' 00:58:29 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:58:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:58:30 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:58:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:58:30 Merging remotes/origin/master commit 15ac84f23aa11eeb9442daa2d5db1053a10c3bad into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 00:58:30 Merge succeeded, producing a68e0227aadedbfcafaa8f7243d05b0a4b0e4ca6 00:58:30 Checking out Revision a68e0227aadedbfcafaa8f7243d05b0a4b0e4ca6 (PR-171) 00:58:30 > git config core.sparsecheckout # timeout=10 00:58:30 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 00:58:30 > git remote # timeout=10 00:58:30 > git config --get remote.origin.url # timeout=10 00:58:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:58:30 > git merge 15ac84f23aa11eeb9442daa2d5db1053a10c3bad # timeout=10 00:58:30 > git rev-parse HEAD^{commit} # timeout=10 00:58:30 > git config core.sparsecheckout # timeout=10 00:58:30 > git checkout -f a68e0227aadedbfcafaa8f7243d05b0a4b0e4ca6 # timeout=10 00:58:34 Commit message: "Merge commit '15ac84f23aa11eeb9442daa2d5db1053a10c3bad' into HEAD" 00:58:34 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 00:58:34 > git rev-list --no-walk 8bc9c3bbd92c26ad47a5bd77389ef1af1f94b53f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 00:58:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:58:36 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:58:36 + true 00:58:36 + sudo service docker restart 00:58:36 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:58:38 provisioning config files... 00:58:38 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/14@tmp/config2428214275035311856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:58:38 ---> docker-login.sh 00:58:38 nexus3.edgexfoundry.org:10001 00:58:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:39 Configure a credential helper to remove this warning. See 00:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:39 00:58:39 Login Succeeded 00:58:39 nexus3.edgexfoundry.org:10002 00:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:39 Configure a credential helper to remove this warning. See 00:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:39 00:58:39 Login Succeeded 00:58:39 nexus3.edgexfoundry.org:10003 00:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:39 Configure a credential helper to remove this warning. See 00:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:39 00:58:39 Login Succeeded 00:58:39 nexus3.edgexfoundry.org:10004 00:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:39 Configure a credential helper to remove this warning. See 00:58:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:39 00:58:39 Login Succeeded 00:58:39 docker.io 00:58:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:58:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:58:40 Configure a credential helper to remove this warning. See 00:58:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:58:40 00:58:40 Login Succeeded 00:58:40 ---> docker-login.sh ends [Pipeline] } 00:58:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:58:40 ========================================================= 00:58:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:58:40 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:58:40 + 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 . 00:58:40 Sending build context to Docker daemon 624.1kB 00:58:40 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:58:40 Step 2/8 : FROM ${BASE} 00:58:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:58:41 188c0c94c7c5: Pulling fs layer 00:58:41 0ef7d3d256c8: Pulling fs layer 00:58:41 de9db76c5a1d: Pulling fs layer 00:58:41 bca2f99d35d6: Pulling fs layer 00:58:41 93359f2a8cfa: Pulling fs layer 00:58:41 7c6f9722023f: Pulling fs layer 00:58:41 a35cf1a2eb13: Pulling fs layer 00:58:41 bca2f99d35d6: Waiting 00:58:41 93359f2a8cfa: Waiting 00:58:41 7c6f9722023f: Waiting 00:58:41 a35cf1a2eb13: Waiting 00:58:41 de9db76c5a1d: Download complete 00:58:41 0ef7d3d256c8: Verifying Checksum 00:58:41 0ef7d3d256c8: Download complete 00:58:41 93359f2a8cfa: Verifying Checksum 00:58:41 93359f2a8cfa: Download complete 00:58:41 7c6f9722023f: Verifying Checksum 00:58:41 7c6f9722023f: Download complete 00:58:41 188c0c94c7c5: Verifying Checksum 00:58:41 188c0c94c7c5: Download complete 00:58:42 188c0c94c7c5: Pull complete 00:58:42 0ef7d3d256c8: Pull complete 00:58:42 de9db76c5a1d: Pull complete 00:58:43 a35cf1a2eb13: Verifying Checksum 00:58:43 a35cf1a2eb13: Download complete 00:58:44 bca2f99d35d6: Verifying Checksum 00:58:44 bca2f99d35d6: Download complete 00:58:50 bca2f99d35d6: Pull complete 00:58:50 93359f2a8cfa: Pull complete 00:58:50 7c6f9722023f: Pull complete 00:58:56 a35cf1a2eb13: Pull complete 00:58:56 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:58:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:58:56 ---> a62c8e92a672 00:58:56 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:58:56 ---> Running in 50a255562d2f 00:58:56 Removing intermediate container 50a255562d2f 00:58:56 ---> a3599304c89b 00:58:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:58:56 ---> Running in 922802a76be4 00:58:57 Removing intermediate container 922802a76be4 00:58:57 ---> edd82073b4dd 00:58:57 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:58:57 ---> Running in 0da993e30d33 00:58:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:58:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:58:59 (1/14) Installing libmagic (5.38-r0) 00:59:00 (2/14) Installing file (5.38-r0) 00:59:00 (3/14) Installing libc-dev (0.7.2-r3) 00:59:00 (4/14) Installing g++ (9.3.0-r2) 00:59:05 (5/14) Installing fortify-headers (1.1-r0) 00:59:05 (6/14) Installing patch (2.7.6-r6) 00:59:05 (7/14) Installing build-base (0.5-r2) 00:59:05 (8/14) Installing openssh-keygen (8.3_p1-r1) 00:59:06 (9/14) Installing libedit (20191231.3.1-r0) 00:59:06 (10/14) Installing openssh-client (8.3_p1-r1) 00:59:07 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 00:59:07 (12/14) Installing openssh-server-common (8.3_p1-r1) 00:59:07 (13/14) Installing openssh-server (8.3_p1-r1) 00:59:08 (14/14) Installing openssh (8.3_p1-r1) 00:59:08 Executing busybox-1.31.1-r19.trigger 00:59:08 OK: 237 MiB in 53 packages 00:59:11 Removing intermediate container 0da993e30d33 00:59:11 ---> 4e91c55eede0 00:59:11 Step 6/8 : WORKDIR /device-modbus-go 00:59:11 ---> Running in 48596c1a258e 00:59:11 Removing intermediate container 48596c1a258e 00:59:11 ---> ac981a1e3301 00:59:11 Step 7/8 : COPY . . 00:59:12 ---> 2a7c7b89b301 00:59:12 Step 8/8 : RUN go mod download 00:59:12 ---> Running in 1a03028a023c 00:59:22 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18034 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws 00:59:22 Running in /w/workspace/device-modbus-go/14 [Pipeline] { [Pipeline] checkout 00:59:27 using credential edgex-jenkins-ssh 00:59:27 Cloning the remote Git repository 00:59:27 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:59:27 > git init /w/workspace/device-modbus-go/14 # timeout=10 00:59:27 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:59:27 > git --version # timeout=10 00:59:27 > git --version # 'git version 2.17.1' 00:59:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:29 Merging remotes/origin/master commit 15ac84f23aa11eeb9442daa2d5db1053a10c3bad into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 00:59:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:59:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:28 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:59:28 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:59:28 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:28 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:59:29 > git config core.sparsecheckout # timeout=10 00:59:29 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 00:59:29 > git remote # timeout=10 00:59:29 > git config --get remote.origin.url # timeout=10 00:59:29 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:29 > git merge 15ac84f23aa11eeb9442daa2d5db1053a10c3bad # timeout=10 00:59:29 Merge succeeded, producing 2a5edf57c095962c3bf5e8d360140cd971a23fef 00:59:29 Checking out Revision 2a5edf57c095962c3bf5e8d360140cd971a23fef (PR-171) 00:59:29 > git rev-parse HEAD^{commit} # timeout=10 00:59:29 > git config core.sparsecheckout # timeout=10 00:59:29 > git checkout -f 2a5edf57c095962c3bf5e8d360140cd971a23fef # timeout=10 00:59:34 Commit message: "Merge commit '15ac84f23aa11eeb9442daa2d5db1053a10c3bad' into HEAD" 00:59:34 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:34 Removing intermediate container 1a03028a023c 00:59:34 ---> f1cdee064cae 00:59:34 Successfully built f1cdee064cae 00:59:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:59:34 > git rev-list --no-walk 8bc9c3bbd92c26ad47a5bd77389ef1af1f94b53f # timeout=10 00:59:35 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 00:59:35 + docker inspect -f . ci-base-image-x86_64 00:59:35 . [Pipeline] withDockerContainer 00:59:35 prd-centos7-docker-4c-2g-18033 does not seem to be running inside a container 00:59:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:59:36 $ docker top 57f5e177d841f91ef01a5cf73e574ea3fd5ca8ab1092c47a49869b3d3c1ec162 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 00:59:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:59:37 + go version 00:59:37 go version go1.15.5 linux/amd64 [Pipeline] } 00:59:37 $ docker stop --time=1 57f5e177d841f91ef01a5cf73e574ea3fd5ca8ab1092c47a49869b3d3c1ec162 00:59:37 + sudo service docker restart 00:59:37 + true 00:59:38 $ docker rm -f 57f5e177d841f91ef01a5cf73e574ea3fd5ca8ab1092c47a49869b3d3c1ec162 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:59:39 + docker inspect -f . ci-base-image-x86_64 00:59:39 . [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerContainer 00:59:39 prd-centos7-docker-4c-2g-18033 does not seem to be running inside a container 00:59:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:59:40 $ docker top 81c86e5ee6a97d33e0198e77bc84335dabf2e747262bad79ecc7a8f177ac00e5 -eo pid,comm [Pipeline] { [Pipeline] wrap 00:59:40 provisioning config files... 00:59:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/14@tmp/config1740697935754979315tmp [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:41 + make test 00:59:41 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:59:41 ---> docker-login.sh 00:59:41 nexus3.edgexfoundry.org:10001 00:59:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:42 ? github.com/edgexfoundry/device-modbus-go [no test files] 00:59:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:42 Configure a credential helper to remove this warning. See 00:59:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:42 00:59:42 Login Succeeded 00:59:42 nexus3.edgexfoundry.org:10002 00:59:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:43 Configure a credential helper to remove this warning. See 00:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:43 00:59:43 Login Succeeded 00:59:43 nexus3.edgexfoundry.org:10003 00:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:43 Configure a credential helper to remove this warning. See 00:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:43 00:59:43 Login Succeeded 00:59:43 nexus3.edgexfoundry.org:10004 00:59:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:43 Configure a credential helper to remove this warning. See 00:59:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:43 00:59:43 Login Succeeded 00:59:43 docker.io 00:59:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:44 Configure a credential helper to remove this warning. See 00:59:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:44 00:59:44 Login Succeeded 00:59:44 ---> docker-login.sh ends [Pipeline] } 00:59:44 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:45 ========================================================= 00:59:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:59:45 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:59:45 + 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 . 00:59:45 Sending build context to Docker daemon 622.6kB 00:59:46 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:59:46 Step 2/8 : FROM ${BASE} 00:59:46 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:59:46 5f621e34cdf4: Pulling fs layer 00:59:46 a4357932f1b6: Pulling fs layer 00:59:46 18c013af1878: Pulling fs layer 00:59:46 00ac8860ef70: Pulling fs layer 00:59:46 63d7cb157983: Pulling fs layer 00:59:46 b116817d02f9: Pulling fs layer 00:59:46 745a02a5169b: Pulling fs layer 00:59:46 00ac8860ef70: Waiting 00:59:46 b116817d02f9: Waiting 00:59:46 63d7cb157983: Waiting 00:59:46 745a02a5169b: Waiting 00:59:46 18c013af1878: Verifying Checksum 00:59:46 18c013af1878: Download complete 00:59:46 a4357932f1b6: Verifying Checksum 00:59:46 a4357932f1b6: Download complete 00:59:46 63d7cb157983: Download complete 00:59:46 5f621e34cdf4: Download complete 00:59:46 b116817d02f9: Verifying Checksum 00:59:46 b116817d02f9: Download complete 00:59:47 5f621e34cdf4: Pull complete 00:59:47 a4357932f1b6: Pull complete 00:59:48 18c013af1878: Pull complete 00:59:49 745a02a5169b: Download complete 00:59:49 00ac8860ef70: Verifying Checksum 00:59:49 00ac8860ef70: Download complete 00:59:52 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 00:59:53 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.223s coverage: 50.2% of statements 00:59:53 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:59:55 gofmt -l . 00:59:55 internal/driver/config.go 00:59:55 internal/driver/config_test.go 00:59:55 internal/driver/protocolpropertykey.go 00:59:55 [ "`gofmt -l .`" = "" ] 00:59:55 make: *** [Makefile:27: test] Error 1 [Pipeline] } 00:59:55 $ docker stop --time=1 81c86e5ee6a97d33e0198e77bc84335dabf2e747262bad79ecc7a8f177ac00e5 00:59:58 $ docker rm -f 81c86e5ee6a97d33e0198e77bc84335dabf2e747262bad79ecc7a8f177ac00e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:59:59 Failed in branch amd64 00:59:59 00ac8860ef70: Pull complete 00:59:59 63d7cb157983: Pull complete 01:00:00 b116817d02f9: Pull complete 01:00:04 745a02a5169b: Pull complete 01:00:04 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 01:00:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:00:04 ---> b7e6874047d6 01:00:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:00:07 ---> Running in d546f24fe2d9 01:00:07 Removing intermediate container d546f24fe2d9 01:00:07 ---> a374043ee779 01:00:07 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:00:07 ---> Running in 9e1a0a7aef55 01:00:09 Removing intermediate container 9e1a0a7aef55 01:00:09 ---> cdfb2dd101df 01:00:09 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:00:09 ---> Running in 02159d7421f8 01:00:10 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:00:11 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:00:12 (1/14) Installing libmagic (5.38-r0) 01:00:13 (2/14) Installing file (5.38-r0) 01:00:13 (3/14) Installing libc-dev (0.7.2-r3) 01:00:13 (4/14) Installing g++ (9.3.0-r2) 01:00:52 (5/14) Installing fortify-headers (1.1-r0) 01:00:52 (6/14) Installing patch (2.7.6-r6) 01:00:52 (7/14) Installing build-base (0.5-r2) 01:00:52 (8/14) Installing openssh-keygen (8.3_p1-r1) 01:00:52 (9/14) Installing libedit (20191231.3.1-r0) 01:00:52 (10/14) Installing openssh-client (8.3_p1-r1) 01:00:52 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 01:00:52 (12/14) Installing openssh-server-common (8.3_p1-r1) 01:00:52 (13/14) Installing openssh-server (8.3_p1-r1) 01:00:53 (14/14) Installing openssh (8.3_p1-r1) 01:00:53 Executing busybox-1.31.1-r19.trigger 01:00:53 OK: 221 MiB in 53 packages 01:00:58 Removing intermediate container 02159d7421f8 01:00:58 ---> 330ec8c3baa8 01:00:58 Step 6/8 : WORKDIR /device-modbus-go 01:00:58 ---> Running in 897c3efb9cd1 01:00:58 Removing intermediate container 897c3efb9cd1 01:00:58 ---> cfe59a9807b4 01:00:58 Step 7/8 : COPY . . 01:00:59 ---> ee14036ebb32 01:00:59 Step 8/8 : RUN go mod download 01:00:59 ---> Running in e377115c3a75 01:01:21 Removing intermediate container e377115c3a75 01:01:21 ---> 0ef24cd4b871 01:01:21 Successfully built 0ef24cd4b871 01:01:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:01:22 + docker inspect -f . ci-base-image-arm64 01:01:22 . [Pipeline] withDockerContainer 01:01:22 prd-ubuntu18.04-docker-arm64-4c-16g-18034 does not seem to be running inside a container 01:01:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:01:23 $ docker top 6459bd0cc563aa4ad856830c32f8e65292738482c72620809856ab735b5bba86 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:24 + go version 01:01:24 go version go1.15.5 linux/arm64 [Pipeline] } 01:01:24 $ docker stop --time=1 6459bd0cc563aa4ad856830c32f8e65292738482c72620809856ab735b5bba86 01:01:26 $ docker rm -f 6459bd0cc563aa4ad856830c32f8e65292738482c72620809856ab735b5bba86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:01:27 + docker inspect -f . ci-base-image-arm64 01:01:27 . [Pipeline] withDockerContainer 01:01:28 prd-ubuntu18.04-docker-arm64-4c-16g-18034 does not seem to be running inside a container 01:01:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/14 -v /w/workspace/device-modbus-go/14:/w/workspace/device-modbus-go/14:rw,z -v /w/workspace/device-modbus-go/14@tmp:/w/workspace/device-modbus-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:01:29 $ docker top c7f0b9fb1a8b6b479ce526d87646f7155c86c9713324436b9eaa9ccb8b6d2009 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:30 + make test 01:01:30 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:01:31 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:02:10 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:02:10 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.408s coverage: 50.2% of statements 01:02:10 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:02:14 gofmt -l . 01:02:14 internal/driver/config.go 01:02:14 internal/driver/config_test.go 01:02:14 internal/driver/protocolpropertykey.go 01:02:14 [ "`gofmt -l .`" = "" ] 01:02:14 make: *** [Makefile:27: test] Error 1 [Pipeline] } 01:02:14 $ docker stop --time=1 c7f0b9fb1a8b6b479ce526d87646f7155c86c9713324436b9eaa9ccb8b6d2009 01:02:16 $ docker rm -f c7f0b9fb1a8b6b479ce526d87646f7155c86c9713324436b9eaa9ccb8b6d2009 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:02:18 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 01:02:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:02:22 ---> package-listing.sh 01:02:22 ++ facter osfamily 01:02:22 ++ tr '[:upper:]' '[:lower:]' 01:02:22 + OS_FAMILY=redhat 01:02:22 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 01:02:22 + START_PACKAGES=/tmp/packages_start.txt 01:02:22 + END_PACKAGES=/tmp/packages_end.txt 01:02:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:02:22 + PACKAGES=/tmp/packages_start.txt 01:02:22 + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' 01:02:22 + PACKAGES=/tmp/packages_end.txt 01:02:22 + case "${OS_FAMILY}" in 01:02:22 + rpm -qa 01:02:22 + sort 01:02:27 + '[' -f /tmp/packages_start.txt ']' 01:02:27 + '[' -f /tmp/packages_end.txt ']' 01:02:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:02:27 + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' 01:02:27 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ 01:02:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ [Pipeline] echo 01:02:27 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-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:02:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:02:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:02:28 01:02:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:02:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:02:29 alpine: Pulling from edgex-lftools-log-publisher 01:02:29 df20fa9351a1: Pulling fs layer 01:02:29 36b3adc4ff6f: Pulling fs layer 01:02:29 8ad3a11d3b57: Pulling fs layer 01:02:29 46f8f816bc3b: Pulling fs layer 01:02:29 93b61091891f: Pulling fs layer 01:02:29 93b9cdb0e59b: Pulling fs layer 01:02:29 5e14af77c1be: Pulling fs layer 01:02:29 01666e4c0597: Pulling fs layer 01:02:29 aa168da1d23b: Pulling fs layer 01:02:29 93b9cdb0e59b: Waiting 01:02:29 5e14af77c1be: Waiting 01:02:29 01666e4c0597: Waiting 01:02:29 aa168da1d23b: Waiting 01:02:29 46f8f816bc3b: Waiting 01:02:29 93b61091891f: Waiting 01:02:29 36b3adc4ff6f: Verifying Checksum 01:02:29 36b3adc4ff6f: Download complete 01:02:29 46f8f816bc3b: Verifying Checksum 01:02:29 46f8f816bc3b: Download complete 01:02:29 df20fa9351a1: Download complete 01:02:29 93b9cdb0e59b: Verifying Checksum 01:02:29 93b9cdb0e59b: Download complete 01:02:29 93b61091891f: Verifying Checksum 01:02:29 93b61091891f: Download complete 01:02:29 5e14af77c1be: Verifying Checksum 01:02:29 5e14af77c1be: Download complete 01:02:29 01666e4c0597: Verifying Checksum 01:02:29 01666e4c0597: Download complete 01:02:30 df20fa9351a1: Pull complete 01:02:30 36b3adc4ff6f: Pull complete 01:02:31 8ad3a11d3b57: Verifying Checksum 01:02:31 8ad3a11d3b57: Download complete 01:02:32 8ad3a11d3b57: Pull complete 01:02:32 46f8f816bc3b: Pull complete 01:02:33 93b61091891f: Pull complete 01:02:34 93b9cdb0e59b: Pull complete 01:02:34 5e14af77c1be: Pull complete 01:02:35 01666e4c0597: Pull complete 01:02:36 aa168da1d23b: Verifying Checksum 01:02:36 aa168da1d23b: Download complete 01:02:46 aa168da1d23b: Pull complete 01:02:46 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 01:02:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:02:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 01:02:46 prd-centos7-docker-4c-2g-18032 does not seem to be running inside a container 01:02:46 $ 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-171/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-171 -v /w/workspace/xfoundry_device-modbus-go_PR-171:/w/workspace/xfoundry_device-modbus-go_PR-171:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-171@tmp:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:02:50 $ docker top 28b7871cf0a75998202aa56ea337839abb5a98dcbe32dada419a4cf2fe78ddff -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:50 + touch /tmp/pre-build-complete [Pipeline] sh 01:02:51 + mkdir -p /var/log/sa [Pipeline] sh 01:02:51 + ls /var/log/sa-host 01:02:51 + sadf -c /var/log/sa-host/sa03 01:02:51 file_magic: OK 01:02:51 HZ: Using current value: 100 01:02:51 file_header: OK 01:02:51 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 01:02:51 Statistics: 01:02:51 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:02:51 File successfully converted to sysstat format version 12.2.1 01:02:51 + sadf -c /var/log/sa-host/sa23 01:02:51 file_magic: OK 01:02:51 HZ: Using current value: 100 01:02:51 file_header: OK 01:02:51 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 01:02:51 Statistics: 01:02:51 Hnuu...uuuununununu... 01:02:51 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:02:52 provisioning config files... 01:02:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config7213530649012896862tmp [Pipeline] { [Pipeline] echo 01:02:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:02:52 ---> create-netrc.sh [Pipeline] } 01:02:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:02:53 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:02:53 ---> python-tools-install.sh [Pipeline] echo 01:02:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:02:54 ---> sudo-logs.sh 01:02:54 Archiving 'sudo' log.. [Pipeline] echo 01:02:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:02:54 ---> job-cost.sh 01:02:54 lf-activate-venv: SKIPPING 01:02:54 INFO: No Stack... 01:02:55 INFO: Retrieving Pricing Info for: v1-standard-2 01:02:55 INFO: Archiving Costs [Pipeline] echo 01:02:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:02:56 ---> logs-deploy.sh 01:02:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/14 01:02:56 INFO: archiving workspace using pattern(s): 01:02:58 Archives upload complete. 01:02:58 INFO: archiving logs to Nexus 01:03:00 ---> uname -a: 01:03:00 Linux prd-centos7-docker-4c-2g-18032.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 01:03:00 01:03:00 01:03:00 ---> lscpu: 01:03:00 Architecture: x86_64 01:03:00 CPU op-mode(s): 32-bit, 64-bit 01:03:00 Byte Order: Little Endian 01:03:00 Address sizes: 40 bits physical, 48 bits virtual 01:03:00 CPU(s): 4 01:03:00 On-line CPU(s) list: 0-3 01:03:00 Thread(s) per core: 1 01:03:00 Core(s) per socket: 1 01:03:00 Socket(s): 4 01:03:00 NUMA node(s): 1 01:03:00 Vendor ID: GenuineIntel 01:03:00 CPU family: 6 01:03:00 Model: 44 01:03:00 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 01:03:00 Stepping: 1 01:03:00 CPU MHz: 2933.438 01:03:00 BogoMIPS: 5866.87 01:03:00 Virtualization: VT-x 01:03:00 Hypervisor vendor: KVM 01:03:00 Virtualization type: full 01:03:00 L1d cache: 128 KiB 01:03:00 L1i cache: 128 KiB 01:03:00 L2 cache: 16 MiB 01:03:00 L3 cache: 64 MiB 01:03:00 NUMA node0 CPU(s): 0-3 01:03:00 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 01:03:00 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 01:03:00 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 01:03:00 Vulnerability Meltdown: Mitigation; PTI 01:03:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:03:00 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:03:00 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:03:00 Vulnerability Srbds: Not affected 01:03:00 Vulnerability Tsx async abort: Not affected 01:03:00 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 01:03:00 01:03:00 01:03:00 ---> nproc: 01:03:00 4 01:03:00 01:03:00 01:03:00 ---> df -h: 01:03:00 Filesystem Size Used Available Use% Mounted on 01:03:00 overlay 50.0G 7.3G 42.7G 15% / 01:03:00 tmpfs 64.0M 0 64.0M 0% /dev 01:03:00 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 01:03:00 shm 64.0M 0 64.0M 0% /dev/shm 01:03:00 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 01:03:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 01:03:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 01:03:00 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 01:03:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-171@tmp 01:03:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 01:03:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 01:03:00 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 01:03:00 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 01:03:00 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-171 01:03:00 01:03:00 01:03:00 ---> free -m: 01:03:00 total used free shared buff/cache available 01:03:00 Mem: 1837 721 104 0 1012 1011 01:03:00 Swap: 1023 0 1023 01:03:00 01:03:00 01:03:00 ---> ip addr: 01:03:00 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:03:00 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:03:00 inet 127.0.0.1/8 scope host lo 01:03:00 valid_lft forever preferred_lft forever 01:03:00 inet6 ::1/128 scope host 01:03:00 valid_lft forever preferred_lft forever 01:03:00 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 01:03:00 link/ether fa:16:3e:2c:24:5b brd ff:ff:ff:ff:ff:ff 01:03:00 inet 10.30.123.123/23 brd 10.30.123.255 scope global dynamic eth0 01:03:00 valid_lft 85870sec preferred_lft 85870sec 01:03:00 inet6 fe80::f816:3eff:fe2c:245b/64 scope link 01:03:00 valid_lft forever preferred_lft forever 01:03:00 3: docker0: mtu 1500 qdisc noqueue state DOWN 01:03:00 link/ether 02:42:2c:f1:eb:97 brd ff:ff:ff:ff:ff:ff 01:03:00 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 01:03:00 valid_lft forever preferred_lft forever 01:03:00 inet6 fe80::42:2cff:fef1:eb97/64 scope link 01:03:00 valid_lft forever preferred_lft forever 01:03:00 01:03:00 01:03:00 ---> sar -b -r -n DEV: 01:03:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/03/21 _x86_64_ (4 CPU) 01:03:00 01:03:00 00:53:56 LINUX RESTART (4 CPU) 01:03:00 01:03:00 00:55:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:03:00 00:56:01 31.97 12.25 19.73 0.00 4446.22 2243.61 0.00 01:03:00 00:57:01 0.43 0.00 0.43 0.00 0.00 5.97 0.00 01:03:00 00:58:01 0.43 0.00 0.43 0.00 0.00 4.79 0.00 01:03:00 00:59:01 0.23 0.00 0.23 0.00 0.00 3.31 0.00 01:03:00 01:00:01 0.28 0.03 0.25 0.00 0.27 3.04 0.00 01:03:00 01:01:01 0.35 0.02 0.33 0.00 0.13 5.11 0.00 01:03:00 01:02:02 0.45 0.08 0.37 0.00 1.60 5.06 0.00 01:03:00 Average: 4.82 1.74 3.07 0.00 626.53 319.92 0.00 01:03:00 01:03:00 00:55:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:03:00 00:56:01 162532 0 625672 33.25 2620 1090720 1137084 38.81 431460 1088952 16 01:03:00 00:57:01 163796 0 624400 33.19 2620 1090728 1132300 38.64 447324 1071768 8 01:03:00 00:58:01 170504 0 617688 32.83 2620 1090732 1076788 36.75 438968 1074628 20 01:03:00 00:59:01 168496 0 619696 32.94 2620 1090732 1076968 36.76 450060 1065872 8 01:03:00 01:00:01 167676 0 620508 32.98 2620 1090740 1077024 36.76 453952 1062420 12 01:03:00 01:01:01 168616 0 619552 32.93 2620 1090756 1079556 36.84 453556 1062424 12 01:03:00 01:02:02 169164 0 618880 32.89 2620 1090880 1077296 36.77 452984 1062484 8 01:03:00 Average: 167255 0 620914 33.00 2620 1090755 1093859 37.33 446901 1069793 12 01:03:00 01:03:00 00:55:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:03:00 00:56:01 eth0 73.00 61.17 350.64 41.52 0.00 0.00 0.00 0.00 01:03:00 00:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 00:56:01 docker0 2.32 2.01 0.45 4.30 0.00 0.00 0.00 0.00 01:03:00 00:57:01 eth0 0.73 0.68 2.01 0.05 0.00 0.00 0.00 0.00 01:03:00 00:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 00:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 00:58:01 eth0 0.63 0.08 0.06 0.01 0.00 0.00 0.00 0.00 01:03:00 00:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 00:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 00:59:01 eth0 1.22 0.45 0.33 0.21 0.00 0.00 0.00 0.00 01:03:00 00:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 00:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 01:00:01 eth0 0.70 0.48 0.40 0.27 0.00 0.00 0.00 0.00 01:03:00 01:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 01:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 01:01:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 01:03:00 01:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 01:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 01:02:02 eth0 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 01:02:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 01:02:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 Average: eth0 10.77 8.87 49.79 5.93 0.00 0.00 0.00 0.00 01:03:00 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:00 Average: docker0 0.33 0.28 0.06 0.61 0.00 0.00 0.00 0.00 01:03:00 01:03:00 01:03:00 ---> sar -P ALL: 01:03:00 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/03/21 _x86_64_ (4 CPU) 01:03:00 01:03:00 00:53:56 LINUX RESTART (4 CPU) 01:03:00 01:03:00 00:55:02 CPU %user %nice %system %iowait %steal %idle 01:03:00 00:56:01 all 2.43 0.00 2.15 0.66 4.40 90.36 01:03:00 00:56:01 0 1.88 0.00 2.08 0.24 4.79 91.01 01:03:00 00:56:01 1 2.39 0.00 1.73 1.66 4.27 89.96 01:03:00 00:56:01 2 3.23 0.00 2.72 0.41 4.05 89.58 01:03:00 00:56:01 3 2.24 0.00 2.07 0.34 4.47 90.88 01:03:00 00:57:01 all 0.07 0.00 0.06 0.00 0.42 99.45 01:03:00 00:57:01 0 0.03 0.00 0.03 0.00 0.33 99.60 01:03:00 00:57:01 1 0.18 0.00 0.05 0.00 0.63 99.13 01:03:00 00:57:01 2 0.03 0.00 0.08 0.00 0.35 99.53 01:03:00 00:57:01 3 0.03 0.00 0.07 0.00 0.38 99.52 01:03:00 00:58:01 all 0.11 0.00 0.15 0.00 0.47 99.28 01:03:00 00:58:01 0 0.03 0.00 0.23 0.00 0.55 99.19 01:03:00 00:58:01 1 0.32 0.00 0.05 0.00 0.23 99.40 01:03:00 00:58:01 2 0.05 0.00 0.10 0.00 0.63 99.22 01:03:00 00:58:01 3 0.03 0.00 0.20 0.00 0.47 99.30 01:03:00 00:59:01 all 0.07 0.00 0.03 0.00 0.21 99.68 01:03:00 00:59:01 0 0.02 0.00 0.03 0.00 0.17 99.78 01:03:00 00:59:01 1 0.20 0.00 0.02 0.00 0.22 99.57 01:03:00 00:59:01 2 0.07 0.00 0.08 0.00 0.38 99.47 01:03:00 00:59:01 3 0.02 0.00 0.00 0.00 0.07 99.92 01:03:00 01:00:01 all 0.10 0.00 0.15 0.00 0.49 99.25 01:03:00 01:00:01 0 0.23 0.00 0.12 0.00 0.56 99.09 01:03:00 01:00:01 1 0.12 0.00 0.15 0.00 0.60 99.14 01:03:00 01:00:01 2 0.03 0.00 0.23 0.02 0.48 99.24 01:03:00 01:00:01 3 0.03 0.00 0.10 0.00 0.33 99.53 01:03:00 01:01:01 all 0.07 0.00 0.02 0.00 0.42 99.49 01:03:00 01:01:01 0 0.03 0.00 0.05 0.00 0.83 99.09 01:03:00 01:01:01 1 0.02 0.00 0.02 0.00 0.27 99.70 01:03:00 01:01:01 2 0.22 0.00 0.02 0.00 0.43 99.33 01:03:00 01:01:01 3 0.02 0.00 0.02 0.00 0.15 99.82 01:03:00 01:02:02 all 0.11 0.00 0.04 0.00 0.36 99.49 01:03:00 01:02:02 0 0.05 0.00 0.05 0.00 0.56 99.34 01:03:00 01:02:02 1 0.02 0.00 0.02 0.00 0.08 99.88 01:03:00 01:02:02 2 0.33 0.00 0.05 0.00 0.32 99.30 01:03:00 01:02:02 3 0.03 0.00 0.03 0.02 0.46 99.45 01:03:00 Average: all 0.42 0.00 0.37 0.09 0.96 98.16 01:03:00 Average: 0 0.32 0.00 0.37 0.03 1.10 98.17 01:03:00 Average: 1 0.46 0.00 0.29 0.23 0.89 98.13 01:03:00 Average: 2 0.56 0.00 0.46 0.06 0.94 97.98 01:03:00 Average: 3 0.34 0.00 0.35 0.05 0.90 98.36 01:03:00 01:03:00 01:03:00