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 bdc2bf18299f50048bed412b56382a4832083ebb rather than 205d20470621f6877b30549a0d87a32e67fc54e2 Obtained Jenkinsfile from bdc2bf18299f50048bed412b56382a4832083ebb 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-15527 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 > 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 Merging remotes/origin/master commit bdc2bf18299f50048bed412b56382a4832083ebb into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 Merge succeeded, producing ada7139d1cd737306f4051a5c6f37f9024dc23cf Checking out Revision ada7139d1cd737306f4051a5c6f37f9024dc23cf (PR-171) > 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 bdc2bf18299f50048bed412b56382a4832083ebb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ada7139d1cd737306f4051a5c6f37f9024dc23cf # timeout=10 Commit message: "Merge commit 'bdc2bf18299f50048bed412b56382a4832083ebb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:55:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git rev-list --no-walk a8beb5b878181834d23ad1f52f47b4f2762a82a9 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:55:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:55:51 ========================================================= 00:55:51 EdgeX Global Pipelines Version Info 00:55:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:55:53 ------------------- 00:55:53 stable info: 00:55:53 ------------------- 00:55:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:55:53 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 00:55:53 Message: update stable to v1.0.172 00:55:54 ------------------- 00:55:54 experimental info: 00:55:54 ------------------- 00:55:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:55:54 Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 00:55:54 Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:55:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 00:55:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 00:55:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:55:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:55:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:55:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:55:55 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:55:55 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:55:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:55:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:55:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:55:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo 00:55:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:55:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:55:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:55:57 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:55:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo 00:55:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo 00:55:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo 00:55:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ada7139d1cd737306f4051a5c6f37f9024dc23cf [Pipeline] echo 00:55:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ada7139 [Pipeline] echo 00:55:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:55:57 provisioning config files... 00:55:57 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config3554593680936926884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:55:58 ---> docker-login.sh 00:55:58 nexus3.edgexfoundry.org:10001 00:55:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:58 Configure a credential helper to remove this warning. See 00:55:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:58 00:55:58 Login Succeeded 00:55:58 nexus3.edgexfoundry.org:10002 00:55:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:58 Configure a credential helper to remove this warning. See 00:55:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:58 00:55:58 Login Succeeded 00:55:58 nexus3.edgexfoundry.org:10003 00:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:59 Configure a credential helper to remove this warning. See 00:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:59 00:55:59 Login Succeeded 00:55:59 nexus3.edgexfoundry.org:10004 00:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:59 Configure a credential helper to remove this warning. See 00:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:59 00:55:59 Login Succeeded 00:55:59 docker.io 00:55:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:55:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:55:59 Configure a credential helper to remove this warning. See 00:55:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:55:59 00:55:59 Login Succeeded 00:55:59 ---> docker-login.sh ends [Pipeline] } 00:55:59 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:56:00 + git log --format=format:%s -1 ada7139d1cd737306f4051a5c6f37f9024dc23cf [Pipeline] echo 00:56:00 GIT_COMMIT: ada7139d1cd737306f4051a5c6f37f9024dc23cf, Commit Message: Merge commit 'bdc2bf18299f50048bed412b56382a4832083ebb' into HEAD [Pipeline] echo 00:56:00 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:56:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:56:01 00:56:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:56:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:56:01 latest: Pulling from edgex-devops/git-semver 00:56:01 31603596830f: Pulling fs layer 00:56:01 2a8b12db71e7: Pulling fs layer 00:56:01 6ca5941a6612: Pulling fs layer 00:56:01 ecc8261a40a4: Pulling fs layer 00:56:01 ecc8261a40a4: Waiting 00:56:01 2a8b12db71e7: Verifying Checksum 00:56:01 2a8b12db71e7: Download complete 00:56:02 31603596830f: Verifying Checksum 00:56:02 31603596830f: Download complete 00:56:02 ecc8261a40a4: Verifying Checksum 00:56:02 ecc8261a40a4: Download complete 00:56:02 6ca5941a6612: Verifying Checksum 00:56:02 6ca5941a6612: Download complete 00:56:02 31603596830f: Pull complete 00:56:02 2a8b12db71e7: Pull complete 00:56:03 6ca5941a6612: Pull complete 00:56:03 ecc8261a40a4: Pull complete 00:56:03 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:56:03 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:56:03 prd-centos7-docker-4c-2g-15527 does not seem to be running inside a container 00:56:03 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:56:06 $ docker top cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:56:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:06 [ssh-agent] Looking for ssh-agent implementation... 00:56:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:06 $ docker exec cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d ssh-agent 00:56:06 SSH_AUTH_SOCK=/tmp/ssh-iesTrKnSMjqJ/agent.11 00:56:06 SSH_AGENT_PID=16 00:56:07 Running ssh-add (command line suppressed) 00:56:07 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_2320230719765582464.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_2320230719765582464.key) 00:56:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:07 + git tag --points-at HEAD [Pipeline] } 00:56:07 $ docker exec --env ******** --env ******** cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d ssh-agent -k 00:56:07 unset SSH_AUTH_SOCK; 00:56:07 unset SSH_AGENT_PID; 00:56:07 echo Agent pid 16 killed; 00:56:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:56:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:56:07 [ssh-agent] Looking for ssh-agent implementation... 00:56:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:56:08 $ docker exec cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d ssh-agent 00:56:08 SSH_AUTH_SOCK=/tmp/ssh-JHfOQ0AxcN15/agent.45 00:56:08 SSH_AGENT_PID=50 00:56:08 Running ssh-add (command line suppressed) 00:56:08 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_8628845224303368648.key (/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/private_key_8628845224303368648.key) 00:56:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:56:08 + git semver init 00:56:08 # -> Open(): unable to determine branch for HEAD 00:56:08 # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.git 00:56:08 # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-171 00:56:08 # $SEMVER_REMOTE_NAME = origin 00:56:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:56:08 # $SEMVER_USER_NAME = edgex-jenkins 00:56:08 # $SEMVER_BRANCH = PR-171 00:56:08 # $SEMVER_TEMP = /tmp/semver-056359093 00:56:08 # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP 00:56:09 # '/tmp/semver-056359093' -> '/w/workspace/xfoundry_device-modbus-go_PR-171/.semver' 00:56:09 # -> Force: false 00:56:09 # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-171/.semver [Pipeline] } 00:56:09 $ docker exec --env ******** --env ******** cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d ssh-agent -k 00:56:09 unset SSH_AUTH_SOCK; 00:56:09 unset SSH_AGENT_PID; 00:56:09 echo Agent pid 50 killed; 00:56:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:56:09 + git semver [Pipeline] } 00:56:09 $ docker stop --time=1 cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d 00:56:11 $ docker rm -f cfd9c2447e8383fc5d4a32f1e4220970539292dd71d19a1259a1a2a99f04da2d [Pipeline] // withDockerContainer [Pipeline] sh 00:56:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:56:12 Stashed 1 file(s) [Pipeline] echo 00:56:12 [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:56:27 Still waiting to schedule task 00:56:27 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:56:27 Still waiting to schedule task 00:56:27 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:59:22 Running on prd-centos7-docker-4c-2g-15528 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws 00:59:22 Running in /w/workspace/device-modbus-go/11 [Pipeline] { [Pipeline] checkout 00:59:29 using credential edgex-jenkins-ssh 00:59:29 Cloning the remote Git repository 00:59:29 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 00:59:29 > git init /w/workspace/device-modbus-go/11 # timeout=10 00:59:29 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:59:29 > git --version # timeout=10 00:59:29 > git --version # 'git version 2.24.3' 00:59:29 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:31 Merging remotes/origin/master commit bdc2bf18299f50048bed412b56382a4832083ebb into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 00:59:31 Merge succeeded, producing b47979973cd69805d6d045af32973f1151e6bf46 00:59:31 Checking out Revision b47979973cd69805d6d045af32973f1151e6bf46 (PR-171) 00:59:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:59:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:59:30 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 00:59:31 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 00:59:31 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:31 > 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:59:31 > git config core.sparsecheckout # timeout=10 00:59:31 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 00:59:31 > git remote # timeout=10 00:59:31 > git config --get remote.origin.url # timeout=10 00:59:31 using GIT_SSH to set credentials SSH Credentials for GitHub 00:59:31 > git merge bdc2bf18299f50048bed412b56382a4832083ebb # timeout=10 00:59:31 > git rev-parse HEAD^{commit} # timeout=10 00:59:31 > git config core.sparsecheckout # timeout=10 00:59:31 > git checkout -f b47979973cd69805d6d045af32973f1151e6bf46 # timeout=10 00:59:35 Commit message: "Merge commit 'bdc2bf18299f50048bed412b56382a4832083ebb' into HEAD" 00:59:35 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv 00:59:35 > git rev-list --no-walk a8beb5b878181834d23ad1f52f47b4f2762a82a9 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:59:37 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:59:38 + true 00:59:38 + sudo service docker restart 00:59:38 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:59:39 provisioning config files... 00:59:39 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/11@tmp/config6686044193465949637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:40 ---> docker-login.sh 00:59:40 nexus3.edgexfoundry.org:10001 00:59:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:41 Configure a credential helper to remove this warning. See 00:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:41 00:59:41 Login Succeeded 00:59:41 nexus3.edgexfoundry.org:10002 00:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:41 Configure a credential helper to remove this warning. See 00:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:41 00:59:41 Login Succeeded 00:59:41 nexus3.edgexfoundry.org:10003 00:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:41 Configure a credential helper to remove this warning. See 00:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:41 00:59:41 Login Succeeded 00:59:41 nexus3.edgexfoundry.org:10004 00:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:41 Configure a credential helper to remove this warning. See 00:59:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:41 00:59:41 Login Succeeded 00:59:41 docker.io 00:59:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 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 ---> docker-login.sh ends [Pipeline] } 00:59:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:43 ========================================================= 00:59:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:59:43 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:59:43 + 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:59:43 Sending build context to Docker daemon 609.8kB 00:59:43 Step 1/8 : ARG BASE=golang:1.15-alpine 00:59:43 Step 2/8 : FROM ${BASE} 00:59:44 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:59:44 188c0c94c7c5: Pulling fs layer 00:59:44 0ef7d3d256c8: Pulling fs layer 00:59:44 de9db76c5a1d: Pulling fs layer 00:59:44 bca2f99d35d6: Pulling fs layer 00:59:44 93359f2a8cfa: Pulling fs layer 00:59:44 7c6f9722023f: Pulling fs layer 00:59:44 a35cf1a2eb13: Pulling fs layer 00:59:44 bca2f99d35d6: Waiting 00:59:44 93359f2a8cfa: Waiting 00:59:44 a35cf1a2eb13: Waiting 00:59:44 de9db76c5a1d: Verifying Checksum 00:59:44 de9db76c5a1d: Download complete 00:59:44 0ef7d3d256c8: Verifying Checksum 00:59:44 0ef7d3d256c8: Download complete 00:59:44 93359f2a8cfa: Verifying Checksum 00:59:44 93359f2a8cfa: Download complete 00:59:44 7c6f9722023f: Verifying Checksum 00:59:44 7c6f9722023f: Download complete 00:59:45 188c0c94c7c5: Verifying Checksum 00:59:45 188c0c94c7c5: Download complete 00:59:45 188c0c94c7c5: Pull complete 00:59:46 0ef7d3d256c8: Pull complete 00:59:46 de9db76c5a1d: Pull complete 00:59:48 a35cf1a2eb13: Verifying Checksum 00:59:48 a35cf1a2eb13: Download complete 00:59:50 bca2f99d35d6: Verifying Checksum 00:59:50 bca2f99d35d6: Download complete 01:00:06 bca2f99d35d6: Pull complete 01:00:06 93359f2a8cfa: Pull complete 01:00:06 7c6f9722023f: Pull complete 01:00:09 Running on prd-ubuntu18.04-docker-arm64-4c-16g-15529 in /w/workspace/xfoundry_device-modbus-go_PR-171 [Pipeline] { [Pipeline] ws 01:00:10 Running in /w/workspace/device-modbus-go/11 [Pipeline] { [Pipeline] checkout 01:00:13 a35cf1a2eb13: Pull complete 01:00:13 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 01:00:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 01:00:13 ---> a62c8e92a672 01:00:13 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:00:13 ---> Running in 5570c9a402b0 01:00:13 Removing intermediate container 5570c9a402b0 01:00:13 ---> 3901eac41e7f 01:00:13 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:00:13 ---> Running in 3df7d59da91b 01:00:14 Removing intermediate container 3df7d59da91b 01:00:14 ---> c782a0a995fc 01:00:14 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:00:15 using credential edgex-jenkins-ssh 01:00:15 Cloning the remote Git repository 01:00:15 ---> Running in 399b4cde66be 01:00:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 01:00:15 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 01:00:15 > git init /w/workspace/device-modbus-go/11 # timeout=10 01:00:15 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:00:15 > git --version # timeout=10 01:00:15 > git --version # 'git version 2.17.1' 01:00:15 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:00:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:00:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:00:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 01:00:17 Merging remotes/origin/master commit bdc2bf18299f50048bed412b56382a4832083ebb into PR head commit 205d20470621f6877b30549a0d87a32e67fc54e2 01:00:17 Merge succeeded, producing f113b42d1084471eb66ba243fa2963ad967eeea5 01:00:17 Checking out Revision f113b42d1084471eb66ba243fa2963ad967eeea5 (PR-171) 01:00:17 (1/14) Installing libmagic (5.38-r0) 01:00:16 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 01:00:16 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 01:00:16 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:16 > 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 01:00:17 > git config core.sparsecheckout # timeout=10 01:00:17 > git checkout -f 205d20470621f6877b30549a0d87a32e67fc54e2 # timeout=10 01:00:17 > git remote # timeout=10 01:00:17 > git config --get remote.origin.url # timeout=10 01:00:17 using GIT_SSH to set credentials SSH Credentials for GitHub 01:00:17 > git merge bdc2bf18299f50048bed412b56382a4832083ebb # timeout=10 01:00:17 > git rev-parse HEAD^{commit} # timeout=10 01:00:17 > git config core.sparsecheckout # timeout=10 01:00:17 > git checkout -f f113b42d1084471eb66ba243fa2963ad967eeea5 # timeout=10 01:00:17 (2/14) Installing file (5.38-r0) 01:00:17 (3/14) Installing libc-dev (0.7.2-r3) 01:00:18 (4/14) Installing g++ (9.3.0-r2) 01:00:21 Commit message: "Merge commit 'bdc2bf18299f50048bed412b56382a4832083ebb' into HEAD" 01:00:21 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { 01:00:22 (5/14) Installing fortify-headers (1.1-r0) 01:00:22 (6/14) Installing patch (2.7.6-r6) 01:00:22 (7/14) Installing build-base (0.5-r2) 01:00:22 (8/14) Installing openssh-keygen (8.3_p1-r0) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:00:22 (9/14) Installing libedit (20191231.3.1-r0) 01:00:22 (10/14) Installing openssh-client (8.3_p1-r0) 01:00:22 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:00:23 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:00:23 (13/14) Installing openssh-server (8.3_p1-r0) 01:00:23 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 01:00:21 > git rev-list --no-walk a8beb5b878181834d23ad1f52f47b4f2762a82a9 # timeout=10 [Pipeline] sh 01:00:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 01:00:24 + sudo service docker restart 01:00:24 + true 01:00:24 (14/14) Installing openssh (8.3_p1-r0) 01:00:24 Executing busybox-1.31.1-r19.trigger 01:00:24 OK: 237 MiB in 53 packages [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 01:00:26 provisioning config files... 01:00:26 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/11@tmp/config5157466327954307397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:26 ---> docker-login.sh 01:00:26 nexus3.edgexfoundry.org:10001 01:00:27 Removing intermediate container 399b4cde66be 01:00:27 ---> 06416a2a4bba 01:00:27 Step 6/8 : WORKDIR /device-modbus-go 01:00:27 ---> Running in 75e645c67b83 01:00:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:28 Configure a credential helper to remove this warning. See 01:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:28 01:00:28 Login Succeeded 01:00:28 nexus3.edgexfoundry.org:10002 01:00:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:28 Removing intermediate container 75e645c67b83 01:00:28 ---> ad47ee9f4ee1 01:00:28 Step 7/8 : COPY . . 01:00:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:28 Configure a credential helper to remove this warning. See 01:00:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:28 01:00:28 Login Succeeded 01:00:28 nexus3.edgexfoundry.org:10003 01:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:29 Configure a credential helper to remove this warning. See 01:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:29 01:00:29 Login Succeeded 01:00:29 nexus3.edgexfoundry.org:10004 01:00:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:29 Configure a credential helper to remove this warning. See 01:00:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:29 01:00:29 Login Succeeded 01:00:29 docker.io 01:00:29 ---> 523eec833a1a 01:00:29 Step 8/8 : RUN go mod download 01:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:30 ---> Running in da1042535478 01:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:30 Configure a credential helper to remove this warning. See 01:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:30 01:00:30 Login Succeeded 01:00:30 ---> docker-login.sh ends [Pipeline] } 01:00:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:00:31 ========================================================= 01:00:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 01:00:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 01:00:31 + 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 . 01:00:31 Sending build context to Docker daemon 608.8kB 01:00:32 Step 1/8 : ARG BASE=golang:1.15-alpine 01:00:32 Step 2/8 : FROM ${BASE} 01:00:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:00:32 5f621e34cdf4: Pulling fs layer 01:00:32 a4357932f1b6: Pulling fs layer 01:00:32 18c013af1878: Pulling fs layer 01:00:32 00ac8860ef70: Pulling fs layer 01:00:32 63d7cb157983: Pulling fs layer 01:00:32 b116817d02f9: Pulling fs layer 01:00:32 745a02a5169b: Pulling fs layer 01:00:32 00ac8860ef70: Waiting 01:00:32 63d7cb157983: Waiting 01:00:32 b116817d02f9: Waiting 01:00:32 745a02a5169b: Waiting 01:00:32 18c013af1878: Verifying Checksum 01:00:32 18c013af1878: Download complete 01:00:32 a4357932f1b6: Download complete 01:00:32 63d7cb157983: Download complete 01:00:32 5f621e34cdf4: Verifying Checksum 01:00:32 5f621e34cdf4: Download complete 01:00:32 b116817d02f9: Verifying Checksum 01:00:32 b116817d02f9: Download complete 01:00:32 5f621e34cdf4: Pull complete 01:00:33 a4357932f1b6: Pull complete 01:00:34 18c013af1878: Pull complete 01:00:34 745a02a5169b: Verifying Checksum 01:00:34 745a02a5169b: Download complete 01:00:35 00ac8860ef70: Verifying Checksum 01:00:35 00ac8860ef70: Download complete 01:00:46 00ac8860ef70: Pull complete 01:00:46 63d7cb157983: Pull complete 01:00:46 b116817d02f9: Pull complete 01:00:50 745a02a5169b: Pull complete 01:00:50 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 01:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 01:00:50 ---> b7e6874047d6 01:00:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 01:00:52 ---> Running in 8caeef85d711 01:00:53 Removing intermediate container 8caeef85d711 01:00:53 ---> a56ab10032b8 01:00:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:00:53 ---> Running in 5dc4d3a0957d 01:00:55 Removing intermediate container 5dc4d3a0957d 01:00:55 ---> 15864544d214 01:00:55 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 01:00:55 ---> Running in f0e406f46263 01:00:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 01:00:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 01:00:57 Removing intermediate container da1042535478 01:00:57 ---> c71f7c915eb1 01:00:57 Successfully built c71f7c915eb1 01:00:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:00:58 + docker inspect -f . ci-base-image-x86_64 01:00:58 (1/14) Installing libmagic (5.38-r0) 01:00:58 (2/14) Installing file (5.38-r0) 01:00:58 (3/14) Installing libc-dev (0.7.2-r3) 01:00:58 (4/14) Installing g++ (9.3.0-r2) 01:00:58 . [Pipeline] withDockerContainer 01:00:59 prd-centos7-docker-4c-2g-15528 does not seem to be running inside a container 01:00:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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 ******** ci-base-image-x86_64 cat 01:01:02 $ docker top ecc3af89f1f8d55a04ae45eb24b118a1613a38dfbd69d93abd28a450ec7bf265 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:03 + go version 01:01:03 go version go1.15.5 linux/amd64 [Pipeline] } 01:01:03 $ docker stop --time=1 ecc3af89f1f8d55a04ae45eb24b118a1613a38dfbd69d93abd28a450ec7bf265 01:01:05 (5/14) Installing fortify-headers (1.1-r0) 01:01:05 (6/14) Installing patch (2.7.6-r6) 01:01:05 (7/14) Installing build-base (0.5-r2) 01:01:05 (8/14) Installing openssh-keygen (8.3_p1-r0) 01:01:05 (9/14) Installing libedit (20191231.3.1-r0) 01:01:05 (10/14) Installing openssh-client (8.3_p1-r0) 01:01:05 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 01:01:05 (12/14) Installing openssh-server-common (8.3_p1-r0) 01:01:05 $ docker rm -f ecc3af89f1f8d55a04ae45eb24b118a1613a38dfbd69d93abd28a450ec7bf265 01:01:05 (13/14) Installing openssh-server (8.3_p1-r0) 01:01:05 (14/14) Installing openssh (8.3_p1-r0) [Pipeline] // withDockerContainer [Pipeline] } 01:01:05 Executing busybox-1.31.1-r19.trigger 01:01:05 OK: 221 MiB in 53 packages [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:01:06 + docker inspect -f . ci-base-image-x86_64 01:01:06 . [Pipeline] withDockerContainer 01:01:06 prd-centos7-docker-4c-2g-15528 does not seem to be running inside a container 01:01:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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 ******** ci-base-image-x86_64 cat 01:01:08 $ docker top 07eee378aa3ea6b98c20fba0c89ba9bb8da64acea2fd2bb1dd6ddf4c0e8fc21e -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:09 + make test 01:01:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:01:10 Removing intermediate container f0e406f46263 01:01:10 ---> 7a3ee7c40458 01:01:10 Step 6/8 : WORKDIR /device-modbus-go 01:01:10 ---> Running in 912a22661601 01:01:10 Removing intermediate container 912a22661601 01:01:10 ---> d9ed509e3ec2 01:01:10 Step 7/8 : COPY . . 01:01:11 ---> e805b8d68e1a 01:01:11 Step 8/8 : RUN go mod download 01:01:11 ---> Running in 02d22f468ab5 01:01:14 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:01:33 Removing intermediate container 02d22f468ab5 01:01:33 ---> 6d9f5a66dc7a 01:01:33 Successfully built 6d9f5a66dc7a 01:01:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:01:33 + docker inspect -f . ci-base-image-arm64 01:01:33 . [Pipeline] withDockerContainer 01:01:34 prd-ubuntu18.04-docker-arm64-4c-16g-15529 does not seem to be running inside a container 01:01:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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 ******** ci-base-image-arm64 cat 01:01:35 $ docker top 0d23aedb08b3dcbb580cf6c58c62f3e48a1caa2df742162d10a018746f0e7c70 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:36 + go version 01:01:36 go version go1.15.5 linux/arm64 [Pipeline] } 01:01:36 $ docker stop --time=1 0d23aedb08b3dcbb580cf6c58c62f3e48a1caa2df742162d10a018746f0e7c70 01:01:38 $ docker rm -f 0d23aedb08b3dcbb580cf6c58c62f3e48a1caa2df742162d10a018746f0e7c70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:01:39 + docker inspect -f . ci-base-image-arm64 01:01:39 . [Pipeline] withDockerContainer 01:01:40 prd-ubuntu18.04-docker-arm64-4c-16g-15529 does not seem to be running inside a container 01:01:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/11 -v /w/workspace/device-modbus-go/11:/w/workspace/device-modbus-go/11:rw,z -v /w/workspace/device-modbus-go/11@tmp:/w/workspace/device-modbus-go/11@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 ******** ci-base-image-arm64 cat 01:01:41 $ docker top c84508365bd2563a534f07709dc303535b94cd12e5ef01fb491c2a724d43e384 -eo pid,comm [Pipeline] { [Pipeline] sh 01:01:42 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:01:42 + make test 01:01:42 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:01:42 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.651s coverage: 50.2% of statements 01:01:43 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:01:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 01:01:50 gofmt -l . 01:01:50 internal/driver/config.go 01:01:50 internal/driver/config_test.go 01:01:50 internal/driver/protocolpropertykey.go 01:01:50 [ "`gofmt -l .`" = "" ] 01:01:50 make: *** [Makefile:27: test] Error 1 [Pipeline] } 01:01:50 $ docker stop --time=1 07eee378aa3ea6b98c20fba0c89ba9bb8da64acea2fd2bb1dd6ddf4c0e8fc21e 01:01:52 $ docker rm -f 07eee378aa3ea6b98c20fba0c89ba9bb8da64acea2fd2bb1dd6ddf4c0e8fc21e [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] } 01:01:56 Failed in branch amd64 01:02:15 ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] 01:02:15 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.349s coverage: 50.2% of statements 01:02:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 01:02:22 gofmt -l . 01:02:22 internal/driver/config.go 01:02:22 internal/driver/config_test.go 01:02:22 internal/driver/protocolpropertykey.go 01:02:22 [ "`gofmt -l .`" = "" ] 01:02:22 make: *** [Makefile:27: test] Error 1 [Pipeline] } 01:02:22 $ docker stop --time=1 c84508365bd2563a534f07709dc303535b94cd12e5ef01fb491c2a724d43e384 01:02:25 $ docker rm -f c84508365bd2563a534f07709dc303535b94cd12e5ef01fb491c2a724d43e384 [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:26 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:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:02:30 ---> package-listing.sh 01:02:30 ++ facter osfamily 01:02:30 ++ tr '[:upper:]' '[:lower:]' 01:02:30 + OS_FAMILY=redhat 01:02:30 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-171 01:02:30 + START_PACKAGES=/tmp/packages_start.txt 01:02:30 + END_PACKAGES=/tmp/packages_end.txt 01:02:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:02:30 + PACKAGES=/tmp/packages_start.txt 01:02:30 + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' 01:02:30 + PACKAGES=/tmp/packages_end.txt 01:02:30 + case "${OS_FAMILY}" in 01:02:30 + rpm -qa 01:02:30 + sort 01:02:35 + '[' -f /tmp/packages_start.txt ']' 01:02:35 + '[' -f /tmp/packages_end.txt ']' 01:02:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:02:35 + '[' /w/workspace/xfoundry_device-modbus-go_PR-171 ']' 01:02:35 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-171/archives/ 01:02:35 + 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:35 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:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:02:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:02:36 01:02:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 01:02:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 01:02:36 alpine: Pulling from edgex-lftools-log-publisher 01:02:36 df20fa9351a1: Pulling fs layer 01:02:36 36b3adc4ff6f: Pulling fs layer 01:02:36 8ad3a11d3b57: Pulling fs layer 01:02:36 46f8f816bc3b: Pulling fs layer 01:02:36 93b61091891f: Pulling fs layer 01:02:36 93b9cdb0e59b: Pulling fs layer 01:02:36 5e14af77c1be: Pulling fs layer 01:02:36 01666e4c0597: Pulling fs layer 01:02:36 aa168da1d23b: Pulling fs layer 01:02:36 46f8f816bc3b: Waiting 01:02:36 93b61091891f: Waiting 01:02:36 5e14af77c1be: Waiting 01:02:36 93b9cdb0e59b: Waiting 01:02:36 01666e4c0597: Waiting 01:02:36 aa168da1d23b: Waiting 01:02:36 36b3adc4ff6f: Verifying Checksum 01:02:36 36b3adc4ff6f: Download complete 01:02:36 46f8f816bc3b: Verifying Checksum 01:02:36 46f8f816bc3b: Download complete 01:02:36 df20fa9351a1: Verifying Checksum 01:02:36 df20fa9351a1: Download complete 01:02:36 93b9cdb0e59b: Verifying Checksum 01:02:36 93b9cdb0e59b: Download complete 01:02:36 5e14af77c1be: Download complete 01:02:36 93b61091891f: Verifying Checksum 01:02:36 93b61091891f: Download complete 01:02:36 01666e4c0597: Download complete 01:02:37 df20fa9351a1: Pull complete 01:02:37 8ad3a11d3b57: Verifying Checksum 01:02:37 8ad3a11d3b57: Download complete 01:02:37 36b3adc4ff6f: Pull complete 01:02:38 8ad3a11d3b57: Pull complete 01:02:38 46f8f816bc3b: Pull complete 01:02:38 93b61091891f: Pull complete 01:02:38 93b9cdb0e59b: Pull complete 01:02:39 aa168da1d23b: Verifying Checksum 01:02:39 aa168da1d23b: Download complete 01:02:39 5e14af77c1be: Pull complete 01:02:39 01666e4c0597: Pull 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-15527 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 01:02:55 $ docker top 1d1fa6726b2727d33bf10be59d3726dff3d1dab73a1646a11215c53a1ae437db -eo pid,comm [Pipeline] { [Pipeline] sh 01:02:56 + touch /tmp/pre-build-complete [Pipeline] sh 01:02:56 + mkdir -p /var/log/sa [Pipeline] sh 01:02:56 + ls /var/log/sa-host 01:02:56 + sadf -c /var/log/sa-host/sa11 01:02:56 file_magic: OK 01:02:56 HZ: Using current value: 100 01:02:56 file_header: OK 01:02:56 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:56 Statistics: 01:02:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:02:56 File successfully converted to sysstat format version 12.2.1 01:02:56 + sadf -c /var/log/sa-host/sa23 01:02:56 file_magic: OK 01:02:56 HZ: Using current value: 100 01:02:56 file_header: OK 01:02:56 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:56 Statistics: 01:02:56 Hnuu...uuuununununu... 01:02:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:02:57 provisioning config files... 01:02:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-171@tmp/config1732902486573095964tmp [Pipeline] { [Pipeline] echo 01:02:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:02:57 ---> create-netrc.sh [Pipeline] } 01:02:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 01:02:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 01:02:57 ---> python-tools-install.sh [Pipeline] echo 01:02:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:02:58 ---> sudo-logs.sh 01:02:58 Archiving 'sudo' log.. [Pipeline] echo 01:02:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:02:58 ---> job-cost.sh 01:02:58 lf-activate-venv: SKIPPING 01:02:58 INFO: No Stack... 01:02:59 INFO: Retrieving Pricing Info for: v1-standard-2 01:03:00 INFO: Archiving Costs [Pipeline] echo 01:03:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:03:00 ---> logs-deploy.sh 01:03:00 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-171/11 01:03:00 INFO: archiving workspace using pattern(s): 01:03:02 Archives upload complete. 01:03:02 INFO: archiving logs to Nexus 01:03:03 ---> uname -a: 01:03:03 Linux prd-centos7-docker-4c-2g-15527.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:03 01:03:03 01:03:03 ---> lscpu: 01:03:03 Architecture: x86_64 01:03:03 CPU op-mode(s): 32-bit, 64-bit 01:03:03 Byte Order: Little Endian 01:03:03 Address sizes: 40 bits physical, 48 bits virtual 01:03:03 CPU(s): 4 01:03:03 On-line CPU(s) list: 0-3 01:03:03 Thread(s) per core: 1 01:03:03 Core(s) per socket: 1 01:03:03 Socket(s): 4 01:03:03 NUMA node(s): 1 01:03:03 Vendor ID: GenuineIntel 01:03:03 CPU family: 6 01:03:03 Model: 44 01:03:03 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 01:03:03 Stepping: 1 01:03:03 CPU MHz: 2933.438 01:03:03 BogoMIPS: 5866.87 01:03:03 Virtualization: VT-x 01:03:03 Hypervisor vendor: KVM 01:03:03 Virtualization type: full 01:03:03 L1d cache: 128 KiB 01:03:03 L1i cache: 128 KiB 01:03:03 L2 cache: 16 MiB 01:03:03 L3 cache: 64 MiB 01:03:03 NUMA node0 CPU(s): 0-3 01:03:03 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 01:03:03 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 01:03:03 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 01:03:03 Vulnerability Meltdown: Mitigation; PTI 01:03:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:03:03 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 01:03:03 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 01:03:03 Vulnerability Srbds: Not affected 01:03:03 Vulnerability Tsx async abort: Not affected 01:03:03 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:03 01:03:03 01:03:03 ---> nproc: 01:03:03 4 01:03:03 01:03:03 01:03:03 ---> df -h: 01:03:03 Filesystem Size Used Available Use% Mounted on 01:03:03 overlay 50.0G 7.3G 42.7G 15% / 01:03:03 tmpfs 64.0M 0 64.0M 0% /dev 01:03:03 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 01:03:03 shm 64.0M 0 64.0M 0% /dev/shm 01:03:03 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 01:03:03 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 01:03:03 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 01:03:03 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 01:03:03 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 01:03:03 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-171 01:03:03 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 01:03:03 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/xfoundry_device-modbus-go_PR-171@tmp 01:03:03 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 01:03:03 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 01:03:03 01:03:03 01:03:03 ---> free -m: 01:03:03 total used free shared buff/cache available 01:03:03 Mem: 1837 692 102 0 1042 1040 01:03:03 Swap: 1023 1 1022 01:03:03 01:03:03 01:03:03 ---> ip addr: 01:03:03 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 01:03:03 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 01:03:03 inet 127.0.0.1/8 scope host lo 01:03:03 valid_lft forever preferred_lft forever 01:03:03 inet6 ::1/128 scope host 01:03:03 valid_lft forever preferred_lft forever 01:03:03 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 01:03:03 link/ether fa:16:3e:3d:a0:99 brd ff:ff:ff:ff:ff:ff 01:03:03 inet 10.30.123.30/23 brd 10.30.123.255 scope global dynamic eth0 01:03:03 valid_lft 85935sec preferred_lft 85935sec 01:03:03 inet6 fe80::f816:3eff:fe3d:a099/64 scope link 01:03:03 valid_lft forever preferred_lft forever 01:03:03 3: docker0: mtu 1500 qdisc noqueue state DOWN 01:03:03 link/ether 02:42:50:28:cc:5f brd ff:ff:ff:ff:ff:ff 01:03:03 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 01:03:03 valid_lft forever preferred_lft forever 01:03:03 inet6 fe80::42:50ff:fe28:cc5f/64 scope link 01:03:03 valid_lft forever preferred_lft forever 01:03:03 01:03:03 01:03:03 ---> sar -b -r -n DEV: 01:03:03 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/11/20 _x86_64_ (4 CPU) 01:03:03 01:03:03 00:55:06 LINUX RESTART (4 CPU) 01:03:03 01:03:03 00:56:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:03:03 00:57:01 23.29 5.79 17.50 0.00 1653.01 2758.16 0.00 01:03:03 00:58:01 1.70 0.00 1.70 0.00 0.00 34.04 0.00 01:03:03 00:59:01 0.25 0.00 0.25 0.00 0.00 3.75 0.00 01:03:03 01:00:01 0.23 0.00 0.23 0.00 0.00 2.70 0.00 01:03:03 01:01:01 0.25 0.02 0.23 0.00 0.13 3.38 0.00 01:03:03 01:02:01 0.75 0.08 0.67 0.00 1.60 8.77 0.00 01:03:03 Average: 4.41 0.98 3.43 0.00 275.81 468.50 0.00 01:03:03 01:03:03 00:56:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:03:03 00:57:01 156504 0 593304 31.53 2620 1129116 1105088 37.71 424108 1100028 20 01:03:03 00:58:01 162912 0 586888 31.19 2620 1129124 1077928 36.79 420488 1098244 16 01:03:03 00:59:01 160400 0 589396 31.33 2620 1129128 1078000 36.79 420656 1100228 8 01:03:03 01:00:01 160856 0 588940 31.30 2620 1129128 1078024 36.79 432160 1088748 8 01:03:03 01:01:01 157504 0 592284 31.48 2620 1129136 1080412 36.87 432736 1091024 8 01:03:03 01:02:01 158968 0 590692 31.39 2620 1129264 1078484 36.81 443004 1079980 8 01:03:03 Average: 159524 0 590251 31.37 2620 1129149 1082989 36.96 428859 1093042 11 01:03:03 01:03:03 00:56:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:03:03 00:57:01 eth0 73.08 61.82 333.94 33.62 0.00 0.00 0.00 0.00 01:03:03 00:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 00:57:01 docker0 2.78 2.05 0.44 4.11 0.00 0.00 0.00 0.00 01:03:03 00:58:01 eth0 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:03:03 00:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 00:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 00:59:01 eth0 4.30 2.35 3.07 0.15 0.00 0.00 0.00 0.00 01:03:03 00:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 00:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 01:00:01 eth0 1.02 0.28 0.32 0.20 0.00 0.00 0.00 0.00 01:03:03 01:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 01:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 01:01:01 eth0 0.58 0.40 0.34 0.26 0.00 0.00 0.00 0.00 01:03:03 01:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 01:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 01:02:01 eth0 1.00 0.12 0.13 0.01 0.00 0.00 0.00 0.00 01:03:03 01:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 01:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 Average: eth0 13.35 10.85 56.31 5.71 0.00 0.00 0.00 0.00 01:03:03 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:03:03 Average: docker0 0.46 0.34 0.07 0.69 0.00 0.00 0.00 0.00 01:03:03 01:03:03 01:03:03 ---> sar -P ALL: 01:03:03 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/11/20 _x86_64_ (4 CPU) 01:03:03 01:03:03 00:55:06 LINUX RESTART (4 CPU) 01:03:03 01:03:03 00:56:01 CPU %user %nice %system %iowait %steal %idle 01:03:03 00:57:01 all 2.03 0.00 1.58 0.69 0.01 95.69 01:03:03 00:57:01 0 1.83 0.00 1.31 0.27 0.02 96.58 01:03:03 00:57:01 1 1.93 0.00 1.37 0.05 0.00 96.65 01:03:03 00:57:01 2 2.09 0.00 1.89 0.20 0.02 95.80 01:03:03 00:57:01 3 2.26 0.00 1.73 2.25 0.02 93.74 01:03:03 00:58:01 all 0.13 0.00 0.04 0.00 0.00 99.83 01:03:03 00:58:01 0 0.03 0.00 0.02 0.00 0.00 99.95 01:03:03 00:58:01 1 0.02 0.00 0.03 0.00 0.00 99.95 01:03:03 00:58:01 2 0.05 0.00 0.03 0.00 0.00 99.92 01:03:03 00:58:01 3 0.43 0.00 0.07 0.00 0.00 99.50 01:03:03 00:59:01 all 0.16 0.00 0.05 0.00 0.00 99.80 01:03:03 00:59:01 0 0.03 0.00 0.05 0.00 0.00 99.92 01:03:03 00:59:01 1 0.08 0.00 0.05 0.00 0.00 99.87 01:03:03 00:59:01 2 0.05 0.00 0.03 0.00 0.00 99.92 01:03:03 00:59:01 3 0.47 0.00 0.05 0.00 0.00 99.48 01:03:03 01:00:01 all 0.15 0.00 0.04 0.00 0.00 99.81 01:03:03 01:00:01 0 0.03 0.00 0.03 0.00 0.00 99.93 01:03:03 01:00:01 1 0.03 0.00 0.07 0.00 0.00 99.90 01:03:03 01:00:01 2 0.05 0.00 0.03 0.00 0.00 99.92 01:03:03 01:00:01 3 0.50 0.00 0.02 0.00 0.00 99.48 01:03:03 01:01:01 all 0.17 0.00 0.04 0.00 0.00 99.79 01:03:03 01:01:01 0 0.03 0.00 0.05 0.00 0.00 99.92 01:03:03 01:01:01 1 0.08 0.00 0.05 0.00 0.00 99.87 01:03:03 01:01:01 2 0.05 0.00 0.03 0.00 0.00 99.92 01:03:03 01:01:01 3 0.52 0.00 0.03 0.00 0.00 99.45 01:03:03 01:02:01 all 0.12 0.00 0.08 0.00 0.00 99.79 01:03:03 01:02:01 0 0.03 0.00 0.17 0.00 0.00 99.80 01:03:03 01:02:01 1 0.05 0.00 0.05 0.00 0.02 99.88 01:03:03 01:02:01 2 0.35 0.00 0.08 0.02 0.00 99.55 01:03:03 01:02:01 3 0.03 0.00 0.03 0.00 0.00 99.93 01:03:03 Average: all 0.46 0.00 0.30 0.12 0.00 99.12 01:03:03 Average: 0 0.33 0.00 0.27 0.04 0.00 99.35 01:03:03 Average: 1 0.36 0.00 0.27 0.01 0.00 99.35 01:03:03 Average: 2 0.44 0.00 0.35 0.04 0.00 99.17 01:03:03 Average: 3 0.70 0.00 0.32 0.37 0.00 98.60 01:03:03 01:03:03 01:03:03