Pull request #237 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 02ea8102e4256cab45a95577ef27fe91c4046b54+99df618622a9f54f94da4a2280a77aba81c63d12 (694330f82e62ef3ce3739c80af6e5882d13c13d2) 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4184 in /w/workspace/xfoundry_device-modbus-go_PR-237 [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-237 # 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 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit 02ea8102e4256cab45a95577ef27fe91c4046b54 Merge succeeded, producing 02ea8102e4256cab45a95577ef27fe91c4046b54 Checking out Revision 02ea8102e4256cab45a95577ef27fe91c4046b54 (PR-237) > 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/237/head:refs/remotes/origin/PR-237 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # 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 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # timeout=10 Commit message: "feat: Add secure MessagBus capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:23:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:23:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:23:56 ========================================================= 20:23:56 EdgeX Global Pipelines Version Info 20:23:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b1ab6175f0a44daa899a0a21e3d89de9975b2107 # timeout=10 20:23:59 ------------------- 20:23:59 stable info: 20:23:59 ------------------- 20:23:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:23:59 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 20:23:59 Message: update stable to v1.0.191 20:24:00 ------------------- 20:24:00 experimental info: 20:24:00 ------------------- 20:24:00 Commited By: **** collab-it+edgex@linuxfoundation.org 20:24:00 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 20:24:00 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-237 [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-237 [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-237 [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02ea8102e4256cab45a95577ef27fe91c4046b54 [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02ea810 [Pipeline] echo 20:24:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:24:02 provisioning config files... 20:24:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/config2131914057633126670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:24:02 ---> docker-login.sh 20:24:02 nexus3.edgexfoundry.org:10001 20:24:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:03 Configure a credential helper to remove this warning. See 20:24:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:03 20:24:03 Login Succeeded 20:24:03 nexus3.edgexfoundry.org:10002 20:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:04 Configure a credential helper to remove this warning. See 20:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:04 20:24:04 Login Succeeded 20:24:04 nexus3.edgexfoundry.org:10003 20:24:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:04 Configure a credential helper to remove this warning. See 20:24:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:04 20:24:04 Login Succeeded 20:24:04 nexus3.edgexfoundry.org:10004 20:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:05 Configure a credential helper to remove this warning. See 20:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:05 20:24:05 Login Succeeded 20:24:05 docker.io 20:24:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:24:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:24:05 Configure a credential helper to remove this warning. See 20:24:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:24:05 20:24:05 Login Succeeded 20:24:05 ---> docker-login.sh ends [Pipeline] } 20:24:05 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 20:24:06 + git log --format=format:%s -1 02ea8102e4256cab45a95577ef27fe91c4046b54 [Pipeline] echo 20:24:06 GIT_COMMIT: 02ea8102e4256cab45a95577ef27fe91c4046b54, Commit Message: feat: Add secure MessagBus capability [Pipeline] echo 20:24:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:24:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:24:07 20:24:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:24:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:24:08 latest: Pulling from edgex-devops/git-semver 20:24:08 31603596830f: Pulling fs layer 20:24:08 54011a49482f: Pulling fs layer 20:24:08 a6820b24f6d8: Pulling fs layer 20:24:08 f581987b2513: Pulling fs layer 20:24:08 f581987b2513: Waiting 20:24:08 54011a49482f: Verifying Checksum 20:24:08 54011a49482f: Download complete 20:24:08 31603596830f: Verifying Checksum 20:24:08 31603596830f: Download complete 20:24:09 a6820b24f6d8: Verifying Checksum 20:24:09 a6820b24f6d8: Download complete 20:24:09 f581987b2513: Verifying Checksum 20:24:09 f581987b2513: Download complete 20:24:09 31603596830f: Pull complete 20:24:10 54011a49482f: Pull complete 20:24:12 a6820b24f6d8: Pull complete 20:24:12 f581987b2513: Pull complete 20:24:12 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 20:24:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:24:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:24:13 prd-centos7-docker-4c-2g-4184 does not seem to be running inside a container 20:24:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-237 -v /w/workspace/xfoundry_device-modbus-go_PR-237:/w/workspace/xfoundry_device-modbus-go_PR-237:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-237@tmp:/w/workspace/xfoundry_device-modbus-go_PR-237@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 20:24:17 $ docker top 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:24:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:17 [ssh-agent] Looking for ssh-agent implementation... 20:24:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:17 $ docker exec 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 ssh-agent 20:24:18 SSH_AUTH_SOCK=/tmp/ssh-rtuBblU17rfE/agent.11 20:24:18 SSH_AGENT_PID=16 20:24:18 Running ssh-add (command line suppressed) 20:24:19 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_875376299690754860.key (/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_875376299690754860.key) 20:24:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:19 + git tag --points-at HEAD [Pipeline] } 20:24:19 $ docker exec --env ******** --env ******** 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 ssh-agent -k 20:24:20 unset SSH_AUTH_SOCK; 20:24:20 unset SSH_AGENT_PID; 20:24:20 echo Agent pid 16 killed; 20:24:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:24:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:24:20 [ssh-agent] Looking for ssh-agent implementation... 20:24:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:24:20 $ docker exec 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 ssh-agent 20:24:21 SSH_AUTH_SOCK=/tmp/ssh-CDlavfINPOSD/agent.45 20:24:21 SSH_AGENT_PID=50 20:24:21 Running ssh-add (command line suppressed) 20:24:21 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_7056083905113436548.key (/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/private_key_7056083905113436548.key) 20:24:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:24:22 + git semver init 20:24:22 # -> Open(): unable to determine branch for HEAD 20:24:22 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-237/.git 20:24:22 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-237 20:24:22 # $SEMVER_REMOTE_NAME = origin 20:24:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:24:22 # $SEMVER_USER_NAME = edgex-jenkins 20:24:22 # $SEMVER_BRANCH = PR-237 20:24:22 # $SEMVER_TEMP = /tmp/semver-564021315 20:24:22 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 20:24:23 # '/tmp/semver-564021315' -> '/w/workspace/xfoundry_device-modbus-go_PR-237/.semver' 20:24:23 # -> Force: false 20:24:23 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-237/.semver [Pipeline] } 20:24:23 $ docker exec --env ******** --env ******** 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 ssh-agent -k 20:24:23 unset SSH_AUTH_SOCK; 20:24:23 unset SSH_AGENT_PID; 20:24:23 echo Agent pid 50 killed; 20:24:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:24:24 + git semver [Pipeline] } 20:24:24 $ docker stop --time=1 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 20:24:26 $ docker rm -f 85afb3c628b447b88ff96f0038b7d9f1dd2e878624268e18048820edf2bbe168 [Pipeline] // withDockerContainer [Pipeline] sh 20:24:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:24:28 Stashed 1 file(s) [Pipeline] echo 20:24:28 [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 20:24:43 Still waiting to schedule task 20:24:43 Waiting for next available executor on ‘centos7-docker-4c-2g’ 20:24:43 Still waiting to schedule task 20:24:43 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 20:26:47 Running on prd-centos7-docker-4c-2g-4187 in /w/workspace/xfoundry_device-modbus-go_PR-237 [Pipeline] { [Pipeline] ws 20:26:47 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 20:26:49 using credential edgex-jenkins-ssh 20:26:50 Cloning the remote Git repository 20:26:49 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:26:49 > git init /w/workspace/device-modbus-go/2 # timeout=10 20:26:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:26:50 > git --version # timeout=10 20:26:50 > git --version # 'git version 2.24.3' 20:26:50 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:26:51 Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit 02ea8102e4256cab45a95577ef27fe91c4046b54 20:26:51 Merge succeeded, producing 02ea8102e4256cab45a95577ef27fe91c4046b54 20:26:51 Checking out Revision 02ea8102e4256cab45a95577ef27fe91c4046b54 (PR-237) 20:26:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:26:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:26:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:26:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:26:50 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:26:51 > git config core.sparsecheckout # timeout=10 20:26:51 > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # timeout=10 20:26:51 > git remote # timeout=10 20:26:51 > git config --get remote.origin.url # timeout=10 20:26:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:26:51 > git merge 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 20:26:51 > git rev-parse HEAD^{commit} # timeout=10 20:26:51 > git config core.sparsecheckout # timeout=10 20:26:51 > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # timeout=10 20:26:55 Commit message: "feat: Add secure MessagBus capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:26:56 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 20:26:56 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:26:56 + sudo service docker restart 20:26:56 + true 20:26:56 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:26:57 provisioning config files... 20:26:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config7225507518478334344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:26:58 ---> docker-login.sh 20:26:58 nexus3.edgexfoundry.org:10001 20:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:58 Configure a credential helper to remove this warning. See 20:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:58 20:26:58 Login Succeeded 20:26:58 nexus3.edgexfoundry.org:10002 20:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:58 Configure a credential helper to remove this warning. See 20:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:58 20:26:58 Login Succeeded 20:26:58 nexus3.edgexfoundry.org:10003 20:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:58 Configure a credential helper to remove this warning. See 20:26:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:58 20:26:58 Login Succeeded 20:26:58 nexus3.edgexfoundry.org:10004 20:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:59 Configure a credential helper to remove this warning. See 20:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:59 20:26:59 Login Succeeded 20:26:59 docker.io 20:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:26:59 Configure a credential helper to remove this warning. See 20:26:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:26:59 20:26:59 Login Succeeded 20:26:59 ---> docker-login.sh ends [Pipeline] } 20:26:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:26:59 ========================================================= 20:26:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 20:26:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:26:59 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 20:26:59 Sending build context to Docker daemon 612.4kB 20:26:59 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:26:59 Step 2/8 : FROM ${BASE} 20:27:00 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 20:27:00 540db60ca938: Pulling fs layer 20:27:00 adcc1eea9eea: Pulling fs layer 20:27:00 4c4ab2625f07: Pulling fs layer 20:27:00 0510c868ecb4: Pulling fs layer 20:27:00 afea3b2eda06: Pulling fs layer 20:27:00 7809a108b3ef: Pulling fs layer 20:27:00 f706445af74f: Pulling fs layer 20:27:00 0510c868ecb4: Waiting 20:27:00 afea3b2eda06: Waiting 20:27:00 7809a108b3ef: Waiting 20:27:00 f706445af74f: Waiting 20:27:00 4c4ab2625f07: Verifying Checksum 20:27:00 adcc1eea9eea: Download complete 20:27:00 afea3b2eda06: Verifying Checksum 20:27:00 afea3b2eda06: Download complete 20:27:00 7809a108b3ef: Verifying Checksum 20:27:00 7809a108b3ef: Download complete 20:27:00 540db60ca938: Verifying Checksum 20:27:00 540db60ca938: Download complete 20:27:00 540db60ca938: Pull complete 20:27:00 adcc1eea9eea: Pull complete 20:27:00 4c4ab2625f07: Pull complete 20:27:02 f706445af74f: Verifying Checksum 20:27:02 f706445af74f: Download complete 20:27:03 0510c868ecb4: Verifying Checksum 20:27:03 0510c868ecb4: Download complete 20:27:08 0510c868ecb4: Pull complete 20:27:08 afea3b2eda06: Pull complete 20:27:08 7809a108b3ef: Pull complete 20:27:18 f706445af74f: Pull complete 20:27:18 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 20:27:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 20:27:18 ---> b068be0155e3 20:27:18 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 20:27:18 ---> Running in 162dcae7721c 20:27:18 Removing intermediate container 162dcae7721c 20:27:18 ---> 9481bd9e118b 20:27:18 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:27:18 ---> Running in e97166cdab74 20:27:20 Removing intermediate container e97166cdab74 20:27:20 ---> e02208e469ad 20:27:20 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:27:20 ---> Running in e2019b380cae 20:27:21 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 20:27:22 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 20:27:23 (1/13) Installing libc-dev (0.7.2-r3) 20:27:23 (2/13) Installing libsodium (1.0.18-r0) 20:27:23 (3/13) Installing pkgconf (1.7.3-r0) 20:27:24 (4/13) Installing libsodium-dev (1.0.18-r0) 20:27:24 (5/13) Installing openssh-keygen (8.4_p1-r3) 20:27:24 (6/13) Installing libedit (20191231.3.1-r1) 20:27:24 (7/13) Installing openssh-client (8.4_p1-r3) 20:27:25 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 20:27:25 (9/13) Installing openssh-server-common (8.4_p1-r3) 20:27:25 (10/13) Installing openssh-server (8.4_p1-r3) 20:27:25 (11/13) Installing openssh (8.4_p1-r3) 20:27:26 (12/13) Installing libzmq (4.3.3-r1) 20:27:26 (13/13) Installing zeromq-dev (4.3.3-r1) 20:27:26 Executing busybox-1.32.1-r6.trigger 20:27:26 OK: 156 MiB in 53 packages 20:27:27 Removing intermediate container e2019b380cae 20:27:27 ---> 835b44c231d4 20:27:27 Step 6/8 : WORKDIR /device-modbus-go 20:27:27 ---> Running in 61a99b027563 20:27:27 Removing intermediate container 61a99b027563 20:27:27 ---> 65de87b524f3 20:27:27 Step 7/8 : COPY . . 20:27:28 ---> 325b2451f623 20:27:28 Step 8/8 : RUN go mod download 20:27:28 ---> Running in 594907e1a0b4 20:27:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4188 in /w/workspace/xfoundry_device-modbus-go_PR-237 [Pipeline] { [Pipeline] ws 20:27:43 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 20:27:49 using credential edgex-jenkins-ssh 20:27:49 Cloning the remote Git repository 20:27:49 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 20:27:49 > git init /w/workspace/device-modbus-go/2 # timeout=10 20:27:49 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:27:49 > git --version # timeout=10 20:27:49 > git --version # 'git version 2.17.1' 20:27:49 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:27:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:27:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:27:50 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 20:27:50 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 20:27:50 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:50 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/237/head:refs/remotes/origin/PR-237 +refs/heads/master:refs/remotes/origin/master # timeout=10 20:27:51 Merging remotes/origin/master commit 99df618622a9f54f94da4a2280a77aba81c63d12 into PR head commit 02ea8102e4256cab45a95577ef27fe91c4046b54 20:27:51 Merge succeeded, producing 02ea8102e4256cab45a95577ef27fe91c4046b54 20:27:51 Checking out Revision 02ea8102e4256cab45a95577ef27fe91c4046b54 (PR-237) 20:27:51 > git config core.sparsecheckout # timeout=10 20:27:51 > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # timeout=10 20:27:51 > git remote # timeout=10 20:27:51 > git config --get remote.origin.url # timeout=10 20:27:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:27:51 > git merge 99df618622a9f54f94da4a2280a77aba81c63d12 # timeout=10 20:27:51 > git rev-parse HEAD^{commit} # timeout=10 20:27:51 > git config core.sparsecheckout # timeout=10 20:27:51 > git checkout -f 02ea8102e4256cab45a95577ef27fe91c4046b54 # timeout=10 20:27:55 Removing intermediate container 594907e1a0b4 20:27:55 ---> ce8ff9daab7b 20:27:55 Successfully built ce8ff9daab7b 20:27:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:27:55 + docker inspect -f . ci-base-image-x86_64 20:27:55 . [Pipeline] withDockerContainer 20:27:55 prd-centos7-docker-4c-2g-4187 does not seem to be running inside a container 20:27:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 20:27:56 Commit message: "feat: Add secure MessagBus capability" 20:27:56 $ docker top b4a8d4e2f0b6f7b268466f60cf7782d7385fe8f2970422e686ce6f9f0d7789b4 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:57 + go version 20:27:57 go version go1.16.3 linux/amd64 [Pipeline] } 20:27:57 $ docker stop --time=1 b4a8d4e2f0b6f7b268466f60cf7782d7385fe8f2970422e686ce6f9f0d7789b4 20:27:58 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 20:27:59 $ docker rm -f b4a8d4e2f0b6f7b268466f60cf7782d7385fe8f2970422e686ce6f9f0d7789b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:27:59 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 20:27:59 + docker inspect -f . ci-base-image-x86_64 20:27:59 . [Pipeline] withDockerContainer 20:27:59 prd-centos7-docker-4c-2g-4187 does not seem to be running inside a container 20:27:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 20:28:00 + sudo service docker restart 20:28:00 + true 20:28:00 $ docker top 4aff94710e6b6830f688f93f8e4e2a8e952427cc3177eba61e7202d7f790133b -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:01 + go mod tidy [Pipeline] sh 20:28:01 + make test 20:28:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 20:28:02 provisioning config files... 20:28:02 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config82790867998432849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:28:02 ---> docker-login.sh 20:28:02 nexus3.edgexfoundry.org:10001 20:28:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:03 Configure a credential helper to remove this warning. See 20:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:03 20:28:03 Login Succeeded 20:28:03 nexus3.edgexfoundry.org:10002 20:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:04 Configure a credential helper to remove this warning. See 20:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:04 20:28:04 Login Succeeded 20:28:04 nexus3.edgexfoundry.org:10003 20:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:04 Configure a credential helper to remove this warning. See 20:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:04 20:28:04 Login Succeeded 20:28:04 nexus3.edgexfoundry.org:10004 20:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:05 Configure a credential helper to remove this warning. See 20:28:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:05 20:28:05 Login Succeeded 20:28:05 docker.io 20:28:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:28:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:28:06 Configure a credential helper to remove this warning. See 20:28:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:28:06 20:28:06 Login Succeeded 20:28:06 ---> docker-login.sh ends [Pipeline] } 20:28:06 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:28:06 ========================================================= 20:28:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 20:28:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 20:28:06 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 20:28:07 Sending build context to Docker daemon 611.3kB 20:28:07 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 20:28:07 Step 2/8 : FROM ${BASE} 20:28:07 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:28:07 595b0fe564bb: Pulling fs layer 20:28:07 7186ed65a4f7: Pulling fs layer 20:28:07 316046926c0a: Pulling fs layer 20:28:07 4ebd0625c992: Pulling fs layer 20:28:07 207e8628e3a3: Pulling fs layer 20:28:07 c791037a9be2: Pulling fs layer 20:28:07 ffd874e62e21: Pulling fs layer 20:28:07 c791037a9be2: Waiting 20:28:07 4ebd0625c992: Waiting 20:28:07 207e8628e3a3: Waiting 20:28:07 ffd874e62e21: Waiting 20:28:07 316046926c0a: Download complete 20:28:07 7186ed65a4f7: Verifying Checksum 20:28:07 7186ed65a4f7: Download complete 20:28:07 207e8628e3a3: Verifying Checksum 20:28:07 207e8628e3a3: Download complete 20:28:07 c791037a9be2: Verifying Checksum 20:28:07 c791037a9be2: Download complete 20:28:07 595b0fe564bb: Verifying Checksum 20:28:07 595b0fe564bb: Download complete 20:28:08 595b0fe564bb: Pull complete 20:28:08 # github.com/edgexfoundry/device-modbus-go/internal/driver 20:28:08 internal/driver/deviceclient.go:44:32: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion 20:28:08 internal/driver/deviceclient.go:53:34: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion 20:28:08 internal/driver/deviceclient.go:68:3: cannot use primaryTable (type interface {}) as type string in field value: need type assertion 20:28:08 7186ed65a4f7: Pull complete 20:28:09 316046926c0a: Pull complete 20:28:12 # github.com/edgexfoundry/device-modbus-go/internal/driver [github.com/edgexfoundry/device-modbus-go/internal/driver.test] 20:28:12 internal/driver/deviceclient.go:44: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion 20:28:12 internal/driver/deviceclient.go:53: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion 20:28:12 internal/driver/deviceclient.go:68: cannot use primaryTable (type interface {}) as type string in field value: need type assertion 20:28:12 internal/driver/attributechecker_test.go:19:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:28:12 internal/driver/attributechecker_test.go:26:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:28:12 internal/driver/attributechecker_test.go:43:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:28:12 internal/driver/attributechecker_test.go:50:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:28:12 internal/driver/deviceclient_test.go:28:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:28:12 internal/driver/deviceclient_test.go:55:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:28:12 internal/driver/deviceclient_test.go:81:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:28:12 internal/driver/deviceclient_test.go:81:3: too many errors 20:28:13 ffd874e62e21: Verifying Checksum 20:28:13 ffd874e62e21: Download complete 20:28:14 4ebd0625c992: Verifying Checksum 20:28:14 4ebd0625c992: Download complete 20:28:21 FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] 20:28:21 make: *** [Makefile:25: test] Error 2 [Pipeline] } 20:28:21 $ docker stop --time=1 4aff94710e6b6830f688f93f8e4e2a8e952427cc3177eba61e7202d7f790133b 20:28:22 $ docker rm -f 4aff94710e6b6830f688f93f8e4e2a8e952427cc3177eba61e7202d7f790133b [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 Post stage [Pipeline] libraryResource [Pipeline] sh 20:28:23 ---> job-cost.sh 20:28:23 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-kKtS 20:28:26 4ebd0625c992: Pull complete 20:28:26 207e8628e3a3: Pull complete 20:28:26 c791037a9be2: Pull complete 20:28:29 ffd874e62e21: Pull complete 20:28:29 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 20:28:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 20:28:29 ---> cfc18b08335c 20:28:29 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 20:28:32 ---> Running in 62ffbbf47fd3 20:28:32 Removing intermediate container 62ffbbf47fd3 20:28:32 ---> 819c72dbeeae 20:28:32 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:28:32 ---> Running in 43071fae15f6 20:28:35 Removing intermediate container 43071fae15f6 20:28:35 ---> d81a4b3ceb6f 20:28:35 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 20:28:35 ---> Running in bfad9ddfe96e 20:28:36 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 20:28:37 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 20:28:38 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:28:39 (1/13) Installing libc-dev (0.7.2-r3) 20:28:39 (2/13) Installing libsodium (1.0.18-r0) 20:28:39 (3/13) Installing pkgconf (1.7.3-r0) 20:28:39 (4/13) Installing libsodium-dev (1.0.18-r0) 20:28:39 (5/13) Installing openssh-keygen (8.4_p1-r3) 20:28:41 (6/13) Installing libedit (20191231.3.1-r1) 20:28:41 (7/13) Installing openssh-client (8.4_p1-r3) 20:28:42 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 20:28:42 (9/13) Installing openssh-server-common (8.4_p1-r3) 20:28:42 (10/13) Installing openssh-server (8.4_p1-r3) 20:28:42 (11/13) Installing openssh (8.4_p1-r3) 20:28:43 (12/13) Installing libzmq (4.3.3-r1) 20:28:43 (13/13) Installing zeromq-dev (4.3.3-r1) 20:28:43 Executing busybox-1.32.1-r6.trigger 20:28:43 OK: 145 MiB in 53 packages 20:28:45 Removing intermediate container bfad9ddfe96e 20:28:45 ---> 14766c736638 20:28:45 Step 6/8 : WORKDIR /device-modbus-go 20:28:45 ---> Running in 276041d02160 20:28:45 Removing intermediate container 276041d02160 20:28:45 ---> 7982ebd5b877 20:28:45 Step 7/8 : COPY . . 20:28:46 ---> e699d0a9a9ae 20:28:46 Step 8/8 : RUN go mod download 20:28:46 ---> Running in 2705a8692916 20:29:05 lf-activate-venv(): INFO: Adding /tmp/venv-kKtS/bin to PATH 20:29:05 INFO: No Stack... 20:29:06 INFO: Retrieving Pricing Info for: v1-standard-2 20:29:06 INFO: Archiving Costs [Pipeline] sh 20:29:07 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 20:29:07 + cut -d, -f6 [Pipeline] lock 20:29:07 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] 20:29:07 Resource [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] did not exist. Created. 20:29:07 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:29:07 + echo total: 0.029999999329447746 [Pipeline] stash 20:29:08 Stashed 1 file(s) [Pipeline] } 20:29:08 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:29:08 Failed in branch amd64 20:29:13 Removing intermediate container 2705a8692916 20:29:13 ---> ee372d5c597b 20:29:13 Successfully built ee372d5c597b 20:29:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:29:14 + docker inspect -f . ci-base-image-arm64 20:29:14 . [Pipeline] withDockerContainer 20:29:14 prd-ubuntu18.04-docker-arm64-4c-16g-4188 does not seem to be running inside a container 20:29:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 20:29:16 $ docker top bc5e08f5c5f3d1ecb43663bfc7acea30c0300ce20d02f2a1654c7d5e1079bb72 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:17 + go version 20:29:17 go version go1.16.3 linux/arm64 [Pipeline] } 20:29:17 $ docker stop --time=1 bc5e08f5c5f3d1ecb43663bfc7acea30c0300ce20d02f2a1654c7d5e1079bb72 20:29:18 $ docker rm -f bc5e08f5c5f3d1ecb43663bfc7acea30c0300ce20d02f2a1654c7d5e1079bb72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:29:19 + docker inspect -f . ci-base-image-arm64 20:29:19 . [Pipeline] withDockerContainer 20:29:19 prd-ubuntu18.04-docker-arm64-4c-16g-4188 does not seem to be running inside a container 20:29:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 20:29:21 $ docker top f8646f466dac87bb86fdf7484a21c6a9c7405b1be2c849705c4d1bc94d294fe7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:29:22 + go mod tidy [Pipeline] sh 20:29:23 + make test 20:29:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:29:25 ? github.com/edgexfoundry/device-modbus-go [no test files] 20:29:40 # github.com/edgexfoundry/device-modbus-go/internal/driver 20:29:40 internal/driver/deviceclient.go:44:32: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion 20:29:40 internal/driver/deviceclient.go:53:34: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion 20:29:40 internal/driver/deviceclient.go:68:3: cannot use primaryTable (type interface {}) as type string in field value: need type assertion 20:30:12 # github.com/edgexfoundry/device-modbus-go/internal/driver [github.com/edgexfoundry/device-modbus-go/internal/driver.test] 20:30:12 internal/driver/deviceclient.go:44: cannot use primaryTable (type interface {}) as type string in argument to strings.ToUpper: need type assertion 20:30:12 internal/driver/deviceclient.go:53: cannot use primaryTable (type interface {}) as type string in argument to calculateAddressLength: need type assertion 20:30:12 internal/driver/deviceclient.go:68: cannot use primaryTable (type interface {}) as type string in field value: need type assertion 20:30:12 internal/driver/attributechecker_test.go:19:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:30:12 internal/driver/attributechecker_test.go:26:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:30:12 internal/driver/attributechecker_test.go:43:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:30:12 internal/driver/attributechecker_test.go:50:4: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:30:12 internal/driver/deviceclient_test.go:28:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:30:12 internal/driver/deviceclient_test.go:55:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:30:12 internal/driver/deviceclient_test.go:81:3: cannot use map[string]string{...} (type map[string]string) as type map[string]interface {} in field value 20:30:12 internal/driver/deviceclient_test.go:81:3: too many errors 20:30:12 FAIL github.com/edgexfoundry/device-modbus-go/internal/driver [build failed] 20:30:12 make: *** [Makefile:25: test] Error 2 [Pipeline] } 20:30:12 $ docker stop --time=1 f8646f466dac87bb86fdf7484a21c6a9c7405b1be2c849705c4d1bc94d294fe7 20:30:14 $ docker rm -f f8646f466dac87bb86fdf7484a21c6a9c7405b1be2c849705c4d1bc94d294fe7 [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 Post stage [Pipeline] libraryResource [Pipeline] sh 20:30:15 ---> job-cost.sh 20:30:15 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-nThf 20:31:02 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 20:33:09 lf-activate-venv(): INFO: Adding /tmp/venv-nThf/bin to PATH 20:33:09 INFO: No Stack... 20:33:09 INFO: Retrieving Pricing Info for: lf-standard-4 20:33:09 INFO: Archiving Costs [Pipeline] sh 20:33:09 + + cutcat -d, /w/workspace/device-modbus-go/2/archives/cost.csv -f6 20:33:09 [Pipeline] lock 20:33:10 Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] 20:33:10 Resource [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] did not exist. Created. 20:33:10 Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:33:10 /w/workspace/device-modbus-go/2@tmp/durable-c6561492/script.sh: 1: /w/workspace/device-modbus-go/2@tmp/durable-c6561492/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:33:11 + echo total: 0.20999999344348907 [Pipeline] stash 20:33:11 Warning: overwriting stash ‘stack-cost’ 20:33:12 Stashed 1 file(s) [Pipeline] } 20:33:12 Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-237-2-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 20:33:12 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] { (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 20:33:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:33:15 ---> package-listing.sh 20:33:15 ++ facter osfamily 20:33:15 ++ tr '[:upper:]' '[:lower:]' 20:33:15 + OS_FAMILY=redhat 20:33:15 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-237 20:33:15 + START_PACKAGES=/tmp/packages_start.txt 20:33:15 + END_PACKAGES=/tmp/packages_end.txt 20:33:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:33:15 + PACKAGES=/tmp/packages_start.txt 20:33:15 + '[' /w/workspace/xfoundry_device-modbus-go_PR-237 ']' 20:33:15 + PACKAGES=/tmp/packages_end.txt 20:33:15 + case "${OS_FAMILY}" in 20:33:15 + rpm -qa 20:33:15 + sort 20:33:24 + '[' -f /tmp/packages_start.txt ']' 20:33:24 + '[' -f /tmp/packages_end.txt ']' 20:33:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:33:24 + '[' /w/workspace/xfoundry_device-modbus-go_PR-237 ']' 20:33:24 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-237/archives/ 20:33:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-237/archives/ [Pipeline] echo 20:33:24 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-237/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:33:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:33:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:33:25 20:33:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 20:33:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:33:27 alpine: Pulling from edgex-lftools-log-publisher 20:33:27 df20fa9351a1: Pulling fs layer 20:33:27 36b3adc4ff6f: Pulling fs layer 20:33:27 8ad3a11d3b57: Pulling fs layer 20:33:27 46f8f816bc3b: Pulling fs layer 20:33:27 93b61091891f: Pulling fs layer 20:33:27 93b9cdb0e59b: Pulling fs layer 20:33:27 5e14af77c1be: Pulling fs layer 20:33:27 01666e4c0597: Pulling fs layer 20:33:27 aa168da1d23b: Pulling fs layer 20:33:27 93b9cdb0e59b: Waiting 20:33:27 5e14af77c1be: Waiting 20:33:27 01666e4c0597: Waiting 20:33:27 aa168da1d23b: Waiting 20:33:27 46f8f816bc3b: Waiting 20:33:27 93b61091891f: Waiting 20:33:27 36b3adc4ff6f: Verifying Checksum 20:33:27 36b3adc4ff6f: Download complete 20:33:27 46f8f816bc3b: Verifying Checksum 20:33:27 46f8f816bc3b: Download complete 20:33:27 93b61091891f: Verifying Checksum 20:33:27 93b61091891f: Download complete 20:33:27 df20fa9351a1: Verifying Checksum 20:33:27 df20fa9351a1: Download complete 20:33:27 93b9cdb0e59b: Verifying Checksum 20:33:27 93b9cdb0e59b: Download complete 20:33:27 5e14af77c1be: Verifying Checksum 20:33:27 5e14af77c1be: Download complete 20:33:27 01666e4c0597: Verifying Checksum 20:33:27 01666e4c0597: Download complete 20:33:28 8ad3a11d3b57: Verifying Checksum 20:33:28 8ad3a11d3b57: Download complete 20:33:28 df20fa9351a1: Pull complete 20:33:29 36b3adc4ff6f: Pull complete 20:33:31 8ad3a11d3b57: Pull complete 20:33:32 46f8f816bc3b: Pull complete 20:33:33 93b61091891f: Pull complete 20:33:33 93b9cdb0e59b: Pull complete 20:33:34 5e14af77c1be: Pull complete 20:33:34 01666e4c0597: Pull complete 20:33:36 aa168da1d23b: Verifying Checksum 20:33:36 aa168da1d23b: Download complete 20:33:55 aa168da1d23b: Pull complete 20:33:55 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 20:33:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 20:33:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 20:33:56 prd-centos7-docker-4c-2g-4184 does not seem to be running inside a container 20:33:56 $ 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-237/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-237 -v /w/workspace/xfoundry_device-modbus-go_PR-237:/w/workspace/xfoundry_device-modbus-go_PR-237:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-237@tmp:/w/workspace/xfoundry_device-modbus-go_PR-237@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 20:34:00 $ docker top 08ff4634818445ddd46e40d06f3486866551d7883e3dab5eb18c339b30912395 -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:00 + touch /tmp/pre-build-complete [Pipeline] sh 20:34:01 + mkdir -p /var/log/sa [Pipeline] sh 20:34:02 + ls /var/log/sa-host 20:34:02 + sadf -c /var/log/sa-host/sa10 20:34:02 file_magic: OK 20:34:02 HZ: Using current value: 100 20:34:02 file_header: OK 20:34: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 20:34:02 Statistics: 20:34:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:34:02 File successfully converted to sysstat format version 12.2.1 20:34:02 + sadf -c /var/log/sa-host/sa23 20:34:02 file_magic: OK 20:34:02 HZ: Using current value: 100 20:34:02 file_header: OK 20:34: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 20:34:02 Statistics: 20:34:02 Hnuu...uuuununununu... 20:34:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:02 provisioning config files... 20:34:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-237@tmp/config8248202513504383109tmp [Pipeline] { [Pipeline] echo 20:34:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:34:03 ---> create-netrc.sh [Pipeline] } 20:34:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 20:34:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 20:34:04 ---> python-tools-install.sh [Pipeline] echo 20:34:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:34:05 ---> sudo-logs.sh 20:34:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:34:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:34:05 ---> job-cost.sh 20:34:05 lf-activate-venv: SKIPPING 20:34:05 DEBUG: total: 0.20999999344348907 20:34:05 INFO: Retrieving Stack Cost... 20:34:06 INFO: Retrieving Pricing Info for: v1-standard-2 20:34:07 INFO: Archiving Costs [Pipeline] echo 20:34:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:34:08 ---> logs-deploy.sh 20:34:08 lf-activate-venv: SKIPPING 20:34:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-237/2 20:34:08 INFO: archiving workspace using pattern(s): 20:34:11 Archives upload complete. 20:34:11 INFO: archiving logs to Nexus 20:34:14 ---> uname -a: 20:34:14 Linux prd-centos7-docker-4c-2g-4184.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 20:34:14 20:34:14 20:34:14 ---> lscpu: 20:34:14 Architecture: x86_64 20:34:14 CPU op-mode(s): 32-bit, 64-bit 20:34:14 Byte Order: Little Endian 20:34:14 Address sizes: 40 bits physical, 48 bits virtual 20:34:14 CPU(s): 4 20:34:14 On-line CPU(s) list: 0-3 20:34:14 Thread(s) per core: 1 20:34:14 Core(s) per socket: 1 20:34:14 Socket(s): 4 20:34:14 NUMA node(s): 1 20:34:14 Vendor ID: GenuineIntel 20:34:14 CPU family: 6 20:34:14 Model: 44 20:34:14 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 20:34:14 Stepping: 1 20:34:14 CPU MHz: 2933.438 20:34:14 BogoMIPS: 5866.87 20:34:14 Virtualization: VT-x 20:34:14 Hypervisor vendor: KVM 20:34:14 Virtualization type: full 20:34:14 L1d cache: 128 KiB 20:34:14 L1i cache: 128 KiB 20:34:14 L2 cache: 16 MiB 20:34:14 L3 cache: 64 MiB 20:34:14 NUMA node0 CPU(s): 0-3 20:34:14 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 20:34:14 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 20:34:14 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 20:34:14 Vulnerability Meltdown: Mitigation; PTI 20:34:14 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:34:14 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 20:34:14 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 20:34:14 Vulnerability Srbds: Not affected 20:34:14 Vulnerability Tsx async abort: Not affected 20:34:14 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 20:34:14 20:34:14 20:34:14 ---> nproc: 20:34:14 4 20:34:14 20:34:14 20:34:14 ---> df -h: 20:34:14 Filesystem Size Used Available Use% Mounted on 20:34:14 overlay 50.0G 7.3G 42.7G 15% / 20:34:14 tmpfs 64.0M 0 64.0M 0% /dev 20:34:14 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 20:34:14 shm 64.0M 0 64.0M 0% /dev/shm 20:34:14 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 20:34:14 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 20:34:14 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 20:34:14 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 20:34:14 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 20:34:14 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-237 20:34:14 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-237@tmp 20:34:14 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 20:34:14 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 20:34:14 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 20:34:14 20:34:14 20:34:14 ---> free -m: 20:34:14 total used free shared buff/cache available 20:34:14 Mem: 1837 743 111 0 982 989 20:34:14 Swap: 1023 1 1022 20:34:14 20:34:14 20:34:14 ---> ip addr: 20:34:14 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 20:34:14 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 20:34:14 inet 127.0.0.1/8 scope host lo 20:34:14 valid_lft forever preferred_lft forever 20:34:14 inet6 ::1/128 scope host 20:34:14 valid_lft forever preferred_lft forever 20:34:14 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 20:34:14 link/ether fa:16:3e:54:84:2e brd ff:ff:ff:ff:ff:ff 20:34:14 inet 10.30.123.44/23 brd 10.30.123.255 scope global dynamic eth0 20:34:14 valid_lft 85717sec preferred_lft 85717sec 20:34:14 inet6 fe80::f816:3eff:fe54:842e/64 scope link 20:34:14 valid_lft forever preferred_lft forever 20:34:14 3: docker0: mtu 1500 qdisc noqueue state DOWN 20:34:14 link/ether 02:42:97:b1:08:9a brd ff:ff:ff:ff:ff:ff 20:34:14 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 20:34:14 valid_lft forever preferred_lft forever 20:34:14 inet6 fe80::42:97ff:feb1:89a/64 scope link 20:34:14 valid_lft forever preferred_lft forever 20:34:14 20:34:14 20:34:14 ---> sar -b -r -n DEV: 20:34:14 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 05/10/21 _x86_64_ (4 CPU) 20:34:14 20:34:14 20:22:38 LINUX RESTART (4 CPU) 20:34:14 20:34:14 20:23:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 20:34:14 20:24:02 167.24 94.27 72.96 0.00 6821.18 37012.73 0.00 20:34:14 20:25:01 28.07 10.20 17.88 0.00 4360.43 2150.07 0.00 20:34:14 20:26:01 1.70 0.00 1.70 0.00 0.00 30.99 0.00 20:34:14 20:27:01 0.27 0.00 0.27 0.00 0.00 3.73 0.00 20:34:14 20:28:01 0.23 0.00 0.23 0.00 0.00 2.56 0.00 20:34:14 20:29:01 0.37 0.00 0.37 0.00 0.00 5.34 0.00 20:34:14 20:30:02 0.32 0.00 0.32 0.00 0.00 4.18 0.00 20:34:14 20:31:01 0.14 0.00 0.14 0.00 0.00 2.20 0.00 20:34:14 20:32:01 0.32 0.00 0.32 0.00 0.00 3.67 0.00 20:34:14 20:33:01 0.27 0.00 0.27 0.00 0.00 4.04 0.00 20:34:14 20:34:01 156.52 79.22 77.31 0.00 6914.48 18714.04 0.00 20:34:14 Average: 32.41 16.76 15.65 0.00 1645.57 5286.33 0.00 20:34:14 20:34:14 20:23:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 20:34:14 20:24:02 67872 0 568228 30.20 2620 1242824 1111440 37.93 403640 1212012 10712 20:34:14 20:25:01 166500 0 604412 32.12 2620 1108012 1146652 39.13 423412 1091980 132 20:34:14 20:26:01 176952 0 593956 31.57 2620 1108016 1080152 36.86 426276 1080572 8 20:34:14 20:27:01 172660 0 598244 31.80 2620 1108020 1074224 36.66 429872 1081192 8 20:34:14 20:28:01 172152 0 598748 31.82 2620 1108024 1074272 36.66 435504 1075956 8 20:34:14 20:29:01 171380 0 599512 31.86 2620 1108032 1074308 36.66 434276 1078128 12 20:34:14 20:30:02 171156 0 599736 31.87 2620 1108032 1074516 36.67 440284 1072688 20 20:34:14 20:31:01 170216 0 600672 31.92 2620 1108036 1074564 36.67 441124 1072688 8 20:34:14 20:32:01 169140 0 601740 31.98 2620 1108044 1074592 36.67 442288 1072688 8 20:34:14 20:33:01 167340 0 603536 32.08 2620 1108048 1074640 36.68 443700 1072688 8 20:34:14 20:34:01 162492 0 732640 38.94 2620 983792 1477048 50.41 483180 983092 48 20:34:14 Average: 160715 0 609220 32.38 2620 1108989 1121492 38.27 436687 1081244 997 20:34:14 20:34:14 20:23:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 20:34:14 20:24:02 eth0 196.98 147.93 730.06 59.74 0.00 0.00 0.00 0.00 20:34:14 20:24:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:24:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:25:01 eth0 69.65 55.67 349.95 16.55 0.00 0.00 0.00 0.00 20:34:14 20:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:25:01 docker0 2.38 1.81 0.47 5.02 0.00 0.00 0.00 0.00 20:34:14 20:26:01 eth0 0.22 0.20 0.12 0.04 0.00 0.00 0.00 0.00 20:34:14 20:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:27:01 eth0 1.80 0.42 0.38 0.18 0.00 0.00 0.00 0.00 20:34:14 20:27:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:28:01 eth0 2.04 0.40 0.39 0.20 0.00 0.00 0.00 0.00 20:34:14 20:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:29:01 eth0 2.73 0.40 0.61 0.30 0.00 0.00 0.00 0.00 20:34:14 20:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:30:02 eth0 2.56 0.93 0.95 0.61 0.00 0.00 0.00 0.00 20:34:14 20:30:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:30:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:31:01 eth0 1.66 0.49 0.36 0.22 0.00 0.00 0.00 0.00 20:34:14 20:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:32:01 eth0 2.99 0.60 0.73 0.40 0.00 0.00 0.00 0.00 20:34:14 20:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:33:01 eth0 2.28 0.67 0.65 0.40 0.00 0.00 0.00 0.00 20:34:14 20:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:34:01 eth0 214.92 186.50 2175.68 62.65 0.00 0.00 0.00 0.00 20:34:14 20:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 20:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 Average: eth0 45.34 35.91 297.09 12.87 0.00 0.00 0.00 0.00 20:34:14 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 20:34:14 Average: docker0 0.21 0.16 0.04 0.45 0.00 0.00 0.00 0.00 20:34:14 20:34:14